Commit graph

103 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
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
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
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
b95a8d03e3 Replace show and index abilities with read ability 2024-12-20 05:21:06 +03:00
Anton Khorev
507c395f51 Move admin users list to its own controller 2024-12-10 18:38:30 +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
8b0c188841 Remove :edit abilities implied by :update abilities 2024-09-06 09:28:52 +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
Anton Khorev
ae3e804ee6 Add update block ability with conditions 2024-08-22 14:01:54 +03:00
Anton Khorev
580daf06bd Check diary entry edit/update ability using CanCanCan 2024-07-23 18:22:46 +03:00
Anton Khorev
00c2589374 Move diary comment action to comments controller 2024-07-12 17:58:43 +03: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
Anton Khorev
180a61bcc3 Move trace pictures/icons into their own controllers 2024-03-27 13:25:28 +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
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
Anton Khorev
00123f05ba Add relation version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
2f222c49dd Add way version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
85c284aaa6 Add node version pages 2024-01-23 22:08:39 +03:00
Anton Khorev
a0c1167f9a Remove element web abilities that were copied to api 2024-01-14 02:24:27 +03:00
Anton Khorev
8682b58154 Add revoke all blocks link 2024-01-07 15:15:28 +03:00
Gregory Igelmund
efc61f1315 Add basic structures for UserMute and Message muting logic
Including models, migration, controllers, views & locales.
2023-12-19 12:57:47 -05:00
Andy Allan
4bca24a7be Resourceful routing for passwords
This also matches the routes used by devise
2023-12-06 18:41:00 +00:00
Tom Hughes
7fb984f915 Allow moderator to unhide diary entries as well as hide them 2023-07-27 18:07:35 +01:00
Andy Allan
9748ce301c Move browse#note to notes#show
This allows a more resourceful routing approach.
2023-02-01 17:13:41 +00:00
Andy Allan
b5046fdcd0 Move browse#new_note to notes#new
This allows a more resourceful routing approach.
2023-02-01 17:13:41 +00:00
Richard Fairhurst
b7887b049f Remove Geonames and geocoder.ca 2023-01-09 21:23:48 +00:00
Tom Hughes
9cb7a7b36b Don't allow any abilities for inactive users 2022-12-23 16:37:33 +00:00
Adam Hoyle
7e5cbe87ed Merge branch 'master' into feature/add-communities-page
# Conflicts:
#	Gemfile.lock
#	package.json
#	yarn.lock
2022-09-10 16:13:17 +01:00
Andy Allan
6c1d73a509 Allow users to delete their own accounts
This PR allows users to delete their own accounts. The logic implemented matches
that currently used by the admins when they manually close accounts, although
there is room to be more complex in future e.g. completely removing accounts
with no content.

The error handling has been slightly adapted for namespaced controllers, by
anchoring the controller name with a leading forward slash.
2022-02-09 16:15:24 +00:00
Andy Allan
4bed9c12a0 Fix display of suspension message when a user is suspended mid-session
Without the ability defined, the user is still logged out, but then
the deny_access check redirects to the login page. The re-login attempt
would then fail anyway, with an error message, but let's fix the abilities
and use the intended page.
2022-01-05 18:21:42 +00:00