Commit graph

6303 commits

Author SHA1 Message Date
Tom Hughes
226e2d654a Merge remote-tracking branch 'upstream/pull/3891' 2023-01-11 18:42:16 +00:00
Andy Allan
4c564e5a32 Move more api-related helper methods to ApiController
This prevents them from being inadvertently used in non-API controllers
2023-01-11 15:28:59 +00:00
Andy Allan
a7f0de41e6 Use web_timeout for notes controller
This controller doesn't handle any API methods, and so the api call
error handling isn't appropriate.
2023-01-11 15:28:02 +00:00
Tom Hughes
a119240216 Add database checks to issue and report controllers
Fixes #3875
2023-01-11 11:12:36 +00:00
Tom Hughes
2ee5a63ead Merge remote-tracking branch 'upstream/pull/3886' 2023-01-11 10:57:04 +00:00
Tom Hughes
4e0c5f5fcb Make distances in directions translatable
Fixes #3888
2023-01-10 20:58:10 +00:00
Richard Fairhurst
b7887b049f Remove Geonames and geocoder.ca 2023-01-09 21:23:48 +00:00
Tom Hughes
152e524002 Make error pages translatable
Fixes #3877
2023-01-09 19:32:22 +00:00
Tom Hughes
52078b5d76 Escape each portion of a semicolon seprated value individually
Fixes #3872
2023-01-04 15:41:54 +00:00
Tom Hughes
fb81107b6e Merge remote-tracking branch 'upstream/pull/3868' 2023-01-03 19:20:31 +00:00
Kyle Hensel
e774e1619c
fix formatting 2023-01-02 12:50:37 +13:00
Dimitar
3247ffd57c
Added missing </p> tag 2023-01-01 16:06:41 +02:00
Kyle Hensel
305acfe516
fix formatting of tag values with semicolon-separated URLs 2022-12-31 17:30:03 +13:00
Tom Hughes
9cb7a7b36b Don't allow any abilities for inactive users 2022-12-23 16:37:33 +00:00
Tom Hughes
445e8162e9 Revoke authentication tokens when a user is deleted 2022-12-23 16:24: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
Tom Hughes
3ff8ef52b7 Merge remote-tracking branch 'upstream/pull/3848' 2022-12-22 16:43:41 +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
Andy Allan
f78c032b07 Use buttons for dropdown toggles
These elements don't link to another page, and so there's no need
to use a link that leads to nowhere.
2022-12-22 09:56:56 +00:00
Andy Allan
ace8e9a9c3 Fix redirection to wiki when terms are declined
Adds missing test to pick this up.

Fixes #3826.
2022-12-21 15:39:23 +00:00
Tom Hughes
fd283efa51 Fix new rubocop warnings 2022-12-20 18:57:12 +00: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
Andy Allan
a11e156f56 Use mail_to help to avoid handcrafting mailto links
This also reworks the user suspended page to avoid having html in
the translation strings.
2022-11-30 11:13:44 +00:00
Andy Allan
067b0de439
Merge pull request #3676 from harry-wood/notes-disappear-time
Display how long until a note will disappear
2022-11-23 15:44:26 +00:00
Tom Hughes
8cef62cd2c Merge remote-tracking branch 'upstream/pull/3301' 2022-11-22 18:47:24 +00:00
Tom Hughes
dc28f1dccc Fix new rubocop warnings 2022-11-22 18:32:02 +00:00
Tom Hughes
17e87ab67a Merge remote-tracking branch 'upstream/pull/3805' 2022-11-17 17:51:46 +00:00
Tom Hughes
c0278a01da Merge remote-tracking branch 'upstream/pull/3803' 2022-11-17 17:49:17 +00:00
Andy Allan
97b7bac956 Use the mail_to method to construct a mailto link for browse tag values
This is easier than building a mailto link ourselves. Also implement
the missing title tag and write a test for it.
2022-11-17 12:53:33 +00:00
Andy Allan
1559d88048 Create a second title_user translation, to avoid using html_safe 2022-11-17 12:10:49 +00:00
Andy Allan
972249ce9d Reconfigure the suspended flash message to avoid html_safe
This also avoids having raw html in the translation strings
2022-11-17 12:04:28 +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
Andy Allan
af6fec502a Validate URLs against supply-chain attacks
Unfortunately validates_url gem doesn't support mailto or xmpp urls,
so we need to write our own validation.
2022-11-02 18:21:00 +00:00
Andy Allan
6bbd8490fe Remove outdated comments
The action no longer deals with sending, and there's no display_name
param in this bit of code so it's a bit confusing.
2022-11-02 11:22:29 +00:00
Andy Allan
22946d703a Enable the ActionOrder cop for remaining controllers
Where actions were reordered, the rails standard actions were
also moved to the top of each controller.
2022-11-02 11:06:00 +00:00
Tom Hughes
49cde0e901 Fix new rubocop warnings 2022-11-01 18:42:24 +00:00