Commit graph

26 commits

Author SHA1 Message Date
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
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
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
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
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
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
Tom Hughes
75bde83a13 Improve testing of changeset comment rate limits 2023-08-30 19:11:08 +01:00
Tom Hughes
e210b4efbf Improve naming of changeset comment rate limit settings 2023-08-30 18:25:06 +01:00
Tom Hughes
a274726f46 Add rate limiting for changeset comments
Fixes #4196
2023-08-25 19:53:04 +01:00
mmd-osm
4ec85171fd JSON output added to changeset(s) endpoints 2022-03-14 15:52:49 +01:00
Tom Hughes
b5f06e06c1 Fix rubocop Rails/TimeZone warnings 2022-03-01 22:55:10 +00:00
Tom Hughes
7e1a4b6884 Refactor changeset comments API controller tests 2020-05-05 18:04:48 +01:00
Tom Hughes
7a1615bc55 Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
Andy Allan
947a41edee Move the api methods from changeset_comments_controller into the api namespaced controller 2019-02-24 12:38:09 +01:00