Commit graph

31 commits

Author SHA1 Message Date
Anton Khorev
41e93bfb66 Make user creation code in unredact test similar to redact tests 2025-02-11 07:10:54 +03:00
Anton Khorev
319c9af975 Move current version redaction tests above roles/scopes tests 2025-02-11 05:41:18 +03:00
Anton Khorev
03ebd2ac5e Test states of old elements after unsuccessful redactions 2025-02-11 05:38:36 +03:00
Anton Khorev
06cca3717a Rename old element variables in redaction tests 2025-02-11 02:08:28 +03:00
Anton Khorev
0063727434 Check old element state instead of responses in unredaction tests 2025-02-11 02:08:28 +03:00
Anton Khorev
ef9d39ece0 Use fewer element versions in redaction tests 2025-02-11 02:08:28 +03:00
Anton Khorev
c134cabab2 Remove do_redact_element methods from api old element redaction tests 2025-02-11 02:08:28 +03:00
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
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
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
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
Anton Khorev
2f53c2520d Simplify redact element paths in api tests 2024-04-02 15:49:40 +03:00
Anton Khorev
c073acf5b7 Simplify element history paths in api tests 2024-04-02 15:28:49 +03:00
Anton Khorev
0e50ff563e Simplify old element show paths in api tests 2024-04-02 15:13:27 +03:00
Anton Khorev
ad96da4518 Rename api element version path helper 2024-03-04 11:28:50 +03:00
Anton Khorev
cbf6b39464 Rename api element version action to show 2024-03-04 11:19:50 +03:00
Anton Khorev
daa2543511 Add oauth scope for redactions 2023-12-21 17:37:17 +03:00
Andy Allan
c04d05686f Resolve some extra-long lines 2020-10-28 11:07:34 +01:00
Andy Allan
f84980f183 More controller test refactoring 2020-05-06 16:51:04 +02:00
mmd-osm
91b31f03de Added unit tests 2020-01-08 19:57:21 +01:00
Andy Allan
b38343e5bd Move node/way/relation/old_* controllers into the api namespace 2019-02-28 17:12:28 +01:00