0b805abec2
Use a minimal layout for turbo frame renders
2025-07-16 20:43:42 +01:00
2b4eb3fde9
Support unwrapped bbox values in changeset history queries
2025-04-09 21:41:19 +03:00
8a65f551a7
Add 'after' parameter to history pages
2025-03-16 19:42:08 +03:00
dddb6eba3c
Switch from 'max_id' to 'before' parameter in history lists
...
This is to match older/newer pagination that uses 'before' and 'after' parameters.
2025-03-16 02:05:18 +03:00
84a3a41531
Create changeset subscription resource
2025-01-22 19:50:41 +03:00
be11f2075e
Refactor friendships controller and model
2025-01-14 11:33:56 +04:00
b969c6f7ab
Order changeset elements for consistent pagination
2024-09-12 22:56:29 +01:00
005add9f49
Fixed bug when requested missing changeset
...
Fixes #5148 . Added forgotten @type = "changeset" in ChangesetsController#show.
2024-09-02 15:42:52 +02:00
5add2d7e1d
Reload only changeset element subpages
2024-06-03 14:16:09 +03:00
ca893c1153
Fix new rubocop warnings
2024-05-21 18:21:56 +01:00
ffda8d7ac5
Merge pull request #4680 from tomhughes/validate-page-numbers
...
Add parameter validation to pagination
2024-05-15 17:43:04 +01:00
15e1459f25
Link to previous/next nonempty user's changeset on changeset pages
2024-05-01 15:02:59 +03:00
d8b468e7a1
Add validation for maximum ID passed to changesets#index
2024-04-11 10:08:20 +01:00
50df5eefcc
Merge remote-tracking branch 'upstream/pull/4632'
2024-03-28 17:11:58 +00:00
16cc2e75a7
Remove unused includes of ConsistencyValidations
2024-03-28 11:49:49 +03:00
fba5528731
Remove require "xml/libxml" from controllers
2024-03-28 11:18:31 +03:00
c1b5ae0aa0
Move changeset show action to changesets controller
2024-03-01 10:48:30 +03:00
f0764d3eca
Add unsubscribe link to changeset notification mails
2024-02-25 09:48:11 +00:00
f23993a4df
Remove 'need to return bbox' comment on conditions_bbox
2023-11-21 13:55:35 +03:00
f5db9cbb20
Avoid using _id in queries
...
This makes the queries shorter and easier to read.
2023-08-30 17:08:16 +01:00
4ceebefefa
Move user lookup and error render to concerns
2023-08-21 17:29:55 +03:00
78b9d92207
Prefer keyword arguments when method has optional boolean arguments
2020-11-12 11:24:44 +00:00
0dbb33016f
Rename @edits variable to @changesets, for clarity
2019-06-26 17:07:49 +02:00
2169c503ef
Rename user.friend_users to user.friends
...
This is possible now since we've renamed Friend to Friendship
2019-06-19 16:51:35 +02:00
0e09252840
Check validity token in changesets controller
...
It makes no difference today, but prevents problems in future if
methods accepting post requests are added to this controller in future.
2019-03-27 11:24:31 +01:00
dad36f2fca
Use a lambda in order to pass parameters in before_actions
...
This avoid calling methods on a new instance of the controller, and
therefore allows these methods to be marked as private.
As a bonus, rubocop can now parse them and warn when they refer to
actions that don't exist in the controller.
2019-03-20 15:08:36 +01:00
6600221fe3
Fix database offline mode
2019-03-17 11:15:34 +00:00
1778fa3d9c
Move the api methods from changesets_controller into the api namespaced controller
2019-02-24 12:18:31 +01:00
8a2df0e0b5
More resourceful routing for nodes, ways, relations and changesets controllers
2019-01-16 13:10:11 +01:00
1774109311
Use CanCanCan for changesets controller
...
The expand_bbox method now needs require_write_api capability on tokens.
2019-01-09 12:41:33 +01:00
252b9ef08a
Pluralize changesets controller
2018-11-14 10:34:28 +01:00