Commit graph

1149 commits

Author SHA1 Message Date
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
6f38ee2dbb Remove $spacer css from browse status panel 2023-11-14 08:37:05 +03:00
Anton Khorev
342d323c04 Remove unused maximiseMap/minimiseMap functions 2023-11-13 11:13:56 +03:00
Martin Raifer
b834bd70d0
use api.openstreetmap.org for API calls when running on www.osm.org
see https://github.com/openstreetmap/operations/issues/951
2023-11-08 12:52:23 +01:00
Tom Hughes
dc2c84f194 Fix eslint warnings 2023-11-02 10:11:36 +00:00
Tom Hughes
ef4c9a3306 Make change set comment rate limit errors display properly
Fixes #4320
2023-11-02 10:08:19 +00:00
Anton Khorev
6b203c63fe Don't pass placement: right to tooltip()
Bootstrap flips it on its own, see https://getbootstrap.com/docs/5.2/components/tooltips/#directions
2023-10-25 15:48:53 +03:00
Anton Khorev
62ba143c3c Remove some search/directions custom css 2023-10-20 16:58:59 +03:00
Tom Hughes
3e8bbe70fb Add whitespace 2023-09-22 17:54:18 +01:00
Paul Norman
00d085ed5d
Add Tracestrack Topo as featured layer 2023-09-19 22:16:42 -07:00
Andy Allan
5473be178a Refactor the directions table to use bootstrap table styling
This allows us to remove some custom CSS
2023-09-13 11:30:50 +01:00
Andy Allan
6eac50525b Use h2 as the main header on the map-ui panel 2023-09-06 18:10:02 +01:00
Andy Allan
c162a9660e Use standard padding size for map-ui sidebar
The previous padding didn't match the main sidebar, and also used
sass division as part of the calculation.
2023-09-06 18:10:02 +01:00
Andy Allan
6fc0f764d5 Round the clickable map previews on the layer switcher
Most interactive elements on the site are rounded, so we can do the
same for these map previews.
2023-09-06 18:10:02 +01:00
Andy Allan
01eed9b96c Make the sharing controls read-only
They aren't used for inputting any information, only for copying.
2023-09-06 18:10:02 +01:00
Andy Allan
dc24f6c219 Use bootstrap form controls for the link and html controls 2023-09-06 18:10:02 +01:00
Andy Allan
0ea6646fb6 Use bootstrap for share forms
This fixes alignment of the checkboxes, and uses bootstrap form
controls for the image format and scale inputs.

Move the custom dimensions input to beside the custom dimensions
display.
2023-09-06 18:10:02 +01:00
Tom Hughes
a274726f46 Add rate limiting for changeset comments
Fixes #4196
2023-08-25 19:53:04 +01:00
Tom Hughes
a8ae7b2d3e Replace links to donate.osm.org with supporting.osm.org 2023-08-19 11:22:54 +01:00
Tom Hughes
d8abf0dc7e Merge remote-tracking branch 'upstream/pull/4155' 2023-08-12 15:20:41 +01:00
Anton Khorev
65a4a95804 Highlight non-numeric home location coordinates 2023-08-11 21:47:15 +03:00
Anton Khorev
0be576a272 Don't construct invalid LatLng objects in home location 2023-08-11 21:47:14 +03:00
Anton Khorev
81ce6a7de0 Exchange focus between home location delete/undelete buttons 2023-08-11 21:47:14 +03:00
Anton Khorev
0f3f3ead0a Disable home marker tab focus and cursor change 2023-08-11 21:47:14 +03:00
Anton Khorev
2a32a0427b Disable show home location button if close enough to map center 2023-08-11 21:47:13 +03:00
Anton Khorev
2dbe4e6f88 Set default home location zoom when centering the map 2023-08-11 21:44:16 +03:00
Anton Khorev
0e98e2a337 Add undelete home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
dbb3be0a74 Add delete home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
7848643990 Add show home location button listener 2023-08-11 21:44:16 +03:00
Anton Khorev
a2ff9b38f8 Add user home location change listeners and buttons 2023-08-11 21:44:15 +03:00
Anton Khorev
8f946f1360 Use flex for buttons cell in messages table 2023-08-11 20:51:51 +03:00
Anton Khorev
c751967d0e Change mark message buttons visibility with hidden attr 2023-08-11 20:35:36 +03:00
Anton Khorev
179c70f725 Refactor message mark/delete listeners 2023-08-11 19:57:56 +03:00
Anton Khorev
a5a7ee116c Remove 'no home' message css from profile edit form 2023-08-08 20:26:15 +03:00
Andy Allan
f884be441d
Merge pull request #4111 from AntonKhorev/hidden-welcome-banner
Hide/show welcome banner with hidden attribute
2023-08-02 16:56:25 +01:00
Andy Allan
5f0c072ae0
Merge pull request #4120 from AntonKhorev/no-deprecated-iframe-attrs
Remove deprecated attributes from share html
2023-08-02 14:14:55 +01:00
Anton Khorev
c4b5392628 Remove deprecated attributes from share html 2023-07-29 20:34:10 +03:00
Anton Khorev
c3500b4b81 Remove display properties from share tabs 2023-07-29 19:26:20 +03:00
Anton Khorev
e6987d7dd3 Hide/show welcome banner with hidden attribute 2023-07-28 19:53:19 +03:00
Andy Allan
4cfb632b5e Rework the map attribution to avoid raw html in translations. 2023-04-02 10:14:00 +01:00
Tom Hughes
35c59bff0d Fix "load more" button on search results
Fixes #3969
2023-03-12 17:52:39 +00:00
Tom Hughes
8919c8c404 Use POST for geocoder backends
The geocoder backend calls are a private implementation detail
and using POST enables request forgery checks and makes scraping
of nominatim via the backend calls harder.
2023-03-07 17:24:48 +00:00
Andy Allan
9bb8dd739a Use data attributes to pass alternative button labels
This allows the text to be defined in the html partials, instead
of looking up the i18n via javascript.
2023-02-01 17:24:47 +00:00
Tom Hughes
4e0c5f5fcb Make distances in directions translatable
Fixes #3888
2023-01-10 20:58:10 +00:00
Tom Hughes
18c2bf62ae Fix eslint warnings 2022-12-22 17:01:59 +00:00
Tom Hughes
26fedd0031 Fix eslint warnings 2022-12-22 16:59:42 +00:00
Christian Beiwinkel
1e33272153 consistent naming of FOSSGIS routers 2022-12-22 17:39:50 +01:00
Christian Beiwinkel
613c1ba234 added manoeuvre numbering 2022-12-22 17:33:20 +01:00
Christian Beiwinkel
85f627c5c2 added valhalla routing engine 2022-12-16 17:05:36 +01:00
Christian Beiwinkel
9389a7698a renamed fossgis engine 2022-12-16 16:57:14 +01:00