Commit graph

269 commits

Author SHA1 Message Date
Anton Khorev
98a365c827 Test api old element show accessed as moderator 2025-02-11 02:08:28 +03:00
Anton Khorev
1b977454f7 Add show_redactions checks to api old element show tests 2025-02-11 02:08:28 +03:00
Anton Khorev
46113c9cba Test api old element index accessed as moderator 2025-02-11 02:08:28 +03:00
Anton Khorev
d0c68c4041 Test redacted element state after redaction action 2025-02-11 02:08:28 +03:00
Anton Khorev
ddebb42a8e Add show_redactions checks to api old element index tests 2025-02-11 02:08:28 +03:00
Anton Khorev
be020d1546 Split api old element redacted show tests 2025-02-11 02:08:28 +03:00
Anton Khorev
bd0f5a1932 Split api old element redacted index tests 2025-02-11 02:08:28 +03:00
Anton Khorev
eef9e5fbf1 Remove unused api old relation test code 2025-02-10 22:25:22 +03:00
Anton Khorev
70d7be4cb9 Test api old way show action without integration 2025-02-10 22:25:22 +03:00
Anton Khorev
0b802240df Move api way version test to integration tests 2025-02-10 22:25:22 +03:00
Anton Khorev
b0afd3453a Test api old node show action without integration 2025-02-10 22:25:21 +03:00
Anton Khorev
1da870fd48 Move api node version test to integration tests 2025-02-10 22:25:21 +03:00
Anton Khorev
f2ed3c1935 Make api old element show paths resourceful 2025-02-10 02:07:48 +03:00
Anton Khorev
98af87d1cb Convert api element history actions to versions resources 2025-02-09 19:18:47 +03: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
Anton Khorev
04c6d38649 Map 'full' to api relation show action 2025-02-05 21:07:19 +03:00
Anton Khorev
0f2aa939d4 Map 'full' to api way show action 2025-02-05 21:07:19 +03:00
Anton Khorev
e837727d95 Test Last-Modified header of api show element responses 2025-02-05 20:22:16 +03:00
Anton Khorev
cee07eee09 Test if api relation show/full responses contain required elements 2025-02-05 20:22:16 +03:00
Anton Khorev
b1dbcad484 Split api node show test 2025-02-05 20:22:16 +03:00
Anton Khorev
cc2677ff24 Split api way show test 2025-02-05 20:22:16 +03:00
Anton Khorev
0c893e9197 Split api relation show/full tests 2025-02-05 20:22:16 +03:00
Anton Khorev
9ef7f3a2e7 Move api element show and full tests 2025-02-05 20:22:16 +03:00
Anton Khorev
18f65b78eb Make api show/update/destroy relation actions resourceful 2025-02-05 20:22:16 +03:00
Anton Khorev
35fc840b41 Make api show/update/destroy way actions resourceful 2025-02-05 20:22:16 +03:00
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