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
Tom Hughes
02e603119d
Merge remote-tracking branch 'upstream/pull/5053'
2024-08-07 18:37:17 +01:00
Anton Khorev
5f4ae35814
Set og:description meta tag to diary entry description
2024-08-07 18:59:16 +03:00
Anton Khorev
5573df7741
Set OpenGraph properties hash in diary entry show action
2024-08-07 18:58:47 +03:00
Anton Khorev
5e3cda345a
Redirect to newly created diary comment
2024-08-07 04:59:09 +03:00
mmd-osm
5b707ae5ea
Lock note during status update to avoid race condition
2024-08-06 19:51:48 +02:00
Anton Khorev
243557a31a
Set og:image:alt OpenGraph property
2024-08-05 05:32:47 +03:00
Nenad Vujicic
92f9d57a40
Added bootstrap alert when body preview is empty
...
Fixes #3748 . Added check to SiteController#preview to detect if (message, diary entry, diary entry comment) body is empty and if positive, returns rendered bootstrap alert "Nothing to preview" to be displayed in richtext_field.
2024-07-31 00:24:45 +02:00
Milan Cvetkovic
0db47f3f76
Add Messages API
...
as discussed in [Issue #4509 ](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal )
and documented in [Messaging API reference](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal )
2024-07-29 10:42:38 +00:00
Anton Khorev
2764591a7d
Allow revokers to edit revoked blocks
2024-07-26 03:38:27 +03:00
Tom Hughes
58ac035d41
Merge remote-tracking branch 'upstream/pull/5014'
2024-07-24 18:24:50 +01:00
Anton Khorev
51708d6238
Allow to edit inactive blocks
2024-07-24 04:43:13 +03:00
Anton Khorev
580daf06bd
Check diary entry edit/update ability using CanCanCan
2024-07-23 18:22:46 +03:00
Anton Khorev
64dfb88ddf
Fix marking muted messages as read/unread
2024-07-18 18:48:14 +03:00
Tom Hughes
28726e5f11
Merge remote-tracking branch 'upstream/pull/4973'
2024-07-16 17:16:45 +01:00
nertc
08fa95cbfc
When downloading image, allow other map styles
2024-07-15 19:08:49 +04:00
Tom Hughes
1859728558
Merge remote-tracking branch 'upstream/pull/4984'
2024-07-14 15:40:39 +01:00
Anton Khorev
7917a7db80
Parse lat and lon independently when using dms notation
2024-07-13 17:52:39 +03:00
Anton Khorev
a082caef3c
Use casecmp?() instead of casecmp().zero?
2024-07-13 16:00:45 +03:00
Anton Khorev
392d3d1226
Merge branch 'pull/4961'
2024-07-13 14:48:44 +03:00
Anton Khorev
00c2589374
Move diary comment action to comments controller
2024-07-12 17:58:43 +03:00