Commit Graph

537 Commits (d41b43ed4fff8ccbee5eac62064c5def14f88973)

Author SHA1 Message Date
Claire d41b43ed4f
Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932) 6 months ago
Matt Jankowski 836c0477ac
Use vips setting instead of env var in media processing spec (#30859) 6 months ago
Matt Jankowski d818ddd687
Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class (#30636) 7 months ago
Matt Jankowski 62d070c438
Check both before/after state in `AccountDomainBlock` spec (#30640) 7 months ago
Matt Jankowski 1622f7aeb9
Remove duplicate fabricator validity checks (#29667) 7 months ago
Matt Jankowski cfd4823b65
Use fabricator in follow_spec (#30642) 7 months ago
Matt Jankowski 9bf2e2eda0
Extract `TEXT_LENGTH_LIMIT` constant in `Appeal` class (#30638) 7 months ago
Matt Jankowski 3e3f3d7580
Match report validation spec to extracted constant (#30633) 7 months ago
Matt Jankowski 92b3004bf3
Reference constants from account validation specs (#30634) 7 months ago
Daniel M Brasil 28f9a8f2ec
Add Specs for Scheduled Status Model Validations (#30585) 7 months ago
Claire 1408733386
Fix Mastodon relying on ImageMagick even with `MASTODON_USE_LIBVIPS` (#30590) 7 months ago
Matt Jankowski a662c6d1d8
Use `sidekiq_inline` in admin/account_action model spec (#30565) 7 months ago
Eugen Rochko 5f15a892fa
Add support for libvips in addition to ImageMagick (#30090)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
7 months ago
Claire 974335e414
Add experimental server-side notification grouping (#29889) 7 months ago
Claire 30ef9fccf0
Fix hashtag matching pattern matching some link anchors (#30190) 8 months ago
Claire e5062b7135
Fix post deletion not being deferred when those are part of an account warning (#30163) 8 months ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
8 months ago
Claire e845594878
Fix moderator account being exposed in account moderation notification (#30082) 8 months ago
Claire 4ef0b48b95
Add in-app notifications for moderation actions/warnings (#30065) 8 months ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 9 months ago
Matt Jankowski 650c548c31
Add `not_featured_by` scope to Tag (#28815) 9 months ago
Matt Jankowski 6fed108703
Use Rails `upsert` to generate update_count! query in Counters concern (#28738)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
9 months ago
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope (#29775) 9 months ago
Claire babbf6017d
Remove caching in `cache_collection` (#29862) 9 months ago
Claire 38b9d31f63
Improve email address validation (#29838) 9 months ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 10 months ago
Claire d5063072c3
Revert friends-of-friends follow recommendation query to using a CTE (#29619) 10 months ago
Matt Jankowski 6262ceeb70
Fix `RSpec/DescribedClass` cop (#29472) 10 months ago
Matt Jankowski c09b8a7164
Add `Account.without_internal` scope (#29559)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
10 months ago
Matt Jankowski 01b624c4a0
Use `normalizes` on `CustomFilter#context` value (#27602) 10 months ago
Matt Jankowski 216cea1e27
Fix incorrect frequency value in `FriendsOfFriendsSource` data (#29550) 10 months ago
Eugen Rochko c10bbf5fe3
Add notification policies and notification requests in web UI (#29433) 10 months ago
Jeong Arm 4a6ddbc9c0
Normalize idna domain before account unblock domain (#29530) 10 months ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 10 months ago
Claire ee8d0b9447
Fix follow suggestions potentially including silenced or blocked accounts (#29306) 10 months ago
Daniel M Brasil a25014de8f
Improve `IpBlock` model test coverage (#29460) 10 months ago
Matt Jankowski 3389c41b58
Move `nobody` position in `UserRole` magic number to constant (#29465) 10 months ago
Matt Jankowski 1f648fdf1a
Remove erroneous service type on `TagFeed` model spec (#29302) 10 months ago
Matt Jankowski 64f9939e39
Use `capture_emails` helper to improve email assertions in specs (#29245) 11 months ago
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 11 months ago
Matt Jankowski 117b507df5
Extract `subject` from `User#mark_email_as_confirmed!` spec (#29231) 11 months ago
Matt Jankowski bba488c189
Reduce `RSpec/MultipleExpectations` in media_attachment spec (#29228) 11 months ago
Claire b31af34c97
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
11 months ago
Emelia Smith 68eaa804c9
Merge pull request from GHSA-7w3c-p9j8-mq3x
* Ensure destruction of OAuth Applications notifies streaming

Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.

* Ensure password resets revoke access to Streaming API

* Improve performance of deleting OAuth tokens

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Matt Jankowski 95da28d201
Add common `ThreadingHelper` module for specs (#29116) 11 months ago
Claire 66dda7c762
Fix already-invalid reports failing to resolve (#29027) 11 months ago
Matt Jankowski 6d35a77c92
Combine repeated subjects in `models/user` spec (#28937) 11 months ago
Matt Jankowski 42ab855b23
Add specs for `Instance` model scopes and add `with_domain_follows` scope (#28767) 11 months ago
Matt Jankowski 2866106ec1
Reduce factory creation in `spec/models/account_statuses_cleanup_policy` (#28361) 11 months ago
Matt Jankowski 6b6586f5d0
Add `CustomFilterKeyword#to_regex` method (#28893) 11 months ago