Tom Hughes
55a05d9e80
Use secure_compare to compare passwords and tokens
...
It's unlikely there is an explotable attack here given than network
latencies and variability will swamp any local timing differences but
it's best practice and there's no reason not to.
2023-11-07 17:22:40 +00:00
Tom Hughes
58190488f8
Merge remote-tracking branch 'upstream/pull/4322'
2023-11-07 17:07:28 +00:00
Tom Hughes
edd23d1ff1
Update bundle
2023-11-07 17:00:22 +00:00
translatewiki.net
049dfab8ad
Localisation updates from https://translatewiki.net .
2023-11-06 13:23:07 +01:00
dependabot[bot]
729179c9c6
Bump eslint from 8.52.0 to 8.53.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.52.0 to 8.53.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.52.0...v8.53.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-11-03 23:35:24 +00:00
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