Commit graph

13026 commits

Author SHA1 Message Date
Tom Hughes
f37ea2fae3 Update to rails 7.1.1 2023-10-18 18:26:13 +01:00
Andy Allan
945df0f150
Merge pull request #4299 from AntonKhorev/no-changeset-action-button-css
Remove subscribe/unsubscribe button custom css
2023-10-18 16:25:27 +01:00
Tom Hughes
5933ade9a7 Update annotation for change to changeset_tags indexes 2023-10-18 15:53:45 +01:00
Andy Allan
4c4150e0d0
Merge pull request #4279 from tomhughes/changeset-tags-primary-key
Add a primary key to the changeset_tags table
2023-10-18 15:41:01 +01:00
Anton Khorev
5e0792631a Remove subscribe/unsubscribe button custom css 2023-10-18 17:37:36 +03:00
Andy Allan
3c706ab847
Merge pull request #4289 from grekko/github_workflow_add_annotate_models_check_2
.github/workflows/lint.yml: Check if annotate_models is up to date
2023-10-18 14:22:05 +01:00
Tom Hughes
83d9f1f164 Merge remote-tracking branch 'upstream/pull/4295' 2023-10-17 18:49:58 +01:00
Tom Hughes
2ce6bf383a Merge remote-tracking branch 'upstream/pull/4294' 2023-10-17 18:47:24 +01:00
Tom Hughes
790822f92e Merge remote-tracking branch 'upstream/pull/4292' 2023-10-17 18:36:02 +01:00
Tom Hughes
391728c8eb Update i18n tasks from latest gem 2023-10-17 18:25:38 +01:00
Tom Hughes
be7248bace Update bundle 2023-10-17 18:25:32 +01:00
Anton Khorev
74a87d55e7 Replace secondary nav buttons custom css with classes 2023-10-17 17:35:14 +03:00
Anton Khorev
3fc971d03c Enable focus outline on More button 2023-10-17 17:21:25 +03:00
Anton Khorev
7eee48b761 Decrease directions button height to match Go button 2023-10-17 12:26:29 +03:00
translatewiki.net
cfd4d5a190 Localisation updates from https://translatewiki.net. 2023-10-16 13:21:41 +02:00
Anton Khorev
afdfda9557 Remove some h1/logo custom css 2023-10-16 12:32:06 +03:00
Gregory Igelmund
aa573ce1bb
.github/workflows/lint.yml: Add task verifying annotations are up2date 2023-10-14 11:28:44 +08:00
Gregory Igelmund
a4edd3fd04
Annotate models 2023-10-14 11:19:13 +08:00
translatewiki.net
a4a294b1b8 Localisation updates from https://translatewiki.net. 2023-10-12 13:20:49 +02:00
Tom Hughes
2b920cd7b4 Update bundle 2023-10-10 18:35:20 +01:00
Tom Hughes
e1128054d9 Merge remote-tracking branch 'upstream/pull/4276' 2023-10-10 18:19:13 +01:00
translatewiki.net
70df26959b Localisation updates from https://translatewiki.net. 2023-10-09 13:22:50 +02:00
Tom Hughes
387ecce798 Add a primary key to the changeset_tags table 2023-10-08 12:33:54 +01:00
Tom Hughes
132bb9ad59 Improve support for primary keys in migrations 2023-10-08 12:33:54 +01:00
Tom Hughes
7dbc349510 Drop redundant primary key specification for languages table 2023-10-07 15:08:30 +01:00
Tom Hughes
8d7b98a618 Drop workaround to force UTF8 form upload in IE8
This has been disabled by default in rails for some time.
2023-10-07 11:57:54 +01:00
dependabot[bot]
7b5f590a2d
Bump eslint from 8.50.0 to 8.51.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.50.0 to 8.51.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.50.0...v8.51.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-10-06 23:42:27 +00:00
Tom Hughes
f6d1b6cda4 Fix rails 7.1.0 deprecation warning 2023-10-06 19:07:47 +01:00
translatewiki.net
fc2c4cc9ab Localisation updates from https://translatewiki.net. 2023-10-05 13:20:32 +02:00
Tom Hughes
682201d8f4 Merge remote-tracking branch 'upstream/pull/4274' 2023-10-04 19:10:47 +01:00
Andy Allan
832bb21cce
Merge pull request #4257 from tordans/docker-compose
Docker: Use `docker compose`
2023-10-04 18:48:56 +01:00
Tobias
d42455d491 Docker: Use docker compose in Docs and Workflow
Also extend "Tests" section on how to prepare the tests
2023-10-04 19:33:58 +02:00
Andy Allan
1700c23dd1 Prefer find_by() instead of where().first
These are very similar, differing only if we would expect multiple
results and the sorting is important. However, in all our cases
we're only expecting one result to be returned, and so find_by is
easier to read.
2023-10-04 17:53:58 +01:00
Tom Hughes
c8fc2218e5 Merge remote-tracking branch 'upstream/pull/4226' 2023-10-03 19:39:41 +01:00
Milan Cvetkovic
408f2918d0 Load openid signing key from endpoint during openid connect test 2023-10-03 18:55:10 +01:00
Milan Cvetkovic
2d5acd199b Add test for openid discovery 2023-10-03 18:55:10 +01:00
Milan Cvetkovic
1f62a2b342 Add a test for openid connect support 2023-10-03 18:55:10 +01:00
Milan Cvetkovic
64bcf7652b Add openid connect support using doorkeeper-openid_connect gem
... as discussed in [Issue 507](https://github.com/openstreetmap/operations/issues/507)
and described by @mmd-osm.

To activate, set the value of `doorkeeper_signing_key` to RSA private key.

Allows using openstreetmap as an identity provider.

Adds `openid` scope to OAuth2 authorizations, required to login to OSM.

Currently, the only claims returned are:
 - "openid" scope: "sub" and "preferred_username"
 - "read_email" scope: "email"
2023-10-03 18:53:47 +01:00
Milan Cvetkovic
e996ee5dbc Merge locale definitions to config/locales/en.yml 2023-10-03 18:53:09 +01:00
Milan Cvetkovic
8a22bfb222 Add unconfigured doorkeeper-openid_connect
After executing:
rails generate doorkeeper:openid_connect:install
rails generate doorkeeper:openid_connect:install

Split migration script to 2 to avoid deadlock.
2023-10-03 18:53:09 +01:00
Tom Hughes
370d2b644d Update bundle 2023-10-03 17:01:37 +01:00
Tom Hughes
2de33c2f1d Merge remote-tracking branch 'upstream/pull/4271' 2023-10-03 17:00:13 +01:00
Anton Khorev
0fae5627a5 Remove <picture>s around <img srcset=...> 2023-10-03 03:06:12 +03:00
Tom Hughes
95041ec81a Merge remote-tracking branch 'upstream/pull/4269' 2023-10-02 18:53:14 +01:00
Tom Hughes
389b715241 Merge remote-tracking branch 'upstream/pull/4268' 2023-10-02 18:48:52 +01:00
Tom Hughes
0d420a8374 Merge remote-tracking branch 'upstream/pull/4266' 2023-10-02 18:47:21 +01:00
Tom Hughes
82de8dd973 Merge remote-tracking branch 'upstream/pull/4267' 2023-10-02 18:45:53 +01:00
translatewiki.net
900d475392 Localisation updates from https://translatewiki.net. 2023-10-02 13:19:00 +02:00
Anton Khorev
94fead62ec Remove <picture> from logo 2023-10-02 04:12:47 +03:00
Anton Khorev
3c5c376158 Remove custom color from changeset comments count 2023-10-02 02:32:47 +03:00