Commit Graph

77 Commits

Author SHA1 Message Date
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
tsmethurst
a4b70269ba add liberapay widgets 2021-03-16 15:06:52 +01:00
tsmethurst
186b31a8ee move image attribution to the bottom 2021-03-16 14:22:33 +01:00
tsmethurst
cf86f7aa8a fix link 2021-03-16 14:16:03 +01:00
tsmethurst
c12ecfc21b note about sponsorship 2021-03-16 14:15:19 +01:00
tsmethurst
39cf90954f use markdown for logo 2021-03-16 13:39:13 +01:00
tsmethurst
43af091d3f center logo 2021-03-16 13:38:31 +01:00
tsmethurst
a85576af5a add cute logo 2021-03-16 13:36:45 +01:00
tsmethurst
4e281f31b0 whole buncha stuff 2021-03-15 23:05:24 +01:00
tsmethurst
b48072fef6 go mod tidy 2021-03-15 19:00:14 +01:00
tsmethurst
cca676dcb3 tests 2021-03-15 18:59:38 +01:00
tsmethurst
1eecc2688c bit of experimenting and tidying 2021-03-15 16:15:14 +01:00
tsmethurst
7590eb9cc2 move mastotypes 2021-03-15 14:47:23 +01:00
tsmethurst
772f6e5949 start working on oauth2 implementation 2021-03-14 17:56:16 +01:00
tsmethurst
77f2a27b23 more work on types 2021-03-13 23:59:15 +01:00
tsmethurst
1165d247a1 more mastotypes 2021-03-13 17:07:05 +01:00
tsmethurst
bc7302afa1 more mastotypes 2021-03-12 17:15:24 +01:00
tsmethurst
90d59d5e09 add link back to profile 2021-03-12 13:16:09 +01:00
tsmethurst
66f8ac7731 tweak 2021-03-12 13:14:27 +01:00
tsmethurst
1ed791cd81 added some stuff to readme 2021-03-12 13:13:33 +01:00
tsmethurst
687eb02549 add more mastotypes 2021-03-11 21:15:51 +01:00