Commit graph

13549 commits

Author SHA1 Message Date
Andy Allan
f26d5b2b07
Merge pull request #4321 from HolgerJeromin/patch-1
fix link to stateofthemap.africa
2023-11-03 15:00:35 +00: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
dc2c84f194 Fix eslint warnings 2023-11-02 10:11:36 +00:00
Tom Hughes
ef4c9a3306 Make change set comment rate limit errors display properly
Fixes #4320
2023-11-02 10:08:19 +00:00
Tom Hughes
83ce0535e1 Use postgres 14 for docker 2023-11-02 08:59:57 +00:00
Tom Hughes
7e974b8662 Add tests for API change rate limits 2023-11-02 08:59:57 +00:00
Tom Hughes
ba503e02d2 Enforce rate limit for API calls which make changes 2023-11-02 08:59:57 +00: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
Tom Hughes
b5995c5175 Only count new reports as active for rate limits 2023-11-02 08:44:43 +00:00
Tom Hughes
0e74b21cb2 Fix new rubocop warnings 2023-10-31 18:16:46 +00:00
Tom Hughes
2c9c8f4e93 Update bundle 2023-10-31 18:11:57 +00:00
translatewiki.net
9aa3e7a4c5 Localisation updates from https://translatewiki.net. 2023-10-30 13:20:30 +01:00
Tom Hughes
898a3882c5 Avoid storing user records in the session during signup
This works around an issue with rails failing to preserve attribute
change flags and is in line with upstream advice against storing models
in the session in this way.

https://github.com/rails/rails/issues/49826
https://github.com/rails/rails/issues/49827
2023-10-29 10:13:28 +00: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
Tom Hughes
0844024c8e Build new relation member indexes concurrently 2023-10-26 19:58:11 +01:00
Tom Hughes
64952fef8b Disable transactions for relation member index changes 2023-10-26 19:48:25 +01:00
Andy Allan
6e28c5fe19
Merge pull request #4300 from tomhughes/relation-members-primary-key
Simplify primary key for relation members tables
2023-10-26 19:40:57 +01:00
Tom Hughes
ee3f045495 Assign proper sequence numbers to relation members in tests 2023-10-26 18:22:41 +01:00
Tom Hughes
4f542ef900 Remove extraneous fields from primary keys for relation members 2023-10-26 18:08:26 +01:00
Tom Hughes
af8e08960e Merge remote-tracking branch 'upstream/pull/4317' 2023-10-26 13:14:43 +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
Andy Allan
aad93b9978 Switch back to bootstrap releases
Bootstrap-rubygem 5.3.2 onwards allows us to use dartsass-sprockets.

Refs #4262
2023-10-26 11:38:10 +01:00
Tom Hughes
8daaab2aa8 Merge remote-tracking branch 'upstream/pull/4293' 2023-10-25 18:19:57 +01:00
Tom Hughes
6253b16d0e Merge remote-tracking branch 'upstream/pull/4315' 2023-10-25 18:15:26 +01:00
Anton Khorev
f5c844682f Override left/right tooltip arrow placement in rtl mode 2023-10-25 15:48:54 +03:00
Anton Khorev
6b203c63fe Don't pass placement: right to tooltip()
Bootstrap flips it on its own, see https://getbootstrap.com/docs/5.2/components/tooltips/#directions
2023-10-25 15:48:53 +03:00
Anton Khorev
d2f26a5436 Apply unread message background to table cells
Required after updating Bootstrap.
2023-10-25 15:02:28 +03:00
Tom Hughes
dd905b5aa8 Merge remote-tracking branch 'upstream/pull/4262' 2023-10-24 17:37:48 +01:00
Andy Allan
14c20e9835 Upgrade to bootstrap 5.3 2023-10-24 17:37:04 +01:00
Tom Hughes
847119415c Merge remote-tracking branch 'upstream/pull/4309' 2023-10-24 17:26:39 +01:00
Tom Hughes
0de0317425 Update bundle 2023-10-24 17:09:39 +01:00
Adam Hoyle
441be268d8 Fix file dimensions and switch from png to jpg 2023-10-24 12:11:51 +01:00