Commit graph

5883 commits

Author SHA1 Message Date
Hidde Wieringa
cde4ac61a2
Also fix private road 2020-10-17 17:00:40 +02:00
Hidde Wieringa
2fe408d5f9
Update icon for destination access in map key 2020-10-17 16:56:42 +02:00
Andy Allan
2c1033f62d Rename Notifier to UserMailer
It's a convention in rails to name your mailers with a Mailer suffix, and is also common to name the class after the recipient (e.g. User, Admin). So UserMailer seems a reasonable choice.
2020-10-14 15:04:58 +02:00
Tom Hughes
3b56c005eb Merge remote-tracking branch 'upstream/pull/2838' 2020-09-30 11:57:18 +01:00
Tom Hughes
ddac660f3b Merge remote-tracking branch 'upstream/pull/2839' 2020-09-30 11:54:30 +01:00
Tom Hughes
7db541d697 Invalidate existing sessions when changing email or password
As we don't have any way to actually find the active sessions for
an account we instead store a fingerprint in the session, and refuse
to use any session with a different fingerprint.
2020-09-29 14:34:08 +01:00
Tom Hughes
c694c78c9a Delete any outstanding tokens when a user changes their email
This ensures that any tokens previously sent to the old email address
can no longer be used if somebody were able to access that address.
2020-09-29 13:47:40 +01:00
mmd-osm
37a7996d94 API User details: format tweaks
- _show_ to return single user only
- remove nesting for languages
2020-09-18 21:50:38 +02:00
Andy Allan
a988ad6f51 Style changeset descriptions with italics on browse pages
Alternative to #580

This reworks changeset descriptions to use italics instead of header
elements, in order to make them more like quotes.

Care has been taken to make sure that there is still a header element
as the first element of the common details partial, in order to make
the history pages look right (where the partial appears multiple times).
2020-09-16 18:51:20 +02:00
Tom Hughes
6078e642ba Fix erblint warnings 2020-09-16 16:59:10 +01:00
Andy Allan
b4b59df75e Show linked features as collapsable detail panels on feature browse pages
Fixes #2823

The panels are collapsed by default, when there is a long list of features, but
open on short lists to save on clicks. 10 items is arbitrary but seemed reasonable.
2020-09-16 15:28:03 +02:00
Andy Allan
f70ec18989
Merge pull request #2809 from tomhughes/bootstrap
Convert some more forms to use bootstrap
2020-09-16 10:43:21 +02:00
Tom Hughes
70c4a750d7 Fix new rubocop warnings 2020-09-16 08:28:25 +01:00
Tom Hughes
18b9b9f14c Fix new rubocop warnings 2020-09-07 07:11:22 +01:00
mmd-osm
0fb725ea61 API User details JSON format 2020-09-06 22:11:23 +02:00
Tom Hughes
9e75b8472f Convert oauth authorization form to use bootstrap 2020-09-04 00:36:43 +01:00
Tom Hughes
21adea321b Convert password reset forms to use bootstrap 2020-09-04 00:36:43 +01:00
Tom Hughes
c11142d5c0 Convert logout form to use bootstrap 2020-09-03 23:52:59 +01:00
Tom Hughes
e33848091e Convert user confirmation forms to use bootstrap 2020-09-03 23:51:23 +01:00
Tom Hughes
434b18b8ef Convert make/remove friend forms to use bootstrap 2020-09-03 23:49:32 +01:00
Tom Hughes
c2af89c00e Fix rubocop Style/SoleNestedConditional warnings 2020-09-02 18:54:55 +01:00
Tom Hughes
b7432e9432 Handle new rubocop warnings 2020-09-02 07:18:21 +01:00
Tom Hughes
e05748a9ff Make embed.js depend on the settings 2020-08-28 09:08:28 +01:00
Tom Hughes
8d34b03232 Only show the "too many messages" error once
Fixes #2790
2020-08-23 10:41:39 +01:00
Tom Hughes
6855616870 Allow CDN URL for the embed page to be configured 2020-08-19 21:44:24 +01:00
Tom Hughes
c597ead529 Merge remote-tracking branch 'upstream/pull/2783' 2020-08-19 17:39:18 +01:00
Tom Hughes
5c551d475f Merge remote-tracking branch 'upstream/pull/2782' 2020-08-19 17:31:56 +01:00
Andy Allan
adfb4dc619 Refactor client application pages to use bootstrap forms
Also rework the client application show page to be responsive
2020-08-19 16:58:43 +02:00
Andy Allan
a2c1fe7930 Avoid showing table header when there are no results 2020-08-19 16:58:43 +02:00
Andy Allan
56ed381a7d Rework issue search form to use Bootstrap form layout 2020-08-19 16:58:43 +02:00
Andy Allan
8df3010766 Refactor reports form to use bootstrap 2020-08-19 16:58:43 +02:00
Andy Allan
613b748c55 Avoid lego translations for coordinates
Use the i18n system for joining coordinate values together, while
avoiding making any changes or standardisation involving the exact
symbol used in each situation.

Refs #2732
2020-08-19 16:43:16 +02:00
Andy Allan
94008d9059 Fix remaining unstyled buttons by moving to bootstrap buttons 2020-08-19 14:54:36 +02:00
Andy Allan
85e5866c8f Wrap the welcome buttons in a standard-form CSS class 2020-08-19 14:52:44 +02:00
Tom Hughes
b74977ba8d Fix marker paths for embedded map
Fixes #2763
2020-08-10 18:20:23 +01:00
Tom Hughes
abca51e4d8 Fix some Style/StringConcatenation warnings 2020-08-09 19:48:16 +01:00
Tom Hughes
75e135869e Fix Style/ExplicitBlockArgument warnings 2020-08-09 19:06:04 +01:00
Tom Hughes
61f9d002ea Add some extra iD resources to the manifest
Closes #2762
2020-08-09 00:37:23 +01:00
Tom Hughes
a78da07f0b Correct path for mapnik marker images
Fixes #2759
2020-08-08 11:00:47 +01:00
Tom Hughes
ea59d95f4a Fix some new rubocop warnings 2020-08-06 22:27:30 +01:00
Tom Hughes
79447e7549 Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
Tom Hughes
447c05fcb8 Move jquery.cookie to be a yarn managed asset 2020-08-06 19:28:51 +01:00
Tom Hughes
6db96ae2fe Move ohauth to be a yarn managed asset 2020-08-06 19:28:51 +01:00
Tom Hughes
916c48fd47 Move leaflet.locatecontrol to be a yarn managed asset 2020-08-06 19:28:51 +01:00
Tom Hughes
4dcedf666c Move leaflet to be a yarn managed asset 2020-08-06 19:28:51 +01:00
Tom Hughes
5b061ef690 Move jquery.simulate to be a yarn managed asset 2020-08-06 19:19:55 +01:00
Tom Hughes
1a3e1ab7bc Move html5shiv to be a yarn managed asset 2020-08-06 19:19:55 +01:00
Tom Hughes
0e2a66e8de Fix new rubocop warnings 2020-08-06 18:42:16 +01:00
Tom Hughes
4d2ea31516 Don't fall back to name:en if it's not in the user's language list
Fix to #2755
2020-08-06 14:21:30 +01:00
Tom Hughes
c24c2e481c Merge remote-tracking branch 'upstream/pull/2667' 2020-08-05 21:50:08 +01:00