Commit Graph

2914 Commits (features/numeric-identifiers)

Author SHA1 Message Date
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 8 months ago
Eugen Rochko 796dd57e1b
Change ability to navigate of unconfirmed users (#33209) 8 months ago
Matt Jankowski 72a4da83fd
Merge duplicate custom css request specs (#33204) 8 months ago
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table (#31971) 8 months ago
Matt Jankowski 86b45a4a48
Add rel alternate rss/json links to tags show html page (#33179) 8 months ago
Claire 21f6780498
Fix deletion of unconfirmed users with Webauthn set (#33186) 8 months ago
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 8 months ago
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis (#32837)
Co-authored-by: David Roetzel <david@roetzel.de>
8 months ago
Claire c521a62b1e
Add tests for broken mention processing (#33171) 8 months ago
Matt Jankowski e5bea68b20
Fix empty authors preview card serialization (#33151) 8 months ago
Matt Jankowski 6fddf1610c
Fix awkwardly-worded nature of scheduled too soon error (#33156) 8 months ago
Matt Jankowski be43b01eb1
Add coverage for `CustomFilter#expires_in` method (#33142) 8 months ago
Matt Jankowski 2381ed55d7
Add coverage for `Report#unresolved_siblings?` (#33141) 8 months ago
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 8 months ago
Jonathan de Jong 360b6d3a44
Fix exclusive lists interfering with notifications (#28162) 8 months ago
Matt Jankowski 3cd308523a
Add shared example for `RankedTrend` concern (#33125) 8 months ago
Calvin Lee 7f4858b339
Correctly sanitize MathML out of post content (#27107) 8 months ago
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 8 months ago
Matt Jankowski 0ea9d8164b
Remove `body_class_string` helper (#33072) 8 months ago
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations (#33026) 8 months ago
Matt Jankowski ab9c62e8c7
Add coverage for `User` validations (#33028) 8 months ago
Matt Jankowski fd90f04f0e
Add coverage for `UserRole` validations (#33029) 8 months ago
Christian Schmidt 0518613dd7
LinkDetailsExtractor adjustments (#31357) 8 months ago
Christian Schmidt 7385016837
`rel="me"` check should be case-insenstive (#32238) 8 months ago
Emelia Smith 4517e18b79
Update dependency doorkeeper to v5.8.0 (#33000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8 months ago
Paulo Vilarinho 2526b32ad3
block scheduled status from frozen users (#30729) 8 months ago
Matt Jankowski b66fbaeec2
Add `AccountWarning` case to `Report#history` spec (#32984) 8 months ago
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively (#32930) 8 months ago
Matt Jankowski 87e7ad9b8f
Add `LoginActivity` model spec and `BrowserDetection` concern shared example (#32959) 8 months ago
Matt Jankowski 425982841d
Use group/count approach in annual report classes (#32914) 8 months ago
Matt Jankowski 295ad6f19a
Prep work for coverage addition to `ActivityPub::DeliveryWorker` spec (#32944) 8 months ago
Matt Jankowski 30a7986569
Add coverage for fixing the thing with the dates in the search area (#32958) 8 months ago
Matt Jankowski c0c34d35e2
Move self destruct check to `config_for` and add constant for verifier string (#32943) 8 months ago
Eugen Rochko 911d7dbbf6
Fix `min_id` and `max_id` causing error in search API (#32857) 8 months ago
Matt Jankowski 03ee08c2da
Use `nil` instead of `false` for datetime value in spec (#32926) 8 months ago
Matt Jankowski be413d67de
`Form::Import` spec reduce factories (#32924) 8 months ago
Matt Jankowski a1ac2a73ff
Remove remnants of embed views (#32419) 8 months ago
Matt Jankowski 9d3fcc3546
Remove unused failure action in api/base controller spec (#32905) 8 months ago
Matt Jankowski 7bd7705f59
Combine shared-setup examples across `spec/controllers/auth/*` specs (#32906) 8 months ago
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 8 months ago
Matt Jankowski 297ce9ef44
Move body class to shared partial for web app controller concern views (#31797) 8 months ago
Claire f1ef7b5b43
Fix uploading higher-than-wide GIF profile picture with libvips enabled (#32911) 8 months ago
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 8 months ago
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 8 months ago
Claire e8b6607ece
Fix titles being escaped twice (#32889) 8 months ago
Claire 8f5cbf5370
Fix list creation limit check (#32869) 8 months ago
Matt Jankowski a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records` (#32863) 8 months ago
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 8 months ago
Matt Jankowski 884bbf7ae2
Prepare the way for banning a bunch of usernames (#32856) 9 months ago
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class (#32839) 9 months ago
Matt Jankowski c099797700
Use `mastodon` config namespace to load software update default value via `config_for` (#30534) 9 months ago
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern (#28865) 9 months ago
Matt Jankowski d033920b7e
Move account silence-related methods to concern (#28866) 9 months ago
Matt Jankowski 4ef3a1a38d
Match dependency-generator output for `require_relative` usage (#32800) 9 months ago
Matt Jankowski 870bb06994
Add coverage for misc serializers (#32781) 9 months ago
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 (#30391) 9 months ago
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary (#32787) 9 months ago
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 9 months ago
Matt Jankowski ff490daa58
Reduce factory generation in `AccountStatusesFilter` spec (#32727) 9 months ago
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 9 months ago
Matt Jankowski a20ac20302
Add model spec for `Tombstone` (#32697) 9 months ago
Eugen Rochko c2b498a2b0
Fix IDs not being serialized as strings in annual reports API (#32710) 9 months ago
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint (#32548) 9 months ago
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 9 months ago
Matt Jankowski df3b954720
Add `DomainHelpers` spec support module for DNS/MX stub (#32690) 9 months ago
Emelia Smith d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 9 months ago
Matt Jankowski b107fc2e65
Use nil for timestamp column in admin/confirmations spec (#32682) 9 months ago
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model (#32515) 9 months ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 9 months ago
Matt Jankowski 1775e151ec
Simplify model validation specs for `DomainAllow` (#32496) 9 months ago
Matt Jankowski 9464281f29
Simplify model validation specs for `AccountStatusCleanupPolicy` (#32495) 9 months ago
Matt Jankowski 15f6336cdd
Simplify model validation specs for `AccountMigration` (#32494) 9 months ago
Matt Jankowski 86132f7dd3
Provide `establish_policy` helper method in `AccountStatusesCleanupPolicy` spec (#32490) 9 months ago
Matt Jankowski 2a13d6824c
Use `subject` for `FeedManager` lib spec (#32486) 9 months ago
Matt Jankowski 2e3bbb6861
Move account suspension related coverage to concern spec (#32432) 9 months ago
Matt Jankowski 4134ccdbe0
Simplify model validation specs for `WebauthnCredential` (#32466) 9 months ago
Matt Jankowski e5be4bf8d8
Simplify model validation specs for `PreviewCard` (#32469) 9 months ago
Matt Jankowski 37bcbeab4a
Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 9 months ago
Matt Jankowski dea6c454fd
Contribute more coverage for `Account` model (#32474) 9 months ago
Matt Jankowski b16435e79f
Explore more resplendent model validation specs for `Form::AdminSettings` (#32465) 9 months ago
Matt Jankowski 67504dbf9c
Simplify uniqueness validation spec for `IpBlock` (#32066) 9 months ago
Matt Jankowski 5c910dc82e
Add coverage for `DatabaseHelper` primary/replica methods (#32642) 9 months ago
Matt Jankowski 745c4f900a
Remove unused `ApplicationHelper#visibility_icon` helper method (#32644) 9 months ago
Matt Jankowski 5a4f4f3e83
Remove single-use `ProfileStories` method (#31164) 9 months ago
Matt Jankowski 2f906ed55a
Constants for account refresh (#32420) 9 months ago
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 9 months ago
Matt Jankowski d1b20ea8f7
Worker specs coverage increase (#32541) 9 months ago
Matt Jankowski bd0c826a3d
Simplify model validation specs for `Announcement` (#32481) 9 months ago
Matt Jankowski c0f46e9031
Fortify coverage for `Follow` model (#32472) 9 months ago
Matt Jankowski 1f3722904f
Top off coverage for `Appeal` model (#32464) 9 months ago
Matt Jankowski 67403e7b01
Add coverage for ActivityPub likes/shares endpoints (#32305) 9 months ago
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint (#32303) 9 months ago
Matt Jankowski 6d2f865862
Add coverage for `AccountAlias` validations (#31936) 9 months ago
Matt Jankowski bfe3d49cca
Add `inline_jobs` to admin/reset spec (#32517) 9 months ago
Matt Jankowski c40cd79c4d
Convert `admin/invites` controller specs to system specs (#32450) 9 months ago
Matt Jankowski 9e8f099d38
Improve `app/policies` coverage (#32426) 9 months ago
Matt Jankowski 28131b4b00
Convert status embed controller to request spec (#32448) 9 months ago
Matt Jankowski b78597979a
Fix missing content warning text in rss formatter (#32406) 9 months ago
Matt Jankowski b742ce9d09
Reduce factory creation (17 -> 0) in `PlainTextFormatter` spec (#32487) 9 months ago
Matt Jankowski e9b27852be
Reduce factory creation (14 -> 8) in `ActivityPub::Activity::Block` spec (#32488) 9 months ago
Matt Jankowski 27f05e9016
Expand coverage for `User#token_for_app` (#32434) 9 months ago
Matt Jankowski bfb41e61a3
Expand coverage for `Block` model (#32480) 9 months ago
Christian Schmidt 227d46883f
Translate to regional language variant (e.g. pt-BR) (#32428) 9 months ago
Matt Jankowski 6a39212b02
Reduce factories (36 > 12) in `AccountReachFinder` spec (#32482) 9 months ago
Matt Jankowski 92bb19773a
Use `context` for repeated scenarios in `AccountStatusCleanupPolicy` spec (#32489) 9 months ago
Matt Jankowski d1d2278e70
Reduce factory creation (73 -> 64) in `PublicFeed` spec (#32491) 9 months ago
Matt Jankowski b1c10969ac
Reduce factory creation (48 -> 8) in `AP::Note` serializer spec (#32492) 9 months ago
Matt Jankowski a11b599ffa
Expand coverage for `Scheduler::IpCleanupScheduler` worker (#32499) 9 months ago
Matt Jankowski 0cc21f1ded
Reduce factory creation (132 -> 40) in lib/vacuum/* specs (#32498) 9 months ago
Matt Jankowski d74c2c583a
Extend spec coverage for `Poll` model (#32500) 9 months ago
Matt Jankowski cc70acc11c
Augment coverage for `Status` model (#32468) 9 months ago
Matt Jankowski d8eab3d81f
Reinforce coverage for `DomainBlock` model (#32473) 9 months ago
Matt Jankowski 06d6b35e88
Convert `admin/tags` controller specs to system specs (#32447) 9 months ago
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed (#32354) 10 months ago
Matt Jankowski f49161ab1d
Oauth system spec cleanup / helper method extraction (#32287) 10 months ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 10 months ago
Matt Jankowski ebdeac0731
Add coverage for missing status scenario in NotificationMailer (#32256) 10 months ago
Matt Jankowski e4e07b1c34
Reduce factory usage across `spec/services` area (#32098) 10 months ago
Matt Jankowski 463f9197d8
Add regression coverage for admin reports resolution button within form (#32248) 10 months ago
Matt Jankowski cc8d723e71
Register an XML encoder for response tests (#32220) 10 months ago
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts (#32227) 10 months ago
Matt Jankowski b7bb850efd
Enable hostname config for all system specs (#32109) 10 months ago
Matt Jankowski d270d6dd4f
Provide `use_path` to qr generator for svg data size reduction (#32127) 10 months ago
Matt Jankowski 2151dfb8d6
Add `relevant_params` to ReportFilter (matches account filter) (#32136) 10 months ago
Matt Jankowski 4aa26eba53
Extract `WebPushRequest` from push notification worker and subscription (#32208) 10 months ago
Matt Jankowski ebab3b80c7
Expand coverage for `Export` utility class (#32212) 10 months ago
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json (#32206) 10 months ago
Jeong Arm 66b2bc1c84
Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
10 months ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 10 months ago
Matt Jankowski cdd7526531
Remove completed TODO note in tags request spec (#32108) 10 months ago
Claire 513f187daf
Add “A Mastodon update is available.” message on admin dashboard for non-bugfix updates (#32106) 10 months ago
Matt Jankowski db57fe80c8
Remove `page_json` var from ap/replies spec (#32000) 10 months ago
Renaud Chaput 28966fa0a6
Remove deprecated `v2_alpha` endpoint for grouped notifications (#32089) 10 months ago
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` (#32063) 10 months ago
Renaud Chaput 3dc4ddc663
Fix search params being dropped when redirected to non-deck path (#31984) 10 months ago
Matt Jankowski 83574f641a
Add coverage and use mailer callback to check functional user in notification mailer (#32055) 10 months ago
Matt Jankowski c2ef83ea4c
Consolidate shared `a scope` example parts into one attributes check (#32046) 10 months ago
Matt Jankowski c3b6a7a297
Reduce factory creation (36 -> 12) in `spec/controllers/oauth/*` area (#32045) 10 months ago
Matt Jankowski 06ecf9008b
Remove single-use shared examples in controller specs (#32044) 10 months ago
André Menrath 556837f156
Fix the summary of converted object types to be treated as HTML (#28629) 10 months ago
Claire c36a76b9eb
Fix error when accepting appeal for sensitive posts deleted in the meantime (#32037)
Co-authored-by: David Roetzel <david@roetzel.de>
10 months ago
Matt Jankowski 780e2e9d66
Convert notification mailer spec shared examples to matchers (#32047) 10 months ago
Matt Jankowski 5dfdec6453
Convert `settings/applications` controller spec to system/request specs (#32006) 10 months ago
Matt Jankowski bbf7752256
Combine assertions in `Notification` model spec (#32015) 10 months ago
Matt Jankowski 2b4bda8004
Add `response_avatar_link` helper to webfinger request spec (#31999) 10 months ago
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs (#32014) 10 months ago
Matt Jankowski 66ed7ea4b5
Move status creation to "with rss" context in accounts request spec (#32020) 10 months ago
Matt Jankowski cd7b670cd8
Reduce factory creation in `User#reset_password!` spec (#32021) 10 months ago
Matt Jankowski 0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec (#32003) 10 months ago
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single (#32002) 10 months ago
Matt Jankowski d55f4fbda1
Add content type checks to api/v2 request specs (#31983) 10 months ago
Matt Jankowski 171394e914
Add coverage for CSV responses for severed relationships (#31962) 10 months ago
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs (#31981) 10 months ago
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern (#31988) 10 months ago
Matt Jankowski 9a03902ab6
Capture actual behavior in v2/notifications "someone else" dismiss scenario (#31985) 10 months ago
Matt Jankowski 5a8f2fe31d
Convert `settings/exports` controller spec to system/request specs (#31965) 10 months ago
renovate[bot] 6801afa12f
Update dependency devise-two-factor to v6 [SECURITY] (#31957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Roetzel <david@roetzel.de>
10 months ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 10 months ago
Matt Jankowski e3baa1cdda
Add coverage for `AccountDeletionRequest` class (#31937) 10 months ago
Matt Jankowski bf8eaaa9a5
Convert controller spec for security_key_options endpoint to request spec (#31938) 10 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 10 months ago
Matt Jankowski eb16763bff
Use `have_http_link_header` matcher in `api/v1/trends/*` specs (#31940) 10 months ago
Matt Jankowski 943738671c
Remove unneeded `to_s` on `Link` header comparison in statuses controller spec (#31941) 10 months ago
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#31840) 10 months ago
Matt Jankowski c54cbf7943
Remove `follow` creation from `ListAccount` fabricator (#31902) 10 months ago
Matt Jankowski abd2f5654a
Add validation coverage for `CustomEmoji` shortcode value (#31906) 10 months ago
Matt Jankowski 822e918a56
Add coverage for `Bookmark` validation and reblog/status check callback (#31907) 10 months ago
Claire 4b40d13cb3
Increase preview card image size limit from 2MB to 8MB when using libvips (#31904) 10 months ago
David Roetzel c1b2c4fd9a
Strip protocol from attribution domains (#31900) 11 months ago
Claire ba81e4e019
Fix inability to locally suspend remotely-suspended accounts in moderation interface (#31899) 11 months ago
Matt Jankowski a2c4f5f5c0
Add coverage for `ListAccount` follow/follow_request set up (#31896) 11 months ago
Matt Jankowski 202077517c
Add "search" group for chewy classes in simplecov config (#31890) 11 months ago
Matt Jankowski 207c073bf8
Remove debug output in migration controller spec (#31886) 11 months ago
Taylor Chaparro 1b6a82b799
Fix invalid date searches returning 503 (#31526) 11 months ago
Matt Jankowski 4aa600387e
Move redirect/base body class to view (#31796) 11 months ago
Christian Schmidt 8cdc148167
Handle invalid visibility (#31571) 11 months ago
Matt Jankowski 17c57c46e7
Add coverage for title/limit validations in `List` model (#31869) 11 months ago
Claire a496aeabcb
Change form-action Content-Security-Policy directive to be more restrictive (#26897) 11 months ago
Claire c35ea59ee6
Fix security context sometimes not being added in LD-Signed activities (#31871) 11 months ago
David Roetzel ab763c493f
Ignore `undefined` as canonical url (#31882) 11 months ago
Eugen Rochko 3d46f47817
Change embedded posts to use web UI (#31766)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Matt Jankowski cdcd834f3c
Add coverage for `AnnualReport::*` source child classes (#31849) 11 months ago
Matt Jankowski cee71b9892
Remove `fa_` prefix from status visibility icon method (#31846) 11 months ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 11 months ago
Matt Jankowski d0ab94c4d2
Add `FeaturedTag` coverage, use `pick` in model (#31828) 11 months ago
Mike Dalessio a0ea2fa3b0
Change fetch link card service to parse as HTML5 (#31814) 11 months ago
Matt Jankowski c6a0768fe5
Use shared system spec helper methods (#31784) 11 months ago
Mike Dalessio afa2e257e4
Change verify link service to use CSS selectors instead of a complex XPath query (#31815) 11 months ago
Matt Jankowski 4f81ad2494
Add coverage for `media#player`, move body class to view (#31790) 11 months ago
Emelia Smith c88ba523ee
Fix sort order of moderation notes on Reports and Accounts (#31528) 11 months ago
Matt Jankowski a9d0b48b65
Set "admin" body class from `admin` nested layout (#31269) 11 months ago
Matt Jankowski 6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs (#31749) 11 months ago
Matt Jankowski 7efe0bde9d
Add `have_http_link_header` matcher and set header values as strings (#31010) 11 months ago
Matt Jankowski 09017dd8f0
Add worker spec for annual report worker (#31778) 11 months ago
Matt Jankowski 5acec087ca
Simplify basic presence validations (#29664) 11 months ago
David Roetzel f85694acfd
Add credentials to redis sentinel configuration (#31768) 11 months ago
Matt Jankowski e820cc30b8
Convert invites controller spec to system/request specs (#31755) 11 months ago
Matt Jankowski ba9fd1c32e
Add coverage for `Account#prepare_contents` callback (#31748) 11 months ago
David Roetzel 7d91723f05
Support `REDIS_SENTINEL_PORT` variables (#31767) 11 months ago
Matt Jankowski 4d5c91e99a
Remove `before` block in spec with TODOs which have been TO-DONE already (#31754) 11 months ago
Matt Jankowski e1b5f3fc6f
Use `response.parsed_body` for html response checks (#31750) 11 months ago
David Roetzel ef2bc8ea26
Add redis sentinel support to ruby part of code (#31744) 11 months ago
Claire 1fcffa573c
Fix 500 error in `GET /api/v2_alpha/notifications` when there are no notifications to return (#31746) 11 months ago
Matt Jankowski 14af5b47ac
Add coverage for model normalizations (#31734) 11 months ago
Matt Jankowski 9ed1aab9b7
Remove accidental matcher debug code (#31732) 11 months ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 11 months ago
Matt Jankowski c9ea91f868
Add coverage for `api/v1/annual_reports` area (#31730) 11 months ago
Matt Jankowski 19849eb91d
Skip paperclip spoof detector unless opted into attachment processing specs (#31454) 11 months ago
Matt Jankowski 69dbc23038
Only enable chewy in search-tagged specs (#30583) 11 months ago
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern (#31152) 11 months ago
Matt Jankowski 2f0d0fc127
Add coverage for `CLI::Accounts#fix_duplications` task (#30639) 11 months ago
Matt Jankowski e1fa456c7c
Add `have_cacheable_headers` matcher for responses (#31727) 11 months ago
Matt Jankowski 490bdb7944
Add coverage for `StatusesHelper#media_summary` method (#31726) 11 months ago
Matt Jankowski 8922786ef4
Fix `RSpec/LetSetup` cop in api/v1/timelines/tag spec (#30796) 11 months ago
Matt Jankowski 67faaf5557
Simplify account model username presence validation spec (#31013) 11 months ago
Matt Jankowski fcb83be8b2
Improve coverage specificity for Webhook enable/disable/secret specs (#31194) 11 months ago
Matt Jankowski 928390c2ba
Convert `admin/settings` controller specs to system specs (#31548) 11 months ago
Matt Jankowski ef4920c6c9
Pull out https/hostname setup for request specs to shared config (#31622) 11 months ago
Matt Jankowski 79b1841805
Disable `without_verify_partial_doubles` in statuses/show view spec (#29132) 11 months ago
Matt Jankowski 5b595b8a5a
Remove usage of `assigns` in controller specs (#30195) 11 months ago
Claire ea0d691e19
Add `GET /api/v2_alpha/notifications/:group_key/accounts` (#31725) 11 months ago
Matt Jankowski 219458d7d4
Convert `tags` controller spec to system and request specs (#31708) 11 months ago
Matt Jankowski 31c00108a4
Add first pass coverage for `AnnualReport` class (#31704) 11 months ago
Matt Jankowski b8957241af
Add coverage for `JsonLdHelper#uri_from_bearcap` method (#31700) 11 months ago
Matt Jankowski 25bbb01666
Remove unused helper method in spec (#31699) 11 months ago
Matt Jankowski 24a0b20408
Use `body_as_json` directly instead of via local var assignment (#31696) 11 months ago
Christian Schmidt a5bbe83dfd
media_ids is an array of strings (#31709) 11 months ago
Christian Schmidt 491033c86c
Reject status creation with invalid `media_ids` parameter (#31681) 11 months ago
Matt Jankowski 40f993b3a0
Use built-in `response.parsed_body` for JSON response specs (#31674) 11 months ago
David Roetzel 388d5473e1
Refactor (ruby) redis configuration (#31694) 11 months ago
Matt Jankowski 1ee1c329cc
Convert `admin/announcements` controller spec to system spec (#31655) 11 months ago
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped (#31594) 11 months ago
Matt Jankowski 02585d8789
Convert `media` controller spec to request spec (#31634) 11 months ago
Matt Jankowski b9269c8d38
Convert `admin/reset` controller spec to system spec (#31643) 11 months ago
Matt Jankowski 0ef636f72d
Convert `shares` controller spec to system spec (#31619) 11 months ago
Matt Jankowski 00586d27cb
Convert `instance_actor` controller spec to request spec (#31621) 11 months ago
Matt Jankowski 3959f36d19
Add checks about response body content to admin/dash spec (#30716) 11 months ago
Matt Jankowski 48f4e5444d
Convert `media_proxy` controller spec to request spec (#31600) 11 months ago
Matt Jankowski a7f8417795
Convert "CSV export" settings controller specs to request specs (#31601) 11 months ago
Matt Jankowski 38a3466741
Convert `api/oembed` controller spec to request spec (#31605) 11 months ago
Matt Jankowski c09d232ee3
Convert `api/web/settings` controller spec to request spec (#31606) 11 months ago
Matt Jankowski 14d7fe05d0
Use `describe` instead of `context` in top-level spec declaration (#31607) 11 months ago
Matt Jankowski 4c2534d12e
Convert "static page" controller specs to system specs (#31599) 11 months ago
Matt Jankowski dbe0ee8a81
Convert `emojis` controller spec to request spec (#31597)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Matt Jankowski 5172d84946
Convert `manifest` controller spec to request spec (#31596) 11 months ago
Matt Jankowski 36ccdcc9e1
Convert "custom css" controller spec to request spec (#31595) 11 months ago
Matt Jankowski 641ae6a2cf
Convert health check endpoint controller spec to request spec (#31565) 11 months ago
Matt Jankowski bcc4b1078c
Fix `Rails/RootPathnameMethods` cop (#31582) 11 months ago
David Roetzel 0374918746
Add spec for doorkeeper behavior around issuing tokens (#31545) 11 months ago
Renaud Chaput 4a968cb7a9
Add `icon` field to instance endpoint (#30205) 11 months ago
Claire 19a1acb38b
Add `api_versions` to `/api/v2/instance` (#31354) 11 months ago
Matt Jankowski f91403ccaa
Remove unused `fa_icon` helper method (#31511) 11 months ago
Claire 711e1fce0a
Fix pagination parameters in `GET /api/v2_alpha/notificatins` (#31509) 11 months ago
Matt Jankowski fa2e7b1708
Migrate fontawesome->material in more views (#31360) 11 months ago
Claire 53c183f899
Reload notifications when accepted notifications are merged (streaming only) (#31419) 11 months ago
Edward Moulsdale d4f135bc6d
Fix in memoriam accounts appearing in follow recommendations (#31474)
Co-authored-by: Utkarsh Wankar <46633523+kernal053@users.noreply.github.com>
11 months ago
Claire d2e4be0456
Hopefully fix notifications pagination flaky test (#31494) 11 months ago
Renaud Chaput 5d04e29775
Disable Chrome's search engine selection screen when running system specs (#31437) 11 months ago
Renaud Chaput 4545b8d6cb
Add the ability to ignore specific browser errors for a spec (#31436) 11 months ago
Jeong Arm 95c11d365d
Don't push to cache buster if attachment path is nil (#31414) 12 months ago
Claire 7996a9543d
Change notification request acceptance to immediately delete the request (#31256) 12 months ago
Renaud Chaput c3e1d86d58
Fix log out from user menu not working on Safari (#31402) 12 months ago
Matt Jankowski 02df1b4e4a
Finish email allow/deny list naming migration (#30530) 12 months ago
Claire 8a5b57f668
Revert "Support JSON-LD named graph (#31288)" (#31355) 12 months ago
Claire cbdd8edf68
Revamp notification policy options (#31343) 12 months ago
Claire 994ef16b72
Bust CDN cache on media deletion (#31353) 12 months ago
Matt Jankowski 52a626f39b
Replace more `font-awesome` icons in `app/helpers` (#30962) 12 months ago
Claire 670e4655d1
Change dismissing a notification to clear existing filtered notifications for that account (#31329) 12 months ago
Claire af2aec1a82
Change notification requests to only count mentions (#31322) 12 months ago
Claire 719cabe024
Fix logic of block/mute bypass for mentions from moderators (#31271) 12 months ago
Claire 438dac99d6
Add option to request partial accounts in grouped notifications API (#31299) 12 months ago
Christian Schmidt 9d0cafd06b
Check Content-Length in ResponseWithLimitAdapter (#31285) 12 months ago
Christian Schmidt e9e63ed203
Support JSON-LD named graph (#31288) 12 months ago
Claire da5b45a573
Add endpoints to accept and dismiss multiple notification requests at once (#31242) 12 months ago
Claire 549ab089ee
Change grouped notifications API shape (take 2) (#31214) 12 months ago
Claire 598ae4f2da
Add endpoints for unread notifications count (#31191) 1 year ago
Tim Rogers 2ce99c51dd
Fixed Rails route covering %40-encoded profile URL paths to not 404 (#31184) 1 year ago
Emelia Smith c40e481169
Implement UI for Admin Search of Hashtags (#30880) 1 year ago
Matt Jankowski 95eadabe44
Extrude `fill_in_auth_details` method to `ProfileStories` spec support module (#31163) 1 year ago
David Roetzel dd53792714
Move UI tests from controller to system spec (#31158) 1 year ago
Emelia Smith 693d9b03ed
Enable OAuth PKCE Extension (#31129) 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
Matt Jankowski bfaa53343a
Improve failure message on pagination matcher (#31146) 1 year ago
Adam Niedzielski 337a7fcf30
Fix ß bug in regexp for mentions and tags (#31122) 1 year ago
Matt Jankowski e881a59671
Add `User.unconfirmed` scope, reduce factories in `scheduler/user_cleanup` spec (#31063) 1 year ago
Adam Niedzielski cd0ca4b994
Select correct self link when parsing Webfinger response (#31110) 1 year ago
Emelia Smith bb2e5a4b58
Add audit logs to Admin::InstancesController (#27386) 1 year ago
Claire ced5e853c7
Fix duplicate `orderedItems` in user archive's `outbox.json` (#31099) 1 year ago
Matt Jankowski 6e4305de69
Fix spec descriptions around configurable limit values (#31079) 1 year ago
Matt Jankowski ef796446e5
Ignore manifest JS parse/interrupt error on CI (#31080) 1 year ago
kyori19 3a00f89aa1
Respect `Account::DISPLAY_NAME_LENGTH_LIMIT` in account spec correctly (#31075) 1 year ago
Matt Jankowski 05342529dd
Reduce factory creation in AP activity move spec (#31064) 1 year ago
Matt Jankowski 848b59c8ae
Reduce factory creation in `MediaAttachment` model spec (#31058) 1 year ago
Matt Jankowski 47ea83d246
Reduce factory creation in `AP::ProcessStatusUpdateService` spec (#31051) 1 year ago
Matt Jankowski 2616fde9e6
Use change-requiring records in admin/reports controller spec (#31052) 1 year ago
Matt Jankowski c5f8256801
Reduce extra factories in `FanOutOnWriteService` spec (#31053) 1 year ago
Matt Jankowski 76c2c5c748
Reduce extra round trips in `activitypub` controller specs (#31041) 1 year ago
Matt Jankowski f5e90f3de3
Reduce extra round trips in `AP::SynchronizeFollowersService` spec (#31044) 1 year ago
Matt Jankowski 81877e7950
Reduce extra round trips in `AP::FetchRemoteStatusService` spec (#31045) 1 year ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 1 year ago
Matt Jankowski 91ef4a6fc5
Add assertion about key columns to account key generate spec (#30635) 1 year ago
Claire 1dd8262071
Add optional `filtered` attribute to notification entities in REST API (#31011) 1 year ago
Matt Jankowski 00cb4a0313
Avoid repeated factory creation in media_attachments_vacuum_spec (#31000) 1 year ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 1 year ago
Matt Jankowski 43e24dbb13
Use `include_pagination_headers` in more places (#30999) 1 year ago
Matt Jankowski 73d53827ea
Add change assertion to invites destroy spec (#31004) 1 year ago
David Roetzel 2ea9336b68
Do not pass unknown encoding names to nokogiri. (#30987) 1 year ago
David Roetzel 967505ee9b
Add size limit for all PreviewCard URLs (#30973) 1 year ago
Daniel M Brasil 3875bd138d
Fix HTTP 500 in `/api/v1/polls/:id/votes` (#25598) 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
Claire d41b43ed4f
Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932) 1 year ago
David Roetzel 97eddb5906
Fix details extraction when no title exists. (#30933) 1 year ago
David Roetzel 016c1e4e78
Improve handling of encoding problems when creating link previews (#30929) 1 year ago
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`
1 year ago
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
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 836c0477ac
Use vips setting instead of env var in media processing spec (#30859) 1 year ago
David Roetzel ff08d99d4d
Catch encoding errors when creating link previews. (#30853) 1 year ago
David Roetzel 42adb6eaee
Add size limit for link preview URLs (#30854) 1 year ago
Matt Jankowski f6390c3326
Use flatware to parallelize CI specs (#30284) 1 year ago
Claire 7a84b76bb1
Drop favicon.ico generation (#30375) 1 year ago
Matt Jankowski 8ef59729a1
Ignore intermittent chrome/manifest/icon interaction failure (#30793) 1 year ago
Emelia Smith 30ae5952d2
Fix: Ensure "With Media" is highlighted from Admin Accounts page (#30812) 1 year ago
Claire 8827cd597e
Fix `/admin/accounts/:account_id/statuses/:id` for edited posts with media attachments (#30819) 1 year ago
Matt Jankowski 72484a194f
Remove `CacheBuster` default options (#30718) 1 year ago
David Roetzel 2cab1c7b09
Improve encoding detection for link cards (#30780) 1 year ago
Matt Jankowski 84a31319e9
Add `match_json_values` and use in AP worker specs (#30720) 1 year ago
Claire 8098d27f84
Stop calling Webpacker in full-stack tests (#30763) 1 year ago
Claire 58ace2e45e
Fix SQL error in admin measures API (#30753) 1 year ago
Matt Jankowski 38c6825eda
Remove unused `Extractor#extract_cashtags_with_indices` method (#30742) 1 year ago
Matt Jankowski d7b7617321
Use `class_names` in admin/account_moderation_notes helper (#30719) 1 year ago
Matt Jankowski f287462f76
Fix repeated Delete/Undo assertion in remove status service spec (#30715) 1 year ago
Claire 45abddb302
Fix pagination attributes not being returned in ungroupable-only pages (#30688) 1 year ago
Claire bf56e982a9
Fix notifications from limited users being outright dropped (#30559) 1 year ago
Claire 1dfd516284
Fix duplicate `@context` attribute in user export (#30653) 1 year ago
Matt Jankowski d818ddd687
Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class (#30636) 1 year ago
Matt Jankowski 62d070c438
Check both before/after state in `AccountDomainBlock` spec (#30640) 1 year ago
Matt Jankowski 1622f7aeb9
Remove duplicate fabricator validity checks (#29667) 1 year ago
Matt Jankowski edf6d64eeb
Use correct params in `settings/preferences/appearance` spec (#30379) 1 year ago
Matt Jankowski b2496177e0
Use correct params in `v1/admin/domain_allows` spec (#30378) 1 year ago
Matt Jankowski cfd4823b65
Use fabricator in follow_spec (#30642) 1 year ago
Matt Jankowski 9cc4040308
Extract `COMMENT_SIZE_LIMIT` constant in `AP::Activity::Flag` class (#30637) 1 year ago
Matt Jankowski 9bf2e2eda0
Extract `TEXT_LENGTH_LIMIT` constant in `Appeal` class (#30638) 1 year ago
Matt Jankowski 3e3f3d7580
Match report validation spec to extracted constant (#30633) 1 year ago
Matt Jankowski 92b3004bf3
Reference constants from account validation specs (#30634) 1 year ago
Daniel M Brasil 28f9a8f2ec
Add Specs for Scheduled Status Model Validations (#30585) 1 year ago