Commit graph

8133 commits

Author SHA1 Message Date
Andy Allan
aebacc88de
Merge pull request #5514 from AntonKhorev/pd-declaration
Remove public domain checkbox from signup and terms pages
2025-02-15 14:03:55 +00:00
Tom Hughes
5ca24de0d0 Merge remote-tracking branch 'upstream/pull/5452' 2025-02-15 11:15:25 +00:00
Tom Hughes
12920987f5 Merge remote-tracking branch 'upstream/pull/5669' 2025-02-15 09:11:03 +00:00
Tom Hughes
b7ee8034dc Merge remote-tracking branch 'upstream/pull/5673' 2025-02-15 08:51:36 +00:00
Anton Khorev
037bafcd1c Check user instead of scope when getting note author info
Previously it was possible to create a note while authorized but having no write_notes scope. Currently it's not possible.
2025-02-15 03:45:53 +03:00
Anton Khorev
03867e2fee Remove current_user branch from ApiController#deny_access
Unreachable because if there's no doorkeeper_token, there's also no current_user.
2025-02-15 01:20:06 +03:00
Anton Khorev
f6572e3712 Output active blocks list 2025-02-14 14:16:48 +03:00
Anton Khorev
9ec7e8c888 Skip blocks check when getting active blocks list 2025-02-14 14:16:48 +03:00
Anton Khorev
6d558003aa Add active blocks list api endpoint with empty response 2025-02-14 14:16:48 +03:00
Marwin Hochfelsner
bf194952d7 Transition more requests to fetch 2025-02-14 09:41:20 +01:00
Anton Khorev
2d46b44872 Add write_changeset_comments scope 2025-02-14 00:17:45 +03:00
Anton Khorev
77a2657d33 Pass scopes instead of token to ApiAbility 2025-02-14 00:15:52 +03:00
Anton Khorev
304e0ef638 Pass user to ApiAbility 2025-02-14 00:15:52 +03:00
Tom Hughes
46f642d5cd Merge remote-tracking branch 'upstream/pull/5632' 2025-02-12 18:21:02 +00:00
Tom Hughes
c3f0dc8969 Merge remote-tracking branch 'upstream/pull/5661' 2025-02-12 18:11:38 +00:00
Tom Hughes
22f590c9ef Merge remote-tracking branch 'upstream/pull/5622' 2025-02-12 17:59:25 +00:00
Tom Hughes
cb0c5262a8 Merge remote-tracking branch 'upstream/pull/5642' 2025-02-12 17:58:06 +00:00
Nenad Vujicic
4133936c63 Updates notes filtering to search description too
Updates notes filtering to search for query text in both note comments and note's description.
2025-02-12 18:22:50 +01:00
Nenad Vujicic
663459d1c1 Adds index to notes on description column
Adds text index to description column to table notes.
2025-02-12 18:22:50 +01:00
Martin Raifer
c025613ff6
replace all occurrences of + 2025-02-12 16:23:31 +01:00
Martin Raifer
0b5fa06a39
lint 2025-02-12 14:10:25 +01:00
Martin Raifer
051ae5953f
workaround for iD bug #10761
the current version of iD (v2.31, before the fix for https://github.com/openstreetmap/iD/issue/10761: https://github.com/openstreetmap/iD/pull/10766), does not fully support `x-www-form-urlencoded` "query-style" strings in the hash: Specifically, spaces encoded as `+` will not be decoded back to ` `.

This workaround essentially temporarily reverts the behaviour of the website to the state before #5592, and can be dropped again with the next minor version upgrade of iD (`v2.32`).
2025-02-12 14:08:19 +01:00
Nenad Vujicic
fadbee0af0 Adds storing note's properties to notes
Adds storing note's description, author_id and author_ip to notes table too when creating new note.
2025-02-12 10:54:31 +01:00
Marwin Hochfelsner
e1055764d8 Get directions using fetch
Co-authored-by: Holger Jeromin <h.jeromin@beckhoff.com>
2025-02-12 05:13:12 +01:00
Marwin Hochfelsner
5310c5b9dd Set map param with array 2025-02-12 04:34:01 +01:00
Tom Hughes
43f40c5d03 Stop using session flash to communicate with callbacks 2025-02-12 00:09:40 +00:00
Tom Hughes
6edb8dae05 Merge remote-tracking branch 'upstream/pull/5643' 2025-02-10 20:13:37 +00:00
Marwin Hochfelsner
3fbc8a3d32 Enable a few linting rules 2025-02-10 20:10:13 +01:00
Tom Hughes
2cfc030bba Merge remote-tracking branch 'upstream/pull/5403' 2025-02-10 18:54:14 +00:00
Anton Khorev
f2ed3c1935 Make api old element show paths resourceful 2025-02-10 02:07:48 +03:00
Anton Khorev
29323be33b Merge branch 'pull/5636' 2025-02-10 01:26:12 +03:00
Anton Khorev
98af87d1cb Convert api element history actions to versions resources 2025-02-09 19:18:47 +03:00
Tom Hughes
ba481319f4 Use subqueries to find nested members more efficiently 2025-02-09 15:40:49 +00:00
Tom Hughes
974e404a6e Merge remote-tracking branch 'upstream/pull/5633' 2025-02-09 15:09:45 +00:00
Tom Hughes
699e73a22a Merge remote-tracking branch 'upstream/pull/5626' 2025-02-09 15:02:14 +00:00
Tom Hughes
97bd4579b0 Merge remote-tracking branch 'upstream/pull/5634' 2025-02-09 14:51:56 +00:00
Marwin Hochfelsner
cdacfafd11 Further usage of URLSearchParams 2025-02-09 08:17:13 +01:00
Marwin Hochfelsner
8130b38368 Remove IE<10 workaround 2025-02-09 06:51:56 +01:00
Marwin Hochfelsner
98e4dfb87e Lessen code repetition 2025-02-09 06:51:56 +01:00
Marwin Hochfelsner
a3c45f6ed6 Reduce condition complexity 2025-02-09 06:51:56 +01:00
Anton Khorev
18b8e0cb34 Clean up after creating nested relation resources 2025-02-08 18:22:55 +03:00
Anton Khorev
f696b5439e Declare api relation relations as nested resources 2025-02-08 18:22:55 +03:00
Anton Khorev
2a38dca0b7 Declare api way relations as nested resources 2025-02-08 18:22:55 +03:00
Anton Khorev
a6e614e44e Declare api node relations as nested resources 2025-02-08 18:22:55 +03:00
Anton Khorev
6a50a5e871 Declare api node ways as nested resources 2025-02-08 18:22:55 +03:00
Marwin Hochfelsner
957ae192b6 Refactor direction engines and unify structure 2025-02-07 04:22:30 +01:00
Tom Hughes
e206dd527e Merge remote-tracking branch 'upstream/pull/5598' 2025-02-06 20:27:32 +00:00
Anton Khorev
a9dcb66e7b Merge branch 'pull/5627' 2025-02-06 22:10:31 +03:00
Tom Hughes
08359d8d5f Merge remote-tracking branch 'upstream/pull/5613' 2025-02-06 17:41:46 +00:00
Tom Hughes
6f9dfc667b Merge remote-tracking branch 'upstream/pull/5614' 2025-02-06 17:19:32 +00:00