Commit graph

120 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
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
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
4f761c20c0 Lots of frontend stuff
- Passkey support on the way
- Add biome file
- added humans.txt
- tests
2024-10-15 16:18:21 +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
e2260e4a0f Bootup sequence idea added. Also bun lockfile 2024-10-05 21:42:30 +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
f5f72ede62 change master to main in CONTRIBUTING 2024-09-25 17:08:19 +02:00
3964c32438 start work on media storage 2024-09-24 13:01:33 +02:00
cb67b6e2fb styling again 2024-09-23 17:13:57 +02:00
83b45a5e46 Found font! Also tests and styling 2024-09-23 17:09:19 +02:00
23aefa268a Design stuff shit 2024-09-23 09:18:35 +02:00
5dbf3d9af2 sync 2024-09-20 16:35:59 +02:00
c75acc48a2 Add a bunch of placeholder files
Placeholder files for future app structure
Also figured out how to have root url code stuff
2024-09-19 16:43:15 +02:00
b6ce6b7e2c no idea what I'm doing
added some sharkey screenshots for reference
stuff
2024-09-19 16:08:01 +02:00
6d103e7669 extend example for pronouns 2024-09-19 13:50:37 +02:00
2d58312aa0 uhh, lots of things in frontend 2024-09-19 13:50:04 +02:00
76e8b183ca Readme, styling, test
- Update frontend readme to dunk on Chrome and recommend Firefox instead
- Fix some frontend test
- Apply some "styling"
2024-09-18 17:19:27 +02:00
876c7a2b73 ember didn't want to ember, so now it embers again 2024-09-18 13:49:23 +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
3b43040733 Updated contribution guide 2024-09-18 10:54:39 +02:00
c16a4c061d Go generate stuff
Make types more compatible with stringer and include generate commands
2024-09-18 10:54:04 +02:00