Commit Graph

1719 Commits (6ae1fcd0591ece24867483865f41e95b80cc0fb2)

Author SHA1 Message Date
Matt Jankowski be77a1098b
Extract `Account::AUTOMATED_ACTOR_TYPES` for "bot" actor_type values (#31772) 6 months ago
Matt Jankowski 58df00f04d
Extract method for self-referencing records in `AccountStatusCleanupPolicy` (#31244) 7 months ago
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern (#31152) 7 months ago
Matt Jankowski 2f0d0fc127
Add coverage for `CLI::Accounts#fix_duplications` task (#30639) 7 months ago
Matt Jankowski 48379e62e4
Remove unused `User#inactive_message` method (#31698) 7 months ago
Matt Jankowski 406b8211f5
Remove unused `Mention#active?` method (#31697) 7 months ago
David Roetzel 388d5473e1
Refactor (ruby) redis configuration (#31694) 7 months ago
Claire a23b3747ac
Fix N+1s in grouped notifications (#31638) 7 months ago
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped (#31594) 7 months ago
Claire 711e1fce0a
Fix pagination parameters in `GET /api/v2_alpha/notificatins` (#31509) 7 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>
7 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>
7 months ago
Jeong Arm 95c11d365d
Don't push to cache buster if attachment path is nil (#31414) 7 months ago
Matt Jankowski 02df1b4e4a
Finish email allow/deny list naming migration (#30530) 7 months ago
Claire cbdd8edf68
Revamp notification policy options (#31343) 7 months ago
Claire 994ef16b72
Bust CDN cache on media deletion (#31353) 7 months ago
Claire af2aec1a82
Change notification requests to only count mentions (#31322) 7 months ago
Emelia Smith c40e481169
Implement UI for Admin Search of Hashtags (#30880) 8 months ago
Adam Niedzielski 337a7fcf30
Fix ß bug in regexp for mentions and tags (#31122) 8 months ago
Matt Jankowski e881a59671
Add `User.unconfirmed` scope, reduce factories in `scheduler/user_cleanup` spec (#31063) 8 months ago
Claire 3a49687ca0
Fix performance issue by using LATERAL in group notification CTE (#31123) 8 months ago
Emelia Smith bb2e5a4b58
Add audit logs to Admin::InstancesController (#27386) 8 months ago
Claire 2774980589
Fix syntax error in grouped notifications CTE on some PostgreSQL versions (#31098) 8 months 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>
8 months ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 8 months ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 8 months ago
Claire ad52b04a1c
Add setting to disable hover cards (#30931)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
8 months ago
David Roetzel 967505ee9b
Add size limit for all PreviewCard URLs (#30973) 8 months ago
Claire d41b43ed4f
Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932) 8 months ago
Eugen Rochko 096057b845
Change `author_account` to be `authors` in REST API (#30846) 9 months ago
Claire 7a84b76bb1
Drop favicon.ico generation (#30375) 9 months ago
Claire 8827cd597e
Fix `/admin/accounts/:account_id/statuses/:id` for edited posts with media attachments (#30819) 9 months ago
Claire bb2d77b4a0
Change `/api/v2_alpha/notifications` to only return historical data in pages (#30781) 9 months ago
Claire f723370c69
Fix missing `account_warning` delegation in `NotificationGroup` (#30779) 9 months ago
Claire 8eb27c60e1
Add `most_recent_notification_id` to `NotificationGroup` (#30707) 9 months ago
Claire 37f53542fe
Fix limit handling in grouped notifications CTE (#30685) 9 months ago
Matt Jankowski d818ddd687
Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class (#30636) 9 months ago
Matt Jankowski 665f6f09a0
Add expired/revoked scopes for doorkeeper models via extension modules (#29936) 9 months ago
Matt Jankowski 9bf2e2eda0
Extract `TEXT_LENGTH_LIMIT` constant in `Appeal` class (#30638) 9 months ago
Claire 9e9613b286
Fix `mentions.account_id` and `mentions.status_id` not having `NOT NULL` database constraints (#30591) 10 months ago
Claire 1408733386
Fix Mastodon relying on ImageMagick even with `MASTODON_USE_LIBVIPS` (#30590) 10 months ago
Eugen Rochko a2505e8611
Add timeline of public posts about a trending link to REST API (#30381) 10 months ago
Emelia Smith 4655be0da6
Fix add validation to webpush subscription keys (#30542) 10 months ago
Eugen Rochko 5f15a892fa
Add support for libvips in addition to ImageMagick (#30090)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
10 months ago
Emelia Smith eef2cc054f
Add url validation to Web::PushSubscription endpoints (#30540) 10 months ago
Claire 974335e414
Add experimental server-side notification grouping (#29889) 10 months ago
Eugen Rochko 128987eded
Add support for `fediverse:creator` OpenGraph tag (#30398) 10 months ago
Matt Jankowski 4a77e477ee
Consolidate account scopes for `LOWER` (index using) username/domain queries (#30451) 10 months ago
Matt Jankowski c61e356475
Add `Status::MEDIA_ATTACHMENTS_LIMIT` configuration constant (#30433) 10 months ago
Matt Jankowski 9b5055d34d
Fix `Style/SuperArguments` cop (#30406) 10 months ago
Claire 89f89d738f
Revert "Allow unblocking email addresses from any matching account (#29305)" (#30385) 10 months ago
Matt Jankowski def6b686ff
Fix `Rails/WhereRange` cop (#30343) 10 months ago
Jeong Arm a627219b25
Fix moderation action logs (#30342) 10 months ago
Emelia Smith 5fd56512de
Improve Report Notes and Account Moderation Notes (#30288) 10 months ago
Claire d8c4284723
Ensure custom favicon is converted to PNG and ICO (#30208) 11 months ago
Claire 2fe1b8d169
Add API to get multiple accounts and statuses (#27871)
Co-authored-by: noellabo <noel.yoshiba@gmail.com>
11 months ago
Fawaz Farid bc24c4792d
Allow admins to configure instance favicon and logo (#30040) 11 months ago
Claire 30ef9fccf0
Fix hashtag matching pattern matching some link anchors (#30190) 11 months ago
Claire e5062b7135
Fix post deletion not being deferred when those are part of an account warning (#30163) 11 months 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>
11 months ago
Matt Jankowski 88882fbbee
Move Rails/HABTM cop out of todo (#30118) 11 months ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Matt Jankowski 924af400da
Remove unused memoization in `CustomFilter#expires_in` method (#30117) 11 months ago
Matt Jankowski ac7f4d57bb
Use composable query in `Status.without_replies` scope (#30086) 11 months ago
Claire 95e9de5777
Prevent accidental serialization of `Account` and `User` records (#30079) 11 months ago
Matt Jankowski bbf1b603e0
Remove unused `Account.popular` scope (#30068) 11 months ago
Matt Jankowski 2123281f7c
Move `Account` limits to constants (#30087) 11 months ago
Matt Jankowski f0c9cbaf3b
Use `EXPIRATION_DURATIONS` constant in `CustomFilter` class (#30088) 11 months ago
Claire e845594878
Fix moderator account being exposed in account moderation notification (#30082) 11 months ago
Claire 4ef0b48b95
Add in-app notifications for moderation actions/warnings (#30065) 11 months ago
Matt Jankowski f4a53f3fb4
Extract constants for column size length validation limits (#30045) 11 months ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 11 months ago
Matt Jankowski 650c548c31
Add `not_featured_by` scope to Tag (#28815) 11 months ago
Claire fc89ecc6ca
Change `/api/v1/announcements` to return regular `Status` entities (#26736) 11 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>
11 months ago
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` (#29950) 11 months ago
Matt Jankowski 6b33d3f81b
Add `CustomFilter.unexpired` scope (#29896) 11 months ago
Matt Jankowski 3159c0a547
Add scope `Status.list_eligible_visibility` (#29951) 11 months ago
Matt Jankowski 13bbde2246
Use existing `DEFAULT_FIELDS_SIZE` constant to limit `Account#fields` (#29911) 11 months ago
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope (#29775) 12 months ago
Claire babbf6017d
Remove caching in `cache_collection` (#29862) 12 months ago
Matt Jankowski c0fe8a9f13
Extract shared callback behaviour to `CustomFilterCache` concern (#29695) 12 months ago
Claire 38b9d31f63
Improve email address validation (#29838) 12 months ago
Matt Jankowski f56309f5f0
Add `by_latest_used` scope, move admin area recent IPs to partial (#29497) 12 months ago
Matt Jankowski b016f03637
Pull out constant from `AccountWarning.recent` scope (#29767) 12 months ago
Matt Jankowski 1d0a43f6a3
Use composable query in `Status.not_domain_blocked_by_account` scope (#29766) 12 months ago
Matt Jankowski 32938dadd7
Add `not_allowed` scope for `PreviewCardTrend` (#29599) 12 months ago
Matt Jankowski cf76380c91
Add `AccountStat.by_recent_status`, use in `Account` (#29704) 12 months ago
Emelia Smith eb926b7e60
Ensure case-insensitive fields are converted to lowercase in user imports (#29740) 12 months ago
Emelia Smith a3e8b78250
Ensure case-insensitive fields are converted to lowercase in Admin Imports (#29739) 12 months ago
Claire 37ca59815c
Remove setting for unfollow confirmation modal, and make it unconditional (#29373) 1 year ago
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table (#29718) 1 year ago
Claire d71d26a3c9
Reattribute notification-related records if possible when merging accounts (#29694) 1 year ago
Claire dfa43707eb
Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately (#29714) 1 year ago
Matt Jankowski 8c1d29df7e
Use `has_many through` instead of `delegate` for ARSE<>SR (#29672) 1 year ago
Matt Jankowski 77897cd24c
Use existing `SeveredRelationship.about_local_account` scope in more places (#29673) 1 year ago
Matt Jankowski cdd168f5d3
Update `enum` away from deprecated (#29678) 1 year ago
Claire f4d753aedf
Fix error in severed relationship event serializer (#29670) 1 year ago
Claire 98a2bb8be2
Fix issue with severed relationships notifications (#29668) 1 year ago
Claire 954b470fbc
Fix error when attempting to delete posts that triggered a notification request (#29666) 1 year ago