Commit graph

514 commits

Author SHA1 Message Date
nertc
2b7a48029b Modify the way Friends are added 2025-01-14 11:32:54 +04:00
Anton Khorev
44843c1dd7 Remove slashes from body css classes 2025-01-08 22:11:28 +03:00
Anton Khorev
3df14c5a40 Report deactivates_at as block read date 2025-01-07 13:19:33 +03:00
Anton Khorev
7e8fd5d7b7 Check deactivates_at to report if block was read after its end date 2025-01-06 21:10:18 +03:00
Anton Khorev
bb4720f09b Move changeset data to a helper 2025-01-05 17:35:37 +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
Tom Hughes
07fc605923 Use safe_join to join social sharing buttons 2024-12-19 08:16:58 +00:00
Tom Hughes
88946c3e8b Drop unused options from social_share_buttons 2024-12-19 08:16:58 +00:00
Tom Hughes
dee02bccd3 Drop unused ability to filter social sharing sites 2024-12-19 08:16:57 +00:00
Tom Hughes
e1a1bebd95 Drop render prefix from social_share_buttons function 2024-12-19 08:16:57 +00:00
Tom Hughes
2a5e35c716 Convert social share helper library into a real helper 2024-12-18 15:07:08 +00:00
Anton Khorev
7e7ede890e Merge branch 'pull/4985' 2024-12-18 16:35:01 +03:00
Emin Kocan
95e1aff234 Add social sharing functionality 2024-12-17 23:36:47 +01:00
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