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
Martin Raifer
41a7ca4241
Update to iD v2.27.0
2023-08-16 18:47:10 +02:00
Andy Allan
6b633e9d4a
Merge pull request #4133 from AntonKhorev/flex-leaflet-controls
...
Use multiple columns for map controls if they don't fit vertically
2023-08-16 13:43:42 +01:00
Andy Allan
9174049d6b
Merge pull request #4150 from AntonKhorev/note-table-bootstrap-highlight
...
Use Bootstrap highlight class in note tables
2023-08-16 13:35:47 +01:00
Andy Allan
28b00b85da
Merge pull request #4156 from AntonKhorev/bootstrap-code-direction-fix
...
Don't do direction override from Bootstrap reboot of <code>
2023-08-16 13:24:11 +01:00
Andy Allan
9173dd3192
Merge pull request #4148 from tomhughes/avatar-image
...
Use correct extension and type for avatar images attached to mails
2023-08-16 11:35:33 +01:00
Andy Allan
59e9203a0a
Merge pull request #4173 from AntonKhorev/comments
...
Small changes of diary comments
2023-08-16 11:27:42 +01:00
Anton Khorev
8efc15ea7a
Replace top margin on comments with bottom padding on diary posts
2023-08-16 04:22:50 +03:00
Anton Khorev
e5ce6ffbb8
Remove empty comments anchor
2023-08-16 04:17:50 +03:00
Tom Hughes
6982903ae7
Fix predicate method names in the user model
2023-08-15 18:53:14 +01:00
Tom Hughes
65d092a579
Fix new rubocop warnings
2023-08-15 18:22:45 +01:00
Tom Hughes
e6a8b40098
Make the close icon on banners more visible
...
Fixes #4165
2023-08-14 08:31:10 +01:00
Tom Hughes
7912b7620f
Add support for dark banner images that need a white close icon
2023-08-13 21:57:09 +01:00
Guillaume Rischard
242b73b632
Remove SotM 2022 banner, add fundraising banner
...
Closes #4162
2023-08-13 21:36:57 +01:00
Tom Hughes
702c071e19
Sort changesets by close time to match selection
...
This ensures that the sort can be optimised using the index
when selecting by time.
2023-08-13 19:09:54 +01:00
Tom Hughes
f059045848
Make the capabilities call default to XML
2023-08-13 12:48:02 +01:00
Tom Hughes
e2cb2327f9
Merge remote-tracking branch 'upstream/pull/4144'
2023-08-13 10:50:33 +01:00
Tom Hughes
a1798fe6fb
Merge remote-tracking branch 'upstream/pull/4159'
2023-08-13 10:38:58 +01:00
Tom Hughes
6d74aa2873
Merge remote-tracking branch 'upstream/pull/4158'
2023-08-13 10:00:29 +01:00
Tom Hughes
ec89709b5b
Allow a srcset to be specified for banners
2023-08-13 09:37:27 +01:00
Tom Hughes
d8abf0dc7e
Merge remote-tracking branch 'upstream/pull/4155'
2023-08-12 15:20:41 +01:00
Anton Khorev
24d6b3c55f
Add JSON output to /api/0.6/capabilities
2023-08-12 06:00:46 +03:00
Anton Khorev
0abab48f5d
Add order parameter to changeset query api entry point
2023-08-12 03:57:48 +03:00
Anton Khorev
f8fac7089b
Don't do direction override from Bootstrap reboot of <code>
...
Later versions of Bootstrap don't have it.
See https://github.com/twbs/bootstrap/pull/35230
2023-08-12 02:23:56 +03:00
Anton Khorev
41f8607810
Use article html elements for diary posts
2023-08-12 01:40:34 +03:00
Anton Khorev
6fcaa0e53c
Update diary edit form styling
2023-08-12 01:40:32 +03:00
Anton Khorev
9d95d548e8
Update diary comments styling
2023-08-12 01:30:54 +03:00
Anton Khorev
98f1e2a21d
Update diary entry styling
...
user_<id> class was kept because
https://github.com/openstreetmap/openstreetmap-website/pull/2266
2023-08-12 01:30:53 +03:00
Anton Khorev
65a4a95804
Highlight non-numeric home location coordinates
2023-08-11 21:47:15 +03:00
Anton Khorev
0be576a272
Don't construct invalid LatLng objects in home location
2023-08-11 21:47:14 +03:00
Anton Khorev
81ce6a7de0
Exchange focus between home location delete/undelete buttons
2023-08-11 21:47:14 +03:00
Anton Khorev
0f3f3ead0a
Disable home marker tab focus and cursor change
2023-08-11 21:47:14 +03:00
Anton Khorev
2a32a0427b
Disable show home location button if close enough to map center
2023-08-11 21:47:13 +03:00
Anton Khorev
2dbe4e6f88
Set default home location zoom when centering the map
2023-08-11 21:44:16 +03:00
Anton Khorev
0e98e2a337
Add undelete home location button listener
2023-08-11 21:44:16 +03:00
Anton Khorev
dbb3be0a74
Add delete home location button listener
2023-08-11 21:44:16 +03:00
Anton Khorev
7848643990
Add show home location button listener
2023-08-11 21:44:16 +03:00
Anton Khorev
a2ff9b38f8
Add user home location change listeners and buttons
2023-08-11 21:44:15 +03:00
Anton Khorev
033c032ed6
Add home location condition to user model
2023-08-11 21:44:15 +03:00
Anton Khorev
8645ec503d
Center messages table cells vertically
2023-08-11 20:58:46 +03:00
Anton Khorev
8f946f1360
Use flex for buttons cell in messages table
2023-08-11 20:51:51 +03:00
Anton Khorev
94d8638b00
Remove unused inbox css classes
2023-08-11 20:37:53 +03:00
Anton Khorev
c751967d0e
Change mark message buttons visibility with hidden attr
2023-08-11 20:35:36 +03:00
Anton Khorev
179c70f725
Refactor message mark/delete listeners
2023-08-11 19:57:56 +03:00
Anton Khorev
d0cfde2996
Use Bootstrap nowrap class in messages table
2023-08-11 18:54:39 +03:00
Anton Khorev
e290df896e
Put message read/unread/delete buttons in one column
2023-08-11 18:46:51 +03:00
Tom Hughes
f47eeb0632
Merge remote-tracking branch 'upstream/pull/4154'
2023-08-10 22:42:39 +01:00
Anton Khorev
a4b8a91821
Use Bootstrap highlight class in note tables
2023-08-10 21:16:26 +03:00
Anton Khorev
f4da0d34a0
Remove message header custom css
2023-08-10 20:47:41 +03:00
Anton Khorev
de8a60a3e3
Check recipient condition separately for message header/footer
2023-08-10 20:38:49 +03:00