forgejo/services
Giteabot 9cef7a4600
Use inline SVG for built-in OAuth providers (#25171) (#25234)
Backport #25171 by @silverwind

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: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-06-13 12:04:40 +00:00
..
actions Fix compatible for webhook ref type (#25195) (#25223) 2023-06-13 06:51:50 +00:00
agit
asymkey
attachment
auth Use inline SVG for built-in OAuth providers (#25171) (#25234) 2023-06-13 12:04:40 +00:00
automerge Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
context
convert
cron
externalaccount
forms Add ability to set multiple redirect URIs in OAuth application UI (#25072) 2023-06-05 15:00:12 +08:00
gitdiff Display file mode for new file and file mode changes (#24966) 2023-05-29 19:56:08 +02:00
issue Rename NotifyPullReviewRequest to NotifyPullRequestReviewRequest (#24988) 2023-05-31 15:54:46 +08:00
lfs Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
mailer Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
markup
migrations GitLab migration: Sanitize response for reaction list (#25054) 2023-06-02 20:35:50 +00:00
mirror
org
packages
pull Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
release
repository Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
task Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
user
webhook Fix compatible for webhook ref type (#25195) (#25223) 2023-06-13 06:51:50 +00:00
wiki