Commit Graph

2664 Commits (f9fef9864a40a1ae78f21fbb3740bdebb99ce7df)

Author SHA1 Message Date
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 2024-12-09 10:04:46 +00:00
Eugen Rochko 796dd57e1b
Change ability to navigate of unconfirmed users (#33209) 2024-12-09 08:31:56 +00:00
Matt Jankowski 72a4da83fd
Merge duplicate custom css request specs (#33204) 2024-12-06 18:55:47 +00:00
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table (#31971) 2024-12-05 14:34:14 +00:00
Matt Jankowski 86b45a4a48
Add rel alternate rss/json links to tags show html page (#33179) 2024-12-05 11:34:49 +00:00
Claire 21f6780498
Fix deletion of unconfirmed users with Webauthn set (#33186) 2024-12-05 09:38:48 +00:00
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 2024-12-04 15:10:20 +00:00
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis (#32837)
Co-authored-by: David Roetzel <david@roetzel.de>
2024-12-04 11:59:17 +00:00
Claire c521a62b1e
Add tests for broken mention processing (#33171) 2024-12-04 09:45:35 +00:00
Matt Jankowski e5bea68b20
Fix empty authors preview card serialization (#33151) 2024-12-04 09:05:58 +00:00
Matt Jankowski 6fddf1610c
Fix awkwardly-worded nature of scheduled too soon error (#33156) 2024-12-04 07:43:29 +00:00
Matt Jankowski be43b01eb1
Add coverage for `CustomFilter#expires_in` method (#33142) 2024-12-02 21:52:17 +00:00
Matt Jankowski 2381ed55d7
Add coverage for `Report#unresolved_siblings?` (#33141) 2024-12-02 21:52:12 +00:00
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 2024-12-02 15:08:41 +00:00
Jonathan de Jong 360b6d3a44
Fix exclusive lists interfering with notifications (#28162) 2024-12-02 09:26:04 +00:00
Matt Jankowski 3cd308523a
Add shared example for `RankedTrend` concern (#33125) 2024-12-02 00:44:14 +00:00
Calvin Lee 7f4858b339
Correctly sanitize MathML out of post content (#27107) 2024-11-28 12:02:34 +00:00
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 2024-11-28 10:13:06 +00:00
Matt Jankowski 0ea9d8164b
Remove `body_class_string` helper (#33072) 2024-11-26 07:19:20 +00:00
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations (#33026) 2024-11-25 08:19:16 +00:00
Matt Jankowski ab9c62e8c7
Add coverage for `User` validations (#33028) 2024-11-25 08:18:10 +00:00
Matt Jankowski fd90f04f0e
Add coverage for `UserRole` validations (#33029) 2024-11-25 08:18:07 +00:00
Christian Schmidt 0518613dd7
LinkDetailsExtractor adjustments (#31357) 2024-11-22 08:00:14 +00:00
Christian Schmidt 7385016837
`rel="me"` check should be case-insenstive (#32238) 2024-11-21 14:37:25 +00:00
Emelia Smith 4517e18b79
Update dependency doorkeeper to v5.8.0 (#33000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 13:48:30 +00:00
Paulo Vilarinho 2526b32ad3
block scheduled status from frozen users (#30729) 2024-11-20 19:06:41 +00:00
Matt Jankowski b66fbaeec2
Add `AccountWarning` case to `Report#history` spec (#32984) 2024-11-20 07:52:00 +00:00
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively (#32930) 2024-11-19 10:04:12 +00:00
Matt Jankowski 87e7ad9b8f
Add `LoginActivity` model spec and `BrowserDetection` concern shared example (#32959) 2024-11-19 09:15:05 +00:00
Matt Jankowski 425982841d
Use group/count approach in annual report classes (#32914) 2024-11-19 08:51:34 +00:00
Matt Jankowski 295ad6f19a
Prep work for coverage addition to `ActivityPub::DeliveryWorker` spec (#32944) 2024-11-18 16:37:21 +00:00
Matt Jankowski 30a7986569
Add coverage for fixing the thing with the dates in the search area (#32958) 2024-11-18 15:42:45 +00:00
Matt Jankowski c0c34d35e2
Move self destruct check to `config_for` and add constant for verifier string (#32943) 2024-11-18 09:57:16 +00:00
Eugen Rochko 911d7dbbf6
Fix `min_id` and `max_id` causing error in search API (#32857) 2024-11-18 09:37:01 +00:00
Matt Jankowski 03ee08c2da
Use `nil` instead of `false` for datetime value in spec (#32926) 2024-11-18 09:31:25 +00:00
Matt Jankowski be413d67de
`Form::Import` spec reduce factories (#32924) 2024-11-18 09:22:09 +00:00
Matt Jankowski a1ac2a73ff
Remove remnants of embed views (#32419) 2024-11-16 20:48:10 +00:00
Matt Jankowski 9d3fcc3546
Remove unused failure action in api/base controller spec (#32905) 2024-11-15 16:10:20 +00:00
Matt Jankowski 7bd7705f59
Combine shared-setup examples across `spec/controllers/auth/*` specs (#32906) 2024-11-15 16:07:26 +00:00
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 2024-11-15 15:52:37 +00:00
Matt Jankowski 297ce9ef44
Move body class to shared partial for web app controller concern views (#31797) 2024-11-15 15:49:26 +00:00
Claire f1ef7b5b43
Fix uploading higher-than-wide GIF profile picture with libvips enabled (#32911) 2024-11-15 15:35:30 +00:00
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 2024-11-14 14:03:57 +00:00
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 2024-11-14 13:47:29 +00:00
Claire e8b6607ece
Fix titles being escaped twice (#32889) 2024-11-14 13:28:00 +00:00
Claire 8f5cbf5370
Fix list creation limit check (#32869) 2024-11-13 10:22:11 +00:00
Matt Jankowski a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records` (#32863) 2024-11-13 08:39:58 +00:00
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 2024-11-12 22:06:13 +00:00
Matt Jankowski 884bbf7ae2
Prepare the way for banning a bunch of usernames (#32856) 2024-11-12 15:43:55 +00:00
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class (#32839) 2024-11-12 08:57:06 +00:00
Matt Jankowski c099797700
Use `mastodon` config namespace to load software update default value via `config_for` (#30534) 2024-11-12 08:28:31 +00:00
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern (#28865) 2024-11-11 13:08:23 +00:00
Matt Jankowski d033920b7e
Move account silence-related methods to concern (#28866) 2024-11-11 08:29:55 +00:00
Matt Jankowski 4ef3a1a38d
Match dependency-generator output for `require_relative` usage (#32800) 2024-11-08 09:55:15 +00:00
Matt Jankowski 870bb06994
Add coverage for misc serializers (#32781) 2024-11-07 15:37:26 +00:00
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 (#30391) 2024-11-07 14:58:20 +00:00
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary (#32787) 2024-11-06 10:51:54 +00:00
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 2024-11-04 10:11:06 +00:00
Matt Jankowski ff490daa58
Reduce factory generation in `AccountStatusesFilter` spec (#32727) 2024-11-04 09:00:01 +00:00
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 2024-10-31 15:12:08 +00:00
Matt Jankowski a20ac20302
Add model spec for `Tombstone` (#32697) 2024-10-31 13:27:47 +00:00
Eugen Rochko c2b498a2b0
Fix IDs not being serialized as strings in annual reports API (#32710) 2024-10-31 09:38:00 +00:00
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint (#32548) 2024-10-30 14:38:10 +00:00
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 2024-10-29 15:46:32 +00:00
Matt Jankowski df3b954720
Add `DomainHelpers` spec support module for DNS/MX stub (#32690) 2024-10-29 15:35:25 +00:00
Emelia Smith d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 2024-10-29 09:25:38 +00:00
Matt Jankowski b107fc2e65
Use nil for timestamp column in admin/confirmations spec (#32682) 2024-10-29 08:54:30 +00:00
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model (#32515) 2024-10-28 07:34:58 +00:00
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 2024-10-28 04:55:18 +00:00
Matt Jankowski 1775e151ec
Simplify model validation specs for `DomainAllow` (#32496) 2024-10-25 08:42:14 +00:00
Matt Jankowski 9464281f29
Simplify model validation specs for `AccountStatusCleanupPolicy` (#32495) 2024-10-25 08:41:24 +00:00
Matt Jankowski 15f6336cdd
Simplify model validation specs for `AccountMigration` (#32494) 2024-10-25 08:02:13 +00:00
Matt Jankowski 86132f7dd3
Provide `establish_policy` helper method in `AccountStatusesCleanupPolicy` spec (#32490) 2024-10-25 08:00:58 +00:00
Matt Jankowski 2a13d6824c
Use `subject` for `FeedManager` lib spec (#32486) 2024-10-25 07:59:31 +00:00
Matt Jankowski 2e3bbb6861
Move account suspension related coverage to concern spec (#32432) 2024-10-25 07:58:41 +00:00
Matt Jankowski 4134ccdbe0
Simplify model validation specs for `WebauthnCredential` (#32466) 2024-10-25 07:55:45 +00:00
Matt Jankowski e5be4bf8d8
Simplify model validation specs for `PreviewCard` (#32469) 2024-10-25 07:55:33 +00:00
Matt Jankowski 37bcbeab4a
Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 2024-10-24 12:52:38 +00:00
Matt Jankowski dea6c454fd
Contribute more coverage for `Account` model (#32474) 2024-10-24 12:47:06 +00:00
Matt Jankowski b16435e79f
Explore more resplendent model validation specs for `Form::AdminSettings` (#32465) 2024-10-24 12:44:13 +00:00
Matt Jankowski 67504dbf9c
Simplify uniqueness validation spec for `IpBlock` (#32066) 2024-10-24 12:43:40 +00:00
Matt Jankowski 5c910dc82e
Add coverage for `DatabaseHelper` primary/replica methods (#32642) 2024-10-24 08:04:29 +00:00
Matt Jankowski 745c4f900a
Remove unused `ApplicationHelper#visibility_icon` helper method (#32644) 2024-10-24 08:02:54 +00:00
Matt Jankowski 5a4f4f3e83
Remove single-use `ProfileStories` method (#31164) 2024-10-23 13:31:03 +00:00
Matt Jankowski 2f906ed55a
Constants for account refresh (#32420) 2024-10-23 13:29:01 +00:00
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 2024-10-23 08:02:31 +00:00
Matt Jankowski d1b20ea8f7
Worker specs coverage increase (#32541) 2024-10-23 07:50:20 +00:00
Matt Jankowski bd0c826a3d
Simplify model validation specs for `Announcement` (#32481) 2024-10-23 07:47:46 +00:00
Matt Jankowski c0f46e9031
Fortify coverage for `Follow` model (#32472) 2024-10-23 07:46:55 +00:00
Matt Jankowski 1f3722904f
Top off coverage for `Appeal` model (#32464) 2024-10-23 06:42:57 +00:00
Matt Jankowski 67403e7b01
Add coverage for ActivityPub likes/shares endpoints (#32305) 2024-10-23 06:41:07 +00:00
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint (#32303) 2024-10-23 06:40:29 +00:00
Matt Jankowski 6d2f865862
Add coverage for `AccountAlias` validations (#31936) 2024-10-23 06:39:19 +00:00
Matt Jankowski bfe3d49cca
Add `inline_jobs` to admin/reset spec (#32517) 2024-10-16 08:06:34 +00:00
Matt Jankowski c40cd79c4d
Convert `admin/invites` controller specs to system specs (#32450) 2024-10-15 14:27:46 +00:00
Matt Jankowski 9e8f099d38
Improve `app/policies` coverage (#32426) 2024-10-15 14:24:12 +00:00
Matt Jankowski 28131b4b00
Convert status embed controller to request spec (#32448) 2024-10-15 14:18:20 +00:00
Matt Jankowski b78597979a
Fix missing content warning text in rss formatter (#32406) 2024-10-15 14:12:54 +00:00
Matt Jankowski b742ce9d09
Reduce factory creation (17 -> 0) in `PlainTextFormatter` spec (#32487) 2024-10-15 13:58:45 +00:00
Matt Jankowski e9b27852be
Reduce factory creation (14 -> 8) in `ActivityPub::Activity::Block` spec (#32488) 2024-10-15 13:51:52 +00:00