Commit Graph

26 Commits

Author SHA1 Message Date
df8bc97bd2 fix: unlike noop stale struct + likes floor at 0
- unlike noop now reloads tweet from DB (same fix as like noop from prev loop)
- decrement_likes uses GREATEST(likes - 1, 0) to prevent negative counts
- add fix_plan.md to track remaining work

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 19:51:56 -04:00
4c67f38fa3 fix: make tweet_like tests pass
- Add authorize?: false to user_fixture so register_with_password
  bypasses policy check in test context
- Add require Ash.Query so Ash.Query.filter macro works in count_likes
- Replace nonexistent Ash.ForbiddenField.forbidden?/1 with match?/2
- Fix stale tweet struct in :like noop case by reloading from DB

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 19:48:23 -04:00
f37d554399 fixed auth userflow 2026-04-09 15:24:26 -04:00
2d5914c970 some not working changes trying to fix user login to include a username 2026-04-08 04:34:16 -04:00
90d7eab7d0 some ai generated code from claude that does not work 2026-04-08 02:03:43 -04:00
3c9910a723 Working metrics for all forms of interactions and updated .env.example 2026-04-07 00:09:10 -04:00
76a8acc731 Adjusted to properly type each of the database interactions 2026-04-06 23:31:17 -04:00
a33ec14c5f Integrating clickhouse for metrics. 2026-04-06 23:05:04 -04:00
109ef398ee paginating comments and letting tweet authors delete comments on their post 2026-04-06 14:15:36 -04:00
faa96d88f5 added comments to tweets 2026-04-06 14:11:10 -04:00
6927f6eb9b Login with password now requires email to be confirmed 2026-04-06 13:18:00 -04:00
4b36131183 Added following page to see posts from yourself and people you follow 2026-04-05 14:41:29 -04:00
874fec835d some reformatting and adjusting so logged in users get moved directly to their feed 2026-04-03 19:40:17 -04:00
a70ea18e56 added .env support for a systemd EnvironmentFile with an example and updated email sender 2026-04-03 17:00:38 -04:00
9c131b98a6 Working follow and unfollow interactions for users 2026-04-02 21:41:27 -04:00
580265bc51 Added users page and user viewing 2026-04-02 03:28:09 -04:00
0ac0b68029 Added timestamps to tweets and they organize by newest on top 2026-04-01 11:58:12 -04:00
53467cd611 slightly changed how files are stored in the bucket and allows post deletion 2026-03-31 17:12:40 -04:00
1c1830b086 Adding likes to tweets 2026-03-31 15:18:46 -04:00
028d83b9cc Had to swap to minio to let it act as a cdn. Working file uploads. 2026-03-31 13:12:11 -04:00
db57ac843b Made file uploads display in drafts 2026-03-30 14:56:24 -04:00
830ee36f84 Working s3 compatible file uplaods! 2026-03-30 14:28:44 -04:00
11bb3ddd1c starting work on adding s3 media support 2026-03-30 12:38:32 -04:00
a13f80cf07 Working basic frontend implementation 2026-03-30 02:06:15 -04:00
dcca583461 Setting up Posts and Posts.Tweet 2026-03-30 01:41:36 -04:00
cb179333f0 🔥 initial commit 🔥 2026-03-30 01:02:24 -04:00