Commit Graph

1773 Commits

Author SHA1 Message Date
Claire dbbf450ef5
Fix `fediverse:creator` metadata not showing up in REST API () 2025-01-06 10:04:25 +00:00
Matt Jankowski 08dd11f8d4
Use `in_order_of` with `filter: false` in `AccountSummary.localized` () 2025-01-06 08:18:05 +00:00
Tim Rogers 3bdfa3eb4c
Added validator for extra profile field values with empty name () 2025-01-04 19:42:27 +00:00
Matt Jankowski f35de1ed0d
Remove un-needed `Poll.attached` scope () 2024-12-20 15:15:11 +00:00
Matt Jankowski b648c64e2e
Add `NOT NULL` requirement to columns on `polls` () 2024-12-20 14:33:48 +00:00
Matt Jankowski 22caddaa24
Update user role position range limit () 2024-12-19 08:10:39 +00:00
Matt Jankowski aee64a465c
Remove unused `Poll.unattached` scope () 2024-12-19 08:10:06 +00:00
Matt Jankowski ca2a7d66b8
Fix missing value limits for `UserRole` position () 2024-12-18 08:29:27 +00:00
Matt Jankowski 978142ac9e
Add missing `NOT NULL` on more columns from "large but valid" tables () 2024-12-17 13:38:18 +00:00
Claire 1712543c68
Revert "Support animated PNGs in media attachments ()" () 2024-12-17 10:52:59 +00:00
Claire 6305b6e747
Fix error decrementing status count when `FeaturedTags#last_status_at` is `nil` () 2024-12-16 12:33:55 +00:00
Matt Jankowski cf4595967b
Add `NOT NULL` requirement to columns on `account_conversations` () 2024-12-16 08:20:08 +00:00
Matt Jankowski efc85e39a0
Add missing `NOT NULL` requirement to small, indexed, valid data tables () 2024-12-14 00:16:03 +00:00
Matt Jankowski 3c71ee9b90
Use `touch_all` for time column updates () 2024-12-13 08:41:42 +00:00
Christian Schmidt a70ae28644
Support animated PNGs in media attachments () 2024-12-11 02:28:21 +00:00
Matt Jankowski e4e35ab134
Add NOT NULL requirement to account columns on `AccountPin` () 2024-12-10 15:50:49 +00:00
Matt Jankowski e76aff7de5
Standardize uniqueness validation declaration on `Mention` () 2024-12-10 15:45:13 +00:00
Matt Jankowski 7d52b24569
Add coverage for `AccountPin` model () 2024-12-10 13:02:52 +00:00
Eugen Rochko 30aa0df88c
Add terms of service () 2024-12-09 10:04:46 +00:00
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table () 2024-12-05 14:34:14 +00:00
Matt Jankowski 4934242aca
Update schema/annotations after tag trend db/redis migrate () 2024-12-04 17:55:56 +00:00
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis ()
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 () 2024-12-04 09:05:58 +00:00
Michael Stanclift 04b7046be1
Provide option to force use of system scrollbar styling () 2024-12-03 08:38:23 +00:00
Matt Jankowski a17e7d10fc
Always validate `inbox_url` presence on Relay () 2024-12-02 07:38:06 +00:00
Eugen Rochko 48f3ed738f
Fix list error messages () 2024-11-28 10:13:06 +00:00
Eugen Rochko 46c43d263c
Change avatar and header size limits from 2MB to 8MB when using libvips () 2024-11-26 21:01:52 +00:00
Matt Jankowski a27bafa596
Add `UserRole#bypass_block?` method for notification check () 2024-11-26 09:45:47 +00:00
Claire 9a7130d6da
Fix direct inbox delivery pushing posts into inactive followers' timelines () 2024-11-25 15:54:18 +00:00
Claire 2d8fed23e6
Fix `TagFollow` records not being correctly handled in account operations () 2024-11-25 10:27:58 +00:00
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations () 2024-11-25 08:19:16 +00:00
Eugen Rochko d75088d699
Fix pushing hashtag-followed posts to feeds of inactive users () 2024-11-22 08:30:57 +00:00
Claire e68b26c8df
Fix posts made in the future being allowed to trend () 2024-11-20 12:41:22 +00:00
Matt Jankowski 37f00fb018
Use hash arguments to `group` when possible () 2024-11-19 10:36:02 +00:00
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively () 2024-11-19 10:04:12 +00:00
Matt Jankowski f2976ec9a4
Extract `Notification::Groups` concern () 2024-11-19 10:02:01 +00:00
Matt Jankowski da826fe959
Use hash arguments to `order` when possible (Rails 7.2) () 2024-11-18 15:07:53 +00:00
Matt Jankowski 477412d62a
Use hash arguments to `select` when possible (Rails 7.2) () 2024-11-18 14:58:45 +00:00
Matt Jankowski 1c6f53e70f
Use `with_options` blocks in `Associations` concern () 2024-11-18 08:07:18 +00:00
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list () 2024-11-15 15:52:37 +00:00
Shlee 34d7c9edae
Rails 7+: primary_abstract_class recommendation () 2024-11-15 15:37:30 +00:00
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods () 2024-11-14 14:03:57 +00:00
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize () 2024-11-14 13:47:29 +00:00
Claire 8f5cbf5370
Fix list creation limit check () 2024-11-13 10:22:11 +00:00
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class () 2024-11-12 08:57:06 +00:00
Emelia Smith a34edc211f
Add audit logging to Relays () 2024-11-12 08:35:08 +00:00
Matt Jankowski c099797700
Use `mastodon` config namespace to load software update default value via `config_for` () 2024-11-12 08:28:31 +00:00
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern () 2024-11-11 13:08:23 +00:00
Matt Jankowski d033920b7e
Move account silence-related methods to concern () 2024-11-11 08:29:55 +00:00
Matt Jankowski 10c895dc84
Use existing arel scopes instead of string ordering () 2024-11-08 14:21:44 +00:00