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
8a4c19dd17
Work on getting notes API
2024-11-18 12:18:57 +01:00
f656757710
Work on following relations api and small docs
2024-11-15 16:15:07 +01:00
526b5c2fef
Use a "custom" http.Server for serving instead of just handler
2024-11-15 16:14:29 +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
c9985ba48a
Properly ignore the tmp folder
2024-11-07 16:31:28 +01:00
25243b3a9d
Work on
2024-11-07 16:27:46 +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
54ccbaa96e
Logging, implement account deletion api endpoint
...
Deleting an account via the API now works
Also some logging
2024-11-07 10:48:12 +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
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
ad68e97eaf
Add flag for only checking/creating the config file
2024-11-07 10:03:01 +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
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
ffe3cf32ae
Update mod tools list since roles are fucking powerful
2024-11-04 16:25:21 +01:00
92fd3d7f0b
Changed definition of storage.CollapseRolesIntoOne and RoleDeepCopy
...
No more list of pointers/pointer
2024-11-04 16:24:11 +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
b9c95a0297
Extend roles code generator
...
It now also generates a function for comparing two roles for equality.
If an attribute is nil, that attribute is ignored (or rather counted as
equal)
2024-10-31 16:52:35 +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
1fb924f59c
Good progress on styling post-registration form
2024-10-29 13:23:04 +01:00
8b03454d6f
More work on post registration form
2024-10-28 16:33:17 +01:00
952949b609
Work on login form stuff
2024-10-28 08:36:11 +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
467693d811
Getting work done. Registration form taking shape
...
Still needs styling and some more elements, but mostly usable now
2024-10-25 16:54:48 +02:00
f0638af99f
More utility components
...
One for a "map" of sorts and one for selecting one element of a list
2024-10-25 16:54:11 +02:00
07614e9a6d
Add checkbox based multiselect util component
...
Takes an array of objects (name, checked, description) and turns it into
a list of checkboxes, one for each element
2024-10-25 10:52:43 +02:00
e802027236
I FUCKING DID IT
...
Added a helper component for managing a list of strings.
This component could, in theory, also be turned into a generic one
for any type of data
2024-10-24 16:15:08 +02:00
c7af216ce3
frontend
...
Start work on formatter for content
2024-10-23 17:02:19 +02:00
1dbdec1905
Copy passkey auth fix from Mk plugin repo
2024-10-20 20:05:13 +02:00
90667d96c7
Added list of all Masto endpoints
...
This list does not include what data goes where, only the endpoints
themselves (url and method)
2024-10-16 12:59:46 +02:00