Commit Graph

208 Commits

Author SHA1 Message Date
Kay Faraday 1aca0560f6 Merge remote-tracking branch 'origin/main' 2024-07-20 15:15:27 -07:00
Andreas Nedbal 175a044fbf Add `last_reports_visit` field to users 2024-03-01 23:58:35 +01:00
Andreas Nedbal 62ba205d3e Fix rubocop nits 2024-01-27 19:21:07 +01:00
Andreas Nedbal 245f862bb2 Fix schema.rb 2024-01-27 19:21:07 +01:00
Andreas Nedbal e754d6f174 Add migration to rename inboxes table to inbox_entries 2024-01-27 19:21:07 +01:00
Andreas Nedbal 2a9404e285 Remove foreign-key removal in downwards migration 2024-01-24 21:08:44 +01:00
Andreas Nedbal ab442db40b Add target user to reports 2024-01-24 21:08:44 +01:00
Andreas Nedbal f1a0edd06e Replace `webpush` gem in `add_webpush_app` migration 2024-01-22 23:50:35 +01:00
Karina Kwiatek 563926895f Remove duplicate reactions 2023-12-20 10:28:49 +00:00
Karina Kwiatek 49d49e4aa4 Update schema.rb 2023-12-09 23:00:45 +01:00
Karina Kwiatek 68ffa36f7a Add index for `user_bans.user_id` 2023-12-09 22:27:20 +01:00
Karina Kwiatek c7cc537fe9 Remove index of `created_at` on themes 2023-11-13 14:42:37 +01:00
Karina Kwiatek 046bc0ca09 Optimise DB indices for common queries 2023-11-13 14:42:37 +01:00
Karina Kwiatek c0d169367e Update schema.rb 2023-10-28 13:02:57 +02:00
Karina Kwiatek a9ed8a6089 Add migration for moving notifications for appendables to reactions 2023-10-28 11:22:27 +02:00
Andreas Nedbal 20cf1ac85b Fix rubocop nits 2023-10-28 02:44:48 +02:00
Andreas Nedbal 1e29d3f86f Rename `Appendable::Reaction` to `Reaction` 2023-10-28 02:44:48 +02:00
Andreas Nedbal 3dbbcd1b85 Revert schema.rb rubocop changes 2023-10-21 13:01:07 +02:00
Andreas Nedbal 2f57353591 Remove `squish` call from timestamp function setup 2023-10-21 13:01:07 +02:00
Andreas Nedbal 72af3c4d0b Fix lints in database/migration code 2023-10-21 13:01:07 +02:00
Karina Kwiatek 2a6d88abfc Include type in relationship unique constraint 2023-10-18 19:40:15 +02:00
Kay Faraday d900bd8eb4 Merge branch 'main' of https://github.com/Retrospring/retrospring 2023-08-13 05:56:32 +00:00
Karina Kwiatek 84d4ac3dc6 Backfill missing created_at on comment notifications 2023-05-26 20:39:53 +02:00
Karina Kwiatek 51638d2eb2 Remove `subscriptions.is_active` column 2023-05-05 16:01:40 +02:00
Karina Kwiatek 1ec5ffa6d2 Cache inbox and notification counters 2023-03-07 19:14:14 +01:00
Kay Faraday d0b8e8a82a Merge commit '6b976e0f' 2023-02-20 04:04:04 +00:00
Karina Kwiatek b5b4f11056 Add index for `answers.created_at`
This improves query time for the public timeline
2023-02-18 15:33:10 +01:00
Kay Faraday a7b9c31c48 Merge remote-tracking branch 'origin/main' 2023-02-15 07:39:23 +00:00
Karina Kwiatek c2baa86c09 Add `pinned_at` to answers 2023-02-12 20:19:50 +01:00
Georg Gadinger e1aee89be0 remove expired service connection notifications 2023-02-12 19:26:31 +01:00
Andreas Nedbal 9246148db4 Add migration to drop services table 2023-02-05 21:54:51 +01:00
Andreas Nedbal a2e45c85bf Add migration to enable sharing for legacy service owners 2023-02-05 21:54:51 +01:00
Andreas Nedbal 482ffe7d0b Add migration to add sharing fields to users 2023-02-05 21:54:51 +01:00
Kay Faraday 8b3d53b263 Merge remote-tracking branch 'origin/main' 2023-02-03 06:04:08 +00:00
Kay Faraday 00f7645e5a enable long questions by default 2023-02-03 05:54:50 +00:00
Andreas Nedbal 0d78442507 Fix up theme value migration 2023-01-29 21:25:24 +01:00
Andreas Nedbal b5ab9d67d2 Add migration to use body text value for raised texts in themes 2023-01-29 20:58:19 +01:00
Andreas Nedbal a0a7f4e124 Add raised-text and raised-accent-text theme variables 2023-01-23 23:36:38 +01:00
Karina Kwiatek 09d110eb58 Add option for allowing long questions 2023-01-08 13:03:06 +01:00
Karina Kwiatek 1cfd3250c0 Track failures on Web Push subscriptions 2023-01-02 11:51:46 +01:00
Karina Kwiatek 67423699b6 Use fetch to get contact_email from config in webpush app migration 2023-01-02 11:51:46 +01:00
Karina Kwiatek 22a84ab818 Appease the dog overlords 2023-01-02 11:51:45 +01:00
Karina Kwiatek 10c224b2fe Address review comments from @nilsding
Co-authored-by: nilsding <nilsding@nilsding.org>
2023-01-02 11:50:48 +01:00
Karina Kwiatek 2f8126d732 Supress lint errors in Add RPush migration 2023-01-02 11:50:48 +01:00
Karina Kwiatek 29a3bfea88 Fix incorrect internal class names in Rpush migration
This was caused by `rubocop -A`
2023-01-02 11:50:47 +01:00
Karina Kwiatek a04b290067 Appease the dog overlords 2023-01-02 11:50:47 +01:00
Karina Kwiatek 32ab9267ec Add web push subscription model 2023-01-02 11:50:47 +01:00
Karina Kwiatek 4e08f035d1 Create migration for adding an rpush app for webpush 2023-01-02 11:50:47 +01:00
Karina Kwiatek 92ba2d7c9b Add `rpush` 2023-01-02 11:50:47 +01:00
Andreas Nedbal d51ef91775 Make `question_id` on anonymous blocks nullable 2022-12-28 00:10:59 +01:00