Commit graph

311 commits

Author SHA1 Message Date
Anton Khorev
316ce7b4e9 Add show_redactions param to changeset downloads 2025-02-23 21:03:31 +03:00
Anton Khorev
dc60d78cda Rewrite changeset download show test 2025-02-22 20:49:54 +03:00
Anton Khorev
49fac49f9d Create api changeset download resource 2025-02-22 20:49:54 +03:00
Anton Khorev
a297e2ccdc Make api changeset show path resourceful 2025-02-22 02:19:44 +03:00
Anton Khorev
0b751a4b1b Make api changeset index path resourceful 2025-02-20 02:10:29 +03:00
Anton Khorev
bcf066ff9c Move api changeset index tests up 2025-02-20 02:10:29 +03:00
Anton Khorev
d479a3781a Make api create changeset path resourceful 2025-02-20 02:10:29 +03:00
Anton Khorev
532275fa93 Add xml changeset tags test 2025-02-19 03:03:45 +03:00
Anton Khorev
c3dc1b7770 Convert json changeset tags and comments test to tags test
There are other tests that check comments.
2025-02-19 03:01:37 +03:00
Tom Hughes
456024af69 Merge remote-tracking branch 'upstream/pull/5656' 2025-02-17 08:34:13 +00:00
Anton Khorev
f5a573ab4a Always check changes/comments counts in single changeset tests 2025-02-17 04:40:03 +03:00
Anton Khorev
edaca6995c Create relation version redaction resource 2025-02-17 03:51:05 +03:00
Anton Khorev
8ccdc50313 Create way version redaction resource 2025-02-17 03:51:05 +03:00
Anton Khorev
984dd624dd Create node version redaction resource 2025-02-17 03:51:05 +03:00
Andy Allan
31805df53f Remove some unnecessary calls to clear the mail queue
These were not needed at the end of most tests for quite some time,
since rails clears them by default for controller and integration tests,
and also no longer required in system tests after #5691
2025-02-16 16:16:13 +00:00
Tom Hughes
d90f353e5f Merge remote-tracking branch 'upstream/pull/4359' 2025-02-16 09:04:17 +00:00
Anton Khorev
2a5051376a Add changeset comment search api json format 2025-02-15 19:35:24 +03:00
Anton Khorev
1f59507e78 Add changeset comment search api with filtering by author and time 2025-02-15 19:35:24 +03:00
Anton Khorev
6569ed24e4 Add user block api call 2025-02-15 19:20:09 +03:00
Anton Khorev
fd20647320 Test more block attributes in show call 2025-02-15 19:13:40 +03:00
Anton Khorev
bd278a07fe Move query notes by user value to mixin 2025-02-15 19:05:46 +03:00
Anton Khorev
500c1bddf2 Move common query time condition to mixin 2025-02-15 19:05:46 +03:00
Tom Hughes
5ca24de0d0 Merge remote-tracking branch 'upstream/pull/5452' 2025-02-15 11:15:25 +00:00
Anton Khorev
0e93af3e30 Use changeset tag factory in api changeset json test 2025-02-15 05:56:32 +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
Anton Khorev
a91ba62c4c Test commenting changesets with different scopes 2025-02-14 00:17:45 +03:00
Anton Khorev
bb5bad9115 Split api changeset comment unhide fail tests 2025-02-14 00:15:52 +03:00
Anton Khorev
97b9d5acdb Split api changeset comment hide fail tests 2025-02-14 00:15:52 +03:00
Anton Khorev
c3b0a278d8 Split changeset comment subscription emails test 2025-02-14 00:15:52 +03:00
Anton Khorev
c0ef1a88ad Test state of created comment 2025-02-14 00:15:52 +03:00
Anton Khorev
c9057188aa Split api changeset comment create scope and terms tests 2025-02-14 00:15:52 +03:00
Anton Khorev
4073e0fc47 Split api changeset comment create fail tests 2025-02-14 00:15:52 +03:00
Anton Khorev
1632d010d3 Rename api changeset comment tests 2025-02-14 00:15:52 +03:00
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
eef9e5fbf1 Remove unused api old relation test code 2025-02-10 22:25:22 +03:00