Commit Graph

577 Commits (49407e7623c52dd9e6e21bcb7a014cb116e081d3)

Author SHA1 Message Date
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts () 2024-10-03 13:09:58 +00:00
Matt Jankowski 2151dfb8d6
Add `relevant_params` to ReportFilter (matches account filter) () 2024-10-02 13:24:40 +00:00
Matt Jankowski ebab3b80c7
Expand coverage for `Export` utility class () 2024-10-02 09:43:04 +00:00
Matt Jankowski bbf7752256
Combine assertions in `Notification` model spec () 2024-09-23 10:45:34 +00:00
Matt Jankowski cd7b670cd8
Reduce factory creation in `User#reset_password!` spec () 2024-09-23 09:18:04 +00:00
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern () 2024-09-20 08:51:37 +00:00
renovate[bot] 6801afa12f
Update dependency devise-two-factor to v6 [SECURITY] ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Roetzel <david@roetzel.de>
2024-09-19 10:56:09 +00:00
Matt Jankowski e3baa1cdda
Add coverage for `AccountDeletionRequest` class () 2024-09-18 13:29:57 +00:00
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code () 2024-09-18 09:27:43 +00:00
Matt Jankowski c54cbf7943
Remove `follow` creation from `ListAccount` fabricator () 2024-09-16 08:56:40 +00:00
Matt Jankowski abd2f5654a
Add validation coverage for `CustomEmoji` shortcode value () 2024-09-16 07:53:03 +00:00
Matt Jankowski 822e918a56
Add coverage for `Bookmark` validation and reblog/status check callback () 2024-09-16 07:52:22 +00:00
Claire 4b40d13cb3
Increase preview card image size limit from 2MB to 8MB when using libvips () 2024-09-14 00:16:02 +00:00
David Roetzel c1b2c4fd9a
Strip protocol from attribution domains () 2024-09-13 11:37:15 +00:00
Claire ba81e4e019
Fix inability to locally suspend remotely-suspended accounts in moderation interface () 2024-09-13 09:11:10 +00:00
Matt Jankowski a2c4f5f5c0
Add coverage for `ListAccount` follow/follow_request set up () 2024-09-13 08:49:03 +00:00
Matt Jankowski 17c57c46e7
Add coverage for title/limit validations in `List` model () 2024-09-12 13:25:23 +00:00
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews () 2024-09-10 12:00:40 +00:00
Matt Jankowski d0ab94c4d2
Add `FeaturedTag` coverage, use `pick` in model () 2024-09-09 19:57:19 +00:00
Emelia Smith c88ba523ee
Fix sort order of moderation notes on Reports and Accounts () 2024-09-06 14:58:36 +00:00
Matt Jankowski 5acec087ca
Simplify basic presence validations () 2024-09-05 15:36:05 +00:00
Matt Jankowski ba9fd1c32e
Add coverage for `Account#prepare_contents` callback () 2024-09-05 09:48:33 +00:00
Matt Jankowski 14af5b47ac
Add coverage for model normalizations () 2024-09-04 05:12:40 +00:00
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec () 2024-09-04 05:12:25 +00:00
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern () 2024-09-03 15:37:45 +00:00
Matt Jankowski 67faaf5557
Simplify account model username presence validation spec () 2024-09-03 15:30:57 +00:00
Matt Jankowski fcb83be8b2
Improve coverage specificity for Webhook enable/disable/secret specs () 2024-09-03 15:30:13 +00:00
Edward Moulsdale d4f135bc6d
Fix in memoriam accounts appearing in follow recommendations ()
Co-authored-by: Utkarsh Wankar <46633523+kernal053@users.noreply.github.com>
2024-08-19 15:55:42 +00:00
Jeong Arm 95c11d365d
Don't push to cache buster if attachment path is nil () 2024-08-14 08:57:42 +00:00
Matt Jankowski 02df1b4e4a
Finish email allow/deny list naming migration () 2024-08-13 07:37:32 +00:00
Claire 994ef16b72
Bust CDN cache on media deletion () 2024-08-09 12:48:34 +00:00
Claire af2aec1a82
Change notification requests to only count mentions () 2024-08-07 11:12:36 +00:00
Emelia Smith c40e481169
Implement UI for Admin Search of Hashtags () 2024-07-29 15:49:44 +00:00
Adam Niedzielski 337a7fcf30
Fix ß bug in regexp for mentions and tags () 2024-07-25 14:24:19 +00:00
Matt Jankowski 6e4305de69
Fix spec descriptions around configurable limit values () 2024-07-22 08:02:31 +00:00
kyori19 3a00f89aa1
Respect `Account::DISPLAY_NAME_LENGTH_LIMIT` in account spec correctly () 2024-07-19 15:31:48 +00:00
Matt Jankowski 848b59c8ae
Reduce factory creation in `MediaAttachment` model spec () 2024-07-18 15:23:46 +00:00
Matt Jankowski 91ef4a6fc5
Add assertion about key columns to account key generate spec () 2024-07-15 10:42:18 +00:00
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed () 2024-07-12 12:09:52 +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
Matt Jankowski 836c0477ac
Use vips setting instead of env var in media processing spec () 2024-06-27 16:03:26 +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 cfd4823b65
Use fabricator in follow_spec () 2024-06-11 06:57:09 +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