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
Anton Khorev
09721c6fee
Add article:published_time meta tag to diary entries
2024-08-14 18:00:14 +03: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
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
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
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
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
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
43f5440537
Pass properties hash to OpenGraph helper
2024-08-07 18:58:47 +03:00
Anton Khorev
e0cec1a6e8
Remove default argument values of OpenGraph tag helper
2024-08-07 18:55:08 +03:00
Andy Allan
2a649d16df
Merge pull request #5044 from mmd-osm/patch/rn1
...
JSON partial rendering in loop
2024-08-07 16:12:53 +01: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
Tom Hughes
ec9eb174ca
Merge remote-tracking branch 'upstream/pull/5046'
2024-08-06 18:29:25 +01:00
Anton Khorev
243557a31a
Set og:image:alt OpenGraph property
2024-08-05 05:32:47 +03:00
mmd-osm
0472d7b0bc
Users: avoid calling json.partial! in loop
2024-08-04 22:37:42 +02:00
mmd-osm
341ff0a06b
Notes: avoid calling json.partial! in loop
2024-08-04 22:37:18 +02:00
mmd-osm
ccdc427a5d
Changeset: avoid XML rendering in loop
2024-08-04 22:35:48 +02:00
mmd-osm
14184b1b2e
Messages: avoid calling json.partial! in loop
2024-08-04 21:49:07 +02:00
mmd-osm
a5a6713bfc
Changesets: avoid calling json.partial! in loop
2024-08-04 21:48:09 +02:00
Anton Khorev
fa9654fe90
Merge branch 'pull/5023'
2024-08-04 18:46:25 +03:00
Anton Khorev
259437728e
Switch between richtext edit/preview using Bootstrap tab panes
2024-08-03 04:52:41 +03:00
Anton Khorev
ef5352332e
Convert richtext edit/preview buttons into tabs
2024-08-03 04:52:13 +03:00
Anton Khorev
2ba7eab67d
Change richtext edit/preview buttons type to non-submit
2024-08-03 04:52:13 +03:00
Tom Hughes
71bd1684ec
Merge remote-tracking branch 'upstream/pull/5036'
2024-08-01 18:25:26 +01:00
Anton Khorev
6f1ffc4a2b
Merge branch 'pull/5031'
2024-08-01 18:32:12 +03:00
Anton Khorev
549aa4b602
Don't pass width/height to user menu thumbnail
2024-08-01 05:15:56 +03:00
mmd-osm
b4952ff7f2
Trace picture with fixed size
2024-07-31 21:31:17 +02:00
mmd-osm
2d3988e38f
GPX Import email in text format
...
Fixes #5025
2024-07-31 19:13:08 +02:00
Anton Khorev
869d86a31f
Merge branch 'pull/5030'
2024-07-31 16:56:28 +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