Commit Graph

1858 Commits (fixes/cancel-follow-request)

Author SHA1 Message Date
Matt Jankowski e4e35ab134
Add NOT NULL requirement to account columns on `AccountPin` (#33244) 8 months ago
Matt Jankowski e76aff7de5
Standardize uniqueness validation declaration on `Mention` (#33247) 8 months ago
Matt Jankowski 7d52b24569
Add coverage for `AccountPin` model (#33231) 8 months ago
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 8 months ago
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table (#31971) 8 months ago
Matt Jankowski 4934242aca
Update schema/annotations after tag trend db/redis migrate (#33173) 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
Matt Jankowski e5bea68b20
Fix empty authors preview card serialization (#33151) 8 months ago
Michael Stanclift 04b7046be1
Provide option to force use of system scrollbar styling (#32117) 8 months ago
Matt Jankowski a17e7d10fc
Always validate `inbox_url` presence on Relay (#32364) 8 months ago
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 8 months ago
Eugen Rochko 46c43d263c
Change avatar and header size limits from 2MB to 8MB when using libvips (#33002) 8 months ago
Matt Jankowski a27bafa596
Add `UserRole#bypass_block?` method for notification check (#32974) 8 months ago
Claire 9a7130d6da
Fix direct inbox delivery pushing posts into inactive followers' timelines (#33067) 8 months ago
Claire 2d8fed23e6
Fix `TagFollow` records not being correctly handled in account operations (#33063) 8 months ago
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations (#33026) 8 months ago
Eugen Rochko d75088d699
Fix pushing hashtag-followed posts to feeds of inactive users (#33018) 8 months ago
Claire e68b26c8df
Fix posts made in the future being allowed to trend (#32996) 8 months ago
Matt Jankowski 37f00fb018
Use hash arguments to `group` when possible (#32916) 8 months ago
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively (#32930) 8 months ago
Matt Jankowski f2976ec9a4
Extract `Notification::Groups` concern (#32968) 8 months ago
Matt Jankowski da826fe959
Use hash arguments to `order` when possible (Rails 7.2) (#32915) 8 months ago
Matt Jankowski 477412d62a
Use hash arguments to `select` when possible (Rails 7.2) (#32917) 8 months ago
Matt Jankowski 1c6f53e70f
Use `with_options` blocks in `Associations` concern (#32840) 8 months ago
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 8 months ago
Shlee 34d7c9edae
Rails 7+: primary_abstract_class recommendation (#32909) 8 months ago
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 9 months ago
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 9 months ago
Claire 8f5cbf5370
Fix list creation limit check (#32869) 9 months ago
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class (#32839) 9 months ago
Emelia Smith a34edc211f
Add audit logging to Relays (#32819) 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 10c895dc84
Use existing arel scopes instead of string ordering (#32801) 9 months ago
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` (#32802) 9 months ago
Matt Jankowski df54196a14
Use `touch_all` with batches (#32799) 9 months ago
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 (#30391) 9 months ago
Matt Jankowski 697947116e
Add `EmailDomainBlock.parents` scope (#31968) 9 months ago
Matt Jankowski 68b545ef33
Add `Status.not_direct_visibility` scope (#32065) 9 months ago
Matt Jankowski 73f66af6eb
Update location of unused `MIN_SCHEDULE_OFFSET` constant (#31217) 9 months ago
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary (#32787) 9 months ago
Eugen Rochko d6349c0e9a
Add year in review feature to web UI (#32709) 9 months ago
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 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
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 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 66c0471515
Enrich coverage for `IpBlock` model (#32471) 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
Jeong Arm 18659f8163
Fix that blocking was not working on link timeline (#32625) 9 months ago
Claire 2391937e11
Fix follow recommendation moderation page default language when using regional variant (#32580) 9 months ago
Matt Jankowski d8eab3d81f
Reinforce coverage for `DomainBlock` model (#32473) 10 months ago
Claire b0dd38433b
Fix follow recommendation suppressions not applying immediately (#32392) 10 months ago
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed (#32354) 10 months ago
Matt Jankowski 258dce1256
Add `OpenSSL::SSL::SSLError` to http connection errors wrapper (#32307) 10 months ago
Matt Jankowski e8ec6667bd
Extract wrapper constant for `HTTP::*` error classes (#32285) 10 months ago
Matt Jankowski bfabd6a2b8
Move account suspension-related methods to concern (#28351) 10 months ago
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts (#32227) 10 months ago
Matt Jankowski 36f9c96812
Clean up labels on development application form (#32116) 10 months ago
Matt Jankowski 2151dfb8d6
Add `relevant_params` to ReportFilter (matches account filter) (#32136) 10 months ago
Matt Jankowski 1f65a95421
Remove unneeded `reorder(nil)` conditions (#32200) 10 months ago
Matt Jankowski 4aa26eba53
Extract `WebPushRequest` from push notification worker and subscription (#32208) 10 months ago
Matt Jankowski ec16ed37c3
Extract constants for header and avatar geometry (#32151) 10 months ago
Matt Jankowski e975b55c24
Remove `WebfingerHelper` module & move usage inline (#31203) 10 months ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 10 months ago
Claire 0c872beed4
Merge commit from fork
This should not change the set of words matched by `USERNAME_RE` but does
change the one matched by `MENTION_RE`. Indeed, the previous regexp allowed
a domain part to start with `.` or `-`, which the new regexp does not allow.
10 months ago
Matt Jankowski e02e88bff4
Use previously extracted model constants in form `maxlength` attributes (#32113) 10 months ago
Renaud Chaput d6f5ee75ab
Add notification grouping for follow notifications (#32085) 10 months ago
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern (#31988) 10 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 10 months ago
Matt Jankowski abd2f5654a
Add validation coverage for `CustomEmoji` shortcode value (#31906) 10 months ago
Claire 4b40d13cb3
Increase preview card image size limit from 2MB to 8MB when using libvips (#31904) 11 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 49cbee3836
Remove unused argument from `AccountMigration.within_cooldown` (#31892) 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
Matt Jankowski da07adfe6c
Add `CustomEmoji.enabled` scope (#31830) 11 months ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 11 months ago
Matt Jankowski 5b995143f1
Use `with_options` for shared Account validation option value (#31827) 11 months ago
Matt Jankowski d0ab94c4d2
Add `FeaturedTag` coverage, use `pick` in model (#31828) 11 months ago
Matt Jankowski e6969cf4e4
Add method for media-referencing status in `AccountStatusCleanupPolicy` (#31798) 11 months ago
Mike Dalessio 82161d8ae5
Change Account::Field parsing to use HTML5::DocumentFragment (#31813) 11 months ago
Emelia Smith c88ba523ee
Fix sort order of moderation notes on Reports and Accounts (#31528) 11 months ago
Emelia Smith fd7fc7bdc3
Disable actions on reports that have already been taken (#31773) 11 months ago
Matt Jankowski be77a1098b
Extract `Account::AUTOMATED_ACTOR_TYPES` for "bot" actor_type values (#31772) 11 months ago
Matt Jankowski 58df00f04d
Extract method for self-referencing records in `AccountStatusCleanupPolicy` (#31244) 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 48379e62e4
Remove unused `User#inactive_message` method (#31698) 11 months ago
Matt Jankowski 406b8211f5
Remove unused `Mention#active?` method (#31697) 11 months ago
David Roetzel 388d5473e1
Refactor (ruby) redis configuration (#31694) 11 months ago
Claire a23b3747ac
Fix N+1s in grouped notifications (#31638) 11 months ago
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped (#31594) 11 months ago
Claire 711e1fce0a
Fix pagination parameters in `GET /api/v2_alpha/notificatins` (#31509) 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
Emelia Smith 99051479c1
Fix Trending Tags pending review having an unstable sort order (#31473)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Jeong Arm 95c11d365d
Don't push to cache buster if attachment path is nil (#31414) 12 months ago
Matt Jankowski 02df1b4e4a
Finish email allow/deny list naming migration (#30530) 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
Claire af2aec1a82
Change notification requests to only count mentions (#31322) 12 months ago
Emelia Smith c40e481169
Implement UI for Admin Search of Hashtags (#30880) 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
Claire 3a49687ca0
Fix performance issue by using LATERAL in group notification CTE (#31123) 1 year ago
Emelia Smith bb2e5a4b58
Add audit logs to Admin::InstancesController (#27386) 1 year ago
Claire 2774980589
Fix syntax error in grouped notifications CTE on some PostgreSQL versions (#31098) 1 year ago
Renaud Chaput f587ff643f
Grouped Notifications UI (#30440)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 1 year ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 1 year ago
Claire ad52b04a1c
Add setting to disable hover cards (#30931)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
1 year ago
David Roetzel 967505ee9b
Add size limit for all PreviewCard URLs (#30973) 1 year ago
Claire d41b43ed4f
Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932) 1 year ago
Eugen Rochko 096057b845
Change `author_account` to be `authors` in REST API (#30846) 1 year ago
Claire 7a84b76bb1
Drop favicon.ico generation (#30375) 1 year ago
Claire 8827cd597e
Fix `/admin/accounts/:account_id/statuses/:id` for edited posts with media attachments (#30819) 1 year ago
Claire bb2d77b4a0
Change `/api/v2_alpha/notifications` to only return historical data in pages (#30781) 1 year ago
Claire f723370c69
Fix missing `account_warning` delegation in `NotificationGroup` (#30779) 1 year ago
Claire 8eb27c60e1
Add `most_recent_notification_id` to `NotificationGroup` (#30707) 1 year ago
Claire 37f53542fe
Fix limit handling in grouped notifications CTE (#30685) 1 year ago
Matt Jankowski d818ddd687
Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class (#30636) 1 year ago
Matt Jankowski 665f6f09a0
Add expired/revoked scopes for doorkeeper models via extension modules (#29936) 1 year ago
Matt Jankowski 9bf2e2eda0
Extract `TEXT_LENGTH_LIMIT` constant in `Appeal` class (#30638) 1 year ago
Claire 9e9613b286
Fix `mentions.account_id` and `mentions.status_id` not having `NOT NULL` database constraints (#30591) 1 year ago
Claire 1408733386
Fix Mastodon relying on ImageMagick even with `MASTODON_USE_LIBVIPS` (#30590) 1 year ago
Eugen Rochko a2505e8611
Add timeline of public posts about a trending link to REST API (#30381) 1 year ago
Emelia Smith 4655be0da6
Fix add validation to webpush subscription keys (#30542) 1 year ago
Eugen Rochko 5f15a892fa
Add support for libvips in addition to ImageMagick (#30090)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Emelia Smith eef2cc054f
Add url validation to Web::PushSubscription endpoints (#30540) 1 year ago
Claire 974335e414
Add experimental server-side notification grouping (#29889) 1 year ago
Eugen Rochko 128987eded
Add support for `fediverse:creator` OpenGraph tag (#30398) 1 year ago
Matt Jankowski 4a77e477ee
Consolidate account scopes for `LOWER` (index using) username/domain queries (#30451) 1 year ago
Matt Jankowski c61e356475
Add `Status::MEDIA_ATTACHMENTS_LIMIT` configuration constant (#30433) 1 year ago
Matt Jankowski 9b5055d34d
Fix `Style/SuperArguments` cop (#30406) 1 year ago
Claire 89f89d738f
Revert "Allow unblocking email addresses from any matching account (#29305)" (#30385) 1 year ago
Matt Jankowski def6b686ff
Fix `Rails/WhereRange` cop (#30343) 1 year ago
Jeong Arm a627219b25
Fix moderation action logs (#30342) 1 year ago
Emelia Smith 5fd56512de
Improve Report Notes and Account Moderation Notes (#30288) 1 year ago
Claire d8c4284723
Ensure custom favicon is converted to PNG and ICO (#30208) 1 year ago
Claire 2fe1b8d169
Add API to get multiple accounts and statuses (#27871)
Co-authored-by: noellabo <noel.yoshiba@gmail.com>
1 year ago
Fawaz Farid bc24c4792d
Allow admins to configure instance favicon and logo (#30040) 1 year ago
Claire 30ef9fccf0
Fix hashtag matching pattern matching some link anchors (#30190) 1 year ago
Claire e5062b7135
Fix post deletion not being deferred when those are part of an account warning (#30163) 1 year ago
Râu Cao 9aa31be8d3
Fix local account search on LDAP login being case-sensitive (#30113)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 88882fbbee
Move Rails/HABTM cop out of todo (#30118) 1 year ago