openstreetmap-website/app/controllers
Milan Cvetkovic 7428da74c2 Use omniauth-microsoft_graph instead of omniauth-windowslive
Omniauth-microsoft_graph correctly populates 'email' and 'name' fields used by OpenStreetMap.
It also  uses updated endpoints for Microsoft identity provider.

Use email address returned by microsoft_graph provider as a verified address.

Upgrading exisiting users from windowslive to microsoft_graph:
 - upon next login existing `windowslive` users will have to authorizei
   OpenStreetMap application to "Read Your Profile," required for proper reading
   of display name field.

The name of the identity provider in OSM is kept to 'windowslive':
 - the entries in users table with `provider == 'windowslive'`
   can be reused for microsoft_graph provider, since
   the uid field is preserved. Users will not need to repeat the sign up process.
 - OAuth2 callback is still `/auth/windowslive`, no updates to Microsoft Identity Provider portal
   App registration are necessary.
2023-08-17 13:01:15 +00:00
..
account Allow users to delete their own accounts 2022-02-09 16:15:24 +00:00
api Sort changesets by close time to match selection 2023-08-13 19:09:54 +01:00
concerns Avoid putting ActionController::Parameters objects in the session 2022-01-11 19:43:43 +00:00
accounts_controller.rb Allow users to delete their own accounts 2022-02-09 16:15:24 +00:00
api_controller.rb Move more api-related helper methods to ApiController 2023-01-11 15:28:59 +00:00
application_controller.rb Use hashes to define where..in sql queries 2023-08-03 11:04:28 +01:00
browse_controller.rb Move browse#note to notes#show 2023-02-01 17:13:41 +00:00
changeset_comments_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
changesets_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
confirmations_controller.rb Fix new rubocop warnings 2022-11-22 18:32:02 +00:00
dashboards_controller.rb Split the non-public information off of the profile page 2021-08-18 13:32:36 +01:00
diary_entries_controller.rb Fix predicate method names in the user model 2023-08-15 18:53:14 +01:00
directions_controller.rb Use CanCanCan for directions controller 2019-01-09 10:12:14 +01:00
errors_controller.rb Set the locale when rendering a generic error page 2023-03-12 16:10:14 +00:00
export_controller.rb Mark redirects which need to be open with allow_other_host 2022-03-09 22:43:02 +00:00
friendships_controller.rb Fix new rubocop warnings 2022-11-22 18:32:02 +00:00
geocoder_controller.rb Take exclude_place_ids from Nominatim results directly 2023-08-08 18:27:53 +01:00
issue_comments_controller.rb Fix predicate method names in the user model 2023-08-15 18:53:14 +01:00
issues_controller.rb Add titles to issue pages 2023-08-03 03:09:54 +03:00
messages_controller.rb Remove outdated comments 2022-11-02 11:22:29 +00:00
notes_controller.rb Move browse#note to notes#show 2023-02-01 17:13:41 +00:00
oauth2_applications_controller.rb Introduce privileged scopes that only an administrator can enable 2021-08-26 17:22:24 +01:00
oauth2_authorizations_controller.rb Restore form_action restrictions for ouath2_authorizations#create 2022-01-17 11:00:41 +00:00
oauth2_authorized_applications_controller.rb Add support for OAuth2 using doorkeeper 2021-05-18 12:05:32 +01:00
oauth_clients_controller.rb Fix new rubocop warnings 2022-11-22 18:32:02 +00:00
oauth_controller.rb Mark redirects which need to be open with allow_other_host 2022-03-09 22:43:02 +00:00
passwords_controller.rb Fix new rubocop warnings 2022-11-22 18:32:02 +00:00
preferences_controller.rb Fix new rubocop warnings 2022-09-09 22:45:58 +01:00
profiles_controller.rb Fix new rubocop warnings 2022-09-09 22:45:58 +01:00
redactions_controller.rb Enable the ActionOrder cop for remaining controllers 2022-11-02 11:06:00 +00:00
reports_controller.rb Add database checks to issue and report controllers 2023-01-11 11:12:36 +00:00
sessions_controller.rb Fix new rubocop warnings 2022-11-22 18:32:02 +00:00
site_controller.rb Facelift offline.html and use Bootstrap classes for "notifications" 2023-03-26 13:57:51 +03:00
traces_controller.rb Disambiguate ID queries for tagged trace lists 2023-07-27 20:29:29 +01:00
user_blocks_controller.rb Fix rubocop Rails/TimeZone warnings 2022-03-01 22:55:10 +00:00
user_roles_controller.rb Fix predicate method names in the user model 2023-08-15 18:53:14 +01:00
users_controller.rb Use omniauth-microsoft_graph instead of omniauth-windowslive 2023-08-17 13:01:15 +00:00