Commit graph

12784 commits

Author SHA1 Message Date
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
translatewiki.net
fbe478d104 Localisation updates from https://translatewiki.net. 2023-08-17 13:22:14 +02:00
Tom Hughes
48dae83150 Merge remote-tracking branch 'upstream/pull/4174' 2023-08-16 18:12:01 +01: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
Andy Allan
95b16e594b
Merge pull request #4172 from tomhughes/user-predicates
Fix predicate method names in the user model
2023-08-16 11:16:22 +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
11fee3772c Update bundle 2023-08-15 18:19:59 +01:00
translatewiki.net
23680cb445 Localisation updates from https://translatewiki.net. 2023-08-14 13:20:48 +02: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
3539328d1c Check that the /api/0.6/capabilities.json route is recognised 2023-08-13 10:33:43 +01:00
Tom Hughes
6d74aa2873 Merge remote-tracking branch 'upstream/pull/4158' 2023-08-13 10:00:29 +01:00
Tom Hughes
58474bf50b Merge remote-tracking branch 'upstream/pull/4161' 2023-08-13 09:42:08 +01:00
Tom Hughes
ec89709b5b Allow a srcset to be specified for banners 2023-08-13 09:37:27 +01:00
Anton Khorev
8c42c39a67 Use Settings.generator string in tests 2023-08-12 19:07:36 +03:00
Tom Hughes
d8abf0dc7e Merge remote-tracking branch 'upstream/pull/4155' 2023-08-12 15:20:41 +01:00
Tom Hughes
491a61266c Merge remote-tracking branch 'upstream/pull/4149' 2023-08-12 14:56:27 +01:00
Tom Hughes
d62e9a0dbc Merge remote-tracking branch 'upstream/pull/4157' 2023-08-12 14:55:01 +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
abdce62a03 Add ordered changeset test method 2023-08-12 03:40:52 +03:00
dependabot[bot]
50cc93a39a
Bump eslint from 8.46.0 to 8.47.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.46.0 to 8.47.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.46.0...v8.47.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 23:33:34 +00: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