Wolfgang Fournès
4a87f697a9
fix invalid domain block severities
...
This commit fixes any invalid domain block severities by setting them to
2 if they are bigger than 2 or 0 if they are smaller than 0.
This ensures that the domain block severities are always within the valid
range of 0 to 2.
2024-12-28 21:38:29 +01:00
Matt Jankowski
b648c64e2e
Add NOT NULL
requirement to columns on polls
( #33374 )
2024-12-20 14:33:48 +00:00
Claire
85792cc375
Fix incorrect notification settings migration for non-followers ( #33348 )
2024-12-18 12:25:40 +00:00
Jesse Karmani
db749c7d2b
Fix down clause for notification policy v2 migrations ( #33340 )
2024-12-18 08:52:47 +00:00
Matt Jankowski
978142ac9e
Add missing NOT NULL
on more columns from "large but valid" tables ( #33330 )
2024-12-17 13:38:18 +00:00
Matt Jankowski
c68eb82ffa
Use explicit config loading from bin/rubocop
( #33256 )
2024-12-16 13:50:58 +00:00
Matt Jankowski
cf4595967b
Add NOT NULL
requirement to columns on account_conversations
( #33308 )
2024-12-16 08:20:08 +00:00
Matt Jankowski
efc85e39a0
Add missing NOT NULL
requirement to small, indexed, valid data tables ( #33284 )
2024-12-14 00:16:03 +00:00
Matt Jankowski
708919ee93
Update deprecated enum
style in older migrations ( #32925 )
2024-12-12 10:44:58 +00:00
Matt Jankowski
d56aa9031a
Disable Naming/VariableNumber
cop in old migrations ( #33274 )
2024-12-12 08:15:38 +00:00
Matt Jankowski
43702b95a2
Enable Rails/ReversibleMigration
cop ( #33264 )
2024-12-11 15:50:50 +00:00
Matt Jankowski
d6241f6751
Fix Rails/ThreeStateBooleanColumn
cop ( #33269 )
2024-12-11 14:25:48 +00:00
Matt Jankowski
e4e35ab134
Add NOT NULL requirement to account columns on AccountPin
( #33244 )
2024-12-10 15:50:49 +00:00
Eugen Rochko
30aa0df88c
Add terms of service ( #33055 )
2024-12-09 10:04:46 +00:00
Claire
fbcd14ff7e
Always remove setting keys in legacy user settings migrations ( #33196 )
2024-12-06 10:58:18 +00:00
Matt Jankowski
a1143c522b
Add missing on_delete: :cascade
foreign keys option ( #33175 )
2024-12-06 08:29:54 +00:00
Eugen Rochko
d29eddc401
Fix tag trend migration failing due to duplicate rows ( #33189 )
2024-12-05 16:12:26 +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
897cb1803e
Run bin/rails db:schema:dump
under Rails 7.2 ( #32838 )
2024-11-12 08:56:04 +00:00
Matt Jankowski
f180880f65
Remove postgres version support check for REINDEX
in migration ( #32744 )
2024-11-07 15:40:41 +00:00
Eugen Rochko
90f4ffa31d
Fix performance of percentile calculation for annual reports ( #32765 )
2024-11-04 10:11:06 +00:00
Jonny Saunders
9074c1fac9
Use likes
and shares
totalItems on status creations and updates ( #32620 )
2024-10-28 04:55:18 +00:00
Matt Jankowski
fae1de699c
Remove duplicate indexes from database ( #32454 )
2024-10-23 13:26:51 +00:00
Claire
a59160cf01
Add missing on_delete: :cascade
on notification_permissions
( #32281 )
2024-10-07 07:46:03 +00:00
Matt Jankowski
4cae309f6a
Fix Rails/CreateTableWithTimestamps
cop ( #30836 )
2024-10-01 13:56:43 +00:00
Claire
62a39d60ce
Fix rolling updates by moving DropEndToEndMessageTables to post-deployment migrations ( #31963 )
2024-09-19 09:50:06 +00:00
Matt Jankowski
6f836c45aa
Remove crypto
values from doorkeeper application/token scopes
( #31945 )
2024-09-18 09:27:50 +00:00
Matt Jankowski
5405bdd344
Remove unused E2EE messaging code ( #31193 )
2024-09-18 09:27:43 +00:00
Eugen Rochko
e0c27a5047
Add ability to manage which websites can credit you in link previews ( #31819 )
2024-09-10 12:00:40 +00:00
Matt Jankowski
4682804448
Fix Rails/ReversibleMigration
cop for remove_index
( #30832 )
2024-09-03 15:32:22 +00:00
David Roetzel
388d5473e1
Refactor (ruby) redis configuration ( #31694 )
2024-09-02 14:19:55 +00:00
Matt Jankowski
bcc4b1078c
Fix Rails/RootPathnameMethods
cop ( #31582 )
2024-08-26 07:35:07 +00:00
Claire
cbdd8edf68
Revamp notification policy options ( #31343 )
2024-08-09 13:30:55 +00:00
Emelia Smith
693d9b03ed
Enable OAuth PKCE Extension ( #31129 )
2024-07-26 08:53:10 +00:00
Matt Jankowski
34626b8291
Update schema to reflect full db:migrate
run results ( #31128 )
2024-07-25 10:37:48 +00:00
Emelia Smith
aa88aca0ad
Add optional OAuth application to reports ( #30539 )
2024-07-16 13:23:08 +00:00
David Roetzel
35a437a03f
Destroy NotificationRequest
s that are dismissed ( #31008 )
2024-07-12 12:09:52 +00:00
Matt Jankowski
51f581e03e
Fix Rails/ReversibleMigration
cop for remove
( #30833 )
2024-06-26 13:51:44 +00:00
Matt Jankowski
528a7f57fa
Fix Rails/ReversibleMigration
cop for change_column
( #30835 )
2024-06-26 13:51:11 +00:00
Matt Jankowski
4651c0cb39
Fix Rails/ReversibleMigrationMethodDefinition
cop ( #30794 )
2024-06-21 14:43:12 +00:00
Claire
9e9613b286
Fix mentions.account_id
and mentions.status_id
not having NOT NULL
database constraints ( #30591 )
2024-06-07 13:45:11 +00:00
Emelia Smith
e02d23b549
Change read:me
scope to profile
scope ( #30357 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-06-06 07:30:10 +00:00
Claire
974335e414
Add experimental server-side notification grouping ( #29889 )
2024-06-03 08:35:59 +00:00
Eugen Rochko
128987eded
Add support for fediverse:creator
OpenGraph tag ( #30398 )
2024-05-29 01:34:33 +02:00
Claire
00cf8d3748
Change older Paperclip database migrations for consistency ( #30204 )
2024-05-20 14:59:27 +00:00
Claire
2bcbeed951
Add some error handling to OTP secret migration ( #30344 )
2024-05-20 14:59:23 +00:00
Claire
1959365c2f
Add missing on_delete: :cascade
on notification_policies
( #30251 )
2024-05-10 20:00:25 +00:00
Claire
96fb6e491f
Revert "Migrate paperclip _file_size
columns to bigint ( #29263 )" ( #30203 )
2024-05-07 08:46:05 +00:00