Commit Graph

19 Commits

Author SHA1 Message Date
Anthony Wang
becdf5e1f1
Use go-ap instead of go-fed 2022-05-23 11:43:59 -05:00
Anthony Wang
501a39fb98
Merge remote-tracking branch 'github/feature-activitypub' into feature-activitypub 2022-05-09 19:13:16 -05:00
Anthony Wang
364838c11b
Fix lint errors 2022-05-09 19:11:08 -05:00
6543
55c5e930db
fmt 2022-05-09 19:48:10 +02:00
Anthony Wang
5139b3dc19
Use named constant for httpsigExpirationTime 2022-04-13 09:05:24 -05:00
Anthony Wang
7ea5e108a5
Use system timezone instead of setting.DefaultUILocation 2022-03-30 17:51:44 -05:00
Anthony Wang
fdae736f22
Remove unneeded copy 2022-03-30 16:29:47 -05:00
Anthony Wang
1da0d49de7
Clean up some variable declarations 2022-03-30 15:52:52 -05:00
Anthony Wang
65016b2664
Check if digest algo is supported in setting module 2022-03-29 16:38:27 -05:00
Anthony Wang
d1a53f7d6a
Use time.RFC1123 and make the http.Client proxy-aware 2022-03-28 12:37:52 -05:00
Anthony Wang
3ed4a71a4c
Rename hack_16834 to user_settings
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-25 11:53:16 -05:00
Anthony Wang
f9e33d97cc
Run make fmt and make generate-swagger
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19 09:14:08 -05:00
Anthony Wang
b480c52f60
Change 2021 to 2022, properly format package imports
Signed-off-by: Anthony Wang <ta180m@pm.me>
2022-03-19 08:55:58 -05:00
Loïc Dachary
b342241abc
activitypub: hack_16834
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18 17:34:10 -05:00
Loïc Dachary
97fedf2616
activitypub: implement the ReqSignature middleware
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18 17:34:09 -05:00
Loïc Dachary
15c1f6218c
activitypub: signing http client
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18 17:34:09 -05:00
Loïc Dachary
e8907c3c9e
activitypub: go-fed conformant Clock instance
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-03-18 17:34:09 -05:00
6543
54e9ee37a7
format with gofumpt (#18184)
* gofumpt -w -l .

* gofumpt -w -l -extra .

* Add linter

* manual fix

* change make fmt
2022-01-20 18:46:10 +01:00
techknowlogick
e9a9c20d52
Create pub/priv keypair for federation (#17071)
* add logic for creating pub/priv keypair for federation

* Apply suggestions from code review

Co-authored-by: delvh <dev.lh@web.de>

* make fmt

* Update modules/activitypub/keypair.go

Co-authored-by: delvh <dev.lh@web.de>

* add tests

* fix revert

* more tests

* Apply suggestions from code review

Co-authored-by: delvh <dev.lh@web.de>

* make fmt

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: 6543 <6543@obermui.de>
2021-09-28 15:19:22 -04:00