Tom Hughes
428e7d6baa
Merge remote-tracking branch 'openstreetmap/pull/1467'
2017-02-26 22:22:48 +00:00
Simon Poole
12013f60a0
Externalize message about missing OAuth capabilities/permissions and make it less technical
2017-02-26 21:43:43 +01:00
Tom Hughes
40a8e5caf5
Add support for Content-Security-Policy
...
Currently this is report only, and disabled unless a report URL has
been set in the application configuration.
2017-02-26 19:48:13 +00:00
Tom Hughes
8db0548119
Remove explicit context menu width
...
Firefox and Chromium at least seem to autosize correctly based
on the actual text in use for a given locale.
2017-02-25 10:57:00 +00:00
Tom Hughes
4b43396ede
Rename 'clickable' to 'interactive' per leaflet 1.x change
2017-02-24 23:10:12 +00:00
Tom Hughes
392b68a65f
Merge remote-tracking branch 'openstreetmap/pull/1436'
2017-02-23 10:06:42 +00:00
Tom Hughes
ad0e829fc7
Enable context menu on mouse down with no shift pressed
2017-02-21 09:16:38 +00:00
Tom Hughes
425f3f309b
Use created at for RSS format with note#show
...
This matches other formats and is also what the tests expect.
2017-02-20 08:50:56 +00:00
Tom Hughes
1e9a3f8664
Merge remote-tracking branch 'openstreetmap/pull/1445'
2017-02-19 11:38:27 +00:00
Holger Jeromin
d716e4095b
Fix shift key handling in contextmenu
2017-02-19 09:45:47 +01:00
Simon Poole
998a84a1b4
Small improvement to block status display
2017-02-18 18:08:25 +01:00
Tom Hughes
0bdf29f10b
Merge branch 'contextmenu'
2017-02-18 16:20:20 +00:00
Tom Hughes
af72cb51e9
Fix rubocop warnings
2017-02-18 16:18:04 +00:00
Tom Hughes
8e6a5c21cb
Merge remote-tracking branch 'openstreetmap/pull/1443'
2017-02-18 16:08:04 +00:00
Simon Poole
7f05783949
Make test for a "zero hour" block more robust
2017-02-18 17:05:36 +01:00
Tom Hughes
7a0766a5e6
Apparently some fool things the colon is part of the protocol
2017-02-18 15:38:14 +00:00
Simon Poole
58c61c7962
Actually use user_block
2017-02-18 16:17:46 +01:00
Simon Poole
823f6b4d36
Add functionality to return a specific message for zero hour blocks
2017-02-18 13:53:21 +01:00
Tom Hughes
b170c06d5c
Preserve protocol in standard links
2017-02-18 12:18:34 +00:00
Tom Hughes
77fee91785
Preserve protocol in short links
2017-02-18 12:08:58 +00:00
Tom Hughes
9fb382eaa9
Initialise locale before looking up user blocked error
2017-02-17 19:59:06 +00:00
Matt Amos
469f64384d
Implement the OWG credit policy for hosting partners.
...
See https://operations.osmfoundation.org/policies/hosting/
2017-02-17 11:52:04 +00:00
Tom Hughes
d1044674c5
Merge remote-tracking branch 'openstreetmap/pull/1439'
2017-02-16 20:31:34 +00:00
Nicolas Cornu
63fca227ca
Add line segment to each steps of GraphHopper routing
2017-02-16 21:19:55 +01:00
Nicolas Cornu
ffeddd62a8
Fix latLng from GraphHopper engine
...
latLng is an array and not a latLng object
2017-02-16 20:59:42 +01:00
Herve Saint-Amand
cc65b2d126
Fixed quote style to please rubocop
2017-02-13 12:08:41 +00:00
Tom Hughes
e23541c20f
Allow a POST with no arguments to trace#edit to fetch the form
2017-02-13 10:09:43 +00:00
Herve Saint-Amand
a520f1251c
merging master into html-mail-fixes
2017-02-12 21:05:38 +00:00
Tom Hughes
8376a430b6
Allow context menu to add notes without panning the map
2017-02-12 19:19:14 +00:00
Tom Hughes
e58a5c69d3
Make context menu entries translateable
2017-02-12 19:19:14 +00:00
Tom Hughes
430978fab7
Improve context menu initialisation to avoid namespace pollution
2017-02-12 19:19:13 +00:00
Tom Hughes
043d29fd7e
Merge remote-tracking branch 'openstreetmap/pull/1030' into next
2017-02-12 15:04:50 +00:00
Herve Saint-Amand
fcba1a9857
A better way to contrain the width of the message box whilst also allowing it to shrink on narrow displays
...
Setting a hard "width" it very compatible, but won't squeeze on narrow screens. Setting max-width works well, except in Outlook and Hotmail. We resort to old skool table tricks: a table with width=100%, with 3 columns, only oneof which, the middle one, had content, and a fixed with. This works.
2017-02-12 12:04:43 +00:00
Herve Saint-Amand
6964c44584
Two more "nowrap" instructions removed to accommodate narrower displays
2017-02-11 21:08:36 +00:00
Herve Saint-Amand
acf933055f
Remove nowrap on footer text, to accommodate narrow screens
2017-02-11 20:51:03 +00:00
Herve Saint-Amand
44d4a521a3
Set font on title
2017-02-11 20:50:28 +00:00
Herve Saint-Amand
82a6bb0d5a
Make the mails squeezable on narrow screens
2017-02-09 21:39:49 +00:00
Tom Hughes
c439f957ae
Only add traces for POST requests
2017-02-09 21:07:44 +00:00
Tom Hughes
92fe7a8506
Only create diary entries for POST requests
2017-02-09 21:07:18 +00:00
Herve Saint-Amand
852cc97707
Fixed alignment & underlining bugs in Outlook / WinMail
2017-02-09 20:38:02 +00:00
Tom Hughes
afa82bd2b1
Render message properly on error
2017-02-09 20:20:55 +00:00
Tom Hughes
4709d90594
Only send messages for POST requests
2017-02-09 19:37:48 +00:00
Herve Saint-Amand
f2645dd699
Avoid squished-up grey borders around the message on narrow screens
2017-02-08 23:23:46 +00:00
Herve Saint-Amand
5a6c0eb49e
Even out the widths of the white bars around the message box
2017-02-08 23:00:52 +00:00
Herve Saint-Amand
68b1d33917
Better alt text for the logo
...
This is what clients that block images will display, so shorter is better.
2017-02-08 22:37:00 +00:00
Herve Saint-Amand
cca78f9790
Use the same fonts for the footer text as for the rest of the mail
2017-02-08 22:36:21 +00:00
Herve Saint-Amand
07531e8477
Fix title alignment in Outlook/WindowsMail
2017-02-08 22:35:42 +00:00
Herve Saint-Amand
448a68447f
Don't display a box at all if the note event doesn't include a comment body
...
Before this it just displays en empty box, which looks wrong.
2017-02-08 22:22:21 +00:00
Herve Saint-Amand
68a4002366
Removed italic styling on message body
...
Contributor BushmanK pointed out quite rightly that italic isn't appropriate for a full body of text.
2017-02-08 21:34:10 +00:00
Herve Saint-Amand
f3941b7ee0
Force the font on every <p> tag
...
Without this Outlook and Windows Mail don't honour the font set at the top level. Note that this change predates all the screenshots I uploaded to the wiki on 2017-02-02, I'd just forgotten to commit them.
2017-02-08 21:34:10 +00:00