Commit graph

6372 commits

Author SHA1 Message Date
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
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
Tom Hughes
3d0b94abda Merge remote-tracking branch 'upstream/pull/3768' 2022-10-25 19:28:10 +01:00
Tom Hughes
460ed0c844 Fix new rubocop warnings 2022-10-25 19:19:57 +01:00
Anton Khorev
225b260640 Pass min/max lat/lon to notes index rss builder 2022-10-25 13:52:28 +03:00
Anton Khorev
0c8b9eabf3 Pass min/max lat/lon to notes rss feed builder 2022-10-25 13:35:18 +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
b0a741412f
Merge pull request #3700 from AntonKhorev/about
Replace <h5> used to set the font size with Bootstrap class h5
2022-10-19 15:58:17 +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
140b296f59 Test that tags are included correctly in the changeset feed 2022-10-18 18:42:02 +01:00
Malte Gerken
4492118dbc
Fix malformed tags table in changeset atom feed 2022-10-17 15:37:07 +02: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
Anton Khorev
809a8b3db0 Remove note from edit link when it's not a current object 2022-10-05 22:58:33 +03:00
Tom Hughes
d8c1b28fde Add some whitespace for readability 2022-10-05 19:00:16 +01:00
Tom Hughes
44810b2b39 Merge remote-tracking branch 'upstream/pull/3732' 2022-10-05 18:59:18 +01:00
Anton Khorev
d8a3453bee Remove unused note id data attributes 2022-10-04 16:12:48 +03:00
Anton Khorev
ec34d22039 Treat notes as map objects 2022-10-04 15:40:25 +03:00
Anton Khorev
fdcd5d6b80 Keep id passed to note page for subsequent use in map current object 2022-10-04 15:32:33 +03:00