Commit graph

102 commits

Author SHA1 Message Date
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
29c17cce12 statusGET works 2021-04-17 20:42:47 +02:00
tsmethurst
d996a474f0 fix broken test path 2021-04-17 20:40:37 +02:00
tsmethurst
ba84852d3e phew 2021-04-17 20:36:33 +02:00
tsmethurst
82437a768b update tests with hashtags 2021-04-15 19:20:43 +02:00
tsmethurst
f91ba5b304 updates to models and tags 2021-04-15 19:10:04 +02:00
tsmethurst
32629a378d work on emojis 2021-04-14 18:16:58 +02:00
tsmethurst
de9718c566 Working on emojis a bit more 2021-04-13 22:53:27 +02:00
tsmethurst
046c5e91fb trying emoji stuff 2021-04-13 16:00:13 +02:00
tsmethurst
9826f3f6d9 Started working on emoji 2021-04-13 11:56:12 +02:00
tsmethurst
2e7ac10d00 encode gifs properly 2021-04-12 16:48:31 +02:00
tsmethurst
2fa5519d55 fileserver working 2021-04-11 19:53:22 +02:00
tsmethurst
7ab9e78b44 more work on test rig 2021-04-10 18:50:28 +02:00
tsmethurst
9a57dac5a1 fiddling about 2021-04-10 13:34:41 +02:00
tsmethurst
b713ccac9f bleep bloop 2021-04-09 23:55:57 +02:00
tsmethurst
a30a1a267b media handling 2021-04-09 17:21:53 +02:00
tsmethurst
f210d39891 too many changes to name honestly 2021-04-08 23:29:35 +02:00
tsmethurst
e6c590c065 add some test statuses 2021-04-07 13:26:02 +02:00
tsmethurst
1bf56e0a52 fixin' bugs and takin' names 2021-04-06 23:35:49 +02:00
tsmethurst
9eb8878e94 refining some serialization 2021-04-06 23:35:04 +02:00
tsmethurst
1025ac31aa tests for status create 2021-04-06 16:31:57 +02:00
tsmethurst
21ffcd98ec drafting out test structs 2021-04-05 20:34:56 +02:00
tsmethurst
ca69a4102b tidying up some stuff 2021-04-05 14:21:38 +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
bf93305931 add emoji + tags 2021-04-04 16:08:26 +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
tsmethurst
0b0f3d9e9a additional work on statuses 2021-04-02 19:20:41 +02:00
tsmethurst
6705326752 extract mentions from status 2021-04-02 19:20:04 +02:00
tsmethurst
e58229175d start on status creation 2021-04-01 23:05:31 +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
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