Martin Raifer
b834bd70d0
use api.openstreetmap.org for API calls when running on www.osm.org
...
see https://github.com/openstreetmap/operations/issues/951
2023-11-08 12:52:23 +01:00
Tom Hughes
675b89ddb7
Strengthen the tokens used in email reply addresses
2023-11-07 17:52:31 +00: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
ba503e02d2
Enforce rate limit for API calls which make changes
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
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
f00a12a2ec
Merge remote-tracking branch 'upstream/pull/4308'
2023-10-27 14:26:54 +01:00
Tom Hughes
4f542ef900
Remove extraneous fields from primary keys for relation members
2023-10-26 18:08:26 +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
Tom Hughes
8daaab2aa8
Merge remote-tracking branch 'upstream/pull/4293'
2023-10-25 18:19:57 +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
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
Adam Hoyle
1a3a40772c
Add banner for SOTM Asia 2023
2023-10-23 14:14:59 +01:00
Anton Khorev
d8216ef98b
Remove user list custom css
2023-10-20 20:42:38 +03:00
Tom Hughes
a8f49f5747
Merge remote-tracking branch 'upstream/pull/4304'
2023-10-20 17:11:13 +01:00
Tom Hughes
3023c070ea
Merge remote-tracking branch 'upstream/pull/4303'
2023-10-20 17:07:07 +01:00
Anton Khorev
50c2b24c28
Remove oauth list custom css
2023-10-20 17:55:10 +03:00
Anton Khorev
abf5342845
Remove some print-related custom css
2023-10-20 17:26:51 +03:00
Anton Khorev
62ba143c3c
Remove some search/directions custom css
2023-10-20 16:58:59 +03:00
tom.k
016ab83a22
add contributor info for Czechia
2023-10-19 08:22:32 +02:00
Tom Hughes
a6b5f2f56d
Adjust code for rails internal changes
2023-10-18 18:26:14 +01:00
Tom Hughes
46cd08b1c8
Replace composite_primary_keys with rails builtin support
2023-10-18 18:26:14 +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
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
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
Anton Khorev
afdfda9557
Remove some h1/logo custom css
2023-10-16 12:32:06 +03:00
Gregory Igelmund
a4edd3fd04
Annotate models
2023-10-14 11:19:13 +08:00
Tom Hughes
7dbc349510
Drop redundant primary key specification for languages table
2023-10-07 15:08:30 +01:00
Tom Hughes
f6d1b6cda4
Fix rails 7.1.0 deprecation warning
2023-10-06 19:07:47 +01: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
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
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
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
Anton Khorev
9768a01717
Remove custom opacity from changeset comments count
2023-10-02 02:32:03 +03:00