Anton Khorev
5a1e3e5c67
Replace geocode request boolean property with request object
2024-08-19 20:30:51 +03:00
Anton Khorev
a8838b3727
Remove endpoint markers in disable method
2024-08-19 20:30:51 +03:00
Anton Khorev
64da05f8ff
Install endpoint listeners using enable/disable methods
2024-08-19 20:30:51 +03:00
Tom Hughes
87a7c0272d
Merge remote-tracking branch 'upstream/pull/5096'
2024-08-19 18:18:26 +01:00
Tom Hughes
c191ef78da
Merge remote-tracking branch 'upstream/pull/5094'
2024-08-19 18:16:51 +01:00
Anton Khorev
93a9f31bf0
Show/hide "Where is this?" when setting search value from directions
2024-08-19 20:05:48 +03:00
Anton Khorev
fe07f5219c
Replace geocode request boolean property with request object
2024-08-19 19:39:53 +03:00
Anton Khorev
c9f495cb18
Remove endpoint markers in disable method
2024-08-19 19:39:53 +03:00
Anton Khorev
dad6bca753
Install endpoint listeners using enable/disable methods
2024-08-19 19:39:53 +03: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
9479d56262
Add navigation tabs to new block pages
2024-08-19 13:48:55 +03:00
Tom Hughes
41b81bd393
Merge remote-tracking branch 'upstream/pull/5083'
2024-08-18 12:16:22 +01:00
Tom Hughes
fb854652ea
Merge remote-tracking branch 'upstream/pull/5092'
2024-08-18 12:01:17 +01:00
Tom Hughes
71d459c71c
Merge remote-tracking branch 'upstream/pull/5091'
2024-08-18 11:59:42 +01:00
Tom Hughes
a11c02122d
Merge remote-tracking branch 'upstream/pull/5089'
2024-08-18 11:54:48 +01:00
Tom Hughes
9bfae01a99
Merge remote-tracking branch 'upstream/pull/5084'
2024-08-18 11:51:06 +01:00
Anton Khorev
bb0b08a7e5
Define diary entry hide/unhide routes using post on members
2024-08-17 14:28:55 +03:00
Anton Khorev
1e62ae4b18
Remove /user_blocks/new route
2024-08-17 14:03:27 +03:00
Anton Khorev
cfaae9eadd
Don't update ends_at when editing inactive blocks
2024-08-17 13:02:20 +03:00
Anton Khorev
1951ed2eb8
Change zoom precision function
...
This changes the number of fractional digits to log10(pixels / degrees) with pixels = 2**(8 + zoom) and degrees = 180.
2024-08-17 11:44:05 +03:00
Tom Hughes
9b2db63a95
Merge remote-tracking branch 'upstream/pull/5088'
2024-08-16 17:24:50 +01:00
Tom Hughes
9e807aeca0
Merge remote-tracking branch 'upstream/pull/5086'
2024-08-16 17:22:59 +01:00
Tom Hughes
076a8114ef
Merge remote-tracking branch 'upstream/pull/5087'
2024-08-16 17:20:33 +01:00
Tom Hughes
0f7e775800
Merge remote-tracking branch 'upstream/pull/5085'
2024-08-16 17:19:23 +01:00
Anton Khorev
80c43f51c2
Copy "From" endpoint value to search input when closing directions
2024-08-16 18:48:05 +03:00
Anton Khorev
a9b84ff4c6
Truncate long usernames in blocks tables
2024-08-16 14:41:02 +03:00
Anton Khorev
b9828d7dbd
Add navigation tabs to edit block pages
2024-08-16 13:27:10 +03:00
Anton Khorev
afffd3bf4b
Remove duration and needs_view inputs from inactive block edit form
2024-08-16 13:00:19 +03:00
Anton Khorev
89a35fe11f
Make getGeocode a private function
2024-08-16 08:57:39 +03:00
Anton Khorev
51cbbe6d5a
Move empty value check out of endpoint.getGeocode
2024-08-16 08:54:23 +03:00
Anton Khorev
e624871eb4
Remove endpoint.hasGeocode state and related getRoute code
...
hasGeocode didn't actually indicated if an endpoint has a value acquired from a geocoder. It was set to true when at least one call to a geocoder finished successfully, including getting an empty result. getRoute doesn't need to know what calls were made, it only needs coordinates. It also doesn't get to decide when to fetch coordinates, this is done in drag/change callbacks.
2024-08-16 08:53:34 +03:00
Tom Hughes
a0013c8f56
Merge remote-tracking branch 'upstream/pull/5081'
2024-08-15 17:54:51 +01:00
Tom Hughes
a55883290b
Merge remote-tracking branch 'upstream/pull/5082'
2024-08-15 17:53:47 +01:00
translatewiki.net
1b288d40c7
Localisation updates from https://translatewiki.net .
2024-08-15 14:15:24 +02:00
Anton Khorev
323b7032ba
Prevent reactivating inactive blocks
2024-08-15 12:59:49 +03:00
Anton Khorev
ec6789920c
Rename geocodeCallback to changeCallback, call it from latlon setValue
...
endpoint.setValue always calls changeCallback on its successful completion, with geocoding or without. This allows to decide when to call getRoute entirely from callbacks and event listeners.
2024-08-15 12:00:31 +03:00
Tom Hughes
953d8b4b59
Merge remote-tracking branch 'upstream/pull/5072'
2024-08-14 19:12:59 +01:00
Tom Hughes
257ecde90d
Merge remote-tracking branch 'upstream/pull/5075'
2024-08-14 19:06:42 +01:00
Tom Hughes
d010e280af
Merge remote-tracking branch 'upstream/pull/5078'
2024-08-14 19:02:07 +01:00
Tom Hughes
d009219987
Merge remote-tracking branch 'upstream/pull/5074'
2024-08-14 19:01:05 +01:00
Tom Hughes
68abf2075b
Merge remote-tracking branch 'upstream/pull/5073'
2024-08-14 19:00:20 +01:00
Tom Hughes
1f776bdcd8
Merge remote-tracking branch 'upstream/pull/5076'
2024-08-14 18:57:05 +01:00
Tom Hughes
ea397bb5ef
Add ruby 3.3 to test matrix
2024-08-14 18:56:03 +01:00
Tom Hughes
390d49d3f0
Monkey patch GD2::AnimatedGif to fix the finalizer
...
https://github.com/dark-panda/gd2-ffij/pull/27
2024-08-14 18:56:03 +01:00
Anton Khorev
09721c6fee
Add article:published_time meta tag to diary entries
2024-08-14 18:00:14 +03:00
Andy Allan
2a2d1d50d3
Add debug gem
...
This is included in new rails 7+ apps, so let's include it too.
This also means it's available on ruby 3.0, and is automatically
updated on newer versions of ruby too.
2024-08-14 15:36:09 +01:00
Anton Khorev
8498d0d6a8
Switch to edit pane if rich text field validation fails
...
Allows the "Please fill out this field" message to be visible.
2024-08-14 16:43:57 +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
Anton Khorev
462996a41a
Rename user blocks system test class
2024-08-14 16:12:05 +03:00