Commit Graph

8818 Commits (fd1bade13524f281ec93b03e3a2b6ae5435ffa5c)

Author SHA1 Message Date
github-actions[bot] c244b70dc2
New Crowdin Translations (automated) (#30993)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-11 10:38:35 +00:00
David Roetzel 2ea9336b68
Do not pass unknown encoding names to nokogiri. (#30987) 2024-07-10 14:25:39 +00:00
Renaud Chaput 182b9248c0
Fix SCSS mixed declarations deprecation (#30986) 2024-07-10 12:23:24 +00:00
github-actions[bot] 9984fca9a0
New Crowdin Translations (automated) (#30983)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-10 10:40:19 +00:00
David Roetzel 967505ee9b
Add size limit for all PreviewCard URLs (#30973) 2024-07-09 13:11:34 +00:00
Daniel M Brasil 3875bd138d
Fix HTTP 500 in `/api/v1/polls/:id/votes` (#25598) 2024-07-09 12:41:49 +00:00
github-actions[bot] 249b4117f9
New Crowdin Translations (automated) (#30970)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-09 07:36:13 +00:00
David Roetzel fa8e972722
Fix author names as arrays in linked data. (#30957) 2024-07-08 16:04:36 +00:00
Tianwei Dong 36d819bef3
Change to use an unified constant for max media attachments per status (#29073)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-07-08 08:10:57 +00:00
github-actions[bot] 1a37862a76
New Crowdin Translations (automated) (#30940)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-08 08:03:44 +00:00
Claire d41b43ed4f
Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932) 2024-07-08 07:41:50 +00:00
Renaud Chaput 981395e4d6
Remove the `title` attribute when hovering a card anchor (#30948) 2024-07-07 16:14:15 +00:00
Renaud Chaput 0899c91d4b
Add the account hover card for account search results (#30949) 2024-07-07 16:13:10 +00:00
Claire 63ba69810e
Fix overflow behavior on profile fields in hover cards (#30928) 2024-07-06 07:22:24 +00:00
Claire 8f5694d79e
Fix right-to-left text in preview cards (#30930) 2024-07-05 13:40:53 +00:00
David Roetzel 97eddb5906
Fix details extraction when no title exists. (#30933) 2024-07-05 13:28:52 +00:00
David Roetzel 016c1e4e78
Improve handling of encoding problems when creating link previews (#30929) 2024-07-05 11:54:38 +00:00
github-actions[bot] 81547845ac
New Crowdin Translations (automated) (#30925)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-05 09:09:40 +00:00
Claire d3a056adfd
Merge pull request from GHSA-xjvf-fm67-4qc3 2024-07-04 16:45:52 +02:00
Claire 502cf75b16
Merge pull request from GHSA-58x8-3qxw-6hm7
* Fix insufficient permission checking for public timeline endpoints

Note that this changes unauthenticated access failure code from 401 to 422

* Add more tests for public timelines

* Require user token in `/api/v1/statuses/:id/translate` and `/api/v1/scheduled_statuses`
2024-07-04 16:26:49 +02:00
Claire 395f17ca17
Merge pull request from GHSA-vp5r-5pgw-jwqx
* Fix streaming sessions not being closed when revoking access to an app

* Add tests for GHSA-7w3c-p9j8-mq3x
2024-07-04 16:11:28 +02:00
github-actions[bot] 8331f9e379
New Crowdin Translations (automated) (#30916)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-04 08:46:27 +00:00
David Roetzel 9be77fc0db
Revert "Add system check for missing database indexes" (#30909) 2024-07-03 13:36:42 +00:00
github-actions[bot] dd85e3bcc5
New Crowdin Translations (automated) (#30901)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-03 07:30:30 +00:00
David Roetzel ebd8e1bbb6
Add system check for missing database indexes (#30888) 2024-07-03 07:19:54 +00:00
github-actions[bot] 1fc14e324b
New Crowdin Translations (automated) (#30890)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-02 08:41:54 +00:00
Eugen Rochko d3f504245c
Fix missing confirmation when unfollowing from hover card in web UI (#30879) 2024-07-01 18:10:22 +00:00
Eugen Rochko b728c0e8ce
Change hover cards to not appear until the mouse stops in web UI (#30850) 2024-07-01 15:52:01 +00:00
Eugen Rochko 20fa9ce484
Add timeline of public posts about a trending link in web UI (#30840) 2024-07-01 14:45:48 +00:00
github-actions[bot] 7756db6551
New Crowdin Translations (automated) (#30873)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-01 08:34:38 +00:00
renovate[bot] 1bccba1408
chore(deps): update dependency @testing-library/react to v16 (#30533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-06-28 11:39:32 +00:00
github-actions[bot] a5134f2695
New Crowdin Translations (automated) (#30867)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-28 08:33:57 +00:00
Eugen Rochko ea6c455e81
Fix follow button in hover cards not working when signed out in web UI (#30864) 2024-06-27 22:01:40 +00:00
Eugen Rochko 0f3fef6fda
Change search modifiers to be case-insensitive (#30865) 2024-06-27 21:34:34 +00:00
Michael Stanclift 3225954865
Fix browser window color on light theme (#30861) 2024-06-27 16:46:20 +00:00
David Roetzel ff08d99d4d
Catch encoding errors when creating link previews. (#30853) 2024-06-27 14:41:03 +00:00
David Roetzel 42adb6eaee
Add size limit for link preview URLs (#30854) 2024-06-27 14:40:19 +00:00
Eugen Rochko 096057b845
Change `author_account` to be `authors` in REST API (#30846) 2024-06-27 13:17:18 +00:00
github-actions[bot] 6d1c1fd684
New Crowdin Translations (automated) (#30851)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-27 08:00:04 +00:00
Matt Jankowski ad53b0ab65
Rely on built-in ruby private IP detection (#30848) 2024-06-27 07:16:59 +00:00
Eugen Rochko 3939352e92
Convert `<ColumnHeader>` to Typescript (#30849) 2024-06-26 19:46:28 +00:00
Eugen Rochko e89317d4c1
Add hover cards in web UI (#30754)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-06-26 19:33:38 +00:00
Renaud Chaput 863c470a2b
Convert `<Directory>` to Typescript / function component (#30829) 2024-06-26 18:04:50 +00:00
Claire 7a84b76bb1
Drop favicon.ico generation (#30375) 2024-06-26 13:44:08 +00:00
Renaud Chaput 8c0ff6498e
Change light mode to apply CSS variables to the body (#30839) 2024-06-25 21:57:22 +00:00
Eugen Rochko a40831b363
Fix account search results (#30803) 2024-06-25 20:37:48 +00:00
Claire 2c7eed1fa1
Fix API requests after #30818 (#30837) 2024-06-25 16:53:03 +00:00
Renaud Chaput 547e97945d
Change `apiRequest` to accept both `params` and `data` (#30818) 2024-06-25 13:45:41 +00:00
Emelia Smith 30ae5952d2
Fix: Ensure "With Media" is highlighted from Admin Accounts page (#30812) 2024-06-25 07:46:53 +00:00
github-actions[bot] 052c90b8de
New Crowdin Translations (automated) (#30825)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-25 07:45:58 +00:00
Claire 8827cd597e
Fix `/admin/accounts/:account_id/statuses/:id` for edited posts with media attachments (#30819) 2024-06-24 13:11:10 +00:00
github-actions[bot] 61722b1b1f
New Crowdin Translations (automated) (#30808)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-24 10:46:53 +00:00
Matt Jankowski 929b9fdaff
Remove exclusion for `Rails/LexicallyScopedActionFilter` cop (#30697) 2024-06-21 15:34:13 +00:00
Matt Jankowski 348ccf206e
Fix `Style/ClassEqualityComparison` cop (#30058) 2024-06-21 15:33:55 +00:00
Matt Jankowski 72484a194f
Remove `CacheBuster` default options (#30718) 2024-06-21 15:32:49 +00:00
David Roetzel 2cab1c7b09
Improve encoding detection for link cards (#30780) 2024-06-21 12:51:10 +00:00
github-actions[bot] 9e932fa1dd
New Crowdin Translations (automated) (#30789)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-21 09:14:44 +00:00
Renaud Chaput 7d12522ed7
Fix error when deleting a status (#30784) 2024-06-20 22:39:06 +00:00
Claire bb2d77b4a0
Change `/api/v2_alpha/notifications` to only return historical data in pages (#30781) 2024-06-20 15:54:50 +00:00
Claire f723370c69
Fix missing `account_warning` delegation in `NotificationGroup` (#30779) 2024-06-20 13:44:49 +00:00
Renaud Chaput 1c65932776
Convert `disconnectTimeline` and `timelineDelete` actions to Typescript (#30777) 2024-06-20 11:56:52 +00:00
Renaud Chaput 27529247b2
Improve `createdataLoadingThunk` (#30778) 2024-06-20 11:42:10 +00:00
Claire 7889e983fb
Add `group_key` attribute to `NotificationSerializer` (#30776)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-06-20 11:05:25 +00:00
github-actions[bot] a0910cd49c
New Crowdin Translations (automated) (#30772)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-20 09:03:28 +00:00
Matt Jankowski a8b3d2e4e4
Consolidate time periods methods into base measure (#30757) 2024-06-19 08:45:47 +00:00
Claire 58ace2e45e
Fix SQL error in admin measures API (#30753) 2024-06-18 16:04:58 +00:00
Renaud Chaput d558dfd77d
Convert notifications policies frontend code to Typescript (#29868) 2024-06-18 13:23:30 +00:00
github-actions[bot] 50db95b9a1
New Crowdin Translations (automated) (#30746)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-18 12:39:36 +00:00
Matt Jankowski 38c6825eda
Remove unused `Extractor#extract_cashtags_with_indices` method (#30742) 2024-06-18 12:16:16 +00:00
Michael Stanclift d5f02adad7
Add option to use native Ruby driver for Redis (#30717) 2024-06-17 12:28:01 +00:00
Matt Jankowski d7b7617321
Use `class_names` in admin/account_moderation_notes helper (#30719) 2024-06-17 12:20:57 +00:00
github-actions[bot] 35d52d7914
New Crowdin Translations (automated) (#30723)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-17 12:13:23 +00:00
Renaud Chaput 43bbdea421
Fix invalid `mask-icon` when a custom instance icon is configured (#30734) 2024-06-17 09:00:26 +00:00
Michael Stanclift a777f7e3cc
Restore short Ruby version on admin dashboard (#30711) 2024-06-14 16:10:16 +00:00
Michael Stanclift 4a5442edaa
Add ffmpeg and ImageMagick versions to admin dashboard (#30710) 2024-06-14 15:36:57 +00:00
Eugen Rochko b9fd7571ae
Change sidebar text in web UI (#30696) 2024-06-14 13:04:20 +00:00
Claire 8eb27c60e1
Add `most_recent_notification_id` to `NotificationGroup` (#30707) 2024-06-14 10:33:06 +00:00
Matt Jankowski b5d1d48266
Convert `form_for` -> `form_with` in views (#30700) 2024-06-14 09:54:22 +00:00
Matt Jankowski 8d5ed19c6d
Migrate `form_tag` to `form_with` in admin and auth views (#30692) 2024-06-14 09:49:10 +00:00
github-actions[bot] a7264a2b42
New Crowdin Translations (automated) (#30704)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-14 09:08:17 +00:00
Emelia Smith 3d9f00ae16
Fix unsafe URLs in audit log resulting from domain blocks (#27139)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-06-14 07:54:09 +00:00
Marcin Mikołajczak a243963e93
LanguageDropdown: remove unused function (#30346)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-13 19:46:45 +00:00
Louis Brauer f0ca874b09
Include crossorigin in inert css (#30687) 2024-06-13 14:37:43 +00:00
Claire 45abddb302
Fix pagination attributes not being returned in ungroupable-only pages (#30688) 2024-06-13 14:10:34 +00:00
github-actions[bot] dd587d29b6
New Crowdin Translations (automated) (#30684)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-13 13:30:07 +00:00
Eugen Rochko ed6d24330b
Add author links on the explore page in web UI (#30521) 2024-06-13 13:04:16 +00:00
Claire 37f53542fe
Fix limit handling in grouped notifications CTE (#30685) 2024-06-13 12:42:40 +00:00
Claire bf56e982a9
Fix notifications from limited users being outright dropped (#30559) 2024-06-12 13:50:38 +00:00
Eugen Rochko 9984243467
Fix a few visual glitches with link previews in web UI (#30670) 2024-06-12 13:10:51 +00:00
github-actions[bot] ced463360e
New Crowdin Translations (automated) (#30666)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-12 10:48:31 +00:00
Claire 1dfd516284
Fix duplicate `@context` attribute in user export (#30653) 2024-06-12 07:28:28 +00:00
Matt Jankowski d818ddd687
Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class (#30636) 2024-06-11 15:36:21 +00:00
Claire 921b0db544
Add `noindex` meta tag and `rel=canonical` link to redirect interstitials (#30651) 2024-06-11 15:29:45 +00:00
Matt Jankowski 978601a0ae
Extract permitted params constant in v1/admin/tags (#30652) 2024-06-11 15:29:41 +00:00
David Roetzel f48f39a767
Fix cutoff of instance name (#30598) 2024-06-11 12:54:37 +00:00
Matt Jankowski 410370eecd
Extract `PERMITTED_PARAMS` constant from `admin/domain_blocks` controller (#30380) 2024-06-11 09:40:47 +00:00
Matt Jankowski 665f6f09a0
Add expired/revoked scopes for doorkeeper models via extension modules (#29936) 2024-06-11 08:50:51 +00:00
Matt Jankowski 88cfc4056d
Extract method to generate series of days in measure sql classes (#29928) 2024-06-11 07:42:15 +00:00
github-actions[bot] 0dabda9bee
New Crowdin Translations (automated) (#30646)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-11 07:14:52 +00:00
Matt Jankowski 9cc4040308
Extract `COMMENT_SIZE_LIMIT` constant in `AP::Activity::Flag` class (#30637) 2024-06-10 15:23:55 +00:00