Commit graph

23 commits

Author SHA1 Message Date
9169cec4bb Fix: Better error handling
Session insertion middleware now has better error handling for fetching
an account based on a session. Not found is treated as not an error
since it is likely to happen that a session is used post account
deletion
2024-11-07 10:42:41 +01:00
0e036b152b Fix, placeholder image, api
Added a placeholder image, code style
Fixed metadata missing issue
More work on api
2024-11-06 16:58:57 +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
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
4f4d05a335 Started work on linstrom specific endpoints
Router plus a bunch of placeholder handlers
Also a poll on fedi regarding streamed events (one vs many channels)
2024-10-29 16:09:21 +01:00
53e6418e89 Merge branch 'main' of gitlab.com:mstarongitlab/linstrom 2024-10-26 11:44:08 +02:00
be70109c43 Serverside stuff. Mostly shuffling things around 2024-10-26 11:42:51 +02:00
1dbdec1905
Copy passkey auth fix from Mk plugin repo 2024-10-20 20:05:13 +02:00
124fc0ecac Add profiling endpoints 2024-10-15 21:26:48 +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
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
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
f69480b6b4 More stuff, add stuff, add todos 2024-09-13 15:02:32 +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
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
fa4e300b49 add bunch of stuff to server
Also pulled in my weblogger middleware
2024-01-29 17:15:28 +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