Commit graph

233 commits

Author SHA1 Message Date
2afb14c4b3
Copy and adapt role helper generator to new system 2025-03-31 08:06:43 +02:00
69927c76ff
More fixes, this time for cmd stuff
Some checks failed
/ test (push) Has been cancelled
2025-03-29 17:51:56 +01:00
e282f124c7
Fix some storage definitions 2025-03-29 17:51:42 +01:00
a73519f5f8
Passkey support for login. Maybe
Can only see once full swap to new systems
2025-03-29 17:51:12 +01:00
2c2f7deb9a
Work on passkey login
Some checks are pending
/ test (push) Waiting to run
2025-03-28 16:36:11 +01:00
9496ba0cc6
Work on new auth framework based on new storage system
Some checks are pending
/ test (push) Waiting to run
2025-03-28 16:17:08 +01:00
66d6299295
Smol optimisation for existing auth system 2025-03-28 16:16:30 +01:00
57214ecde0
One go mod tidy later 2025-03-28 16:16:09 +01:00
8d72036519
Remove already done todos 2025-03-28 16:15:58 +01:00
41e432b56e
Update new storage types and regenerate 2025-03-28 16:15:41 +01:00
0932f19f71
More meta stuff, CoC and Contributing
Some checks are pending
/ test (push) Waiting to run
2025-03-28 14:06:01 +01:00
b604cfb10e
bob
Some checks are pending
/ test (push) Waiting to run
2025-03-28 13:42:33 +01:00
9c5798c1b1
Add labels? 2025-03-28 13:39:46 +01:00
37a34720c0
Work on meta information
Some checks are pending
/ test (push) Waiting to run
2025-03-28 13:35:32 +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
484bb95820
Small tool for running the automigration against config db 2025-03-27 15:54:59 +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
daf401a2f7
Push to new goutils version
Some checks are pending
/ test (push) Waiting to run
2025-03-26 16:50:44 +01:00
8ee314b0bb
Fix ristretto mod entry 2025-03-26 16:13:48 +01:00
2c57f668e0 Merge branch 'main' of git.mstar.dev:mstar/linstrom
Some checks failed
/ test (push) Has been cancelled
2025-03-21 07:47:12 +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
0639cde4f2
Delete useless file from storage
Some checks are pending
/ test (push) Waiting to run
2025-03-20 19:22:15 +01:00
a2156afe9d
Update contributing guide
Some checks are pending
/ test (push) Waiting to run
Not done though, needs to include proper information
2025-03-20 18:00:59 +01:00
ab3051fa78
More work on auth system I guess, still no motivation though
Some checks failed
/ test (push) Has been cancelled
2025-02-28 15:01:12 +01:00
4e54012ae5 Uhh, things? 2025-02-22 12:17:40 +01:00
402932602d WIP New auth management system
Some checks failed
/ test (push) Has been cancelled
Wait, what's this? A new commit to Linstrom?
And I thought I was done for good with this project now that I've left
Fedi.
Well, I got bored at work and inspired by a random bit I've seen in
Elixir Phoenix's docs.

So here is the start of a new subsystem: Authentication
Intended to bundle all authentication related checks and updates in one
place. Http handlers should not be the ones to perform the logic, too
much duplication. Technically, they probably shouldn't even contain any
business logic at all, only calling it and transforming it into visible
output

Also may be considering switching to Vue or at least changing how the
ember frontend interacts with the backend
2025-02-21 15:52:21 +01:00
e5e0b54035 Add test action
All checks were successful
/ test (push) Successful in 16s
2024-12-25 22:19:32 +01:00
1527c198e0 Updated cli flags
Better usage message
Flipped the -pretty flag to -jsonlogs. Is now pretty per default
2024-12-24 10:48:00 +01:00
2b84d7eb2a Make it compile again
Adding notes still non-functional, but made it compile
2024-12-24 10:47:26 +01:00
Samuel
ccd2140c53 Update module name to new path 2024-12-18 15:24:56 +01:00
2df96b1ecd
Add README 2024-12-13 17:53:08 +01:00
70df49efa7 Think I got some parameters for create note down 2024-12-13 16:32:01 +01:00
599874c486 Fix note rendering, new function header
Fixed note rendering due to bad user header
TODO: It's a stupid bandaid, replace with proper formatter once it works
Remove test stuff
Some spacing in the colours for readability
CreateNoteRemote header added
2024-12-13 15:34:19 +01:00
c919cc8c67 Move files around, formatter helper
Formatters for username belong to account, not to note
New helper for transforming a markdown text to html
2024-11-22 15:55:41 +01:00
5fb5dae31e Start work on account display
Also no idea wtf is going on with the models
2024-11-21 16:34:20 +01:00
9acecfd7f6 Start work on media storage 2024-11-21 14:45:25 +01:00
bf8d272122 Move dev configs into separate dir 2024-11-21 13:37:39 +01:00
daf0c3b489 Update config to include s3 storage service 2024-11-21 13:37:24 +01:00
a94a360773 Fix-ish frontend models, a generator and a generate command 2024-11-20 16:11:11 +01:00
a6291fd098 Implement existing API types 2024-11-20 15:39:24 +01:00
e76490f637 Work on new note endpoint 2024-11-20 13:46:15 +01:00
5f94a71415 This should belong to the previous generator commits 2024-11-20 13:44:36 +01:00
7591c8ad64 Start work on copying API types to the frontend 2024-11-20 13:39:34 +01:00
9d28b20fe0 Run generators 2024-11-20 13:39:17 +01:00
378f94fa97 Generators updated
Now includes generators for transforming storage.Role into the API
representation and the Typescript version for the frontend
2024-11-20 13:37:31 +01:00
46bfac7540 Add read-only mode to map and array editors 2024-11-19 15:05:12 +01:00