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
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
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
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
7565f5aa4a
Merge remote-tracking branch 'upstream/pull/5440'
2024-12-30 12:40:11 +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
Tom Hughes
2042cb1ac6
Merge remote-tracking branch 'upstream/pull/5446'
2024-12-29 18:55:54 +00:00
Tom Hughes
cffadd7c91
Merge remote-tracking branch 'upstream/pull/5442'
2024-12-29 18:43:29 +00:00
Anton Khorev
c7e038a4d0
Use resourceful routes for web mailboxes
2024-12-29 08:40:39 +03:00
Anton Khorev
fcfb7d4af1
Replace resent confirmation link with button
2024-12-29 06:28:26 +03:00
Anton Khorev
127e376bf0
Move code that runs after user save from save_new_user to create method
2024-12-29 04:43:18 +03:00
Anton Khorev
c4e473ed89
Wrap diary entry location coordinates
2024-12-25 00:55:36 +03:00
Anton Khorev
df1c59280f
Add revoke all actions to received blocks resource
2024-12-24 08:18:58 +03:00
Anton Khorev
2df389c97e
Create received blocks resource
2024-12-24 07:54:50 +03:00
Anton Khorev
7a4115f090
Create issued blocks resource
2024-12-24 07:54:11 +03:00
Anton Khorev
5dbf32d945
Remove check_api_readable from api messages controller
2024-12-23 04:10:05 +03:00
Anton Khorev
45c90003c6
Use resourceful routes for api messages in/outbox
2024-12-22 07:03:41 +03:00
Anton Khorev
cdce867183
Merge ApiCapability class into ApiAbility
2024-12-20 18:39:08 +03:00