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
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