Commit graph

7759 commits

Author SHA1 Message Date
Tom Hughes
c4988a69b4 Merge remote-tracking branch 'upstream/pull/5365' 2024-12-02 15:00:42 +00: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
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
Tom Hughes
a42b654606 Make the "remember me" option work as intended 2024-11-13 12:18:23 +00:00
Anton Khorev
c3b17aa506 Show spinner using delayed css animation in sidebar loader 2024-11-13 15:15:54 +03:00
Anton Khorev
9fded02450 Show spinner using delayed css animation in richtext preview 2024-11-13 15:05:20 +03:00
Anton Khorev
ff0569829f Don't update deactivates_at if block was already viewed 2024-11-13 01:41:11 +03:00
Tom Hughes
6042632806 Merge remote-tracking branch 'upstream/pull/5310' 2024-11-12 19:01:22 +00:00
Anton Khorev
a05692a3f6 Restore loading spinner in richtext previews 2024-11-08 15:04:38 +03:00
Anton Khorev
2347906725 Send notifications to note subscribers instead of commenters 2024-11-08 11:40:55 +03:00
Tom Hughes
3a1b4cbe33 Merge remote-tracking branch 'upstream/pull/5307' 2024-11-08 08:03:41 +00:00
Anton Khorev
771b75ed71 Replace query marker fade animation with css 2024-11-08 10:50:47 +03:00
gobinathal
2d8feb6d79 Remove hardcoded rate limit value
Name is chosen to match the equivalent setting in the configuration
of the rate limits for edits.

Fixes #4427.
2024-11-07 18:33:53 +00:00
Anton Khorev
b8247478f4 Use resourceful routes for granting/revoking user roles 2024-11-06 18:38:26 +03:00
Tom Hughes
dbb462ca0f Merge remote-tracking branch 'upstream/pull/5284' 2024-10-31 18:00:39 +00:00
Tom Hughes
9b9e857b72 Adjust imports for leaflet.locatecontrol 2024-10-30 18:41:43 +00:00
Anton Khorev
2d7e0a397a Subscribe users when they interact with notes 2024-10-28 02:35:25 +03:00
Anton Khorev
001fed4fd7 Create note subscription table and model 2024-10-28 02:35:25 +03:00
Tom Hughes
cb16d3c331 Merge remote-tracking branch 'upstream/pull/5289' 2024-10-26 11:16:45 +01:00
Anton Khorev
34e0620463 Remove callback from initialize() in note js controller 2024-10-25 18:48:36 +03:00
Anton Khorev
7d46203f5f Decrease padding between close button and inputs in directions form 2024-10-25 18:22:36 +03:00
Anton Khorev
566fb06709 Don't show older/newer buttons if all items fit on one page 2024-10-21 14:51:35 +03:00