Anton Khorev
248b5fa1ae
Load pluralizers
2025-03-04 18:36:53 +03:00
Anton Khorev
78641615b3
Replace $(document).ready(...) with $(...)
2025-03-01 16:20:48 +03:00
Marwin Hochfelsner
a19ee80c1e
Cache csrf properties
2025-03-01 13:21:30 +01:00
Tom Hughes
c50e4f50c4
Merge remote-tracking branch 'upstream/pull/5685'
2025-02-16 13:18:14 +00:00
Tom Hughes
c47cb299a8
Replace uses of var with let or const as appropriate
2025-02-16 11:14:13 +00:00
Marwin Hochfelsner
3c4da558b0
Move OAuth requests to fetch
2025-02-16 08:57:04 +01:00
Anton Khorev
358ccb2cad
Adjust secondary nav css for transition before/after js runs
2025-02-12 15:36:59 +03:00
Anton Khorev
cdd156137b
Move secondary menu items to "more" dropdown dynamically
2025-02-12 15:36:59 +03:00
Anton Khorev
c8757cf1d0
Use fixed small/compact nav breakpoint width
2025-02-12 15:36:24 +03:00
Anton Khorev
424316b41c
Switch to/from compact nav by moving nav items
2025-02-12 15:35:11 +03:00
Marwin Hochfelsner
3fbc8a3d32
Enable a few linting rules
2025-02-10 20:10:13 +01:00
Marwin Hochfelsner
98e4dfb87e
Lessen code repetition
2025-02-09 06:51:56 +01:00
Tom Hughes
46cd3a1114
Replace qs with URLSearchParams
2025-02-02 19:27:20 +00:00
Anton Khorev
f2903b8223
Initialize I18n and OSM as soon as application.js loads
2025-01-23 08:34:21 +03:00
Anton Khorev
808c2cbfa9
Remove jQuery.timers plugin
2024-11-14 13:43:41 +03:00
Anton Khorev
52123336fd
Use Bootstrap .nav in secondary header navigation
2024-05-24 20:53:19 +03:00
Anton Khorev
d8b592ddb2
Remove bs-custom-file-input javascript plugin
2024-05-08 17:47:52 +03:00
Gregory Igelmund
f3a31e00d4
application.js: Call updateHeader when turbo:render completed
2024-03-21 14:55:16 +01:00
Gregory Igelmund
1a7b7f5d18
Enable Turbo Drive with morphing for Messages#{destroy,mark}
2024-03-21 14:55:16 +01:00
Anton Khorev
b5679e16db
Disable text wrapping while measuring header width
2023-11-17 10:27:38 +03:00
Tom Hughes
c94de1e1a3
Improve name selection with the query tool
...
Pass the full expanded list of preferred languages to the client
and use that when looking for the best name for an object.
Fixes #4310
2023-11-14 17:45:50 +00:00
Anton Khorev
342d323c04
Remove unused maximiseMap/minimiseMap functions
2023-11-13 11:13:56 +03:00
Tom Hughes
768ff8d72e
Set the tooltip on the edit tab after the locale is set
...
Fixes #3839
2022-12-14 21:48:28 +00:00
Tom Hughes
152414861c
Merge remote-tracking branch 'upstream/pull/3688'
2022-11-30 12:19:57 +00:00
Anton Khorev
809a8b3db0
Remove note from edit link when it's not a current object
2022-10-05 22:58:33 +03:00
Anton Khorev
cf3fa3bb2d
Use jquery interface for enabling/disabling tooltips
2022-09-23 13:34:40 +03:00
Anton Khorev
84c8289e06
Fix zoom level related tooltip for Edit button
2022-09-13 05:26:49 +03:00
Andy Allan
e443ec7587
Merge pull request #3634 from AntonKhorev/map-key-tooltip
...
Fix tooltips
2022-08-03 15:38:58 +01:00
Andy Allan
68776e378c
Fix remaining tooltips, and add tests
...
These were broken during the upgrade to bootstrap 5
Fixes #3632
2022-08-03 15:20:50 +01:00
Tom Hughes
e9f62a8c30
Rename piwik to matomo and merge configuration into settings
2022-08-01 22:42:04 +01:00
Tom Hughes
ed4549afab
Fix eslint warnings
2022-06-26 19:56:27 +01:00
faebebin
05d2eba921
Fix map edit controls min-zoom behaviour
...
The map dropdown and tooltip of the map edit controls should
behave similar when zooming in and out.
This is achieved by disabling the button-group and the buttons.
2022-06-19 11:10:29 +02:00
Tom Hughes
9bf0dee51a
Update path to js-cookie
2021-07-27 08:18:53 +01:00
Tom Hughes
32cc04fa5c
Switch to using js-cookie to manage cookies from javascript
2021-05-17 18:57:48 +01:00
Tom Hughes
79447e7549
Replace querystring parser with qs yarn module
2020-08-06 20:51:55 +01:00
Tom Hughes
447c05fcb8
Move jquery.cookie to be a yarn managed asset
2020-08-06 19:28:51 +01:00
Tom Hughes
4dcedf666c
Move leaflet to be a yarn managed asset
2020-08-06 19:28:51 +01:00
Tom Hughes
c24c2e481c
Merge remote-tracking branch 'upstream/pull/2667'
2020-08-05 21:50:08 +01:00
Andy Allan
e157b37ce5
Rename nav-related body classes
...
This makes it clearer that the classes are only for navigation menu
matters. Other things should be done on media queries, or ideally,
using bootstrap components like grids.
This has a side effect of removing the smaller font size from the
body when the navigation menu is in the small-nav state.
2020-07-15 11:40:02 +02:00
Andy Allan
8d2271699b
Use bootstrap_form as the formbuilder for GPX upload form
...
This also uses the recommended bs-custom-file-input javascript plugin
for the file input control.
2020-07-01 17:23:02 +02:00
Simon Legner
83bb627da6
Fix typo in comment
...
Closes #2576
2020-04-01 00:11:19 +01:00
Andy Allan
e5c33c119a
Switch to bootstrap for dropdowns and tooltips
...
Due to the javascript involved, it was more straightforward to combine
the two together. Moving to bootstrap v4 for dropdowns required some
redesign of the dropdown menu html, and the opportunity was taken to
move to using standard buttons for those menus.
2020-01-29 18:23:47 +01:00
Tom Hughes
6dd451c7ee
Stop creating a shared global querystring variable
2019-07-15 20:28:54 +01:00
Tom Hughes
c4c0e8105a
Enforce consistent indentation in javascript code
2019-07-14 10:52:18 +01:00
Tom Hughes
807750023a
Fix eslint warning
2019-07-13 17:46:23 +01:00
Tom Hughes
5bd59e1936
Enable a number of eslint style rules
2019-04-07 17:02:39 +01:00
Tom Hughes
eb7678145a
Use double quotes consistently in javascript code
2019-04-06 15:59:34 +01:00
Tom Hughes
fa0a933c24
Replace augment.js with conditional polyfills for ES5 and ES6
2019-01-30 12:11:57 +00:00
Tom Hughes
ed82d0a756
Only fetch client side translations for the current locale
2018-08-16 12:22:36 +01:00
Tom Hughes
7346c5a024
Update site to use jQuery 3
2017-11-03 20:40:48 +00:00