tsmethurst
033844c65f
add mediaconfig
2021-03-28 18:46:19 +02:00
tsmethurst
95ab3e0617
add some file utility tools
2021-03-28 18:46:06 +02:00
tsmethurst
7e796b11ee
more tests!
2021-03-27 18:03:02 +01:00
tsmethurst
75b8b272ee
move validation to account.go
2021-03-27 18:02:53 +01:00
tsmethurst
03e0acb55b
change name of func
2021-03-27 18:02:22 +01:00
tsmethurst
4ef9134025
add required fields
2021-03-27 18:01:51 +01:00
tsmethurst
a19cc4740e
go fmt ./...
2021-03-27 16:28:57 +01:00
tsmethurst
f9932adcac
proper mocking tests
2021-03-27 16:28:39 +01:00
tsmethurst
cd0a1829d4
rename oauth server
2021-03-27 16:28:24 +01:00
tsmethurst
0006619318
initialize oauth server properly
2021-03-27 16:28:13 +01:00
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