Commit Graph

1760 Commits (fixes/notification-trailing-groups)

Author SHA1 Message Date
Claire 74ff263f5d Fix last paginated notification group only including data on a single notification 2024-12-11 15:16:06 +01:00
Christian Schmidt a70ae28644
Support animated PNGs in media attachments (#28516) 2024-12-11 02:28:21 +00:00
Matt Jankowski e4e35ab134
Add NOT NULL requirement to account columns on `AccountPin` (#33244) 2024-12-10 15:50:49 +00:00
Matt Jankowski e76aff7de5
Standardize uniqueness validation declaration on `Mention` (#33247) 2024-12-10 15:45:13 +00:00
Matt Jankowski 7d52b24569
Add coverage for `AccountPin` model (#33231) 2024-12-10 13:02:52 +00:00
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 2024-12-09 10:04:46 +00:00
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table (#31971) 2024-12-05 14:34:14 +00:00
Matt Jankowski 4934242aca
Update schema/annotations after tag trend db/redis migrate (#33173) 2024-12-04 17:55:56 +00:00
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis (#32837)
Co-authored-by: David Roetzel <david@roetzel.de>
2024-12-04 11:59:17 +00:00
Matt Jankowski e5bea68b20
Fix empty authors preview card serialization (#33151) 2024-12-04 09:05:58 +00:00
Michael Stanclift 04b7046be1
Provide option to force use of system scrollbar styling (#32117) 2024-12-03 08:38:23 +00:00
Matt Jankowski a17e7d10fc
Always validate `inbox_url` presence on Relay (#32364) 2024-12-02 07:38:06 +00:00
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 2024-11-28 10:13:06 +00:00
Eugen Rochko 46c43d263c
Change avatar and header size limits from 2MB to 8MB when using libvips (#33002) 2024-11-26 21:01:52 +00:00
Matt Jankowski a27bafa596
Add `UserRole#bypass_block?` method for notification check (#32974) 2024-11-26 09:45:47 +00:00
Claire 9a7130d6da
Fix direct inbox delivery pushing posts into inactive followers' timelines (#33067) 2024-11-25 15:54:18 +00:00
Claire 2d8fed23e6
Fix `TagFollow` records not being correctly handled in account operations (#33063) 2024-11-25 10:27:58 +00:00
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations (#33026) 2024-11-25 08:19:16 +00:00
Eugen Rochko d75088d699
Fix pushing hashtag-followed posts to feeds of inactive users (#33018) 2024-11-22 08:30:57 +00:00
Claire e68b26c8df
Fix posts made in the future being allowed to trend (#32996) 2024-11-20 12:41:22 +00:00
Matt Jankowski 37f00fb018
Use hash arguments to `group` when possible (#32916) 2024-11-19 10:36:02 +00:00
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively (#32930) 2024-11-19 10:04:12 +00:00
Matt Jankowski f2976ec9a4
Extract `Notification::Groups` concern (#32968) 2024-11-19 10:02:01 +00:00
Matt Jankowski da826fe959
Use hash arguments to `order` when possible (Rails 7.2) (#32915) 2024-11-18 15:07:53 +00:00
Matt Jankowski 477412d62a
Use hash arguments to `select` when possible (Rails 7.2) (#32917) 2024-11-18 14:58:45 +00:00
Matt Jankowski 1c6f53e70f
Use `with_options` blocks in `Associations` concern (#32840) 2024-11-18 08:07:18 +00:00
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 2024-11-15 15:52:37 +00:00
Shlee 34d7c9edae
Rails 7+: primary_abstract_class recommendation (#32909) 2024-11-15 15:37:30 +00:00
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 2024-11-14 14:03:57 +00:00
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 2024-11-14 13:47:29 +00:00
Claire 8f5cbf5370
Fix list creation limit check (#32869) 2024-11-13 10:22:11 +00:00
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class (#32839) 2024-11-12 08:57:06 +00:00
Emelia Smith a34edc211f
Add audit logging to Relays (#32819) 2024-11-12 08:35:08 +00:00
Matt Jankowski c099797700
Use `mastodon` config namespace to load software update default value via `config_for` (#30534) 2024-11-12 08:28:31 +00:00
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern (#28865) 2024-11-11 13:08:23 +00:00
Matt Jankowski d033920b7e
Move account silence-related methods to concern (#28866) 2024-11-11 08:29:55 +00:00
Matt Jankowski 10c895dc84
Use existing arel scopes instead of string ordering (#32801) 2024-11-08 14:21:44 +00:00
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` (#32802) 2024-11-08 10:08:36 +00:00
Matt Jankowski df54196a14
Use `touch_all` with batches (#32799) 2024-11-08 10:00:15 +00:00
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 (#30391) 2024-11-07 14:58:20 +00:00
Matt Jankowski 697947116e
Add `EmailDomainBlock.parents` scope (#31968) 2024-11-07 13:46:20 +00:00
Matt Jankowski 68b545ef33
Add `Status.not_direct_visibility` scope (#32065) 2024-11-07 10:32:33 +00:00
Matt Jankowski 73f66af6eb
Update location of unused `MIN_SCHEDULE_OFFSET` constant (#31217) 2024-11-07 10:28:59 +00:00
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary (#32787) 2024-11-06 10:51:54 +00:00
Eugen Rochko d6349c0e9a
Add year in review feature to web UI (#32709) 2024-11-05 14:40:07 +00:00
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 2024-11-04 10:11:06 +00:00
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 2024-10-31 15:12:08 +00:00
Matt Jankowski a20ac20302
Add model spec for `Tombstone` (#32697) 2024-10-31 13:27:47 +00:00
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 2024-10-29 15:46:32 +00:00
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model (#32515) 2024-10-28 07:34:58 +00:00