[openstreetmap/openstreetmap-website] API changeset upload resource (PR #5977)
Anton Khorev
notifications at github.com
Sun May 4 02:21:09 UTC 2025
Folows #5965. Finishes API changeset resources refactor.
Converts [diff upload](https://wiki.openstreetmap.org/wiki/API_v0.6#Diff_upload:_POST_/api/0.6/changeset/#id/upload) action of api changeset controller into its own recource/controller.
The PR consists mostly of moving and rewriting tests.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5977
-- Commit Summary --
* Create api changeset upload resource
* Remove unnecessary RuboCop exclusions
* Move api changeset upload route test
* Split and move api changeset test_upload_simple_valid
* Test scopes for api changeset upload
* Move api changeset upload create tests
* Move api changeset upload delete tests
* Move api changeset upload modify tests
* Move api changeset upload unknown action test
* Move api changeset upload combined action tests
* Move api empty changeset upload test
* Move api changeset upload xml error test
* Refactor api changeset test_upload_not_found
* Move api changeset upload rate/size limit tests
* Move api changeset upload bbox tests
* Move api changeset upload-download tests
-- File Changes --
M .rubocop.yml (2)
M app/abilities/api_ability.rb (2)
A app/controllers/api/changesets/uploads_controller.rb (44)
M app/controllers/api/changesets_controller.rb (37)
M config/routes.rb (9)
A test/controllers/api/changesets/uploads_controller_test.rb (1370)
M test/controllers/api/changesets_controller_test.rb (1541)
M test/controllers/api/relations_controller_test.rb (2)
A test/integration/changeset_upload_download_test.rb (177)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5977.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5977.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5977
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5977 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250503/05b073ff/attachment-0001.htm>
More information about the rails-dev
mailing list