Commit graph

2310 commits

Author SHA1 Message Date
David Roetzel 35a437a03f
Destroy NotificationRequests that are dismissed () 2024-07-12 12:09:52 +00:00
Matt Jankowski 43e24dbb13
Use include_pagination_headers in more places () 2024-07-12 08:30:52 +00:00
Matt Jankowski 73d53827ea
Add change assertion to invites destroy spec () 2024-07-12 08:19:15 +00:00
David Roetzel 2ea9336b68
Do not pass unknown encoding names to nokogiri. () 2024-07-10 14:25:39 +00:00
David Roetzel 967505ee9b
Add size limit for all PreviewCard URLs () 2024-07-09 13:11:34 +00:00
Daniel M Brasil 3875bd138d
Fix HTTP 500 in /api/v1/polls/:id/votes () 2024-07-09 12:41:49 +00:00
David Roetzel fa8e972722
Fix author names as arrays in linked data. () 2024-07-08 16:04:36 +00:00
Matt Jankowski f1300ad284
Rename jobs/attachments rspec tag names () 2024-07-08 16:01:08 +00:00
Claire d41b43ed4f
Limit attachments to MEDIA_ATTACHMENTS_LIMIT when returning posts through the API () 2024-07-08 07:41:50 +00:00
David Roetzel 97eddb5906
Fix details extraction when no title exists. () 2024-07-05 13:28:52 +00:00
David Roetzel 016c1e4e78
Improve handling of encoding problems when creating link previews () 2024-07-05 11:54:38 +00: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
Emelia Smith 47f0faebc9
Implement HTML ruby tags for east-asian languages () 2024-07-03 20:05:59 +00:00
David Roetzel 9be77fc0db
Revert "Add system check for missing database indexes" () 2024-07-03 13:36:42 +00:00
David Roetzel ebd8e1bbb6
Add system check for missing database indexes () 2024-07-03 07:19:54 +00:00
Matt Jankowski 836c0477ac
Use vips setting instead of env var in media processing spec () 2024-06-27 16:03:26 +00:00
David Roetzel ff08d99d4d
Catch encoding errors when creating link previews. () 2024-06-27 14:41:03 +00:00
David Roetzel 42adb6eaee
Add size limit for link preview URLs () 2024-06-27 14:40:19 +00:00
Matt Jankowski f6390c3326
Use flatware to parallelize CI specs () 2024-06-27 07:42:57 +00:00
Claire 7a84b76bb1
Drop favicon.ico generation () 2024-06-26 13:44:08 +00:00
Matt Jankowski 8ef59729a1
Ignore intermittent chrome/manifest/icon interaction failure () 2024-06-25 13:57:40 +00:00
Emelia Smith 30ae5952d2
Fix: Ensure "With Media" is highlighted from Admin Accounts page () 2024-06-25 07:46:53 +00:00
Claire 8827cd597e
Fix /admin/accounts/:account_id/statuses/:id for edited posts with media attachments () 2024-06-24 13:11:10 +00:00
Matt Jankowski 72484a194f
Remove CacheBuster default options () 2024-06-21 15:32:49 +00:00
David Roetzel 2cab1c7b09
Improve encoding detection for link cards () 2024-06-21 12:51:10 +00:00
Matt Jankowski 84a31319e9
Add match_json_values and use in AP worker specs () 2024-06-19 13:46:52 +00:00
Claire 8098d27f84
Stop calling Webpacker in full-stack tests () 2024-06-19 09:31:30 +00:00
Claire 58ace2e45e
Fix SQL error in admin measures API () 2024-06-18 16:04:58 +00:00
Matt Jankowski 38c6825eda
Remove unused Extractor#extract_cashtags_with_indices method () 2024-06-18 12:16:16 +00:00
Matt Jankowski d7b7617321
Use class_names in admin/account_moderation_notes helper () 2024-06-17 12:20:57 +00:00
Matt Jankowski f287462f76
Fix repeated Delete/Undo assertion in remove status service spec () 2024-06-17 10:21:29 +00:00
Claire 45abddb302
Fix pagination attributes not being returned in ungroupable-only pages () 2024-06-13 14:10:34 +00:00
Claire bf56e982a9
Fix notifications from limited users being outright dropped () 2024-06-12 13:50:38 +00:00
Claire 1dfd516284
Fix duplicate @context attribute in user export () 2024-06-12 07:28:28 +00:00
Matt Jankowski d818ddd687
Extract SIGN_COUNT_LIMIT constant in WebauthnCredential class () 2024-06-11 15:36:21 +00:00
Matt Jankowski 62d070c438
Check both before/after state in AccountDomainBlock spec () 2024-06-11 13:59:56 +00:00
Matt Jankowski 1622f7aeb9
Remove duplicate fabricator validity checks () 2024-06-11 07:48:42 +00:00
Matt Jankowski edf6d64eeb
Use correct params in settings/preferences/appearance spec () 2024-06-11 07:36:46 +00:00
Matt Jankowski b2496177e0
Use correct params in v1/admin/domain_allows spec () 2024-06-11 07:35:30 +00:00
Matt Jankowski cfd4823b65
Use fabricator in follow_spec () 2024-06-11 06:57:09 +00:00
Matt Jankowski 9cc4040308
Extract COMMENT_SIZE_LIMIT constant in AP::Activity::Flag class () 2024-06-10 15:23:55 +00:00
Matt Jankowski 9bf2e2eda0
Extract TEXT_LENGTH_LIMIT constant in Appeal class () 2024-06-10 15:23:17 +00:00
Matt Jankowski 3e3f3d7580
Match report validation spec to extracted constant () 2024-06-10 15:04:01 +00:00
Matt Jankowski 92b3004bf3
Reference constants from account validation specs () 2024-06-10 15:03:41 +00:00
Daniel M Brasil 28f9a8f2ec
Add Specs for Scheduled Status Model Validations () 2024-06-10 14:52:33 +00:00
Daniel M Brasil 77c2216e47
fix: Return HTTP 422 when scheduled status time is less than 5 minutes () 2024-06-10 13:33:48 +00:00
Matt Jankowski 827e36ff9e
Fix Capybara/NegationMatcher cop in spec/system () 2024-06-08 17:10:06 +00:00
Claire 1408733386
Fix Mastodon relying on ImageMagick even with MASTODON_USE_LIBVIPS () 2024-06-07 09:27:59 +00:00
Matt Jankowski 04ebbe3077
Add sidekiq_inline to appeal service spec () 2024-06-06 14:19:37 +00:00