Commit Graph

1706 Commits (ea207f694d1985423ac0ee9ed2f975a59af7fc14)

Author SHA1 Message Date
GiteaBot 693bea9780 [skip ci] Updated translations via Crowdin
GiteaBot f96d0d3d5b [skip ci] Updated translations via Crowdin
GiteaBot 5a42e72c04 [skip ci] Updated translations via Crowdin
GiteaBot 132c8c43e1 [skip ci] Updated translations via Crowdin
GiteaBot 20a2e26e99 [skip ci] Updated translations via Crowdin
Jimmy Praet 3d6cb25e31
Support unprotected file patterns ()
Fixes 

Note that changes to unprotected files via the web editor still cannot be pushed directly to the protected branch. I could easily add such support for edits and deletes if needed. But for adding, uploading or renaming unprotected files, it is not trivial.

* Extract & Move GetAffectedFiles to modules/git
GiteaBot eb03e819d3 [skip ci] Updated translations via Crowdin
zeripath 9ca0e7905c
Add setting to OAuth handlers to skip local 2FA authentication ()
This PR adds a setting to OAuth and OpenID login sources to allow the source to
skip local 2FA authentication.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath 248b96d8a3
Use git attributes to determine generated and vendored status for language stats and diffs ()
Replaces 
Replaces 
Replaces 

This PR first implements a `git check-attr` pipe reader - using `git check-attr --stdin -z --cached` - taking account of the change in the output format in git 1.8.5 and creates a helper function to read a tree into a temporary index file for that pipe reader.

It then wires this in to the language stats helper and into the git diff generation.

Files which are marked generated will be folded by default.

Fixes 
Fixes 
GiteaBot df2c7901e6 [skip ci] Updated translations via Crowdin
GiteaBot ded438fb1a [skip ci] Updated translations via Crowdin
GiteaBot 5a73153493 [skip ci] Updated translations via Crowdin
GiteaBot 219dec030d [skip ci] Updated translations via Crowdin
GiteaBot 9b4280ea4b [skip ci] Updated translations via Crowdin
a1012112796 cbf05c3f79
Add option to update pull request by `rebase` ()
* add option to update pull request by `rebase`

Signed-off-by: a1012112796 <1012112796@qq.com>
GiteaBot b0ff429882 [skip ci] Updated translations via Crowdin
GiteaBot 5e71b9c200 [skip ci] Updated translations via Crowdin
zeripath e37342db0c
Add modals to Organization and Team remove/leave ()
* Add modals to Organization and Team remove/leave

Add confirmation modals to Organization and Team remove and leave.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

* avoid for-in

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Revert "avoid for-in"

This reverts commit 2af9a6f9d4.

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
GiteaBot 3289aceec2 [skip ci] Updated translations via Crowdin
GiteaBot c446901a5d [skip ci] Updated translations via Crowdin
delvh 20efc6b56c
Unify migration descriptions ()
* Unify migration descriptions

* Clarify that pure Git migration differs from other migrations

Co-authored-by: Norwin <noerw@users.noreply.github.com>

* Use Pull Requests for Gitea migration

Co-authored-by: Norwin <noerw@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
John Olheiser 648464b504
Add bundle download for repository ()
* Add bundle download

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Fix fmt

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Fix build tags

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Download specific commit

Signed-off-by: jolheiser <john.olheiser@gmail.com>
GiteaBot d22cb600ed [skip ci] Updated translations via Crowdin
GiteaBot 94f529af02 [skip ci] Updated translations via Crowdin
GiteaBot 208ae9e996 [skip ci] Updated licenses and gitignores
KN4CK3R cee5f7c5e2
Add migrate from OneDev ()
* Use context to simplify logic.

* Added migration from OneDev.
This PR adds [OneDev](https://code.onedev.io/) as migration source.

Supported:
- [x] Milestones
- [x] Issues
- [x] Pull Requests
- [x] Comments
- [x] Reviews
- [x] Labels
Steven 3ecc4a1b9e
Fix dependency translations ()
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
GiteaBot 65c6acccf6 [skip ci] Updated translations via Crowdin
GiteaBot cf4328359b [skip ci] Updated translations via Crowdin
GiteaBot fe3299614a [skip ci] Updated translations via Crowdin
GiteaBot f5158b4304 [skip ci] Updated translations via Crowdin
delvh d17f555fe3
Improve resource string ()
* Improve resource string

Co-authored-by: zeripath <art27@cantab.net>
GiteaBot bbf9f41354 [skip ci] Updated translations via Crowdin
GiteaBot 6bf5afe5de [skip ci] Updated translations via Crowdin
a1012112796 ca13e1d56c
Add link to vscode to repo header ()
add link to vscode to repo header

Signed-off-by: a1012112796 <1012112796@qq.com>
zeripath e29e163737
Improve SMTP authentication and Fix user creation bugs ()
* Improve SMTP authentication, Fix user creation bugs and add LDAP cert/key options

This PR has two parts:

Improvements for SMTP authentication:

* Default to use SMTPS if port is 465, and allow setting of force SMTPS.
* Always use STARTTLS if available
* Provide CRAM-MD5 mechanism
* Add options for HELO hostname disabling
* Add options for providing certificates and keys
* Handle application specific password response as a failed user login
instead of as a 500.

Close 

Fix creation of new users:

* A bug was introduced when allowing users to change usernames which
prevents the creation of external users.
* The LoginSource refactor also broke this page.

Close 

Signed-off-by: Andrew Thornton <art27@cantab.net>
GiteaBot 2eeae4edb6 [skip ci] Updated translations via Crowdin
GiteaBot 1dc41c47b9 [skip ci] Updated translations via Crowdin
GiteaBot 07bc380c9f [skip ci] Updated translations via Crowdin
GiteaBot 2bbf1313b4 [skip ci] Updated translations via Crowdin
zeripath ab9bb54144
Add microsoft oauth2 providers ()
* Clean up oauth2 providers

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add AzureAD, AzureADv2, MicrosoftOnline OAuth2 providers

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Apply suggestions from code review

* remove unused Scopes

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
GiteaBot 7e7006e00d [skip ci] Updated translations via Crowdin
GiteaBot f03abe8fb1 [skip ci] Updated translations via Crowdin
Albert ARIBAUD a51cb3d4cb
Make PR merge options more intuitive () ()
Reword options making clear whether the PRed branch is rebased or not, and which type of commit will be created if any.
GiteaBot 3375e7658e [skip ci] Updated translations via Crowdin
GiteaBot b73e421646 [skip ci] Updated translations via Crowdin
GiteaBot e8306505f2 [skip ci] Updated translations via Crowdin
Marty 4e68d6f41d
Show correct text when comparing commits on empty pull request ()
* fix

* use own text

* Update templates/repo/commits_table.tmpl

Co-authored-by: marty <m.karkossa@ultraware.nl>
Co-authored-by: zeripath <art27@cantab.net>
GiteaBot 4b6370c46d [skip ci] Updated translations via Crowdin
GiteaBot e76f8cac9a [skip ci] Updated translations via Crowdin