Commit graph

7978 commits

Author SHA1 Message Date
Anton Khorev
f5980aca56 Truncate usernames in trace navigation tabs 2024-12-04 13:09:46 +03:00
Anton Khorev
821ebdd57b Use fetch() instead of iframe to make remote control requests 2024-12-04 12:30:19 +03:00
Anton Khorev
156c526c22 Change block end column to display strictly ends_at
Could display when block was viewed before. That's going to be unintuitive if sorting by different times is introduced.
2024-12-04 10:48:03 +03:00
Anton Khorev
30da09c5a1 Rearrange data in blocks table to start/end/status columns 2024-12-04 10:48:03 +03:00
Anton Khorev
6b55cce25c Use relation icon instead of word in containing relations 2024-12-04 10:30:44 +03:00
Tom Hughes
572d1adaae Merge remote-tracking branch 'upstream/pull/5372' 2024-12-03 18:36:23 +00:00
Anton Khorev
2d36aa74db Truncate if necessary and set dir=auto for message usernames 2024-12-03 10:48:59 +03:00
Anton Khorev
c739e061cc Truncate if necessary and set dir=auto for changeset usernames 2024-12-03 10:24:56 +03:00
Tom Hughes
bc70cae711 Merge remote-tracking branch 'upstream/pull/5366' 2024-12-02 15:00:45 +00:00
Tom Hughes
c4988a69b4 Merge remote-tracking branch 'upstream/pull/5365' 2024-12-02 15:00:42 +00:00
Anton Khorev
20ae1926a8 Truncate usernames in block navigation tabs 2024-12-02 12:22:45 +03:00
Anton Khorev
c4d16abeb7 Set dir=auto on usernames in block lists 2024-12-02 12:02:04 +03:00
Anton Khorev
0babf98256 Set dir=auto on username in header 2024-12-02 10:56:23 +03:00
Anton Khorev
9f34143049 Store selected map color scheme 2024-12-01 04:58:43 +03:00
Anton Khorev
444a691578 Add map color scheme select to preferences form 2024-12-01 04:58:00 +03:00
Anton Khorev
a35f360d5e Show map color scheme on user preferences page 2024-12-01 04:58:00 +03:00
Anton Khorev
141a216423 Set map color scheme depending on user preferences 2024-12-01 04:58:00 +03:00
Anton Khorev
3d79f9fd88 Make a generic preferred color scheme method 2024-12-01 04:58:00 +03:00
Anton Khorev
045af66d43 Store selected site color scheme 2024-12-01 04:43:31 +03:00
Anton Khorev
bad03267c1 Add site color scheme select to preferences form 2024-12-01 04:40:01 +03:00
Anton Khorev
d0b8278c4a Show site color scheme on user preferences page 2024-12-01 04:39:51 +03:00
Anton Khorev
2ca74ab3ef Add auto/manual color scheme stylesheets depending on user preferences 2024-12-01 03:55:19 +03:00
Tom Hughes
8a020b3ec7 Don't send comment text when reopening a note
Fixes #5359.
2024-11-29 17:41:00 +00:00
Andy Allan
ce342fede0 Move html_safe declaration for user_mailer from layout to helper
This allows us to enable output safety checks for all code within
erb files.

`rubocop --auto-gen-config` ignores code within the erb files, so
it is easier to maintain an exclusion on the helper than inside
the layout.
2024-11-27 18:04:32 +00:00
Andy Allan
c47a40c1db
Merge pull request #4316 from AntonKhorev/block-reason-max-length
Set max length of block reason
2024-11-27 17:02:25 +00:00
Anton Khorev
26cd62d5f2 Add default browse icons for nodes, ways, relations 2024-11-24 03:04:11 +03:00
Tom Hughes
2882a65d21 Merge remote-tracking branch 'upstream/pull/5349' 2024-11-22 17:51:49 +00:00
Anton Khorev
126a987aa8 Move layer definitions to yml 2024-11-22 03:16:20 +03:00
Anton Khorev
703990a5bb Move map layer ids/codes/keys to layer definition data 2024-11-22 01:06:22 +03:00
Anton Khorev
aca9bd205e Add subscribe/unsubscribe buttons to note pages 2024-11-22 00:55:41 +03:00
Anton Khorev
00270dd86e Collect map layer credits into a data structure 2024-11-21 20:24:02 +03:00
Anton Khorev
53a33110f0 Add destroy note subscription api endpoint 2024-11-20 20:35:24 +03:00
Anton Khorev
edd12c6995 Add create note subscription api endpoint 2024-11-20 20:34:52 +03:00
Anton Khorev
a25b7953b3 Merge branch 'pull/5297' 2024-11-18 18:15:25 +03:00
Emin Kocan
738e66afa6 Add status filter to user's note page 2024-11-18 15:21:55 +01:00
Marwin Hochfelsner
abb923382c
Enable dark mode attribution font color
Increases the specificity of the dark mode attribution selector. This makes it overwrite Leaflet's default link selector.
2024-11-17 15:28:06 +01:00
Andy Allan
22942b1ca1
Merge pull request #5333 from AntonKhorev/auth-buttons-same-as-preferred
Style small auth buttons similarly to preferred auth buttons
2024-11-15 16:15:05 +00:00
Andy Allan
377391e8bb
Merge pull request #5331 from AntonKhorev/trace-badges-text-bg
Set colors for trace visibility badges using .text-bg-*
2024-11-15 16:14:02 +00:00
Anton Khorev
24ccba60cb Style small auth buttons similarly to preferred auth buttons 2024-11-15 19:09:57 +03:00
Anton Khorev
61aecd32a4 Set background for layer buttons to secondary body color 2024-11-15 18:33:16 +03:00
Anton Khorev
cfe08d42d6 Set colors for trace visibility badges using .text-bg-* 2024-11-15 18:09:03 +03:00
Anton Khorev
8497760870 Apply dimming filter to tiles directly 2024-11-15 17:38:02 +03:00
Anton Khorev
808c2cbfa9 Remove jQuery.timers plugin 2024-11-14 13:43:41 +03:00
Andy Allan
ae00fa84c8 Merge pull request #4761 from AntonKhorev:dark-mode-with-close-button
Enable dark theme if user prefers dark color scheme - no javascript version
2024-11-13 20:26:47 +00:00
Andy Allan
7f611b295f
Merge pull request #5151 from AntonKhorev/no-history-and-export-buttons
Move History and Export buttons to secondary nav
2024-11-13 19:15:59 +00:00
Andy Allan
cdf9634d08
Merge pull request #5293 from AntonKhorev/user-roles-resourceful-routes
Use resourceful routes for granting/revoking user roles
2024-11-13 18:45:16 +00:00
Tom Hughes
380027ffe0 Merge remote-tracking branch 'upstream/pull/5316' 2024-11-13 17:05:12 +00:00
Tom Hughes
349f5e0655 Merge remote-tracking branch 'upstream/pull/5315' 2024-11-13 17:00:06 +00:00
Tom Hughes
d975100504 Merge remote-tracking branch 'upstream/pull/5312' 2024-11-13 16:55:44 +00:00
Anton Khorev
f6141277d5 Remove unused timer from new note js controller 2024-11-13 15:54:20 +03:00