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
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
Tom Hughes
29dba7318a
Use bigdecimal to avoid scientfic notation in DMS decoding
2024-07-12 14:43:33 +01:00
Tom Hughes
e5057dd57a
Use named captures to simplify latlon parsing
2024-07-12 14:43:32 +01:00
Tom Hughes
f047f86c1d
Preserve lat and lon values as entered for reverse searches
2024-07-12 12:04:16 +01:00
Tom Hughes
3e77cae66c
Clear current_user if we reject OAuth 1
...
This ensures we don't try and do any further validation of the
user which might lead to trying to report additional errors.
2024-07-07 19:40:28 +01:00
Tom Hughes
10cd2ce242
Merge remote-tracking branch 'upstream/pull/4944'
2024-07-07 15:24:05 +01:00
Tom Hughes
2061b5c257
Merge remote-tracking branch 'upstream/pull/4960'
2024-07-07 10:45:39 +01:00
Anton Khorev
4e01f6830a
Don't call check_signup_allowed inside save_new_user
2024-07-06 18:51:54 +03:00
Anton Khorev
0d2010cd2f
Remove "whereami" search parameter, use "lat" and "lon" instead
2024-07-06 16:56:49 +03:00
nertc
676aef5be6
Order of comments in changeset comments feeds
2024-07-05 19:00:15 +04:00
nertc
4b593412c2
Accept coordinates with a slash in search
2024-07-02 23:48:55 +04:00
Tom Hughes
b03eb84bb6
Only the sender of a message should be able to mark it as read/unread
2024-06-29 00:14:42 +01:00
Tom Hughes
271384e683
Simplify handling of geocoder URLs
...
This avoids having to build them in multiple places and also
ensures we link to what was actually searched rather than some
random string from the locale file.
2024-06-25 17:57:38 +01:00
Tom Hughes
ddc252016a
Merge remote-tracking branch 'upstream/pull/4895'
2024-06-25 17:42:52 +01:00
Andy Allan
54aa89a4bf
Merge pull request #4884 from AntonKhorev/copyright-page-title
...
Add title to copyright page
2024-06-19 15:26:21 +01:00
Nenad Vujicic
839d203d51
Added link to nominatim results in searching results
...
Fixes #3205 . Added caching of nominatim URL query parameters in sources global variable (as parameters parameter) in GeocoderController#search for both direct and reverse geocoding. In app/views/geocoder/search.html.erb added displaying cached URL as forwarding link when clicked on "OpenStreetMap Nominatim" label. Updated GeocoderControllerTest to check only name (latlng, osm_nominatim, osm_nominatim_reverse) parameter of new sources variable.
2024-06-19 15:44:56 +02:00
Anton Khorev
a128b4f585
Move diary comments hide/unhide actions to comments controller
2024-06-17 18:16:31 +03:00
Anton Khorev
6624beff11
Move diary comments index action to comments controller
2024-06-10 16:32:53 +03:00