Commit graph

15 commits

Author SHA1 Message Date
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