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
Anton Khorev
00db1066ef
Remove unused xml_parse method
2024-08-14 05:58:17 +03:00
Anton Khorev
f1ca64ff84
Make setLatLng a private function
2024-08-14 05:11:56 +03:00
Anton Khorev
f65593651f
Don't set input value from endpoint.setLatLng()
...
This input value computed from coordinates is not always used. endpoint.getGeocode() overwrites it immediately.
2024-08-14 05:11:56 +03:00
Anton Khorev
e0df084e57
Don't call endpoint.setLatLng() from outside of endpoint module
2024-08-14 05:11:56 +03:00
Tom Hughes
7cd7db5718
Merge remote-tracking branch 'upstream/pull/5067'
2024-08-13 18:46:25 +01:00
Tom Hughes
591b987b9d
Update bundle
2024-08-13 18:11:12 +01:00
translatewiki.net
e0e6c7f1c2
Localisation updates from https://translatewiki.net .
2024-08-12 14:15:31 +02:00
Anton Khorev
96ac0fb728
Use content box sizing instead of negative margins
2024-08-12 03:38:09 +03:00
Anton Khorev
3f4cba4434
Set layer button size in rems
...
Lets buttons become larger if font-only zoom is used. This should help with layer name labels not fitting.
2024-08-12 03:02:48 +03:00
Tom Hughes
fd7840d5f1
Merge remote-tracking branch 'upstream/pull/5062'
2024-08-11 19:04:18 +01:00
Tom Hughes
6c148594cb
Merge remote-tracking branch 'upstream/pull/5061'
2024-08-11 18:56:28 +01:00
Anton Khorev
415f497d89
Move endpoints code to its own module
2024-08-10 06:19:32 +03:00
Anton Khorev
567a9e5b23
Rename route request variable
...
It's not boolean, the comment was outdated.
2024-08-10 06:01:35 +03:00
Anton Khorev
d065f88b1a
Remove references to global variables from endpoint drag listener
...
This causes visible input value updates even when the route is not recalculated. The upside is that it lets endpoints not know about the route and its update state.
2024-08-10 05:53:59 +03:00
dependabot[bot]
cab7d59874
Bump eslint from 9.8.0 to 9.9.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.8.0 to 9.9.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v9.8.0...v9.9.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 23:32:40 +00:00
Tom Hughes
6b179c4e9b
Merge remote-tracking branch 'upstream/pull/5059'
2024-08-08 17:59:41 +01:00
translatewiki.net
af75e66fd0
Localisation updates from https://translatewiki.net .
2024-08-08 14:15:22 +02:00
Anton Khorev
3ae313fd1d
Set min preview height when switching away from edit tab
...
Previously it was set when switching to a preview tab. Now that won't work correctly because we have one extra tab.
2024-08-08 07:23:49 +03:00
Anton Khorev
a9fa756878
Switch away from help tab when help sidebar becomes visible
2024-08-08 07:23:49 +03:00
Anton Khorev
8401cd0d14
Move help card between pane/sidebar depending on sidebar visibility
2024-08-08 07:23:49 +03:00
Anton Khorev
fb0f955651
Add richtext help tab
2024-08-08 07:23:49 +03:00
Anton Khorev
5e35448491
Use closest() instead of parents() when looking for richtext container
2024-08-08 06:07:42 +03:00
Anton Khorev
1adb5caf99
Remove unused richtext dom ids
2024-08-08 05:56:56 +03:00
Anton Khorev
8103eb18ab
Remove .richtext_preview css class
2024-08-08 05:56:06 +03:00
Anton Khorev
6ebf98255c
Remove .richtext_content css class
2024-08-08 03:20:57 +03:00
Anton Khorev
69122afe78
Remove .richtext_dopreview css class
2024-08-08 03:16:50 +03:00
Tom Hughes
a0b612ad15
Merge remote-tracking branch 'upstream/pull/5055'
2024-08-07 18:40:40 +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