Tom Hughes
edda4af515
Merge remote-tracking branch 'upstream/pull/4200'
2024-12-10 19:03:55 +00:00
Anton Khorev
dc52cdc612
Adjust browse line/icon height/alignment for text-only zooming
2024-12-09 13:22:54 +03:00
Anton Khorev
5b5ffaf90f
Allow to specify browse icon priorities
2024-12-09 13:22:34 +03:00
Anton Khorev
f051a7c1f5
Write browse element icons as <img>
2024-12-09 13:22:34 +03:00
Anton Khorev
16e97c57ca
Truncate if necessary and set dir=auto for note usernames
2024-12-04 14:10:09 +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
c739e061cc
Truncate if necessary and set dir=auto for changeset usernames
2024-12-03 10:24:56 +03: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
Anton Khorev
24ccba60cb
Style small auth buttons similarly to preferred auth buttons
2024-11-15 19:09:57 +03:00
Anton Khorev
b8247478f4
Use resourceful routes for granting/revoking user roles
2024-11-06 18:38:26 +03:00
Anton Khorev
eaabf7bb59
Remove "User's Diary" from diary entry og:title
2024-10-20 19:12:09 +03:00
Tom Hughes
6789fc3081
Drop support for ruby 3.0
...
Also add Ubuntu 24.04 and drop 20.04 as 24.04 is needed for
ruby 3.1 without rvm so we should test it.
2024-09-17 20:39:22 +01:00
Anton Khorev
54c0361744
Always show changeset element page links below headings
2024-09-14 17:15:11 +03:00
Anton Khorev
4e97231269
Fix element pagination width calculation
2024-09-13 18:50:22 +03:00
Tom Hughes
5f2a5cadcb
Merge remote-tracking branch 'upstream/pull/4565'
2024-08-28 18:59:09 +01:00
Anton Khorev
cff4c63713
Add deactivates_at date to user blocks
...
Block deactivation dates that take needs_view-block views into account were derived using updated_at. This was possible because inactive blocks couldn't be edited and their updated_at date wouldn't change. With editing of inactive blocks enabled deactivation date needs to be saved explicitly.
2024-08-19 14:33:20 +03:00
Anton Khorev
09721c6fee
Add article:published_time meta tag to diary entries
2024-08-14 18:00:14 +03:00
Anton Khorev
5f4ae35814
Set og:description meta tag to diary entry description
2024-08-07 18:59:16 +03:00
Anton Khorev
43f5440537
Pass properties hash to OpenGraph helper
2024-08-07 18:58:47 +03:00
Anton Khorev
e0cec1a6e8
Remove default argument values of OpenGraph tag helper
2024-08-07 18:55:08 +03:00
Anton Khorev
243557a31a
Set og:image:alt OpenGraph property
2024-08-05 05:32:47 +03:00
mmd-osm
b4952ff7f2
Trace picture with fixed size
2024-07-31 21:31:17 +02:00
mmd-osm
72177a3f20
Trace image with fixed size
2024-07-30 18:05:25 +02:00
Anton Khorev
80d7fe4cce
Move auth provider icons to auth_providers subdirectory
2024-07-19 20:24:46 +03:00
Anton Khorev
b0e41cf142
Remove name parameter from auth button helpers
2024-07-16 17:12:17 +03:00
Anton Khorev
38bfb33c02
Remove single-use OpenID logo helper
2024-07-10 13:50:39 +03:00
Anton Khorev
088a78d83c
Remove .d-block classes from auth buttons
...
Unnecessary on flex items.
2024-07-09 17:51:50 +03:00
Tom Hughes
330e2cc521
Merge remote-tracking branch 'upstream/pull/4963'
2024-07-08 18:29:56 +01:00
Anton Khorev
bacca516f0
Use flex gap instead of margins on auth buttons
2024-07-08 17:28:36 +03:00
Anton Khorev
a696d2b24c
Remove unnecessary classes from preferred auth button
...
.rounded is the default rounding for this button type.
.fs-6 is the default font size for this button type.
2024-07-08 17:24:48 +03:00
Tom Hughes
5cc0b26bba
Merge remote-tracking branch 'upstream/pull/4916'
2024-06-27 17:56:13 +01:00
Tom Hughes
24d535237c
Merge remote-tracking branch 'upstream/pull/4917'
2024-06-27 17:47:16 +01:00
Emin Kocan
8e1071ebf1
utilize button classes on preferred auth button
2024-06-27 15:43:57 +02:00
Emin Kocan
3dc76a9bc0
style auth buttons using .btn & .btn-light classes
2024-06-27 14:55:28 +02:00
Anton Khorev
06820acc4b
Discard fragments from wikimedia_commons tag values
2024-06-22 21:48:42 +03:00
Emin Kocan
b057c7ae5a
Arrange button sizes to default size of 36px
...
As discussed in #4773 there was not any clarification as why auth button sizes were reduced so 36px is now accepted as default. This commit addresses that comment/issue.
2024-06-21 12:08:58 +02:00
Anton Khorev
9f3ac8f5ce
Url-encode wikimedia_commons tag values
2024-06-20 22:13:28 +03:00
Andy Allan
d00a0667bc
Merge pull request #4887 from AntonKhorev/full-encode-wikipedia-value
...
Fully encode wikipedia tag values
2024-06-19 14:41:38 +01:00
Anton Khorev
b97834f1fd
Use default og:image if Addressable::URI fails
2024-06-15 15:57:10 +03:00
Anton Khorev
c03649355a
Join and normalize og:image url using Addressable
...
Avoids failing on urls that are not strictly rfc2396 URIs.
2024-06-15 15:06:07 +03:00
Anton Khorev
ebaae09797
Fully encode wikipedia tag values
2024-06-08 15:59:30 +03:00
Anton Khorev
eeb7e02f88
Don't add site name to og:title when page title is provided
2024-06-07 11:33:00 +03:00
Anton Khorev
24c138ac8d
Ensure that Open Graph image url is absolute
2024-06-06 18:01:23 +03:00
Anton Khorev
a73e20cd5c
Set Open Graph image to first image for diary entries
2024-06-06 17:28:57 +03:00
Anton Khorev
879c6017e0
Remove Open Graph og:image:secure_url property
2024-06-04 13:42:01 +03:00
Anton Khorev
5add2d7e1d
Reload only changeset element subpages
2024-06-03 14:16:09 +03:00
Anton Khorev
b072c2935f
Add titles to changeset element page links
2024-06-03 14:07:23 +03:00
Anton Khorev
5a22464224
Don't include language prefix in wikipedia links
2024-06-01 04:56:57 +03:00
Tom Hughes
161fc8ac47
Replace deprecated text-muted class with text-body-secondary
2024-05-22 11:58:32 +01:00