Commit graph

12833 commits

Author SHA1 Message Date
Tom Hughes
c7a31ebc5d Restore ordering of results from the users#index API call 2023-08-26 17:41:22 +01:00
Tom Hughes
7297bdb72c Merge remote-tracking branch 'upstream/pull/4203' 2023-08-26 12:30:15 +01:00
ENT8R
26a092fbf7 Add checks to ensure that the response is empty 2023-08-26 13:01:05 +02:00
Tom Hughes
d8d8f88b75 Merge remote-tracking branch 'upstream/pull/4204' 2023-08-26 10:44:48 +01:00
ENT8R
be96aa7cb4 Sort users by their ids 2023-08-26 10:14:40 +02:00
ENT8R
bc71737f05 Change tests to expect a successful (empty) response even if the user is not visible anymore 2023-08-26 09:37:06 +02:00
dependabot[bot]
aa529f6303
Bump eslint from 8.47.0 to 8.48.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.47.0 to 8.48.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.47.0...v8.48.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-25 23:11:59 +00:00
ENT8R
b9c85c2697 Use where instead of find to prevent 404 2023-08-26 00:31:18 +02:00
Tom Hughes
6759130cb3 Test that suspended and deleted users can't use OAuth tokens 2023-08-25 12:10:32 +01:00
Tom Hughes
477f700cfa Logout while testing OAuth 1 token usage
This ensures we're not accidentally inheriting any session permissions.
2023-08-25 09:44:25 +01:00
Tom Hughes
b9f9c0f3cc Separate authenticating user from application owner in OAuth 1 tests 2023-08-25 08:51:41 +01:00
translatewiki.net
d5d67d7bbe Localisation updates from https://translatewiki.net. 2023-08-24 13:21:00 +02:00
Tom Hughes
0913f286fe Make the TOTP cookie httponly 2023-08-22 21:18:45 +01:00
Tom Hughes
ce8f174a45 Update to rails 7.0.7.2 2023-08-22 21:15:08 +01:00
Tom Hughes
577ec10934 Update bundle 2023-08-22 18:51:02 +01:00
Tom Hughes
7054cea48e Merge remote-tracking branch 'upstream/pull/4190' 2023-08-20 18:49:32 +01:00
Tom Hughes
2a1689f962 Merge remote-tracking branch 'upstream/pull/4169' 2023-08-20 11:04:28 +01:00
Milan Cvetkovic
ad164d384e Change provider name to "microsoft" 2023-08-20 10:19:30 +01:00
Milan Cvetkovic
ef6803416b Add migration script 2023-08-20 10:17:42 +01:00
Milan Cvetkovic
b3e13eb752 Update tests for microsoft_graph endpoints 2023-08-20 10:17:42 +01:00
Anton Khorev
0bd5838f51 Respond with plaintext when user not found in changeset query
The response used to be of type xml with empty body, which is not valid xml.
2023-08-19 20:26:13 +03:00
Tom Hughes
406d90c5c8 Merge remote-tracking branch 'upstream/pull/4187' 2023-08-19 11:30:33 +01:00
Tom Hughes
3c38bad561 Merge remote-tracking branch 'upstream/pull/4186' 2023-08-19 11:29:17 +01:00
Tom Hughes
a8ae7b2d3e Replace links to donate.osm.org with supporting.osm.org 2023-08-19 11:22:54 +01:00
Anton Khorev
3f6e344e6a Expose note query limit values in api capabilities 2023-08-19 05:40:34 +03:00
Anton Khorev
a654071beb Add missing changeset query limit capabilities test 2023-08-19 05:40:05 +03:00
Anton Khorev
df60444d05 Use max note query limit setting in tests 2023-08-19 05:23:42 +03:00
Anton Khorev
bc9f081841 Move note query limit values to settings 2023-08-19 05:06:00 +03:00
dependabot[bot]
aba5048f45
Bump puma from 5.6.6 to 5.6.7
Bumps [puma](https://github.com/puma/puma) from 5.6.6 to 5.6.7.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.6.6...v5.6.7)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:01:30 +00:00
Tom Hughes
9790d779f4 Merge remote-tracking branch 'upstream/pull/4185' 2023-08-18 19:32:38 +01:00
Tom Hughes
c58f4e4813 Make the versions call default to XML 2023-08-18 19:26:53 +01:00
Tom Hughes
b45642d2ab Merge remote-tracking branch 'upstream/pull/4182' 2023-08-18 19:25:36 +01:00
Tom Hughes
270b0d575e Merge remote-tracking branch 'upstream/pull/4180' 2023-08-18 19:20:55 +01:00
Tom Hughes
1e08ecd34d Merge remote-tracking branch 'upstream/pull/4181' 2023-08-18 19:20:36 +01:00
Anton Khorev
1acd8e25a7 Add 'User' to selectable types in issues search for moderators
Reported users are either directly assigned to moderators or ofter reassigned to them.
2023-08-18 18:48:38 +03:00
Anton Khorev
5bdaf0b73b Add JSON output to /api/versions 2023-08-18 05:16:39 +03:00
dependabot[bot]
0edea8bfa1
Bump osm-community-index from 5.5.4 to 5.5.5
Bumps [osm-community-index](https://github.com/osmlab/osm-community-index) from 5.5.4 to 5.5.5.
- [Release notes](https://github.com/osmlab/osm-community-index/releases)
- [Changelog](https://github.com/osmlab/osm-community-index/blob/main/CHANGELOG.md)
- [Commits](https://github.com/osmlab/osm-community-index/compare/v5.5.4...v5.5.5)

---
updated-dependencies:
- dependency-name: osm-community-index
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 23:39:40 +00:00
Martin Raifer
5da9a5451b
Update to iD v2.27.1 2023-08-17 23:48:49 +02:00
Tom Hughes
54164f6cc6 Merge remote-tracking branch 'upstream/pull/4171' 2023-08-17 19:07:37 +01:00
Tom Hughes
6b8c8e8d7e Merge remote-tracking branch 'upstream/pull/4179' 2023-08-17 18:55:03 +01:00
Tom Hughes
2c57b34b0d Merge remote-tracking branch 'upstream/pull/4178' 2023-08-17 18:51:17 +01:00
Anton Khorev
d69ae84963 Add color keys to note tables 2023-08-17 19:26:26 +03:00
Anton Khorev
e3e5b9fbf1 Remove right leaflet toolbar position override
Has no effect, doesn't take rtl into account.
Was added in 537d72b0f6 (diff-fe520170ce0c939dc1e59f3395a360a1866b4da19b474c9f0b35112f72e952d8R117)
2023-08-17 17:48:59 +03:00
Milan Cvetkovic
568bf4939d Replace references to windowslive with microsoft_graph 2023-08-17 13:01:15 +00:00
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