Commit graph

2445 commits

Author SHA1 Message Date
Tom Hughes
6094a97ce6 Merge remote-tracking branch 'upstream/pull/5391' 2024-12-18 14:11:51 +00:00
Tom Hughes
18409c05ab Merge remote-tracking branch 'upstream/pull/5408' 2024-12-17 19:12:49 +00:00
Anton Khorev
ca4ee6faa9 Show 'api offline' message on new note page 2024-12-17 03:34:14 +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
Tom Hughes
7b05c1c060 Merge remote-tracking branch 'upstream/pull/5375' 2024-12-08 14:55:55 +00:00
Tom Hughes
d9e047f189 Merge remote-tracking branch 'upstream/pull/5384' 2024-12-08 10:47:43 +00:00
Anton Khorev
725f6d847f Remove logger.debug from relation update action 2024-12-06 14:27:46 +03:00
Anton Khorev
ba87362e7f Don't interpolate type in issue title 2024-12-06 11:15:34 +03:00
Anton Khorev
1c3e4746b0 Don't show types twice in issue type select 2024-12-05 12:47:58 +03:00
Anton Khorev
88d80018b5 Include data: when using allow_thirdparty_images CSP 2024-12-04 19:26:21 +03:00
Anton Khorev
821ebdd57b Use fetch() instead of iframe to make remote control requests 2024-12-04 12:30:19 +03:00
Anton Khorev
9f34143049 Store selected map color scheme 2024-12-01 04:58:43 +03:00
Anton Khorev
3d79f9fd88 Make a generic preferred color scheme method 2024-12-01 04:58:00 +03:00
Anton Khorev
045af66d43 Store selected site color scheme 2024-12-01 04:43:31 +03:00
Anton Khorev
2ca74ab3ef Add auto/manual color scheme stylesheets depending on user preferences 2024-12-01 03:55:19 +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
Anton Khorev
b8247478f4 Use resourceful routes for granting/revoking user roles 2024-11-06 18:38:26 +03:00
Anton Khorev
2d7e0a397a Subscribe users when they interact with notes 2024-10-28 02:35:25 +03:00
Anton Khorev
eaabf7bb59 Remove "User's Diary" from diary entry og:title 2024-10-20 19:12:09 +03:00
Tom Hughes
ad2e50fcfb Merge remote-tracking branch 'upstream/pull/5245' 2024-10-02 18:36:03 +01:00
Andy Allan
5720968323
Merge pull request #5070 from tomhughes/rails72
Update to rails 7.2.0
2024-10-02 17:00:26 +01:00
Andy Allan
83425edd8d Move api error handling and timeouts to parent class
Fixes #4861

Since the around_action is defined before authorize_resource is called,
the handler needs to pass on the CanCan::AccessDenied exception.

I've added the timeouts where I think they were missing (e.g. UserPreferencesController)
but I've kept the exception for changeset#upload and traces#create
2024-10-02 16:37:32 +01:00
Anton Khorev
f90c7c4970 Merge branch 'pull/5209' 2024-09-18 15:28:13 +03:00
Tom Hughes
6789fc3081 Drop support for ruby 3.0
Also add Ubuntu 24.04 and drop 20.04 as 24.04 is needed for
ruby 3.1 without rvm so we should test it.
2024-09-17 20:39:22 +01:00
Tom Hughes
fe96c0a524 Replace creation_ip with creation_address 2024-09-15 19:38:21 +01:00
Tom Hughes
70f1b327b4 Merge remote-tracking branch 'upstream/pull/5178' 2024-09-13 18:09:37 +01:00
Tom Hughes
b969c6f7ab Order changeset elements for consistent pagination 2024-09-12 22:56:29 +01:00
Anton Khorev
9c93fe906d Fix friendships limit flash message 2024-09-12 15:42:36 +03:00
Anton Khorev
e2a6701696 Merge branch 'pull/5182' 2024-09-12 09:43:56 +03:00
Tom Hughes
e22d19f004 Limit the number of users counted for users#index
This view uses cursor based pagination but then undermines
that by counting the total number of users so limit the effect
of that but counting a maximum of ten pages of users.
2024-09-11 18:28:35 +01:00
Anton Khorev
de344eea83 Rename _blocks partial template to _page 2024-09-11 13:38:02 +03:00
Tom Hughes
336ad6db03 Add creation_address column to users
This is a properly typed and indexed column that is intended
to replace creation_ip to allow fast queries.
2024-09-10 19:16:03 +01:00
Anton Khorev
e272a384ce Respond to timeouts with a server error code 2024-09-09 19:13:29 +03:00
Anton Khorev
51e0cf85b0 Timeout instantly if web_timeout setting is negative 2024-09-09 18:16:16 +03:00
Anton Khorev
2d18a802ef Move ?: operator outside of t() for "Only ... can edit" block messages 2024-09-08 13:40:54 +03:00
Anton Khorev
b816bad726 Merge branch 'pull/5141' 2024-09-03 01:03:13 +03:00
Tom Hughes
973d62a25e Drop support for basic authentication 2024-09-02 19:00:57 +01:00
Nenad Vujicic
005add9f49 Fixed bug when requested missing changeset
Fixes #5148. Added forgotten @type = "changeset" in ChangesetsController#show.
2024-09-02 15:42:52 +02:00
Tom Hughes
33a2ccf560 Merge remote-tracking branch 'upstream/pull/5135' 2024-09-01 10:51:50 +01:00