Commit graph

1839 commits

Author SHA1 Message Date
Anton Khorev
e6987d7dd3 Hide/show welcome banner with hidden attribute 2023-07-28 19:53:19 +03:00
Andy Allan
0a66990911 Simplify menu-icon css
Remove the duplicate display property, since it was force-overridden
by the `!important` keyword in the same definiton. This then makes the
`!important` keywords unnecessary. The menu-icon is floated, and
therefore can't be `inline-block`, so browsers were interpreting that
as `block` all along.
2023-07-26 17:39:36 +01:00
Andy Allan
c23d8bfa6a Remove unused parameter 2023-07-26 17:39:12 +01:00
Andy Allan
7ea3398c79 Remove unused CSS
The browse_details CSS classes were removed in 30ab1e91da and c4090bb150
2023-07-26 17:15:17 +01:00
Andy Allan
e108ec6d48 Avoid using sprockets for combining stylesheets
There are two options for combining stylesheets, using sprockets
(via `require` statements) or using sass (via `@import` statements).

This commit switches to using `@import` statements throughout, to
avoid a bug with libsass that prevents us from using bootstrap 5.2+

See https://github.com/sass/sassc-rails/issues/174

Since R2 is not triggered when `@import`ing a file, we need to
switch the top-level stylesheet names to include the extension. We
can also take the opportunity to remove a level of indirection,
along with removing symlinks which cause problems on some platforms.

* https://github.com/openstreetmap/openstreetmap-website/issues/3984
* https://github.com/openstreetmap/openstreetmap-website/issues/3422
2023-07-12 17:54:51 +01:00
Andy Allan
e9e4b10473
Merge pull request #3907 from Dimitar5555/patch-1
Facelift `offline.html` and use Bootstrap classes for "notifications" under the search bar
2023-06-14 14:08:38 +01:00
Andy Allan
4cfb632b5e Rework the map attribution to avoid raw html in translations. 2023-04-02 10:14:00 +01:00
Dimitar
318064b2a7 Facelift offline.html and use Bootstrap classes for "notifications"
Update site_controller_test.rb

Update site_controller_test.rb

Remove whitespace

Reset Settings.status after test is done

Update test for offline page

Update site_controller.rb

Fix indentation

Update offline controller

Update offline.html.erb

Remove flash CSS classes and fix missed tests

Updated tests

Address most PR comments

Update _flash.html.erb

Update _flash.html.erb

Update edit.html.erb

Update offline.html.erb
2023-03-26 13:57:51 +03:00
Andy Allan
2f3c2cdb44 Remove unused small.scss symlinks
These should have been removed as part of 5ab682dbbd
2023-03-23 09:46:42 +00: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
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
6bbe6802d0 Fix eslint warnings 2022-12-09 19:01:10 +00:00
Tom Hughes
bf249af5b3 Set secure flag for matomo cookies 2022-12-08 22:45:02 +00:00
Tom Hughes
f20b250ba9 Allow matomo cookie timeouts to be configured 2022-12-08 22:29:08 +00:00
Anton Khorev
31ca37a1d0 Remove fallback code for undefined history.pushState() 2022-12-07 10:57:30 +03:00
Tom Hughes
007e1b26cd Only send user IDs to matomo when configured to do so 2022-12-04 18:54:07 +00:00
Tom Hughes
152414861c Merge remote-tracking branch 'upstream/pull/3688' 2022-11-30 12:19:57 +00:00
Tom Hughes
f839257e3e Merge remote-tracking branch 'upstream/pull/3798' 2022-11-16 18:33:51 +00:00
Andy Allan
efdaecdbf3
Merge pull request #3779 from AntonKhorev/spinner
Replace searching.gif images with Bootstrap spinners
2022-11-16 16:22:18 +00:00
Anton Khorev
c3e6059222 Pass original event instad of leaflet event to changeset bbox click simulation 2022-11-16 15:45:27 +03:00
Martin Raifer
a3b5c85497
clear default connections when using preauth 2022-11-14 12:32:56 +01:00
Tom Hughes
8e976fbac1 Merge remote-tracking branch 'upstream/pull/3780' 2022-11-08 18:32:18 +00:00
Anton Khorev
ba888f5c7d Remove query result geometry when unloading the page 2022-11-01 02:09:51 +03:00
Anton Khorev
8bc7793d42 Replace spinners in javascript 2022-11-01 00:19:13 +03:00
Anton Khorev
28060080e8 Replace spinners in html.erb templates 2022-11-01 00:08:41 +03:00
Anton Khorev
6c415ef142 Add aria-label to close buttons 2022-10-31 23:54:58 +03:00
Anton Khorev
357d32c57c Remove query spinner show delay because the spinner is not hidden 2022-10-29 19:32:17 +03:00
Tom Hughes
ea152a7ead Merge remote-tracking branch 'upstream/pull/3770' 2022-10-26 19:22:43 +01:00
Anton Khorev
dbcf256976 Use close button instead of geolink in sidebar content 2022-10-26 15:49:13 +03:00
Anton Khorev
34a8d08209 Merge changeset <ol>s on Load more 2022-10-26 15:02:49 +03:00
Andy Allan
aa78da82fe
Merge pull request #3694 from AntonKhorev/share-button-group
Use Bootstrap button group for share tabs
2022-10-19 16:24:08 +01:00
Andy Allan
0917201893
Merge pull request #3704 from AntonKhorev/leaflet-control-groups
Group map controls explicitly
2022-10-19 15:42:08 +01:00
Tom Hughes
a9063f8369 Allow credentials to be sent with overpass calls 2022-10-13 19:12:25 +01:00
Tom Hughes
d6586275e9 Unflip the heading text on the new user screen for RTL languages
Fixes #3752
2022-10-12 08:48:29 +01:00
Tom Hughes
685eef338d Merge remote-tracking branch 'upstream/pull/3747' 2022-10-09 18:10:20 +01:00
Anton Khorev
6616d5e1ba Don't scroll to or show markers of notes with no data 2022-10-09 09:08:45 +03:00
Anton Khorev
15d2efe2df Display icon for current note only if this icon is defined 2022-10-09 08:03:14 +03:00
Tom Hughes
d1dba97ac4 Merge remote-tracking branch 'upstream/pull/3739' 2022-10-06 08:13:32 +01:00
Tom Hughes
31d27da6bc Merge remote-tracking branch 'upstream/pull/3736' 2022-10-06 07:59:57 +01:00
Anton Khorev
a419f8890a Load note from edit link with remote control 2022-10-06 00:42:04 +03:00
Anton Khorev
6d5ba4651a Remove whitespace eslint complaining about 2022-10-05 23:15:34 +03:00