Skip to content

#7 Allow to receive ItemId and support calendar refresh#8

Open
johnwiichang wants to merge 6 commits into
mhewedy:masterfrom
johnwiichang:master
Open

#7 Allow to receive ItemId and support calendar refresh#8
johnwiichang wants to merge 6 commits into
mhewedy:masterfrom
johnwiichang:master

Conversation

@johnwiichang

Copy link
Copy Markdown

#7 Allow to receive ItemId and support calendar refresh
and also support downgrade when ntlm is selected

@mhewedy

mhewedy commented Aug 5, 2021

Copy link
Copy Markdown
Owner

Sorry didn't notice this... I will to get it meeged soon

@mhewedy
mhewedy self-requested a review August 5, 2021 23:28
Comment thread ews.go
func applyConfig(config *Config, client *http.Client) {
if config.NTLM {
client.Transport = ntlmssp.Negotiator{}
client.Transport = ntlmssp.Negotiator{

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you elaborate more on this?

Comment thread create_item.go
// CreateMessageItem
// https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/createitem-operation-email-message
func CreateMessageItem(c Client, m ...Message) error {
func CreateMessageItem(c Client, m ...Message) ([]ItemId, error) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please move ItemId from get_room_lists.go to common.go?

Comment thread ewsutil/create_event.go
RequiredAttendees: []ews.Attendees{{Attendee: requiredAttendees}},
OptionalAttendees: []ews.Attendees{{Attendee: optionalAttendees}},
Resources: []ews.Attendees{{Attendee: room}},
// ReminderIsSet: duration != 0,

@mhewedy mhewedy Aug 5, 2021

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you commenting these? at least you might want to pass as options instead.

@mhewedy mhewedy left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR ... much appreciated.

@mhewedy

mhewedy commented Aug 9, 2021

Copy link
Copy Markdown
Owner

@johnwiichang Do you mind fix the failing test cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants