Commit Graph

97 Commits

Author SHA1 Message Date
tsmethurst e66f12dcfe set app id on new signups 2021-03-27 16:27:49 +01:00
tsmethurst 840a3fead4 move mocks around 2021-03-27 16:27:28 +01:00
tsmethurst c956595d73 relocate repo 2021-03-27 13:00:22 +01:00
tsmethurst 33fa76baef add mock package 2021-03-26 23:55:32 +01:00
tsmethurst 998adc5591 some fiddling with tests 2021-03-26 23:48:21 +01:00
tsmethurst dd65b25523 tick off a few more things 2021-03-26 19:04:11 +01:00
tsmethurst f58f77bf1f chunking away at it 2021-03-26 19:02:20 +01:00
tsmethurst 0a244be523 email block checking for signups 2021-03-25 23:49:29 +01:00
tsmethurst 88486b8447 check email + username availability 2021-03-25 23:34:00 +01:00
tsmethurst 4982d7ffec add some more shortcuts 2021-03-25 23:33:37 +01:00
tsmethurst adf48aa5b7 add some more shortcuts 2021-03-25 23:33:26 +01:00
tsmethurst b1d6e09ddc add domain blocks 2021-03-25 23:33:13 +01:00
tsmethurst 39aa3b3339 comments 2021-03-25 20:10:35 +01:00
tsmethurst 4eb35078b9 rename r router 2021-03-25 20:10:27 +01:00
tsmethurst f1cdfe6a54 validate new account requests 2021-03-25 20:10:10 +01:00
tsmethurst a9ca7f1d55 tidy a bit 2021-03-25 20:09:48 +01:00
tsmethurst 27d1db7f2d rename api to federator 2021-03-25 20:09:26 +01:00
tsmethurst a4abf9e875 add distributor stub 2021-03-25 20:09:08 +01:00
tsmethurst 99af433d8a comments 2021-03-25 20:09:00 +01:00
tsmethurst 46640813bb go fmt 2021-03-25 20:08:50 +01:00
tsmethurst 9453dcd2b1 comments 2021-03-25 20:08:23 +01:00
tsmethurst ea97afd86f comments 2021-03-25 20:08:04 +01:00
tsmethurst b3d5587415 require account approval flags 2021-03-25 20:07:28 +01:00
tsmethurst ad61584d7a validation utils 2021-03-25 20:06:50 +01:00
tsmethurst 19aa0bde76 add password validator 2021-03-25 20:06:27 +01:00
tsmethurst 26c482cd86 groundwork for other account routes 2021-03-24 17:34:41 +01:00
tsmethurst 0ea69345b9 plodding away on the accounts endpoint 2021-03-23 22:13:01 +01:00
tsmethurst 7139116e5d start work on accounts module 2021-03-23 13:17:54 +01: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
tsmethurst 4194f8d88f fix lint errors 2021-03-20 19:44:18 +01:00
tsmethurst 3ddbd6f163 add golangci job 2021-03-20 19:38:31 +01:00
Tobi Smethurst 84177a6891
Create codeql-analysis.yml 2021-03-20 19:28:25 +01:00
tsmethurst d3076f3531 replace sloth with cuter sloth 2021-03-20 19:16:21 +01:00
Tobi Smethurst 995e61bb07
Merge pull request #6 from gotosocial/fun_with_oauth2
oauth2
2021-03-20 19:08:40 +01:00
tsmethurst 3388c870ae Go mod tidy 2021-03-20 19:08:25 +01:00
tsmethurst 044c0df428 go fmt 2021-03-20 19:08:17 +01:00
tsmethurst d0e6625d6e tidying up 2021-03-20 19:06:28 +01:00
tsmethurst 2b7b562a43 add apps handler 2021-03-20 19:05:37 +01:00
tsmethurst b3d1362370 add fields 2021-03-20 19:04:35 +01:00
tsmethurst 81760963b0 formatting,comments 2021-03-20 19:04:27 +01:00
tsmethurst 0abe01ea22 add progress list 2021-03-20 18:41:10 +01:00
tsmethurst b915f427be allow showing just code 2021-03-20 00:18:44 +01:00
tsmethurst fd02a7dfbe update 2021-03-19 13:37:58 +01:00
tsmethurst 95faebe60d extend application for use in oauth 2021-03-18 23:54:07 +01:00
tsmethurst 1b11884121 auth flow working for code 2021-03-18 23:27:43 +01:00
Tobi Smethurst dbad219eb2
Create FUNDING.yml 2021-03-18 00:30:23 +01:00
tsmethurst b6087cc08d almost there 2021-03-17 19:52:36 +01:00
tsmethurst 6eab00e05e getting there....... 2021-03-17 16:01:31 +01:00
tsmethurst 9d5fb0785f fiddling 2021-03-17 13:14:52 +01:00
tsmethurst eb2ff2ab23 Some more messing around with oauth2 2021-03-17 11:33:06 +01:00