]> source.dussan.org Git - gitea.git/commit
#12897 - add mastodon provider (#13293)
authorDivyam Bhasin <divbest99@gmail.com>
Sun, 25 Oct 2020 18:21:49 +0000 (14:21 -0400)
committerGitHub <noreply@github.com>
Sun, 25 Oct 2020 18:21:49 +0000 (14:21 -0400)
commit7974b3418350c180df70111da611047f09122fa9
tree869fad1ab88c8deca8f6e1eba01cb2b0a47a539e
parentf565cf5dcfa6a674eff2a7b3d47f47c77c6ed9d7
#12897 - add mastodon provider (#13293)

* added mastodon provider to oauth code

* changed go.mod and vendor/modules.txt to add updated goth

* vendored mastodon and new goth

* committing result of go mod tidy && go mod vendor

* added pic and mastodon to oauth models

* handled instance url

* applied lafriks suggestion

* Update web_src/js/index.js

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <matti@mdranta.net>
go.sum
models/oauth2.go
modules/auth/oauth2/oauth2.go
options/locale/locale_en-US.ini
public/img/auth/mastodon.png [new file with mode: 0644]
templates/admin/auth/new.tmpl
templates/admin/auth/source/oauth.tmpl
vendor/github.com/markbates/goth/providers/mastodon/mastodon.go [new file with mode: 0644]
vendor/github.com/markbates/goth/providers/mastodon/session.go [new file with mode: 0644]
vendor/modules.txt
web_src/js/index.js