Commit graph

7914 commits

Author SHA1 Message Date
Anton Khorev
87e7f887f5 Remove account terms code unreachable for unregistered users 2025-01-16 19:05:53 +03:00
Andy Allan
f32aea6d14
Merge pull request #5433 from AntonKhorev/user-routes-api-namespace
Resourceful routes for users api
2025-01-15 12:55:41 +00:00
Andy Allan
b8a1a904c6
Merge pull request #5449 from AntonKhorev/edit-preferences
Make preferences page editable without clicking 'Edit Preferences'
2025-01-15 12:49:34 +00:00
Tom Hughes
473aff084d Fix new rubocop warnings 2025-01-14 18:31:52 +00:00
Etilène Jourdier
0f2df0b9ef display an encouragement to contribute after many anonymous notes
create a counter of anonymous notes in a cookie, read by new note controller to display an encouragement to contribute in the already existing anonymous warning if the anonymous visitor has already created at least 10 anonymous notes. Cookie deleted on log-in and sign-up after email validation
2025-01-13 14:36:21 +03:00
Anton Khorev
4c73b2651c Rename gpx description template to details
"Description" is just one of trace properties, details include description and other things.
2025-01-11 16:03:59 +03:00
Anton Khorev
be8d76926c Move number of points to file details in gpx emails 2025-01-11 16:03:59 +03:00
Tom Hughes
a6c6f26acb Merge remote-tracking branch 'upstream/pull/5487' 2025-01-09 18:08:31 +00:00
Anton Khorev
45abfe49e1 Merge branch 'pull/5484' 2025-01-09 17:20:25 +03:00
Andy Allan
55e3f90dd4 Show diary entry after creation
This allows users to review their post and use the social share
buttons more easily.

Refs #1391
2025-01-09 13:38:54 +00:00
Anton Khorev
6c0366d2a2 Move trace descriptions out of success/failure sentences in emails 2025-01-09 14:16:32 +03:00
Anton Khorev
606b5c1b6a Use resourceful routes for terms view/accept/decline 2025-01-08 22:19:35 +03:00
Anton Khorev
44843c1dd7 Remove slashes from body css classes 2025-01-08 22:11:28 +03:00
Tom Hughes
c20160d313 Merge remote-tracking branch 'upstream/pull/5459' 2025-01-07 19:08:13 +00:00
Tom Hughes
3c5e89e69a Merge remote-tracking branch 'upstream/pull/5479' 2025-01-07 18:31:05 +00:00
Anton Khorev
23488f2028 Move browse/feature template to elements/show 2025-01-07 13:41:47 +03:00
Anton Khorev
e74273d496 Add ElementsController base class 2025-01-07 13:40:25 +03:00
Anton Khorev
3df14c5a40 Report deactivates_at as block read date 2025-01-07 13:19:33 +03:00
Anton Khorev
937d461106 Update arguments of data overlay interestingNode() 2025-01-07 11:26:15 +03:00
Tom Hughes
f946797520 Merge remote-tracking branch 'upstream/pull/5476' 2025-01-06 19:07:56 +00:00
Anton Khorev
7e8fd5d7b7 Check deactivates_at to report if block was read after its end date 2025-01-06 21:10:18 +03:00
Anton Khorev
68e55078ec Make browse not found pages consistent 2025-01-06 20:15:57 +03:00
Tom Hughes
231177aa29 Merge remote-tracking branch 'upstream/pull/5464' 2025-01-05 16:38:12 +00:00
Tom Hughes
6e444155d6 Merge remote-tracking branch 'upstream/pull/5471' 2025-01-05 16:23:49 +00:00
Tom Hughes
cdcf15e7b1 Merge remote-tracking branch 'upstream/pull/5470' 2025-01-05 16:17:20 +00:00
Tom Hughes
3faf9a77f7 Merge remote-tracking branch 'upstream/pull/5469' 2025-01-05 16:14:18 +00:00
Anton Khorev
c887f1d7b2 Use details attribute to render changeset bounding box
Do this instead of using L.OSM.DataLayer. DataLayer makes an extra request just to get the bbox. Also it expects bbox to always exist, which is not true for some changesets.
2025-01-05 18:18:33 +03:00
Anton Khorev
0b0569f150 Write details attribute to changeset page 2025-01-05 17:57:31 +03:00
Anton Khorev
bb4720f09b Move changeset data to a helper 2025-01-05 17:35:37 +03:00
Anton Khorev
b816f5b27e Remove 'center' argument of addChangeset()
It is always set to true.
2025-01-05 17:28:36 +03:00
Anton Khorev
7a99295884 Remove zoomend listener on history unload 2025-01-05 15:02:25 +03:00
Anton Khorev
11b887c118 Allow thirdparty images on failed diary comment saves 2025-01-05 09:55:48 +03:00
Anton Khorev
201796cced Fix options passed by allow_thirdparty_images 2025-01-04 18:47:51 +03:00
Anton Khorev
3350789978 Show outbox after sending new message 2025-01-04 18:24:47 +03:00
Anton Khorev
27d82356ab Move redacted version locale strings to old_elements 2025-01-04 17:41:29 +03:00
Anton Khorev
dda0fb6597 Move history_title_html locale string to old_elements 2025-01-04 17:35:05 +03:00
Anton Khorev
c992d51fe2 Move browse history template to old elements directory 2025-01-04 17:22:38 +03:00
Anton Khorev
ccf71302e9 Move element version actions template to old elements directory 2025-01-04 17:11:48 +03:00
Anton Khorev
cb80bd3b96 Add OldElementsController base class 2025-01-04 17:00:43 +03:00
Tom Hughes
95b919c5d1 Merge remote-tracking branch 'upstream/pull/5461' 2025-01-03 19:32:42 +00:00
Tom Hughes
c8c13e7d00 Merge remote-tracking branch 'upstream/pull/5460' 2025-01-03 19:29:28 +00:00
Tom Hughes
44ec0e02fc Merge remote-tracking branch 'upstream/pull/5458' 2025-01-03 19:21:29 +00:00
Anton Khorev
eec5cadf2a Rename Account module to Accounts 2025-01-03 15:40:59 +03:00
Anton Khorev
615a669345 Convert Auth.providers into array 2025-01-03 14:09:53 +03:00
Anton Khorev
13994ca6ca Use resourceful routes for user new/create actions 2025-01-03 11:45:26 +03:00
Anton Khorev
f7b0e87973 Remove "expired unread" short block status
It was supposed to mean that the block is past its end date but still wasn't read by the user. That turned out to be confusing because although it said "expired", such blocks were active.
2025-01-03 11:37:32 +03:00
Anton Khorev
0016c6f4b1 Use resourceful route for message reply 2025-01-03 11:12:29 +03:00
Anton Khorev
27aa2ed591 Move new note marker to click location
If not done, it's possible to lose the marker when starting from low zooms.
2025-01-01 02:34:22 +03:00
Anton Khorev
5603309026 Decrease new note marker opacity when zoomed out 2025-01-01 02:34:22 +03:00
Anton Khorev
feb7af2020 Let page.load proceed when zoomed out, disabling submit
Note that addNoteButton.hasClass("active") check in page.load is useless because page.unload removes this class.
2025-01-01 02:32:06 +03:00