Commit graph

7779 commits

Author SHA1 Message Date
Anton Khorev
f6141277d5 Remove unused timer from new note js controller 2024-11-13 15:54:20 +03:00
Tom Hughes
a42b654606 Make the "remember me" option work as intended 2024-11-13 12:18:23 +00:00
Anton Khorev
c3b17aa506 Show spinner using delayed css animation in sidebar loader 2024-11-13 15:15:54 +03:00
Anton Khorev
9fded02450 Show spinner using delayed css animation in richtext preview 2024-11-13 15:05:20 +03:00
Anton Khorev
ff0569829f Don't update deactivates_at if block was already viewed 2024-11-13 01:41:11 +03:00
Tom Hughes
6042632806 Merge remote-tracking branch 'upstream/pull/5310' 2024-11-12 19:01:22 +00:00
Anton Khorev
a05692a3f6 Restore loading spinner in richtext previews 2024-11-08 15:04:38 +03:00
Anton Khorev
2347906725 Send notifications to note subscribers instead of commenters 2024-11-08 11:40:55 +03:00
Tom Hughes
3a1b4cbe33 Merge remote-tracking branch 'upstream/pull/5307' 2024-11-08 08:03:41 +00:00
Anton Khorev
771b75ed71 Replace query marker fade animation with css 2024-11-08 10:50:47 +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
dbb462ca0f Merge remote-tracking branch 'upstream/pull/5284' 2024-10-31 18:00:39 +00:00
Tom Hughes
9b9e857b72 Adjust imports for leaflet.locatecontrol 2024-10-30 18:41:43 +00:00
Anton Khorev
2d7e0a397a Subscribe users when they interact with notes 2024-10-28 02:35:25 +03:00
Anton Khorev
001fed4fd7 Create note subscription table and model 2024-10-28 02:35:25 +03:00
Tom Hughes
cb16d3c331 Merge remote-tracking branch 'upstream/pull/5289' 2024-10-26 11:16:45 +01:00
Anton Khorev
34e0620463 Remove callback from initialize() in note js controller 2024-10-25 18:48:36 +03:00
Anton Khorev
7d46203f5f Decrease padding between close button and inputs in directions form 2024-10-25 18:22:36 +03:00
Anton Khorev
566fb06709 Don't show older/newer buttons if all items fit on one page 2024-10-21 14:51:35 +03:00
Tom Hughes
b753a4bf05 Merge remote-tracking branch 'upstream/pull/5274' 2024-10-20 17:39:31 +01:00
Anton Khorev
eaabf7bb59 Remove "User's Diary" from diary entry og:title 2024-10-20 19:12:09 +03:00
Jakob Miksch
4f79ae4612
Typos in docs 2024-10-20 11:12:49 +02:00
Tom Hughes
99f220cf69 Fix new rubocop warnings 2024-10-15 18:25:30 +01: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
Nenad Vujicic
b0ad96ebd4 Removed unused translation keys in users.*
Removed users.new.tou (added 9649b19 and has never been used), users.terms.decline replaced with users.terms.cancel and together with users.terms.continue started being used at /users/terms.html.erb (both were added at 9a9e13a and removed at 1be8d59)
2024-09-24 16:03:23 +02:00
Tom Hughes
81bb20c3e6 Drop ignore of removed creation_ip column 2024-09-20 19:21:58 +01:00
Anton Khorev
81bac0b09b Don't include stack backtraces on xml errors when importing traces 2024-09-20 16:36:54 +03:00
Tom Hughes
578a3aebaf Merge remote-tracking branch 'upstream/pull/5225' 2024-09-19 18:05:14 +01:00
Anton Khorev
6595d43e3c Merge branch 'pull/5117' 2024-09-19 16:49:29 +03:00
Anton Khorev
1c88a0b136 Don't use ?: in "Comment from user" changeset discussion strings 2024-09-19 15:59:03 +03:00
Anton Khorev
f90c7c4970 Merge branch 'pull/5209' 2024-09-18 15:28:13 +03:00
Nenad Vujicic
091bf88a5f Added greeting to friendship notification
Added greeting 'Hi {user display name},' to friendship notification email. As a side effect, user_mailer.friendship_notification.hi is not anymore reported as unused.
2024-09-17 23:20:41 +02:00
Tom Hughes
be2678e0dd Update to rails 7.2.0 2024-09-17 20:39:31 +01: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
5bac49c51f Ignore the creation_ip column which is no longer used 2024-09-15 21:39:25 +01:00
Tom Hughes
fe96c0a524 Replace creation_ip with creation_address 2024-09-15 19:38:21 +01:00
Tom Hughes
33c0e95ebe Merge remote-tracking branch 'upstream/pull/5203' 2024-09-15 19:30:22 +01:00
Tom Hughes
3025500b9c Merge remote-tracking branch 'upstream/pull/5214' 2024-09-15 19:08:31 +01:00
Nenad Vujicic
8d77891fd6 Show friend options only when user is logged in
Fixes #5199. Displays "Add Friend" and "Unfriend" links (buttons) on user profile page only if user is logged-in.
2024-09-14 22:48:31 +02:00
Anton Khorev
ed74bc036b Fix browse elements timeouts 2024-09-14 18:03:48 +03:00
Anton Khorev
54c0361744 Always show changeset element page links below headings 2024-09-14 17:15:11 +03:00
Tom Hughes
25dbc4d43e Merge remote-tracking branch 'upstream/pull/5211' 2024-09-14 10:55:50 +01:00
Tom Hughes
70f1b327b4 Merge remote-tracking branch 'upstream/pull/5178' 2024-09-13 18:09:37 +01:00
Anton Khorev
4e97231269 Fix element pagination width calculation 2024-09-13 18:50:22 +03:00
Anton Khorev
e47187a8fb Merge branch 'pull/5206' 2024-09-13 12:18:17 +03:00
Anton Khorev
b81d645f0c Merge branch 'pull/5196' 2024-09-13 11:48:38 +03:00
Tom Hughes
b969c6f7ab Order changeset elements for consistent pagination 2024-09-12 22:56:29 +01:00