Commit graph

982 commits

Author SHA1 Message Date
Anton Khorev
45c90003c6 Use resourceful routes for api messages in/outbox 2024-12-22 07:03:41 +03:00
Tom Hughes
0b42688ae2 Merge remote-tracking branch 'upstream/pull/5425' 2024-12-20 08:39:16 +00:00
Tom Hughes
e41814d139 Merge remote-tracking branch 'upstream/pull/5424' 2024-12-20 08:38:28 +00:00
Anton Khorev
6b41f14ff8 Simplify calls to user block path helpers 2024-12-20 06:30:21 +03:00
Anton Khorev
b7b0f1ef39 Simplify calls to api_message_path helper 2024-12-20 06:11:05 +03: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
79c306ad06 Add patch/put api message update 2024-12-17 17:09:47 +03:00
Anton Khorev
5bb23f6f5f Check if db is writable on oauth authorization pages 2024-12-17 02:18:56 +03:00
Andy Allan
83043d6f1c
Merge pull request #5362 from AntonKhorev/color-mode-preference-map
Map color mode preference
2024-12-11 16:53:15 +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
db3debdd9e Use resourceful routes for api trace create 2024-12-10 13:40:26 +03:00
Anton Khorev
9f34143049 Store selected map color scheme 2024-12-01 04:58:43 +03:00
Anton Khorev
045af66d43 Store selected site color scheme 2024-12-01 04:43:31 +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
a25b7953b3 Merge branch 'pull/5297' 2024-11-18 18:15:25 +03:00
Emin Kocan
738e66afa6 Add status filter to user's note page 2024-11-18 15:21:55 +01:00
Andy Allan
cdf9634d08
Merge pull request #5293 from AntonKhorev/user-roles-resourceful-routes
Use resourceful routes for granting/revoking user roles
2024-11-13 18:45:16 +00:00
Tom Hughes
d975100504 Merge remote-tracking branch 'upstream/pull/5312' 2024-11-13 16:55:44 +00:00
Tom Hughes
a42b654606 Make the "remember me" option work as intended 2024-11-13 12:18:23 +00:00
Anton Khorev
ff0569829f Don't update deactivates_at if block was already viewed 2024-11-13 01:41:11 +03:00
Anton Khorev
2347906725 Send notifications to note subscribers instead of commenters 2024-11-08 11:40:55 +03:00
gobinathal
2d8feb6d79 Remove hardcoded rate limit value
Name is chosen to match the equivalent setting in the configuration
of the rate limits for edits.

Fixes #4427.
2024-11-07 18:33:53 +00:00
Anton Khorev
b8247478f4 Use resourceful routes for granting/revoking user roles 2024-11-06 18:38:26 +03:00
Tom Hughes
e15a92a302 Fix new rubocop warnings 2024-11-05 18:23:47 +00:00
Anton Khorev
2d7e0a397a Subscribe users when they interact with notes 2024-10-28 02:35:25 +03:00
Amir E. Aharoni
0d650217f4 Consistent use of quotes
Most strings used single quotes, and a few used
opening backticks. Now it's single quotes everywhere.
2024-10-26 11:39:52 -04:00
Tom Hughes
fb6042e35c Avoid adjusting time by a number of days
Using hours instead of days avoids test failures when moving
past a point in time when the clocks change.
2024-10-25 19:30:27 +01:00
Anton Khorev
eaabf7bb59 Remove "User's Diary" from diary entry og:title 2024-10-20 19:12:09 +03:00
mmd-osm
72d61f2924 Trace import: validate background job results 2024-09-21 22:30:30 +02:00
Tom Hughes
fe96c0a524 Replace creation_ip with creation_address 2024-09-15 19:38:21 +01:00
Anton Khorev
ed74bc036b Fix browse elements timeouts 2024-09-14 18:03:48 +03:00
Tom Hughes
70f1b327b4 Merge remote-tracking branch 'upstream/pull/5178' 2024-09-13 18:09:37 +01:00
Anton Khorev
02c2d5292b Remove :id from redaction path helper calls 2024-09-11 17:55:23 +03:00
Anton Khorev
8a84825b02 Fix changeset comments feed timeout 2024-09-09 19:14:51 +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
Tom Hughes
4d221fd7a6 Simplify creation of bearer authorization headers
Uses the new features added to the bearer_authorization_header while
dropping basic authentication support to simplify the creation of bearer
authorization headers for API tests.
2024-09-03 18:54:05 +01:00
Tom Hughes
973d62a25e Drop support for basic authentication 2024-09-02 19:00:57 +01:00
Tom Hughes
33a2ccf560 Merge remote-tracking branch 'upstream/pull/5135' 2024-09-01 10:51:50 +01:00
Anton Khorev
d419a5d6c8 Merge branch 'drop-oauth1' 2024-09-01 03:46:23 +03:00
Tom Hughes
17bc0853a0 Drop support for OAuth 1 2024-09-01 03:43:02 +03:00
Anton Khorev
9ed6a9d779 Fix page title for failed trace updates 2024-08-31 19:13:27 +03:00
Anton Khorev
212ace7ef1 Test oauth2 application list with moderator permission icon 2024-08-30 19:29:02 +03:00
Tom Hughes
549a46c867 Merge remote-tracking branch 'upstream/pull/5126' 2024-08-28 19:03:53 +01:00
Tom Hughes
990b41cd4c Merge remote-tracking branch 'upstream/pull/5120' 2024-08-28 18:38:34 +01: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