Commit Graph

159 Commits

Author SHA1 Message Date
Andreas Nedbal d51ef91775 Make `question_id` on anonymous blocks nullable 2022-12-28 00:10:59 +01:00
Andreas Nedbal 1f401b2e1b Sync schema 2022-12-28 00:10:59 +01:00
Andreas Nedbal 7ccee0c000 Make question_id in anonymous blocks nullable again 2022-12-28 00:10:59 +01:00
Andreas Nedbal f76f8f706a Fix schema 2022-12-28 00:10:59 +01:00
Andreas Nedbal e7f60acad5 Add target_user field to anonymous blocks 2022-12-28 00:10:59 +01:00
Andreas Nedbal 60819ff90e Fix schema 2022-11-18 23:29:47 +01:00
Andreas Nedbal 23dafb5bcb
Merge branch 'main' into feature/privacy-noindex 2022-11-18 23:23:01 +01:00
Andreas Nedbal d3bfbff30a
Merge branch 'main' into feature/input-placeholder-theming 2022-11-18 23:21:08 +01:00
Andreas Nedbal 88375f7d21 Cleanup schema 2022-11-18 23:19:24 +01:00
Andreas Nedbal fe9a77cd67 Fix lints 2022-11-18 23:19:24 +01:00
Andreas Nedbal 0b499138e0 Add social graph hiding field to user 2022-11-18 23:19:24 +01:00
Andreas Nedbal 2367bb3139 Add noindex field to user 2022-11-16 22:31:49 +01:00
Andreas Nedbal d7911e9486 Add input placeholder field to theme 2022-11-14 23:11:09 +01:00
Andreas Nedbal 3cefc829f8
Merge branch 'main' into feature/privacy-require-user 2022-11-13 17:27:53 +01:00
Andreas Nedbal 240092be6c Fix schema 2022-11-13 14:46:40 +01:00
Andreas Nedbal 3569cb335c Add frozen string literal comment 2022-11-13 14:40:34 +01:00
Andreas Nedbal 1fd50daa22 Update schema version 2022-11-13 14:39:32 +01:00
Andreas Nedbal cdc7e2b9cc Add user requirement setting to user 2022-11-13 14:25:03 +01:00
Andreas Nedbal 5f97b87f3c Fix rubocop offenses 2022-11-06 15:23:05 +01:00
Andreas Nedbal 3f6e61e39b Remove non-existent table from schema 2022-11-06 15:21:19 +01:00
Andreas Nedbal 049f92e138 Add inbox locking setting to user 2022-11-06 14:59:56 +01:00
Karina Kwiatek c7418b5de7 Make `user_id` on `anonymous_blocks` nullable 2022-08-20 19:05:55 +02:00
Karina Kwiatek 7b831875b0 Add index to `notifications.type` and make it non-nullable 2022-07-22 16:52:42 +02:00
Karina Kwiatek f475cd0a0b Make notifications relation polymorphic 2022-07-22 16:52:42 +02:00
Andreas Nedbal 05986a124b Add migration to drop `moderation_comments` table 2022-07-19 11:17:45 +02:00
Andreas Nedbal 5052bfb9b9 Appease the dog overlords 2022-07-18 23:10:07 +02:00
Andreas Nedbal d2a6b2bb57 Add migration to drop `moderation_votes` table 2022-07-18 23:10:07 +02:00
Karina Kwiatek aa04134785 Remove foreign key constraints from anon blocks & mute rules
We do it this way on other tables. Rails validates these on its own anyway.
2022-07-16 21:29:20 +02:00
Karina Kwiatek 3b98117dfa Update foreign keys instead of redefining them 2022-07-16 21:29:20 +02:00
Karina Kwiatek 2229b8e782 Set on deletes for foreign keys 2022-07-16 21:29:20 +02:00
Karina Kwiatek 1b90f532c3 Add migration to remove orphaned notifications 2022-07-09 01:15:31 +02:00
Karina Kwiatek 57785a116d Add migration to correct notification target types 2022-07-09 01:15:31 +02:00
Karina Kwiatek 72866f7a84 Add migration to drop `comment_smiles` table 2022-07-06 20:00:44 +02:00
Karina Kwiatek ee7ef9ceca Add migration to drop `smiles` table 2022-07-06 20:00:44 +02:00
Karina Kwiatek 1ec99dd767 Appease the dog overlords 2022-07-06 19:56:04 +02:00
Karina Kwiatek 9bcf1a80ad Merge `author_name` with `author_identifier` 2022-07-06 19:56:04 +02:00
Karina Kwiatek abcef9758b Add migration to correct type for appendable notifications 2022-07-06 19:24:13 +02:00
Karina Kwiatek 561946cab9 Fix issues from bad rebase 2022-07-05 23:23:37 +02:00
Karina Kwiatek 08e5764bf3 Appease the dog overlords 2022-07-05 23:23:37 +02:00
Karina Kwiatek ac6798877d Add migration for moving smiles to appendables 2022-07-05 23:23:37 +02:00
Karina Kwiatek 1e53f00032 Add migration for converting smiles to reaction appendable 2022-07-05 23:23:37 +02:00
Karina Kwiatek 544e9c8fa6 Create Appendable model 2022-07-05 23:23:37 +02:00
Karina Kwiatek a857887398 Appease the dog overlords 2022-06-26 18:32:18 +02:00
Karina Kwiatek 59c4507ec3 Remove unused use case requires from `User` model 2022-06-26 18:32:18 +02:00
Karina Kwiatek cd168df9b2 Remove old ban fields from user table 2022-06-26 18:32:18 +02:00
Karina Kwiatek 15052e203e Appease the dog overlords 2022-06-23 21:29:27 +02:00
Karina Kwiatek cf0d11d860 Add anon display name field to profiles 2022-06-23 21:29:27 +02:00
Karina Kwiatek e660b731d7 Appease the dog overlords 2022-06-15 14:26:48 +02:00
Karina Kwiatek 1e6243c6ce Create AnonymousBlock model 2022-06-15 14:26:48 +02:00
Karina Kwiatek 1a68c1b46f Rename `author_email` field to `author_identifier` 2022-06-15 14:26:48 +02:00