Commit Graph

54 Commits

Author SHA1 Message Date
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 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 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 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 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
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 4e281f31b0 whole buncha stuff 2021-03-15 23:05:24 +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 c558681f02 start adding mastodon api types 2021-03-11 14:30:14 +01:00
tsmethurst a7b01a44b6 building out media req/resp model 2021-03-09 23:01:01 +01:00
tsmethurst 9a79d176c9 moving stuff around, stubbing interfaces 2021-03-09 17:03:40 +01:00
tsmethurst 338af00e7b add note struct 2021-03-08 22:37:56 +01:00
tsmethurst cd39566f5f tiny experiments 2021-03-07 22:03:36 +01:00
tsmethurst ac9c6b6251 tiny bit of moving around 2021-03-07 13:05:33 +01:00
tsmethurst 59963090cb create db schemas for accounts 2021-03-05 18:31:12 +01:00
tsmethurst 052783db66 tidying up here and there 2021-03-04 14:38:18 +01:00
tsmethurst baa2cbcca3 Merge branch 'main' of github.com:gotosocial/server into main 2021-03-04 12:08:17 +01:00
tsmethurst 645ea31856 Move some consts around 2021-03-04 12:07:24 +01:00
tsmethurst 18d0685ef1 further fun 2021-03-03 21:15:20 +01:00
tsmethurst 54c4b8de20 further yak shaving 2021-03-03 18:12:02 +01:00
tsmethurst be1b631681 More messing around 2021-03-02 22:52:31 +01:00
tsmethurst d8e8d44d47 start implementing db interface 2021-03-02 18:26:30 +01:00