Commit graph

240 commits

Author SHA1 Message Date
Anton Khorev
3b0be171b9 Make api show/update/destroy node actions resourceful 2025-02-05 20:22:16 +03:00
Andy Allan
7cf9bf0e55
Merge pull request #5591 from AntonKhorev/api-element-resources--index-paths
API element resources - index paths
2025-02-05 17:13:47 +00:00
Anton Khorev
f1a873e305 Refactor api changeset discussion tests 2025-02-03 19:28:47 +03:00
Anton Khorev
b6c2a39363 Make api create relation path resourceful 2025-02-02 12:17:47 +03:00
Anton Khorev
2ad75d72af Make api create way path resourceful 2025-02-02 12:17:47 +03:00
Anton Khorev
96671cf0c0 Make api create node path resourceful 2025-02-02 12:17:47 +03:00
Anton Khorev
1d04b69e86 Move api element index tests up 2025-02-02 12:17:47 +03:00
Anton Khorev
35d5276587 Make api element index paths resourceful 2025-02-02 12:17:47 +03:00
Tom Hughes
49e257200e Merge remote-tracking branch 'upstream/pull/5545' 2025-01-24 15:10:03 +00:00
Anton Khorev
01b5ed5d28 Create api map resource 2025-01-24 10:47:58 +03:00
Anton Khorev
47d55a2b0f Simplify write_notes scope check in api notes controller 2025-01-24 06:16:11 +03:00
Tom Hughes
af880d10de Merge remote-tracking branch 'upstream/pull/5520' 2025-01-19 15:02:11 +00:00
Anton Khorev
e096cc35dc Include message_read attribute in api output of messages to self 2025-01-19 05:48:36 +03:00
Anton Khorev
1be841589a Use resourceful routes for api tracepoints 2025-01-18 20:08:07 +03:00
Anton Khorev
971fbc28b8 Test api user traces failing without necessary scope 2024-12-27 05:44:40 +03:00
Anton Khorev
880032ed85 Create user traces resource in api namespace 2024-12-27 05:44:09 +03:00
Anton Khorev
e6b23c133e Move user details route to api namespace 2024-12-27 05:34:19 +03:00
Anton Khorev
45c90003c6 Use resourceful routes for api messages in/outbox 2024-12-22 07:03:41 +03:00
Tom Hughes
0b42688ae2 Merge remote-tracking branch 'upstream/pull/5425' 2024-12-20 08:39:16 +00:00
Tom Hughes
e41814d139 Merge remote-tracking branch 'upstream/pull/5424' 2024-12-20 08:38:28 +00:00
Anton Khorev
6b41f14ff8 Simplify calls to user block path helpers 2024-12-20 06:30:21 +03:00
Anton Khorev
b7b0f1ef39 Simplify calls to api_message_path helper 2024-12-20 06:11:05 +03:00
Anton Khorev
84f3bd6e91 Move user preferences routes to api namespace 2024-12-20 06:00:54 +03:00
Anton Khorev
79c306ad06 Add patch/put api message update 2024-12-17 17:09:47 +03:00
Anton Khorev
3adb697385 Use resourceful routes for api trace data 2024-12-10 14:21:21 +03:00
Anton Khorev
db3debdd9e Use resourceful routes for api trace create 2024-12-10 13:40:26 +03:00
Anton Khorev
53a33110f0 Add destroy note subscription api endpoint 2024-11-20 20:35:24 +03:00
Anton Khorev
edd12c6995 Add create note subscription api endpoint 2024-11-20 20:34:52 +03:00
Anton Khorev
2347906725 Send notifications to note subscribers instead of commenters 2024-11-08 11:40:55 +03:00
gobinathal
2d8feb6d79 Remove hardcoded rate limit value
Name is chosen to match the equivalent setting in the configuration
of the rate limits for edits.

Fixes #4427.
2024-11-07 18:33:53 +00:00
Tom Hughes
e15a92a302 Fix new rubocop warnings 2024-11-05 18:23:47 +00:00
Anton Khorev
2d7e0a397a Subscribe users when they interact with notes 2024-10-28 02:35:25 +03:00
mmd-osm
72d61f2924 Trace import: validate background job results 2024-09-21 22:30:30 +02:00
Anton Khorev
8b024f48c1 Disable redactions with write_api scope
Requires write_redactions scope to redact. Previously it was possible to redact with either write_redactions or write_api.
2024-09-08 12:31:31 +03:00
Tom Hughes
4d221fd7a6 Simplify creation of bearer authorization headers
Uses the new features added to the bearer_authorization_header while
dropping basic authentication support to simplify the creation of bearer
authorization headers for API tests.
2024-09-03 18:54:05 +01:00
Tom Hughes
973d62a25e Drop support for basic authentication 2024-09-02 19:00:57 +01:00
Tom Hughes
17bc0853a0 Drop support for OAuth 1 2024-09-01 03:43:02 +03:00
Anton Khorev
00db1066ef Remove unused xml_parse method 2024-08-14 05:58:17 +03:00
Tom Hughes
4c00c57c0b Merge remote-tracking branch 'upstream/pull/5051' 2024-08-06 18:35:36 +01:00
Tom Hughes
0f50292784 Merge remote-tracking branch 'upstream/pull/5050' 2024-08-06 18:33:35 +01:00
Anton Khorev
7556059175 Refactor copypasted invalid node attribute test code 2024-08-06 06:26:03 +03:00
Anton Khorev
2245505185 Don't use XML::Parser when testing changeset upload diffResults 2024-08-06 05:31:26 +03:00
Anton Khorev
2cd63d3001 Always check the order when testing changeset queries 2024-08-06 04:08:18 +03:00
Milan Cvetkovic
0db47f3f76 Add Messages API
as discussed in [Issue #4509](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal)
and documented in [Messaging API reference](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal)
2024-07-29 10:42:38 +00:00
Anton Khorev
898731ed81 Merge branch 'pull/5020' 2024-07-28 18:54:42 +03:00
Tom Hughes
1a7d68ccbc Convert tests using OAuth 1 tokens to use OAuth 2 tokens 2024-07-25 16:55:47 +01:00
Anton Khorev
724376419a Simplify api changeset path helper calls 2024-07-25 16:55:27 +03:00
Anton Khorev
067754b766 Simplify hide path helper calls 2024-07-16 17:35:04 +03:00
Anton Khorev
1f4c298f76 Simplify subscribe path helper calls 2024-07-16 17:32:00 +03:00
Andy Allan
7f3cb3c624
Merge pull request #4610 from AntonKhorev/no-old-note-api
Remove old note api endpoints
2024-06-26 14:17:39 +01:00