Commit graph

499 commits

Author SHA1 Message Date
Tom Hughes
c20160d313 Merge remote-tracking branch 'upstream/pull/5459' 2025-01-07 19:08:13 +00:00
Tom Hughes
95b919c5d1 Merge remote-tracking branch 'upstream/pull/5461' 2025-01-03 19:32:42 +00:00
Anton Khorev
eec5cadf2a Rename Account module to Accounts 2025-01-03 15:40:59 +03:00
Anton Khorev
13994ca6ca Use resourceful routes for user new/create actions 2025-01-03 11:45:26 +03:00
Anton Khorev
0016c6f4b1 Use resourceful route for message reply 2025-01-03 11:12:29 +03:00
Anton Khorev
d57033fa87 Use resourceful route for new message 2025-01-02 10:28:03 +03:00
Tom Hughes
7565f5aa4a Merge remote-tracking branch 'upstream/pull/5440' 2024-12-30 12:40:11 +00:00
Tom Hughes
782e619de2 Merge remote-tracking branch 'upstream/pull/5448' 2024-12-29 19:11:13 +00:00
Anton Khorev
c7e038a4d0 Use resourceful routes for web mailboxes 2024-12-29 08:40:39 +03:00
Anton Khorev
fcfb7d4af1 Replace resent confirmation link with button 2024-12-29 06:28:26 +03:00
Anton Khorev
df1c59280f Add revoke all actions to received blocks resource 2024-12-24 08:18:58 +03:00
Anton Khorev
2df389c97e Create received blocks resource 2024-12-24 07:54:50 +03:00
Anton Khorev
7a4115f090 Create issued blocks resource 2024-12-24 07:54:11 +03:00
Anton Khorev
3b0748831a Declare new block path on resources 2024-12-24 06:44:35 +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