Commit graph

70 commits

Author SHA1 Message Date
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
Anton Khorev
f5a573ab4a Always check changes/comments counts in single changeset tests 2025-02-17 04:40:03 +03:00
Anton Khorev
0e93af3e30 Use changeset tag factory in api changeset json test 2025-02-15 05:56:32 +03:00
Andy Allan
7cf9bf0e55
Merge pull request #5591 from AntonKhorev/api-element-resources--index-paths
API element resources - index paths
2025-02-05 17:13:47 +00:00
Anton Khorev
f1a873e305 Refactor api changeset discussion tests 2025-02-03 19:28:47 +03:00
Anton Khorev
96671cf0c0 Make api create node path resourceful 2025-02-02 12:17:47 +03:00
Tom Hughes
973d62a25e Drop support for basic authentication 2024-09-02 19:00:57 +01:00
Tom Hughes
0f50292784 Merge remote-tracking branch 'upstream/pull/5050' 2024-08-06 18:33:35 +01:00
Anton Khorev
2245505185 Don't use XML::Parser when testing changeset upload diffResults 2024-08-06 05:31:26 +03:00
Anton Khorev
2cd63d3001 Always check the order when testing changeset queries 2024-08-06 04:08:18 +03:00
Anton Khorev
724376419a Simplify api changeset path helper calls 2024-07-25 16:55:27 +03:00
Anton Khorev
1f4c298f76 Simplify subscribe path helper calls 2024-07-16 17:32:00 +03:00
Tom Hughes
505dcde52a Add tests for API changeset size limits 2024-06-19 00:46:35 +01:00
Tom Hughes
61c5011813 Update tests to avoid triggering changeset size limits 2024-06-19 00:46:35 +01:00
Anton Khorev
ba2eb52054 Simplify element show paths in api tests 2024-04-02 14:53:17 +03:00
Anton Khorev
765165777e Rename api changesets index action 2024-03-30 08:26:58 +03:00
Anton Khorev
9c0d74fe69 Simplify and test downloaded changeset element sorting 2024-03-21 20:02:18 +03:00
Tom Hughes
f31c81c3f3 Fix rubocop warnings 2024-02-25 14:17:05 +00:00
Tom Hughes
53817fa9e8 Merge remote-tracking branch 'upstream/pull/4251' 2024-02-25 14:06:56 +00:00
Tom Hughes
f5aa031b58 Rename path for changeset API subscription methods 2024-02-25 09:48:11 +00:00
Tom Hughes
7e974b8662 Add tests for API change rate limits 2023-11-02 08:59:57 +00:00
Tom Hughes
ba503e02d2 Enforce rate limit for API calls which make changes 2023-11-02 08:59:57 +00:00
Tom Hughes
45be62391f Update test results for changes to rescuable exception handling
https://github.com/rails/rails/pull/45867
2023-10-18 18:26:14 +01:00
Anton Khorev
e22589f946 Show hidden comments to moderators if requested 2023-10-01 19:50:27 +03:00
Tom Hughes
e8af4b85bf Fix new rubocop warnings 2023-09-26 18:42:57 +01:00
Anton Khorev
4b92988555 Add comment ids to changeset discussion api responses 2023-09-10 17:30:06 +03:00
Anton Khorev
0bd5838f51 Respond with plaintext when user not found in changeset query
The response used to be of type xml with empty body, which is not valid xml.
2023-08-19 20:26:13 +03:00
Anton Khorev
1e8cd9bedd Add tests for changeset order + from..to queries 2023-08-15 19:29:05 +03:00
Tom Hughes
6d74aa2873 Merge remote-tracking branch 'upstream/pull/4158' 2023-08-13 10:00:29 +01:00
Anton Khorev
8c42c39a67 Use Settings.generator string in tests 2023-08-12 19:07:36 +03:00
Anton Khorev
0abab48f5d Add order parameter to changeset query api entry point 2023-08-12 03:57:48 +03:00
Anton Khorev
abdce62a03 Add ordered changeset test method 2023-08-12 03:40:52 +03:00
Anton Khorev
665bde6ccd Use max changeset query limit setting in tests 2023-08-08 03:43:35 +03:00
Andy Allan
925d12cc81
Merge pull request #3933 from AntonKhorev/api-changesets-limit
Add limit parameter to api changesets query
2023-07-26 16:45:00 +01:00
Tom Hughes
ba3d3269e3 Fix new rubocop warnings 2023-07-18 18:27:06 +01:00
Anton Khorev
e286ce515c Add limit parameter to api changesets query 2023-02-14 20:56:29 +03:00
Andy Allan
415ac577f3 Remove some old debugging comments 2022-12-21 12:05:15 +00:00
mmd-osm
ec121dde4f Add more testcases to changesets_controller
Extracted from pull request #1995
2022-11-30 22:32:20 +01:00
mmd-osm
4ec85171fd JSON output added to changeset(s) endpoints 2022-03-14 15:52:49 +01:00
Tom Hughes
cbcc7dc49f Fix some rubocop Naming/PredicateName warnings 2022-03-03 22:47:55 +00:00
Tom Hughes
b5f06e06c1 Fix rubocop Rails/TimeZone warnings 2022-03-01 22:55:10 +00:00
Andy Allan
76f1d7bc78 Use a builder to render changeset downloads 2021-09-15 16:33:04 +01:00
Josh Soref
fc0aee74af spelling: success
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-07-21 10:45:38 -04:00
Josh Soref
7ff3d82c03 spelling: shouldn't
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-07-21 10:45:38 -04:00
Josh Soref
eee739356f spelling: modify
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-07-21 10:45:38 -04:00
Tom Hughes
d3c800fdb4 Fix new rubocop warnings 2021-06-29 18:29:00 +01:00