Anton Khorev
fcfb7d4af1
Replace resent confirmation link with button
2024-12-29 06:28:26 +03:00
Anton Khorev
45c90003c6
Use resourceful routes for api messages in/outbox
2024-12-22 07:03:41 +03:00
Tom Hughes
8aeb16a50c
Don't map multiple paths in a single route
...
This is deprecated in rails 8.0 and 8.1 will remove it.
2024-12-20 13:51:53 +00:00
Anton Khorev
84f3bd6e91
Move user preferences routes to api namespace
2024-12-20 06:00:54 +03:00
Tom Hughes
6094a97ce6
Merge remote-tracking branch 'upstream/pull/5391'
2024-12-18 14:11:51 +00:00
Anton Khorev
e89a78fff8
Move api messages resources to api namespace
2024-12-17 17:14:19 +03:00
Anton Khorev
79c306ad06
Add patch/put api message update
2024-12-17 17:09:47 +03:00
Anton Khorev
507c395f51
Move admin users list to its own controller
2024-12-10 18:38:30 +03:00
Anton Khorev
3adb697385
Use resourceful routes for api trace data
2024-12-10 14:21:21 +03:00
Anton Khorev
db3debdd9e
Use resourceful routes for api trace create
2024-12-10 13:40:26 +03:00
Anton Khorev
f41f16d450
Use resourceful routes for api trace show, update, destroy
2024-12-10 12:35:35 +03:00
Anton Khorev
53a33110f0
Add destroy note subscription api endpoint
2024-11-20 20:35:24 +03:00
Anton Khorev
edd12c6995
Add create note subscription api endpoint
2024-11-20 20:34:52 +03:00
Anton Khorev
b8247478f4
Use resourceful routes for granting/revoking user roles
2024-11-06 18:38:26 +03:00
Tom Hughes
17bc0853a0
Drop support for OAuth 1
2024-09-01 03:43:02 +03:00
Andy Allan
10a4c5cf6e
Rename Feeds::ChangesetCommentsController to ChangesetComments::FeedsController
...
We usually create nested controllers with the main controller as the module,
and the nested controller as the specialization, e.g. Users::DeletionsController
or Traces::IconsController.
This then leaves the topic of whether the feed resource is plural, and whether we
are then showing a singular feed or showing a list (index) of objects.
The routes are carefully named so that we have `changesets_comments_feed_path` (the
comments feed for all changesets) vs `changeset_comment_feed_path(changeset)` (the
comments for a singular changeset).
2024-08-28 18:31:36 +01:00
Andy Allan
a948f2bc24
Merge pull request #4587 from AntonKhorev/changeset-comment-routes
...
Move changeset comments feed to resourceful routes
2024-08-28 18:30:11 +01:00
Andy Allan
b9988bdbc8
Merge pull request #5093 from AntonKhorev/diary-comments-shallow-paths
...
Use shallow routes for diary comments
2024-08-28 14:58:53 +01:00
Anton Khorev
4a38ab5c80
Move changeset comment feeds to resourceful routes
2024-08-23 18:14:19 +03:00
Anton Khorev
09d5ae68dd
Move changeset comments controller to feeds module
2024-08-23 17:40:26 +03:00
Anton Khorev
258104dfdf
Remove revoke block action
2024-08-23 13:34:08 +03:00
Anton Khorev
cc2a72bdd7
Remove revoke block pages
2024-08-23 13:23:29 +03:00
Tom Hughes
fb854652ea
Merge remote-tracking branch 'upstream/pull/5092'
2024-08-18 12:01:17 +01:00
Anton Khorev
71f31bfc4c
Use shallow routes for diary comments
2024-08-17 15:12:52 +03:00
Anton Khorev
bb0b08a7e5
Define diary entry hide/unhide routes using post on members
2024-08-17 14:28:55 +03:00
Anton Khorev
1e62ae4b18
Remove /user_blocks/new route
2024-08-17 14:03:27 +03:00
Milan Cvetkovic
0db47f3f76
Add Messages API
...
as discussed in [Issue #4509 ](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal )
and documented in [Messaging API reference](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal )
2024-07-29 10:42:38 +00:00
Anton Khorev
a67fdc7d28
Move notes and blocks resources to api namespace
2024-07-26 03:01:08 +03:00
Anton Khorev
a2aa44e026
Change diary comment post paths
2024-07-23 19:00:02 +03:00
Anton Khorev
00c2589374
Move diary comment action to comments controller
2024-07-12 17:58:43 +03:00
Andy Allan
7f3cb3c624
Merge pull request #4610 from AntonKhorev/no-old-note-api
...
Remove old note api endpoints
2024-06-26 14:17:39 +01:00
Anton Khorev
a128b4f585
Move diary comments hide/unhide actions to comments controller
2024-06-17 18:16:31 +03:00
Anton Khorev
6624beff11
Move diary comments index action to comments controller
2024-06-10 16:32:53 +03:00
Andy Allan
ffda8d7ac5
Merge pull request #4680 from tomhughes/validate-page-numbers
...
Add parameter validation to pagination
2024-05-15 17:43:04 +01:00
Anton Khorev
eaacfbb911
Restore constraints on note id parameter
2024-05-01 13:17:14 +03:00
Tom Hughes
feff501b25
Add framework for parameter validation using rails_param gem
2024-04-11 10:08:20 +01:00
Tom Hughes
d2688d4d63
Merge remote-tracking branch 'upstream/pull/4639'
2024-04-01 18:37:27 +01:00
Anton Khorev
765165777e
Rename api changesets index action
2024-03-30 08:26:58 +03:00
Anton Khorev
32f13f5d68
Redirect from old diary comments pagination
2024-03-29 08:09:26 +03:00
Anton Khorev
180a61bcc3
Move trace pictures/icons into their own controllers
2024-03-27 13:25:28 +03:00
Anton Khorev
4ea16ebebb
Remove old note api endpoints
2024-03-21 18:20:53 +03:00
Anton Khorev
3a5f0c4845
Move changeset subscribe/unsubscribe to resourceful routes
2024-03-16 06:11:07 +03:00
Anton Khorev
54dec27949
Move current element actions to their own controllers
2024-03-15 03:24:45 +03:00
Anton Khorev
d87d06fee5
Move element history actions to old element controllers
2024-03-14 18:10:18 +03:00
Anton Khorev
c8af388ac2
Use :module to specify api controllers module
2024-03-13 19:01:26 +03:00
Anton Khorev
ad96da4518
Rename api element version path helper
2024-03-04 11:28:50 +03:00
Anton Khorev
cbf6b39464
Rename api element version action to show
2024-03-04 11:19:50 +03:00
Anton Khorev
c1b5ae0aa0
Move changeset show action to changesets controller
2024-03-01 10:48:30 +03:00
Tom Hughes
f0764d3eca
Add unsubscribe link to changeset notification mails
2024-02-25 09:48:11 +00:00
Tom Hughes
f5aa031b58
Rename path for changeset API subscription methods
2024-02-25 09:48:11 +00:00