Commit graph

146 commits

Author SHA1 Message Date
Andy Allan
aebacc88de
Merge pull request #5514 from AntonKhorev/pd-declaration
Remove public domain checkbox from signup and terms pages
2025-02-15 14:03:55 +00:00
Anton Khorev
6d558003aa Add active blocks list api endpoint with empty response 2025-02-14 14:16:48 +03:00
Anton Khorev
2d46b44872 Add write_changeset_comments scope 2025-02-14 00:17:45 +03:00
Anton Khorev
77a2657d33 Pass scopes instead of token to ApiAbility 2025-02-14 00:15:52 +03:00
Anton Khorev
304e0ef638 Pass user to ApiAbility 2025-02-14 00:15:52 +03:00
Anton Khorev
98af87d1cb Convert api element history actions to versions resources 2025-02-09 19:18:47 +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
6a50a5e871 Declare api node ways 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
0f2aa939d4 Map 'full' to api way show action 2025-02-05 21:07:19 +03:00
Anton Khorev
18f65b78eb Make api show/update/destroy relation actions resourceful 2025-02-05 20:22:16 +03:00
Anton Khorev
35fc840b41 Make api show/update/destroy way actions resourceful 2025-02-05 20:22:16 +03:00
Anton Khorev
3b0be171b9 Make api show/update/destroy node actions resourceful 2025-02-05 20:22:16 +03:00
Anton Khorev
fafed5f821 Create message mute resource 2025-01-24 04:36:04 +03:00
Anton Khorev
cc3bccb9b3 Create message read_mark resource 2025-01-24 04:34:20 +03:00
Anton Khorev
84a3a41531 Create changeset subscription resource 2025-01-22 19:50:41 +03:00
Anton Khorev
f2a0f53cf5 Create traces feed resource 2025-01-18 23:15:43 +03:00
Anton Khorev
7d6ac34fbc Add pd declaration create action 2025-01-18 19:16:17 +03:00
Anton Khorev
62b70f45bc Add empty pd declaration page 2025-01-18 19:16:17 +03:00
Andy Allan
4370fe45ad
Merge pull request #5437 from AntonKhorev/user-status-resource
Use resourceful route for user status
2025-01-17 17:55:02 +00:00
Anton Khorev
3eccf65d8c Merge branch 'pull/5261' 2025-01-17 04:01:22 +03:00
Anton Khorev
87e7f887f5 Remove account terms code unreachable for unregistered users 2025-01-16 19:05:53 +03:00
Anton Khorev
8db2ff289f Use resourceful route for user status 2025-01-16 02:17:06 +03:00
Andy Allan
f32aea6d14
Merge pull request #5433 from AntonKhorev/user-routes-api-namespace
Resourceful routes for users api
2025-01-15 12:55:41 +00:00
nertc
be11f2075e Refactor friendships controller and model 2025-01-14 11:33:56 +04:00
Anton Khorev
606b5c1b6a Use resourceful routes for terms view/accept/decline 2025-01-08 22:19:35 +03:00
Anton Khorev
0016c6f4b1 Use resourceful route for message reply 2025-01-03 11:12:29 +03:00
Anton Khorev
880032ed85 Create user traces resource in api namespace 2024-12-27 05:44:09 +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
45c90003c6 Use resourceful routes for api messages in/outbox 2024-12-22 07:03:41 +03:00
Anton Khorev
cdce867183 Merge ApiCapability class into ApiAbility 2024-12-20 18:39:08 +03:00
Anton Khorev
b95a8d03e3 Replace show and index abilities with read ability 2024-12-20 05:21:06 +03:00
Tom Hughes
6094a97ce6 Merge remote-tracking branch 'upstream/pull/5391' 2024-12-18 14:11:51 +00: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
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
Anton Khorev
b31b8fe067 Remove :new abilities implied by :create abilities 2024-09-11 13:57:22 +03:00
Anton Khorev
8b024f48c1 Disable redactions with write_api scope
Requires write_redactions scope to redact. Previously it was possible to redact with either write_redactions or write_api.
2024-09-08 12:31:31 +03:00
Anton Khorev
8b0c188841 Remove :edit abilities implied by :update abilities 2024-09-06 09:28:52 +03:00
Anton Khorev
e7fb89c8d0 Remove nil ApiCapability user branch 2024-09-05 23:21:24 +03:00
Anton Khorev
ccc70fb914 Remove OAuth 1 ApiCapability user branch 2024-09-05 23:16:01 +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
Anton Khorev
258104dfdf Remove revoke block action 2024-08-23 13:34:08 +03:00