Commit graph

15397 commits

Author SHA1 Message Date
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
Tom Hughes
a6b8cf3e64 Merge remote-tracking branch 'upstream/pull/5454' 2025-01-03 19:19:52 +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
Tom Hughes
7286ad027c Merge remote-tracking branch 'upstream/pull/5457' 2025-01-02 18:50:39 +00:00
Tom Hughes
402d7b9c10 Merge remote-tracking branch 'upstream/pull/5456' 2025-01-02 18:49:04 +00:00
Tom Hughes
b93b03fdab Merge remote-tracking branch 'upstream/pull/5455' 2025-01-02 18:44:56 +00:00
translatewiki.net
fc13e29d81
Localisation updates from https://translatewiki.net. 2025-01-02 13:15:49 +01:00
Anton Khorev
d57033fa87 Use resourceful route for new message 2025-01-02 10:28:03 +03:00
Anton Khorev
6f4b06df70 Remove test_logout_removes_session_token 2025-01-02 10:00:21 +03:00
Anton Khorev
f0b8498879 Remove commit parameter from diary controller test 2025-01-02 09:15:24 +03:00
Tom Hughes
d38f6484e1 Merge remote-tracking branch 'upstream/pull/5451' 2025-01-01 13:34:16 +00:00
Tom Hughes
eaa5f583f8 Merge remote-tracking branch 'upstream/pull/5443' 2025-01-01 11:37:53 +00: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
Anton Khorev
17ab002c04 Remove active class from addNoteButton only in page.unload()
Same reasons as in the previous commit.
2025-01-01 02:13:59 +03:00
Anton Khorev
5542858315 Call removeNewNoteMarker() only from page.unload()
It was also called from noteCreated() but that triggered page.unload() via OSM.router.route().
2025-01-01 02:13:59 +03:00
Anton Khorev
6cc31259e4 Add addNewNoteMarker() and removeNewNoteMarker() functions
This ensures that marker is always added/removed together with its halo.
2025-01-01 02:13:59 +03:00
Anton Khorev
4ea6077ddb Convert newHalo() to addHalo() and removeHalo()
newHalo() wasn't always creating new halos. It had an event type argument that was checked against drag event. Depending on this check, newHalo() could remove the halo.
2025-01-01 01:53:55 +03:00
Anton Khorev
f1835c914c Move new note page.pushstate/popstate next to page.load 2024-12-31 23:47:55 +03:00
Anton Khorev
dc59b37fe1 Add new note marker to root map layer instead of noteLayer
We want the new note marker in the same layer with its halo. Also we don't want to put anything in noteLayer because it clears its contents on certain zoom levels.
2024-12-31 23:47:55 +03:00
Anton Khorev
18f3adbf5d Remove unused return value of addCreatedNoteMarker()
This function adds a marker to notes layer. This controller doesn't need to do anything with markers of existing notes.
2024-12-31 23:46:29 +03:00
Anton Khorev
ae5b7812cc Rename updateMarker() to addCreatedNoteMarker()
This function doesn't update any existing marker.
2024-12-31 23:46:29 +03:00
Anton Khorev
9d8ca8be11 Pass location instead of marker to createNote() 2024-12-31 23:42:40 +03:00
Anton Khorev
954eafd424 Move create note callback to button click handler 2024-12-31 23:37:34 +03:00
Anton Khorev
f169299b53 Don't pass url to createNote() 2024-12-31 23:25:11 +03:00
Anton Khorev
63a4f12550 Pass text instead of form to createNote() 2024-12-31 23:22:59 +03:00
Anton Khorev
fa0c12cdcd Disable new note submit button in click handler 2024-12-31 23:02:47 +03:00
Anton Khorev
c4709e2a05 Rename newNote to newNoteMarker 2024-12-31 22:37:41 +03:00
Tom Hughes
324210c8bb Update bundle 2024-12-31 17:12:12 +00:00
dependabot[bot]
91ea18ef7a
Bump leaflet.locatecontrol from 0.82.0 to 0.83.0
Bumps [leaflet.locatecontrol](https://github.com/domoritz/leaflet-locatecontrol) from 0.82.0 to 0.83.0.
- [Changelog](https://github.com/domoritz/leaflet-locatecontrol/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/domoritz/leaflet-locatecontrol/compare/v0.82.0...v0.83.0)

---
updated-dependencies:
- dependency-name: leaflet.locatecontrol
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-30 23:11:07 +00:00
Tom Hughes
7565f5aa4a Merge remote-tracking branch 'upstream/pull/5440' 2024-12-30 12:40:11 +00:00
Tom Hughes
e0f3030353 Update leaflet-osm to latest upstream version 2024-12-30 12:19:34 +00:00
Tom Hughes
782e619de2 Merge remote-tracking branch 'upstream/pull/5448' 2024-12-29 19:11:13 +00:00
Tom Hughes
bdd36c763d Merge remote-tracking branch 'upstream/pull/5447' 2024-12-29 19:00:23 +00:00