Commit graph

47 commits

Author SHA1 Message Date
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
mStar aka a person
94197780e1 Add comments to storage types 2024-06-06 11:54:50 +00:00
mStar
1fbdf7fc9d Defaults and start of config 2024-05-31 17:21:29 +02:00
mStar
3086b0e9b4 Lots of work 2024-05-31 11:54:39 +02:00
mStar
a2a937791d nuke everything, start over 2024-05-27 18:10:35 +02:00
mStar aka a person
5593efee37 add not found error
add checks for if something actually exists in db
2024-01-29 17:11:09 +00:00
mStar aka a person
935fc33094 Uuuh, lots of stuff
More config, moved files, some endpoints (wip), some storage
2024-01-19 10:21:31 +00:00
mStar aka a person
f3514b5a42 Started work on the different types of objects used 2024-01-17 10:44:47 +01:00