Commit Graph

64 Commits

Author SHA1 Message Date
bafaf78c7d Add profile location 2025-04-25 18:31:39 +04:00
752cdfd615 Merge remote-tracking branch 'upstream/pull/5872' 2025-04-05 11:27:20 +01:00
4950c04d5f Include L.Control.Locate from L.OSM.locate 2025-04-04 10:46:25 +03:00
34bf4d1054 Shorten options of map controls 2025-04-01 19:33:55 +03:00
0ab82a7a50 Use L.OSM.locate control in user.js 2025-04-01 19:02:41 +03:00
6d8d41b166 Consolidate leaflet marker creation in OSM.getMarker 2025-03-30 07:05:15 +02:00
e2e61692ea Replace use of I18n in javascript with OSM.i18n 2025-03-17 17:19:15 +00:00
78641615b3 Replace $(document).ready(...) with $(...) 2025-03-01 16:20:48 +03:00
8a52344b29 Move jquery .load() to fetch 2025-03-01 13:22:40 +01:00
c47cb299a8 Replace uses of var with let or const as appropriate 2025-02-16 11:14:13 +00:00
7e6bc9f068 Fix missing zoom argument of OSM.cropLocation in home location 2025-02-04 03:11:17 +03:00
4b6b49801c Add coordinate precision function 2025-02-02 01:37:07 +01:00
9b9e857b72 Adjust imports for leaflet.locatecontrol 2024-10-30 18:41:43 +00:00
6d49bc6ebb Make select all checkbox on users list work with turbo 2024-09-12 19:10:26 +01:00
671bb76f05 Use bindPopup options to set min width of user popup 2024-04-25 04:48:26 +03:00
65a4a95804 Highlight non-numeric home location coordinates 2023-08-11 21:47:15 +03:00
0be576a272 Don't construct invalid LatLng objects in home location 2023-08-11 21:47:14 +03:00
81ce6a7de0 Exchange focus between home location delete/undelete buttons 2023-08-11 21:47:14 +03:00
0f3f3ead0a Disable home marker tab focus and cursor change 2023-08-11 21:47:14 +03:00
2a32a0427b Disable show home location button if close enough to map center 2023-08-11 21:47:13 +03:00
2dbe4e6f88 Set default home location zoom when centering the map 2023-08-11 21:44:16 +03:00
0e98e2a337 Add undelete home location button listener 2023-08-11 21:44:16 +03:00
dbb3be0a74 Add delete home location button listener 2023-08-11 21:44:16 +03:00
7848643990 Add show home location button listener 2023-08-11 21:44:16 +03:00
a2ff9b38f8 Add user home location change listeners and buttons 2023-08-11 21:44:15 +03:00
a5a7ee116c Remove 'no home' message css from profile edit form 2023-08-08 20:26:15 +03:00
8bc7793d42 Replace spinners in javascript 2022-11-01 00:19:13 +03:00
80f576a29b Fix avatar mode update on file change 2021-02-16 17:12:34 +00:00
916c48fd47 Move leaflet.locatecontrol to be a yarn managed asset 2020-08-06 19:28:51 +01:00
4176b78edf Pass I18n argument correctly 2020-03-20 14:58:45 +00:00
587a1b0754 Fix lego translation with locate control
Fixes #2564
2020-03-20 14:28:51 +00:00
7a81258ddc Translate units used by leaflet-locatecontrol 2019-12-24 00:29:30 +01:00
6c202448ad Move user images to Active Storage with paperclip as a fallback 2019-07-09 19:17:30 +01:00
42a917b0a8 Reduce es lint moaning 2019-05-13 17:45:50 +02:00
1be8d599e8 Add checkbox for contributor terms and improve text 2019-05-13 16:54:29 +02:00
027728fede Use jquery 2019-05-13 16:54:29 +02:00
d3d03a3177 Move onclick handling of tou checkbox to ujs 2019-05-13 16:52:18 +02:00
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
a3519348c6 Remove inline javascript from user settings page 2017-11-24 16:20:50 +00:00
833579778a Removes DOM difference in location button 2017-10-18 15:05:11 +02:00
d13348c0ea Remove inline javascript from user views 2017-02-27 22:51:03 +00:00
1f9857e76c Patch classes on the locate control
This patches the map on the user page in the same way as the main map.

Closes #1328
2016-10-17 11:00:01 +01:00
e434cb154c Convert OpenID authentication to generic third party authentication 2015-02-25 01:07:23 +00:00
bd2e999756 Move some javascript functions out of global scope 2015-02-24 00:19:08 +00:00
66039dedb0 Move zoomPrecision function to the OSM namespace 2014-02-27 18:15:54 +00:00
6681155865 Fix map controls on user settings page 2013-11-05 15:57:03 -08:00
53e4d600e7 Fixes 2013-10-13 14:45:58 -07:00
58eb17cb63 Update user location setting for zoomPrecision change 2013-08-04 12:40:20 +01:00
7db1180506 Reduce user location to be between -180 and 180 degrees 2013-07-30 21:20:09 +01:00