Commit Graph

543 Commits (19588756ef62847a01486fa360d4e4ee00307948)

Author SHA1 Message Date
Matt Jankowski 6463415e06
Update `rubocop-rspec` to version 3.6.0 (#34497) 7 months ago
Claire 8489f6c8fc
Fix namespace of `QuoteAuthorization` type in specs (#34481) 7 months ago
Claire df2611a10f
Add initial support for ingesting and verifying remote quote posts (#34370) 7 months ago
Claire dd23ba9c83
Refactor local-URI-to-account resolving (#34349) 8 months ago
David Roetzel e2ef173b82
Refactoring: Move `SignatureVerificationError` into `Mastodon` namespace (#34342) 8 months ago
David Roetzel 97b9994743
Basic FASP support (#34031) 8 months ago
Claire c2defe0e4c
Change account suspensions to be federated to recently-followed accounts as well (#34294) 8 months ago
David Roetzel 4a6cf67c46
Add middleware to record queue time (#34172) 9 months ago
David Roetzel bedf808e02
Move feature flag test setup into config (#34124) 9 months ago
David Roetzel 8cf27d0fbb
Add simple feature flag system (#34038)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
9 months ago
Claire 1248c4d1f4
Fix handling of duplicate mentions in incoming status `Update` (#33911) 10 months ago
Claire 334d306ccc
Fix filtering for lists (#33842) 10 months ago
Claire 5b291fcbe4
Fix incorrect signature after HTTP redirect (#33757) 10 months ago
Claire 7261951791
Fix LDSignature tests (#33705) 10 months ago
Jonathan de Jong b18caff5b6
Change `first_of_value` to `first_of_hash`, and add more test cases (#33647) 10 months ago
Matt Jankowski 3af6739f21
Add coverage for `AnnualReport.prepare` method (#33618) 10 months ago
Claire da4e55eb17
Merge commit from fork 10 months ago
Claire d517fa5ab7
Change ActivityPub path generation to all happen in `ActivityPub::TagManager` (#33527) 11 months ago
Matt Jankowski 2cfc2a777a
Add `build_object` method for defaults in `AP::Activity::Create` spec (#33537) 11 months ago
Matt Jankowski 2499cd01db
Add `duplicate_record` helper to maintenance CLI spec (#33536) 11 months ago
Christian Schmidt 8e2c642d44
Do now swallow response body on persistent connection (#32729) 11 months ago
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 11 months ago
Matt Jankowski 441dcd7396
Fix intermittent failure on ap/activity/create spec timestamp check (#33406) 11 months ago
Matt Jankowski d2fbf42b0e
Avoid `validate: false` save in expired poll create activity spec (#33367) 11 months ago
Claire 344e2903b3
Fix featured tags for remote accounts not being kept up to date (#33372) 11 months ago
FND c8c916e657
Change URL truncation to account for ellipses (#33229) 12 months ago
Eugen Rochko 425311e1d9
Change referrer policy to be controlled by header in web UI (#33214) 12 months ago
Jonathan de Jong 360b6d3a44
Fix exclusive lists interfering with notifications (#28162) 12 months ago
Calvin Lee 7f4858b339
Correctly sanitize MathML out of post content (#27107) 1 year ago
Christian Schmidt 0518613dd7
LinkDetailsExtractor adjustments (#31357) 1 year ago
Matt Jankowski 425982841d
Use group/count approach in annual report classes (#32914) 1 year ago
Matt Jankowski 30a7986569
Add coverage for fixing the thing with the dates in the search area (#32958) 1 year ago
Eugen Rochko 911d7dbbf6
Fix `min_id` and `max_id` causing error in search API (#32857) 1 year ago
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 1 year ago
Matt Jankowski a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records` (#32863) 1 year ago
Matt Jankowski 884bbf7ae2
Prepare the way for banning a bunch of usernames (#32856) 1 year ago
Matt Jankowski c099797700
Use `mastodon` config namespace to load software update default value via `config_for` (#30534) 1 year ago
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 (#30391) 1 year ago
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 1 year ago
Matt Jankowski ff490daa58
Reduce factory generation in `AccountStatusesFilter` spec (#32727) 1 year ago
Eugen Rochko c2b498a2b0
Fix IDs not being serialized as strings in annual reports API (#32710) 1 year ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 1 year ago
Matt Jankowski 2a13d6824c
Use `subject` for `FeedManager` lib spec (#32486) 1 year ago
Matt Jankowski b742ce9d09
Reduce factory creation (17 -> 0) in `PlainTextFormatter` spec (#32487) 1 year ago
Matt Jankowski e9b27852be
Reduce factory creation (14 -> 8) in `ActivityPub::Activity::Block` spec (#32488) 1 year ago
Matt Jankowski 6a39212b02
Reduce factories (36 > 12) in `AccountReachFinder` spec (#32482) 1 year ago
Matt Jankowski 0cc21f1ded
Reduce factory creation (132 -> 40) in lib/vacuum/* specs (#32498) 1 year ago
Jeong Arm 66b2bc1c84
Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire 513f187daf
Add “A Mastodon update is available.” message on admin dashboard for non-bugfix updates (#32106) 1 year ago
Renaud Chaput 3dc4ddc663
Fix search params being dropped when redirected to non-deck path (#31984) 1 year ago
Matt Jankowski c2ef83ea4c
Consolidate shared `a scope` example parts into one attributes check (#32046) 1 year ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 1 year ago
Taylor Chaparro 1b6a82b799
Fix invalid date searches returning 503 (#31526) 1 year ago
Claire c35ea59ee6
Fix security context sometimes not being added in LD-Signed activities (#31871) 1 year ago
David Roetzel ab763c493f
Ignore `undefined` as canonical url (#31882) 1 year ago
Matt Jankowski cdcd834f3c
Add coverage for `AnnualReport::*` source child classes (#31849) 1 year ago
David Roetzel f85694acfd
Add credentials to redis sentinel configuration (#31768) 1 year ago
David Roetzel 7d91723f05
Support `REDIS_SENTINEL_PORT` variables (#31767) 1 year ago
David Roetzel ef2bc8ea26
Add redis sentinel support to ruby part of code (#31744) 1 year ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
Matt Jankowski 2f0d0fc127
Add coverage for `CLI::Accounts#fix_duplications` task (#30639) 1 year ago
Matt Jankowski 31c00108a4
Add first pass coverage for `AnnualReport` class (#31704) 1 year ago
David Roetzel 388d5473e1
Refactor (ruby) redis configuration (#31694) 1 year ago
Claire 8a5b57f668
Revert "Support JSON-LD named graph (#31288)" (#31355) 1 year ago
Christian Schmidt 9d0cafd06b
Check Content-Length in ResponseWithLimitAdapter (#31285) 1 year ago
Christian Schmidt e9e63ed203
Support JSON-LD named graph (#31288) 1 year ago
Adam Niedzielski 887e64efd4
Allow @ at the end of an URL (#31124) 1 year ago
Adam Niedzielski fbf95216c5
Fix LinkCrawlWorker NoMethodError: undefined method `[]' for nil (#31144) 1 year ago
Adam Niedzielski cd0ca4b994
Select correct self link when parsing Webfinger response (#31110) 1 year ago
Claire ced5e853c7
Fix duplicate `orderedItems` in user archive's `outbox.json` (#31099) 1 year ago
Matt Jankowski 05342529dd
Reduce factory creation in AP activity move spec (#31064) 1 year ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 1 year ago
Matt Jankowski 00cb4a0313
Avoid repeated factory creation in media_attachments_vacuum_spec (#31000) 1 year ago
David Roetzel fa8e972722
Fix author names as arrays in linked data. (#30957) 1 year ago
Matt Jankowski f1300ad284
Rename jobs/attachments rspec tag names (#29762) 1 year ago
Emelia Smith 47f0faebc9
Implement HTML ruby tags for east-asian languages (#30897) 1 year ago
David Roetzel 9be77fc0db
Revert "Add system check for missing database indexes" (#30909) 1 year ago
David Roetzel ebd8e1bbb6
Add system check for missing database indexes (#30888) 1 year ago
Matt Jankowski 72484a194f
Remove `CacheBuster` default options (#30718) 1 year ago
Matt Jankowski 38c6825eda
Remove unused `Extractor#extract_cashtags_with_indices` method (#30742) 1 year ago
Claire bf56e982a9
Fix notifications from limited users being outright dropped (#30559) 1 year ago
Matt Jankowski 9cc4040308
Extract `COMMENT_SIZE_LIMIT` constant in `AP::Activity::Flag` class (#30637) 1 year ago
Emelia Smith e02d23b549
Change `read:me` scope to `profile` scope (#30357)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Emelia Smith d20a5c3ec9
Fix: remove broken OAuth Application vacuuming & throttle OAuth Application registrations (#30316)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 133d98fb25
Normalize language code of incoming posts (#30403) 2 years ago
Matt Jankowski dbaa4ed891
Use `chewy` which relaxes ES version reqs (#30157) 2 years ago
Matt Jankowski da6b9238f5
Expand coverage for admin/metrics/measure/* classes (#29914) 2 years ago
Matt Jankowski ec5a0e0f5e
Expand coverage for admin/metrics/dimension/* classes (#29913) 2 years ago
Matt Jankowski 59da591d13
Improve spec for dimension/languages admin metric (#29842) 2 years ago
Matt Jankowski 4f4132f1a1
Add diagnostic message for failure during CLI search deploy (#29462) 2 years ago
Matt Jankowski 681a89f684
Readability clean up in `ImportVacuum` spec (#28955) 2 years ago
Matt Jankowski 42875fee52
Add coverage for bad args/options in `CLI::Domains#purge` (#29578) 2 years ago
Matt Jankowski 6262ceeb70
Fix `RSpec/DescribedClass` cop (#29472) 2 years ago
Matt Jankowski 8349b45d60
Accept extra args that we wont verify in `ap/activity/add_spec` (#29005) 2 years ago
Matt Jankowski a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation (#29527) 2 years ago
Claire 9fee5e8526
Merge pull request from GHSA-jhrq-qvrm-qr36
* Fix insufficient Content-Type checking of fetched ActivityStreams objects

* Allow JSON-LD documents with multiple profiles
2 years ago
Matt Jankowski ed4939296a
Reduce `RSpec/MultipleExpectations` in ap/activity/create spec (#29224) 2 years ago
Matt Jankowski 15437e4ad9
Add `context` and `before` to lengthy tag manager spec examples (#29129) 2 years ago
Claire eff447a455
Rewrite signature verification using regexps and `StringScanner` (#29133) 2 years ago
Matt Jankowski 95da28d201
Add common `ThreadingHelper` module for specs (#29116) 2 years ago