Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
75c7009
removed clan error logs
Cufee Jul 1, 2025
e084abf
updated interaction expiry
Jul 26, 2025
6aae144
decreased cta freq
Jul 28, 2025
5f559ef
Merge branch 'main' into develop
Cufee Nov 21, 2025
ab45dbf
added backup image
Cufee Nov 21, 2025
5f23033
fixed policy
Cufee Nov 21, 2025
1b4dcaf
added endpoint urls
Cufee Nov 21, 2025
61648e4
added endpoint url
Cufee Nov 21, 2025
d7805c4
remove quotes
Cufee Nov 21, 2025
5c42983
remove more quotes
Cufee Nov 21, 2025
7f83f25
disable remote localization for build
Cufee Nov 21, 2025
c4f6174
added ofelia schedule
Cufee Nov 22, 2025
3fd6139
updated entrypoint
Cufee Nov 22, 2025
6e77c2b
update to use database url
Cufee Nov 22, 2025
3b90ec8
fixed incorrect tx use
Cufee Nov 22, 2025
2c27357
update envs, migrations, tests
Cufee Nov 22, 2025
77bb6eb
cleanup
Cufee Nov 22, 2025
3c93c74
fixed command name
Cufee Nov 22, 2025
ee97c35
Merge branch 'main' into develop
Cufee Nov 22, 2025
272c9f5
chmod
Cufee Nov 22, 2025
86828d1
added automod_verified
Cufee Nov 22, 2025
106b19e
wip
Cufee Nov 22, 2025
daf363d
fix migrations
Cufee Nov 22, 2025
1266474
cleanup
Cufee Nov 22, 2025
6d94fc7
update format in Dockerfile
Cufee Nov 22, 2025
bc53198
added automatic automod status updates on command
Cufee Nov 23, 2025
430a586
Merge branch 'main' into develop
Cufee Jan 23, 2026
7c42323
finished automod features
Cufee Jan 23, 2026
4c72232
Merge migrations-v3: consolidate migrations to golang-migrate format
Cufee Jan 23, 2026
69d738c
hotfix: add automod_verified column migration
Cufee Jan 23, 2026
63c1c29
Merge main into develop
Cufee Jan 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions internal/database/migrations/20260123020000.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Remove automod_verified column from user table
ALTER TABLE "user" DROP COLUMN IF EXISTS "automod_verified";
16 changes: 16 additions & 0 deletions internal/database/migrations/20260123020000.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- Add automod_verified column to user table
ALTER TABLE "user" ADD COLUMN IF NOT EXISTS "automod_verified" boolean NOT NULL DEFAULT false;

-- Backfill existing users as verified if they have activity
UPDATE "user" u
SET "automod_verified" = true
WHERE
EXISTS (SELECT 1 FROM "user_connection" WHERE user_id = u.id)
OR EXISTS (SELECT 1 FROM "user_subscription" WHERE user_id = u.id)
OR EXISTS (SELECT 1 FROM "user_restriction" WHERE user_id = u.id)
OR EXISTS (SELECT 1 FROM "user_content" WHERE user_id = u.id)
OR EXISTS (SELECT 1 FROM "widget_settings" WHERE user_id = u.id)
OR EXISTS (
SELECT 1 FROM "moderation_request"
WHERE requestor_id = u.id OR moderator_id = u.id
);
3 changes: 2 additions & 1 deletion internal/database/migrations/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
h1:TwO1Fo1kqSxL1Q91xO+SVEPckqXQApS57jkiRZSFpa8=
h1:cnGlQYEwxmrk+9l806OfJ8In2uKVyCm5iEYLnaOjINQ=
20251122224605.up.sql h1:RfXPCSftBDEoxE98tn2RnLAFSnVLZ3Fij3B7aScW//4=
20260123020000.up.sql h1:Apx2nZs6t7GN5DEllW9JyPkwzsTHOp6CUNPCOs6g5p4=
Loading