Commit graph

2457 commits

Author SHA1 Message Date
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
Tom Hughes
2042cb1ac6 Merge remote-tracking branch 'upstream/pull/5446' 2024-12-29 18:55:54 +00:00
Anton Khorev
c7e038a4d0 Use resourceful routes for web mailboxes 2024-12-29 08:40:39 +03:00
Anton Khorev
127e376bf0 Move code that runs after user save from save_new_user to create method 2024-12-29 04:43:18 +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
5dbf32d945 Remove check_api_readable from api messages controller 2024-12-23 04:10:05 +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
6b41f14ff8 Simplify calls to user block path helpers 2024-12-20 06:30:21 +03:00
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