Commit graph

43 commits

Author SHA1 Message Date
91ff8d2ea1
Regenerate 2025-04-08 16:32:31 +02:00
115a167e75
Formatting 2025-04-08 16:32:17 +02:00
b0db12490c
Fix optional types and access func 2025-04-08 16:31:47 +02:00
fb95ee48cc
Fix bad deletion cleaner func
Some checks are pending
/ test (push) Waiting to run
- Was delete if before `now`
- Should be delete if before `now - 30 days`
2025-04-08 09:29:02 +02:00
ecd4ed2ef8
Add ticker for cleaning deleted users 2025-04-08 09:21:21 +02:00
59b2bc0deb
Add methods to db user 2025-04-07 17:42:53 +02:00
f453983f80
Add inserter for self stuff 2025-04-05 22:01:42 +02:00
427675f38e
chore(storage): run gorm gen 2025-04-05 22:01:22 +02:00
3f5df241db
Remove default stuff from models 2025-04-05 22:01:00 +02:00
a943f229e6
Add hardcoded IDs for default roles 2025-04-05 22:00:36 +02:00
9fdb57407b
Make icon optional
If not set, will be an identicon later
2025-04-05 22:00:17 +02:00
5a032d2007
Fix typo 2025-04-05 22:00:07 +02:00
9cca79ec4c
Merge branch 'main' of git.mstar.dev:mstar/linstrom
Some checks are pending
/ test (push) Waiting to run
2025-04-05 12:23:38 +02:00
910717cf01
Add attempts for default data 2025-04-05 12:22:00 +02:00
4ef9e19fbc
Add cleaner services
Some checks are pending
/ test (push) Waiting to run
Initial cleaner is for expiring access tokens
2025-04-04 16:16:08 +02:00
6a2b213787
Add access token check to auth 2025-04-04 16:15:25 +02:00
8f53e8a967
Fix another gen definition
Some checks are pending
/ test (push) Waiting to run
2025-04-04 14:06:47 +02:00
d33ed051f4
Fix gorm gen being not good with typing
Some checks are pending
/ test (push) Waiting to run
2025-04-04 13:50:42 +02:00
b33f6c2af7
chore(storage): Run generator
Some checks are pending
/ test (push) Waiting to run
2025-04-04 13:46:27 +02:00
11e0059631
Add first helper method to user 2025-04-04 13:46:11 +02:00
f3a139b809
Add notification data
Some checks are pending
/ test (push) Waiting to run
2025-04-04 11:26:03 +02:00
500bf48295
chore(storage): Regenerate role helpers
Some checks failed
/ test (push) Has been cancelled
2025-04-02 15:59:42 +02:00
8f8ad3035a
Comment all new code
Some checks are pending
/ test (push) Waiting to run
2025-04-02 15:33:07 +02:00
17e8c1073f
Note for a fix needed to be done 2025-04-02 13:45:32 +02:00
420f6e46c0
Add initial feed structure, fix passkey id usage 2025-04-02 13:44:33 +02:00
ef91558600
Comments, fixes
Some checks are pending
/ test (push) Waiting to run
2025-04-01 17:24:06 +02:00
4fb0e17b69
Prep file for feed link data 2025-04-01 17:23:10 +02:00
c59b0c8340
Move hashing and encryption to auth/helpers
Some checks are pending
/ test (push) Waiting to run
2025-03-31 23:06:27 +02:00
c269db5b02
Update password hash stuff, totp impl
Some checks are pending
/ test (push) Waiting to run
Move password encryption to argon2id
2025-03-31 17:40:12 +02:00
4c8ebaeab8
Add name field to user auth entries 2025-03-31 16:42:57 +02:00
f8a56cebfe
chore(storage-new): Regenerate bindings 2025-03-31 15:23:48 +02:00
c9e1881f55
Add IDs to the various connector structs 2025-03-31 15:23:24 +02:00
582988add2
Add go:generate command and new field to user
Some checks are pending
/ test (push) Waiting to run
2025-03-31 08:08:01 +02:00
2afb14c4b3
Copy and adapt role helper generator to new system 2025-03-31 08:06:43 +02:00
e282f124c7
Fix some storage definitions 2025-03-29 17:51:42 +01:00
41e432b56e
Update new storage types and regenerate 2025-03-28 16:15:41 +01:00
588849a6c2
Big ol' note about string/uuid as primary key
Some checks are pending
/ test (push) Waiting to run
TODO: Apply the same tag change to other structs with uuid id too
2025-03-27 16:46:53 +01:00
68859642f3
chore(new-storage): Auto-generate new storage impl
Some checks are pending
/ test (push) Waiting to run
2025-03-27 15:57:00 +01:00
8ffd6d0050
Fix enum type migration and more relations
Some checks are pending
/ test (push) Waiting to run
- Fixed bad SQL for creating sql enum types
- Noted more relations, mostly x to media
2025-03-27 15:55:40 +01:00
bf5180559f
Add cmd for generating code from the new models
Some checks are pending
/ test (push) Waiting to run
2025-03-27 13:35:24 +01:00
67b507f4bd
Describe all types for the new storage system
Some checks are pending
/ test (push) Waiting to run
2025-03-27 10:45:57 +01:00
8d4ba2ecae
More work on defining the new data structure
Some checks are pending
/ test (push) Waiting to run
2025-03-26 17:14:42 +01:00
714f528641
Rework backing storage system
Some checks are pending
/ test (push) Waiting to run
Step one: Copy the struct definitions over into a new, dedicated
submodule
Step two: Make a generator script
Step three: Define helper functions for various queries
2025-03-20 21:39:10 +01:00