Commit Graph

113 Commits

Author SHA1 Message Date
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 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 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
Karina Kwiatek 5163fcb119 Appease the dog overlords 2022-04-15 21:50:18 +02:00
Karina Kwiatek b9dee02656 Add index for `question_id` on `inboxes` 2022-04-15 21:50:18 +02:00
Karina Kwiatek b4e0699e82 Fix lint errors 2022-01-23 16:48:53 +01:00
Karina Kwiatek 4a1ed5394a Remove relationships where source == target prior to adding relationship type 2022-01-23 16:48:53 +01:00
Karina Kwiatek d20e07ee19 Remove relationship counters in `users` table 2022-01-23 16:48:53 +01:00
Karina Kwiatek ce951453a2 Make relationships polymorphic 2022-01-23 16:48:53 +01:00
Karina Kwiatek 136e2fa016
Merge pull request #272 from Retrospring/feature/social-post-tagging
Add the ability to post to services with a tag
2022-01-07 19:40:52 +01:00
Karina Kwiatek 96e48a833b
Merge pull request #194 from Retrospring/refactor/user-bans
Implement ban history
2022-01-06 14:05:33 +01:00
Karina Kwiatek 683fffd734 Add the ability to post to services with a tag 2022-01-05 19:49:59 +01:00
Georg Gadinger 3c58257d21 remove tumblr
Resolves #274
2022-01-05 19:32:52 +01:00
Karina Kwiatek e4241d2001 Create user ban model
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-02 19:50:01 +01:00
Karina Kwiatek 3acdfafcae Use timestamp IDs for mute rules 2022-01-02 15:30:04 +01:00
Karina Kwiatek f85769eb55 Add mute rules 2022-01-01 00:38:36 +01:00
Karina Kwiatek 07a54c473e Add `notifications` table indexes for `recipient_id` & `new` 2021-12-28 15:11:41 +01:00
Karina Kwiatek 21f01fed02 Use an INSERT INTO ... SELECT to move profile data and drop the old columns 2021-12-23 08:56:50 +01:00
Karina Kwiatek 00496a1596 Update remaining references to profile fields 2021-12-22 00:03:19 +01:00
Karina Kwiatek ff410773dd Create Profile model 2021-12-22 00:03:18 +01:00
Karina Kwiatek 56786ebb38 Add direct field to questions
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2021-08-11 16:56:58 +02:00
Dominik Kwiatek b4f479a00f Generate recovery keys on TOTP setup 2020-11-01 17:55:31 +01:00
Dominik Kwiatek d7a1750694 Implement @nilsding's review changes 2020-10-23 20:45:06 +02:00
Dominik Kwiatek 4ce5dfc92a Fix detaching, improve UI for attaching 2FA 2020-10-18 19:48:12 +02:00
Dominik Kwiatek 25410e111d Fix OTP auth triggering for users who haven't set it up
I thought I could be clever by using a null secret key as an indicator of it being disabled
2020-10-18 11:39:28 +02:00
Dominik Kwiatek 141ff59f63 Implement Two Factor Authentication 2020-10-18 10:39:46 +02:00