Commit graph

14 commits

Author SHA1 Message Date
tsmethurst
0775e51a36 tidy 2021-04-19 19:33:57 +02:00
tsmethurst
c92a72fdea some tidying, some favedby, the usual 2021-04-19 19:29:52 +02:00
tsmethurst
ddfb9aae65 delete statuses 2021-04-18 13:16:51 +02:00
tsmethurst
ba84852d3e phew 2021-04-17 20:36:33 +02:00
tsmethurst
f91ba5b304 updates to models and tags 2021-04-15 19:10:04 +02:00
tsmethurst
de9718c566 Working on emojis a bit more 2021-04-13 22:53:27 +02:00
tsmethurst
9826f3f6d9 Started working on emoji 2021-04-13 11:56:12 +02:00
tsmethurst
f210d39891 too many changes to name honestly 2021-04-08 23:29:35 +02:00
tsmethurst
d1ca4a1219 moar work 2021-04-04 23:17:10 +02:00
tsmethurst
1710158b39 tags, emoji 2021-04-04 19:20:31 +02:00
tsmethurst
23e2c4a567 fiddle-de-dee! 2021-04-03 19:40:15 +02:00
tsmethurst
74bc0feee7 renaming 2021-04-02 21:15:17 +02:00
Tobi Smethurst
71a49e2b43
Api/v1/accounts (#8)
* start work on accounts module

* plodding away on the accounts endpoint

* groundwork for other account routes

* add password validator

* validation utils

* require account approval flags

* comments

* comments

* go fmt

* comments

* add distributor stub

* rename api to federator

* tidy a bit

* validate new account requests

* rename r router

* comments

* add domain blocks

* add some more shortcuts

* add some more shortcuts

* check email + username availability

* email block checking for signups

* chunking away at it

* tick off a few more things

* some fiddling with tests

* add mock package

* relocate repo

* move mocks around

* set app id on new signups

* initialize oauth server properly

* rename oauth server

* proper mocking tests

* go fmt ./...

* add required fields

* change name of func

* move validation to account.go

* more tests!

* add some file utility tools

* add mediaconfig

* new shortcut

* add some more fields

* add followrequest model

* add notify

* update mastotypes

* mock out storage interface

* start building media interface

* start on update credentials

* mess about with media a bit more

* test image manipulation

* media more or less working

* account update nearly working

* rearranging my package ;) ;) ;)

* phew big stuff!!!!

* fix type checking

* *fiddles*

* Add CreateTables func

* account registration flow working

* tidy

* script to step through auth flow

* add a lil helper for generating user uris

* fiddling with federation a bit

* update progress

* Tidying and linting
2021-04-01 20:46:45 +02:00
Tobi Smethurst
aa9ce272dc
Oauth/token (#7)
* add host and protocol options

* some fiddling

* tidying up and comments

* tick off /oauth/token

* tidying a bit

* tidying

* go mod tidy

* allow attaching middleware to server

* add middleware

* more user friendly

* add comments

* comments

* store account + app

* tidying

* lots of restructuring

* lint + tidy
2021-03-22 22:26:54 +01:00
Renamed from internal/db/postgres.go (Browse further)