Commit graph

41 commits

Author SHA1 Message Date
Anton Khorev
a297e2ccdc Make api changeset show path resourceful 2025-02-22 02:19:44 +03:00
Anton Khorev
d479a3781a Make api create changeset path resourceful 2025-02-20 02:10:29 +03:00
Anton Khorev
f2ed3c1935 Make api old element show paths resourceful 2025-02-10 02:07:48 +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
04c6d38649 Map 'full' to api relation 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
Anton Khorev
cee07eee09 Test if api relation show/full responses contain required elements 2025-02-05 20:22:16 +03:00
Anton Khorev
0c893e9197 Split api relation show/full tests 2025-02-05 20:22:16 +03:00
Anton Khorev
9ef7f3a2e7 Move api element show and full tests 2025-02-05 20:22:16 +03:00
Anton Khorev
18f65b78eb Make api show/update/destroy relation actions resourceful 2025-02-05 20:22:16 +03:00
Anton Khorev
b6c2a39363 Make api create relation path resourceful 2025-02-02 12:17:47 +03:00
Anton Khorev
1d04b69e86 Move api element index tests up 2025-02-02 12:17:47 +03:00
Anton Khorev
35d5276587 Make api element index paths resourceful 2025-02-02 12:17:47 +03:00
Tom Hughes
e15a92a302 Fix new rubocop warnings 2024-11-05 18:23:47 +00:00
Tom Hughes
973d62a25e Drop support for basic authentication 2024-09-02 19:00:57 +01:00
Anton Khorev
724376419a Simplify api changeset path helper calls 2024-07-25 16:55:27 +03:00
Tom Hughes
61c5011813 Update tests to avoid triggering changeset size limits 2024-06-19 00:46:35 +01:00
Anton Khorev
0e50ff563e Simplify old element show paths in api tests 2024-04-02 15:13:27 +03:00
Anton Khorev
ba2eb52054 Simplify element show paths in api tests 2024-04-02 14:53:17 +03:00
Anton Khorev
352e5de4b9 Simplify element multi fetch paths in api tests 2024-04-02 14:36:29 +03:00
Anton Khorev
ad96da4518 Rename api element version path helper 2024-03-04 11:28:50 +03:00
Tom Hughes
7e974b8662 Add tests for API change rate limits 2023-11-02 08:59:57 +00:00
Tom Hughes
ee3f045495 Assign proper sequence numbers to relation members in tests 2023-10-26 18:22:41 +01:00
Tom Hughes
e8af4b85bf Fix new rubocop warnings 2023-09-26 18:42:57 +01:00
Anton Khorev
8c42c39a67 Use Settings.generator string in tests 2023-08-12 19:07:36 +03:00
Tom Hughes
5d67fa3908 Fix some Naming/AccessorMethodName rubocop warnings 2022-03-08 19:10:05 +00:00
Andy Allan
37b03e47c6 Fix various code comments
These were found as part of #3233
2021-07-21 11:24:23 +01:00
Tom Hughes
bfffe7ed96 Prefer string interpolation to concatenation 2020-11-13 11:32:28 +00:00
Andy Allan
da2277505f Ensure that test utility methods are marked as private
This allows us to enable the check for test method names.
2020-10-28 11:49:01 +01:00
Tom Hughes
ea59d95f4a Fix some new rubocop warnings 2020-08-06 22:27:30 +01:00
Tom Hughes
2d3972249c Fix some rubocop todos 2020-08-02 19:38:58 +01:00
Andy Allan
f84980f183 More controller test refactoring 2020-05-06 16:51:04 +02:00
Tom Hughes
7a1615bc55 Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
mmd-osm
91b31f03de Added unit tests 2020-01-08 19:57:21 +01:00
Andy Allan
7595e5a4dd Use squiggly heredocs instead of rails strip_heredoc
Squiggly heredocs were introduced in ruby 2.3 and I prefer the ability
to indent the closing heredoc marker.
2019-12-11 10:54:19 +01:00
Andy Allan
bc850d1d37 Move Relation.to_xml and to_xml_node out of the model and into tests 2019-11-20 15:45:28 +01:00
Andy Allan
d102c9aaf4 Move all settings to settings.yml
We leave the STATUS setting alone, since it's required before rails
boots. The test-specific settings now live in config/settings/test.yml
2019-03-13 18:06:23 +01:00
Andy Allan
b38343e5bd Move node/way/relation/old_* controllers into the api namespace 2019-02-28 17:12:28 +01:00