Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How the plugin currently handles using these statuses:

Code Block
- free
    if dnd, set online
- tentative
    if not dnd, set dnd
- busy
    if not dnd, set dnd
- out of office
    ?
- working elsewhere
    ?

...

A hackathon submission for November 2019 introduces a custom status text to be displayed next to the username. This approach may be of use for the enumerations of Microsoft's statuses. It's also possible that we have the option to include emojis in the custom status as well. This is not yet in the product so it may not be a viable solution.

...

https://docs.microsoft.com/en-us/graph/json-batching

Given we have 1,000 users, we can fetch them in 3 requests, resulting in about ~1.5s * 3 = ~4.5s. Given we have 10,000 users, we should be able to fetch all users' statuses in 25 requests, resulting in about ~1.5s * 25 = ~37.5s if done synchronously. Splitting up the work into goroutines should work nicely since each request is completely independent from the others.

...

  • Test the roundtrip of a batch request with realistic user data

  • Build the auth flow to include admin consent: https://docs.microsoft.com/en-us/graph/auth-v2-service#3-get-administrator-consent

  • Better error handling for requests, including batch requests. This includes notifying admins of failures.

  • Research and test rate limiting of Microsoft’s APIs

  • Test that the order of availabilities in each batch response is valid.