Dorothea Kazazi
d100e8a639
Added banner for OpenStreetMap 16th birthday
2020-08-03 02:45:51 +03:00
Tom Hughes
2d3972249c
Fix some rubocop todos
2020-08-02 19:38:58 +01:00
Tom Hughes
f881a8c83c
Register warning and error flash types
...
Fixes #2743
2020-08-02 15:53:13 +01:00
Tom Hughes
eee84267f9
Fix rubocop warning
2020-08-02 13:00:21 +01:00
Tom Hughes
77f9aec772
Fix some rubocop todos
2020-07-31 22:45:53 +01:00
Tom Hughes
6c159b9673
Fix the Command Injection warnings from Brakeman
2020-07-31 15:54:06 +01:00
Peter
5444506976
turn_costs=true only for car
...
I know there was a bit forth and back in #2695 and my last recommendation was to use turn_costs=true. This was not intended for bike and foot.
2020-07-27 13:04:52 +02:00
Tom Hughes
c4abe8eb28
Fix the CrossSiteScripting warnings from Brakeman
2020-07-22 20:57:16 +01:00
Tom Hughes
ca92fe3359
Merge remote-tracking branch 'upstream/pull/2727'
2020-07-22 19:29:08 +01:00
Tom Hughes
d4130bcac8
Fix the Redirect warnings from Brakeman
...
Unfortunately I've had to leave the check disabed as Brakeman
can't see inside the safe_referer method so doesn't realise that
it is cleaning the referer.
2020-07-22 19:23:46 +01:00
Andy Allan
56fdf73b65
Use the worldCopyJump option for leaflet overlays
...
This means that if you pan to a 'copy' of the world, the overlays
reappear on that copy.
Fixes #2040
2020-07-22 17:54:10 +02:00
Andy Allan
20ed4df472
Add a browse map link to notes
...
This matches the one for nodes. Fixes #1355 . Replacement for #1773 .
An unstyled list works better for the details section, particularly
when all three are shown.
2020-07-22 14:18:59 +02:00
Andy Allan
499a60c330
Use a named path instead of explicit controllers and actions
2020-07-22 14:04:42 +02:00
Quincy Morgan
de3ddafcd2
Update iD initialization for v2.18.1
2020-07-20 16:14:28 -04:00
Tom Hughes
7986576b0e
Fix eslint warnings
2020-07-19 19:54:17 +01:00
Tom Hughes
2898633e72
Drop ch.disable from graphhopper parameters
2020-07-19 19:38:10 +01:00
Tom Hughes
a9b00e16e7
Merge remote-tracking branch 'upstream/pull/2695'
2020-07-16 19:30:55 +01:00
Tom Hughes
8a013c0a96
Merge remote-tracking branch 'upstream/pull/2711'
2020-07-15 21:31:18 +01:00
Andy Allan
89a57f33ef
Remove unused warning css
2020-07-15 19:34:19 +02:00
Andy Allan
0c098c3a1d
Convert data feature warning to use bootstrap alert
...
Also rearrange dialog to fit with standard sidebar layouts, so that
the close icon and load buttons are not within the paragraph.
There may be a better way to construct this!
2020-07-15 19:34:19 +02:00
Andy Allan
3012201160
Convert warnings to use bootstrap alerts
...
The new note is guidance, rather than a warning, so it gets the info
background
2020-07-15 19:09:46 +02:00
Andy Allan
a9f751ec45
Remove unnecessary css
...
Images have no border in modern browsers, and bootstrap's reset also
sets this.
2020-07-15 13:58:56 +02:00
Andy Allan
b4e7f5eaca
Remove unused css
2020-07-15 12:27:15 +02:00
Andy Allan
d89a30421c
Use bootstrap backgrounds and text utilities for read issue reports
2020-07-15 12:12:35 +02: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
58050240d6
Move the login form rules to be based on screen size
...
Ideally this would be refactored to be mobile-first, but is likely
to be replaced by more general bootstrap form refactoring anyway.
2020-07-15 11:21:08 +02:00
Andy Allan
46bd1a9a2e
Remove webkit-appearance: none
...
This is the default anyway, and we don't need this for anything specific.
2020-07-15 11:19:29 +02:00
Andy Allan
3f6fd290d7
Rework the about header size change to be based on the screen width, not the menu state
...
Also reworks to be mobile-first
2020-07-15 10:48:04 +02:00
Andy Allan
988446c307
Remove dead CSS code - nothing has the user_map class
2020-07-15 10:35:19 +02:00
Tom Hughes
92a4c1feff
Fix eslint warning
2020-07-08 19:25:03 +01:00
Tom Hughes
cfb2f2988c
Merge remote-tracking branch 'upstream/pull/2698'
2020-07-08 19:10:01 +01:00
Tom Hughes
efa2c20bff
Merge remote-tracking branch 'upstream/pull/2696'
2020-07-08 19:09:55 +01:00
Tom Hughes
4cf3c3b6ed
Merge remote-tracking branch 'upstream/pull/2670'
2020-07-08 19:04:04 +01:00
Tom Hughes
3a43f9fe04
Merge remote-tracking branch 'upstream/pull/2697'
2020-07-08 18:57:32 +01:00
Tom Hughes
77bece20ff
Merge remote-tracking branch 'upstream/pull/2700'
2020-07-08 18:43:26 +01:00
Andy Allan
8c326a6c1f
Remove unnecessary layout calls from api controllers
...
These were left over from the refactoring of the controllers into api and non-api versions.
2020-07-08 18:51:27 +02:00
Andy Allan
41d6f19a6b
Rename the notes#mine action to index
2020-07-08 18:43:30 +02:00
Andy Allan
1977e66ace
Use bootstrap text-muted in place of custom deemphasze class
...
This avoids changing anything related to forms, since they will be
switched over to bootstrap separately.
2020-07-08 18:30:15 +02:00
Andy Allan
6d9434e14d
Remove some extraneous css
...
The trace part is actually removing html, but I thought it was CSS
when I first noticed the blank space on the page.
2020-07-08 16:57:49 +02:00
Andy Allan
8192c0bd17
Rework the users#show page to avoid custom column css
...
This uses bootstrap instead, ensuring the map shows before the
text on small screens, but to the right of it on md+ widths. The
height of the map also changes at this breakpoint instead of being
based on the menu width (body.small).
The account edit page was also changed to match the content_map
changes, and a full width map is now used. This can be changed, if
required, using bootstrap breakpoints but I like it as it is.
2020-07-08 16:46:15 +02:00
Simon Poole
85cb71702e
Tuen on turn restriction support for graphhopper
...
No way of actually testing if this works, but it is based on https://docs.graphhopper.com/#operation/getRoute/parameters/point and https://www.graphhopper.com/blog/2020/07/08/turn-restriction-support-for-graphhoppers-directions-api/
2020-07-08 16:04:11 +02:00
Tom Hughes
9f993fe8c8
Fix new rubocop warnings
2020-07-07 10:44:52 +01:00
Tom Hughes
96ee7ef95c
Only report traces as offline when they are offline
2020-07-07 10:37:56 +01:00
Tom Hughes
ce99bfd9ac
Remove some debug logging comitted by mistake
2020-07-07 10:37:39 +01:00
Tom Hughes
2def62ee19
Fix errors with GPX offline mode
2020-07-05 14:49:12 +01:00
Tom Hughes
b8eaf227d9
Merge remote-tracking branch 'upstream/pull/2688'
2020-07-04 10:39:07 +01:00
Andy Allan
8cd83426cc
Make the back button not look disabled
...
This switches the message buttons to use bootstrap, so that we can have a back button that looks clickable.
Alternative implementation of #2386
2020-07-04 11:20:46 +02:00
Andy Allan
bae057dbdf
Avoid list markers for the richtext help text
2020-07-04 10:51:16 +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
Andy Allan
54616e9612
Add bootstrap_form formbuilder gem
2020-07-01 17:23:02 +02:00