forgejo/services/auth/source
silverwind a51b115b0a
Use inline SVG for built-in OAuth providers (#25171)
The plan is that all built-in auth providers use inline SVG for more
flexibility in styling and to get the GitHub icon to follow
`currentcolor`. This only removes the `public/img/auth` directory and
adds the missing svgs to our svg build.

It should map the built-in providers to these SVGs and render them. If
the user has set a Icon URL, it should render that as an `img` tag
instead.

```
gitea-azure-ad
gitea-bitbucket
gitea-discord
gitea-dropbox
gitea-facebook
gitea-gitea
gitea-gitlab
gitea-google
gitea-mastodon
gitea-microsoftonline
gitea-nextcloud
gitea-twitter
gitea-yandex
octicon-mark-github
```

GitHub logo is now white again on dark theme:

<img width="431" alt="Screenshot 2023-06-12 at 21 45 34"
src="https://github.com/go-gitea/gitea/assets/115237/27a43504-d60a-4132-a502-336b25883e4d">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-06-13 10:51:02 +00:00
..
db Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
ldap Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
oauth2 Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
pam Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
smtp Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
sspi Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_group_sync.go Fix accidental overwriting of LDAP team memberships (#24050) 2023-04-11 19:54:26 -04:00