Commit graph

4059 commits

Author SHA1 Message Date
Tom Hughes
f2f0cf1ad9 Switch to using native rails support for managing Postgres enumerations 2023-11-15 18:25:05 +00:00
Tom Hughes
cebda5ffb9 Merge remote-tracking branch 'upstream/pull/4319' 2023-11-15 17:14:49 +00:00
Andy Allan
71cb84bbe2
Merge pull request #4318 from tomhughes/rails-71-defaults
Enable remaining rails 7.1 defaults
2023-11-15 11:48:18 +00:00
translatewiki.net
0eed6708a8 Localisation updates from https://translatewiki.net. 2023-11-13 13:20:37 +01:00
translatewiki.net
a5a7f45d70 Localisation updates from https://translatewiki.net. 2023-11-09 13:22:02 +01:00
Tom Hughes
4b78b0267d Remove production credentials from the repository
These (well master.key at least) should never have been here
but fortunately we haven't really been using them.
2023-11-07 17:51:59 +00:00
translatewiki.net
049dfab8ad Localisation updates from https://translatewiki.net. 2023-11-06 13:23:07 +01:00
Holger Jeromin
6d69b640a2
fix link to stateofthemap.africa 2023-11-03 15:54:24 +01:00
translatewiki.net
34b90f3491 Localisation updates from https://translatewiki.net. 2023-11-02 13:19:27 +01:00
Tom Hughes
2f11b77309 Add support for per-user limits on the rate changes can be made 2023-11-02 08:59:57 +00:00
Tom Hughes
c6bb4a5f4e Add importer role that can be associated with higher rate limits 2023-11-02 08:58:12 +00:00
translatewiki.net
9aa3e7a4c5 Localisation updates from https://translatewiki.net. 2023-10-30 13:20:30 +01:00
Tom Hughes
6f60111c92 Switch to rails 7.1 defaults 2023-10-27 18:00:05 +01:00
Tom Hughes
416334cbbc Change log level for DebugExceptions to error 2023-10-27 17:55:24 +01:00
Tom Hughes
8c998c542c Use an HTML5 parser for tests 2023-10-27 17:50:46 +01:00
Tom Hughes
64f2517426 Use an HTML5 standards-compliant sanitizer 2023-10-27 17:46:58 +01:00
Tom Hughes
4c6a56d002 Commit transactions exited by return, break or throw 2023-10-27 17:42:23 +01:00
Tom Hughes
ed279071c7 Enable optimisation of checks for parent record existence 2023-10-27 17:38:21 +01:00
Tom Hughes
cae17a1f9f Limit log file size in development and test 2023-10-27 17:33:54 +01:00
Tom Hughes
39e66c69b7 Stop parameter hashes comparing equal to normal hashes 2023-10-27 17:31:23 +01:00
Tom Hughes
3588e955c5 Drop X-Download-Options from default headers 2023-10-27 17:26:25 +01:00
Tom Hughes
7ba8ac2b61 Stop adding autoloaded paths to $LOAD_PATH 2023-10-27 17:25:50 +01:00
Tom Hughes
f00a12a2ec Merge remote-tracking branch 'upstream/pull/4308' 2023-10-27 14:26:54 +01:00
Tom Hughes
b89fd03403 Enable rails 7.1 changes to model callbacks 2023-10-26 22:51:55 +01:00
Tom Hughes
60d3448cef Enable precompilation of filter_parameters 2023-10-26 22:44:02 +01:00
Tom Hughes
e331266687 Enable rails 7.1 defaults that relate to rolling upgrades 2023-10-26 22:43:29 +01:00
Tom Hughes
1bb8d9caf6 Enable rails 7.1 defaults for features we don't use 2023-10-26 22:43:28 +01:00
Tom Hughes
6e1613f73e Disable deprecated singular association names 2023-10-26 22:19:02 +01:00
Andy Allan
98bfaace9a
Merge pull request #4170 from osmcz/cuzk
Add contributor info for Czechia for copyright web page
2023-10-26 13:06:56 +01:00
translatewiki.net
a7c20f7038 Localisation updates from https://translatewiki.net. 2023-10-26 13:20:38 +02:00
Adam Hoyle
441be268d8 Fix file dimensions and switch from png to jpg 2023-10-24 12:11:51 +01:00
Adam Hoyle
73bba0a9b6 Add Africa banner (with @2x) 2023-10-24 08:44:23 +01:00
Mateusz Konieczny
647bd68f50 rerun script/misc/update-wiki-pages 2023-10-23 21:50:22 +02:00
Adam Hoyle
1a3a40772c Add banner for SOTM Asia 2023 2023-10-23 14:14:59 +01:00
translatewiki.net
7e9544de5e Localisation updates from https://translatewiki.net. 2023-10-23 13:21:59 +02:00
translatewiki.net
59494a1656 Localisation updates from https://translatewiki.net. 2023-10-19 13:20:13 +02:00
tom.k
016ab83a22 add contributor info for Czechia 2023-10-19 08:22:32 +02:00
Tom Hughes
f37ea2fae3 Update to rails 7.1.1 2023-10-18 18:26:13 +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
Tom Hughes
391728c8eb Update i18n tasks from latest gem 2023-10-17 18:25:38 +01:00
translatewiki.net
cfd4d5a190 Localisation updates from https://translatewiki.net. 2023-10-16 13:21:41 +02:00
translatewiki.net
a4a294b1b8 Localisation updates from https://translatewiki.net. 2023-10-12 13:20:49 +02:00
translatewiki.net
70df26959b Localisation updates from https://translatewiki.net. 2023-10-09 13:22:50 +02:00
Tom Hughes
132bb9ad59 Improve support for primary keys in migrations 2023-10-08 12:33:54 +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
translatewiki.net
fc2c4cc9ab Localisation updates from https://translatewiki.net. 2023-10-05 13:20:32 +02: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
Tom Hughes
c8fc2218e5 Merge remote-tracking branch 'upstream/pull/4226' 2023-10-03 19:39:41 +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