a94a360773
Fix-ish frontend models, a generator and a generate command
2024-11-20 16:11:11 +01:00
e76490f637
Work on new note endpoint
2024-11-20 13:46:15 +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
8a4c19dd17
Work on getting notes API
2024-11-18 12:18:57 +01:00
1f0dbda780
Add storage func for getting a relation between two accounts
2024-11-15 16:14:11 +01:00
5546d31e5d
Move account relations into separate table
2024-11-11 09:04:42 +01:00
a8abfb2219
Add follow requests to db
...
TODO: Add functions for it
2024-11-07 10:49:03 +01:00
c01b851fbf
Extend media metadata to include ownership
2024-11-07 10:48:48 +01:00
cea3009641
Implement custom account field deletion
...
Custom account fields can now be deleted either one at a time via id or
all fields owned by an account
2024-11-07 10:47:09 +01:00
487b57b4d6
Fix (account): return error, implement deletion
...
Fixed returning the wrong error if an account isn't found in a passkey
id request
Implemented account deletion
2024-11-07 10:45:57 +01:00
575392d6d4
New storage error and role deletion function
...
New error is for indicating actions that are not ever allowed, even for
admins
And you can now delete roles
2024-11-07 10:45:02 +01:00
529d106351
Better tracing
...
Not done yet, still need to add them to just about every other function
2024-11-06 16:57:44 +01:00
83f47d17be
meow
...
More progress. Fixed storage bug. Need to get media stuff going
2024-11-05 16:29:01 +01:00
1bb6cd8a70
bleh
...
More API stuff. Lots of bleh. Really boring
Also need to figure out a somewhat generic way for "requires ownership"
permission and then a combinator for permissions
2024-11-04 16:25:39 +01:00
fc0875e494
Add todo about passkey naming
2024-11-04 07:54:29 +01:00
a653477e7f
More API progress
...
This time mainly helper functions for converting an account and
associated types into their API representation
2024-11-04 07:48:46 +01:00
873f52d64f
More work on the api. Also auth middleware stuff
...
More work on the placeholder functions for the Linstrom API
Additionally, started work on a slightly more sophisticated
authentication control system
And ran `go generate` again
2024-10-31 16:53:42 +01:00
0ed50aca60
More work on the API. Primarely defining jsonapi types
2024-10-30 16:05:20 +01:00
be70109c43
Serverside stuff. Mostly shuffling things around
2024-10-26 11:42:51 +02:00
391d8b1b48
Access tokens, server, moving things
...
- Added placeholder funcs for access tokens
- Moved an error definition and added another constant
- Changed (passkey) auth fail to return a json error for now
- TODO: Change that into checking for a provided access token before
failing
2024-10-15 20:41:23 +02:00
79937b5325
Force disable cache for now
...
Kept causing problems. Force disabling for now.
It's still being created (and connected to), but every attempt to
fetch data from it or set is ignored and either returns that no such
data exists or as if everything is fine
2024-10-15 16:16:44 +02:00
b9eb4234f4
Fix passkey authentication
...
Also prep for better router layout
2024-10-15 16:16:18 +02:00
c572066571
progress
...
server is launchable and passkey support works
2024-09-27 16:53:22 +02:00
ee172d84a8
work on preprocessor for storing
...
also add aws dependency if someone wants to use it
2024-09-25 17:08:43 +02:00
3964c32438
start work on media storage
2024-09-24 13:01:33 +02:00
6d103e7669
extend example for pronouns
2024-09-19 13:50:37 +02:00
5a82179df6
comment and rename
2024-09-18 13:49:10 +02:00
2eb222751c
Rename roles generator
2024-09-18 11:15:44 +02:00
c16a4c061d
Go generate stuff
...
Make types more compatible with stringer and include generate commands
2024-09-18 10:54:04 +02:00
1d66b44b34
Run Go Generate
2024-09-18 10:52:51 +02:00
220a3c89af
I hate this shit
2024-09-17 17:11:55 +02:00
c4826009a8
Add Masto and Mk permissions in comments
...
We shall surpass their combined power
2024-09-17 16:21:00 +02:00
7c26d8547b
Banger role permission stuff
2024-09-17 15:46:05 +02:00
8f75009848
Update storage queues and remote server info
2024-09-17 15:45:43 +02:00
704d0e8750
shitfuck
2024-09-16 17:42:16 +02:00
b39415e695
Add db access tags to inbound job
2024-09-16 15:49:03 +02:00
9a7e420c83
More stuff
2024-09-15 15:18:05 +02:00
71beed7eb3
Merge branch 'main' of gitlab.com:mstarongitlab/linstrom
2024-09-15 12:25:45 +02:00
1c2472cc2c
Adding queues and storage is now postgres only
2024-09-15 12:24:36 +02:00
d99efca667
Merge branch 'main' of gitlab.com:mstarongitlab/linstrom
...
also delete server-old with all its problems
2024-09-13 20:41:47 +02:00
d6635bb34d
More comments for what to do
2024-09-13 15:22:11 +02:00
f69480b6b4
More stuff, add stuff, add todos
2024-09-13 15:02:32 +02:00
28c5f546fe
Updates stuff
2024-09-13 11:58:29 +02:00
7ec0ce5a45
blegh
2024-09-13 09:18:05 +02:00
07d98d1ef5
Moew weork done
2024-09-12 16:57:53 +02:00
814316ab1e
Progress meow
2024-09-12 08:56:57 +02:00
8709238859
Added goals, cache and func to get any remote obj
...
Cache is for storage, also includes pooled encoders and decoders
goals are things to eventually add to Linstrom
2024-09-06 23:01:57 +02:00
Melody
2977f09245
Sync
2024-08-28 17:20:38 +02:00
a9916acea5
sync for backup
2024-08-22 19:57:53 +02:00