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
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
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
Tom Hughes
549a46c867
Merge remote-tracking branch 'upstream/pull/5126'
2024-08-28 19:03:53 +01:00
Tom Hughes
5f2a5cadcb
Merge remote-tracking branch 'upstream/pull/4565'
2024-08-28 18:59:09 +01:00
Andy Allan
7fc83c880a
Merge pull request #5124 from tomhughes/turbo-issue-search
...
Use turbo to update issue search results
2024-08-28 18:52:10 +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
Nenad Vujicic
4716800144
Allowed sending follow-ups for sent messages
...
Fixes #3497 . Adds Reply button when displaying sent messages (app/views/messages/show.html.erb) and allows replying to messages for which sender is current user (app/controllers/messages_controller.rb). Improved tests for testing added functionality.
2024-08-28 15:11:09 +02:00
Tom Hughes
9416317e64
Use turbo to update issue search results
2024-08-27 20:21:00 +01:00
nertc
3cf5667c91
Add turbo to Issues page
2024-08-27 11:50:43 +04:00
nertc
c32f6dd4ff
Add pagination to Issues page
2024-08-26 13:57:44 +04:00
Anton Khorev
4a38ab5c80
Move changeset comment feeds to resourceful routes
2024-08-23 18:14:19 +03:00
Anton Khorev
09d5ae68dd
Move changeset comments controller to feeds module
2024-08-23 17:40:26 +03:00
Anton Khorev
258104dfdf
Remove revoke block action
2024-08-23 13:34:08 +03:00
Anton Khorev
5e7ab68721
Let all moderators revoke blocks by editing
2024-08-22 14:01:54 +03:00
Andy Allan
8dc5de1a0f
Merge pull request #4646 from tomhughes/turbo-pagination
...
Use turbo for pagination
2024-08-21 19:12:31 +01:00
Tom Hughes
754a0a9cb5
Merge remote-tracking branch 'upstream/pull/5069'
2024-08-21 19:04:06 +01:00
Tom Hughes
edddaab122
Use turbo for pagination
2024-08-20 14:44:10 +01:00
Anton Khorev
6c4b028232
Record revokers when deactivating blocks by editing
2024-08-19 15:21:59 +03:00
Anton Khorev
cff4c63713
Add deactivates_at date to user blocks
...
Block deactivation dates that take needs_view-block views into account were derived using updated_at. This was possible because inactive blocks couldn't be edited and their updated_at date wouldn't change. With editing of inactive blocks enabled deactivation date needs to be saved explicitly.
2024-08-19 14:33:20 +03:00
Anton Khorev
cfaae9eadd
Don't update ends_at when editing inactive blocks
2024-08-17 13:02:20 +03:00
Anton Khorev
323b7032ba
Prevent reactivating inactive blocks
2024-08-15 12:59:49 +03:00
Anton Khorev
09721c6fee
Add article:published_time meta tag to diary entries
2024-08-14 18:00:14 +03:00
Andy Allan
735a5cf9e2
Merge pull request #5056 from AntonKhorev/diary-og-description
...
Set og:description meta tag to diary entry description
2024-08-14 14:38:28 +01:00
Tom Hughes
96e118a61d
Merge remote-tracking branch 'upstream/pull/5054'
2024-08-07 18:38:09 +01:00