803 Commits (0a96e59884ca5c4fedc8c3d166d97f35b245ad6e)

Author SHA1 Message Date
GiteaBot ac3613b791 [skip ci] Updated translations via Crowdin 5 years ago
Yaşar Çiv 57b0d9a38b Add @yasarciv67 to TRANSLATORS file (#8451) 5 years ago
GiteaBot 7c1ddd5692 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 5109d18b29 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 3810fa48ac [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 4fe04f1adc [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 736ad8f091 [skip ci] Updated translations via Crowdin 5 years ago
Lauris BH 28d5347cf3 Singular form for files that has only one line (#8416) 5 years ago
GiteaBot af6cc5b9d8 [skip ci] Updated translations via Crowdin 5 years ago
silverwind 08896cd9f6 add file line count info on UI (#8396)
Also reworked the header to remove the filename (which is redundant with
the file path above) and made the header a flexbox with a monospace
font.

Fixes: https://github.com/go-gitea/gitea/issues/8170
5 years ago
guillep2k fb7c23f911 Fix editor commit to new branch if PR disabled (#8375) 5 years ago
GiteaBot ae939652ea [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 3be43dc5e3 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 0d93430695 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 3a7e3dbfb4 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 09bcc9edb0 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 177aedfca9 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot d3bc3dd4d1 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot ecd4bfd284 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot a5992d1725 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot f89d027c15 [skip ci] Updated translations via Crowdin 5 years ago
Elias Norberg 668d3d02aa If no specific context is required for status check, require an overall success (#8318)
Signed-off-by: Elias Norberg <elias@aisle.se>
5 years ago
GiteaBot 0d2566b560 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot cf170bf529 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 5774260e9b [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot b2b927808b [skip ci] Updated translations via Crowdin 5 years ago
Adam 7de910ab6f Added myself to translators list (#8292) 5 years ago
GiteaBot 43c0249583 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot b6cfca6240 [skip ci] Updated translations via Crowdin 5 years ago
David Svantesson a0e88dfc2e Add teams to repo on collaboration page. (#8045)
* Add teams to repo on collaboration page.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add option for repository admins to change teams access to repo.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add comment for functions

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Make RepoAdminChangeTeamAccess default false in xorm and make it default checked in template instead.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Make proper language strings and fix error redirection.

* Add unit tests for adding and deleting team from repository.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add database migration

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Fix redirect

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Fix locale string mismatch.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Move team access mode text logic to template.

* Move collaborator access mode text logic to template.
5 years ago
GiteaBot 6322d254e7 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 0d56dac577 [skip ci] Updated translations via Crowdin 5 years ago
guillep2k 2a2b46c62e Reference issues from pull requests and other issues (#8137)
* Update ref comment

* Generate comment on simple ref

* Make fmt + remove unneeded repo load

* Add TODO comments

* Add ref-check in issue creation; re-arrange template

* Make unit tests pass; rearrange code

* Make fmt

* Filter out xref comment if user can't see the referencing issue

* Add TODOs

* Add cross reference

* Rearrange code; add cross-repository references

* Striketrhough obsolete references

* Remove unnecesary TODO

* Add "not supported" note

* Support for edits and deletes, and issue title

* Revert changes to go.mod

* Fix fmt

* Add support for xref from API

* Add first integration test

* Add integration tests

* Correct formatting

* Fix add comment test

* Add migration

* Remove outdated comments; fix typo

* Some code refactoring and rearranging

* Rename findCrossReferences to createCrossReferences

* Delete xrefs when repository is deleted

* Corrections as suggested by @lafriks

* Prepare for merge

* Fix log for errors
5 years ago
GiteaBot 46f06956df [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao 04ca7f0047 Refuse merge until all required status checks success (#7481)
* refuse merge until ci successfully

* deny merge request when required status checkes not succeed on merge Post and API

* add database migration for added columns on protected_branch

* fix migration

* fix protected branch check bug

* fix protected branch settings

* remove duplicated code on check pull request's required commit statuses pass

* remove unused codes

* fix migration

* add newline for template file

* fix go mod

* rename function name and some other fixes

* fix template

* fix bug pull view

* remove go1.12 wrong dependencies

* add administrator bypass when protected branch status check enabled

* fix bug

* improve the codes
5 years ago
GiteaBot a629904b30 [skip ci] Updated translations via Crowdin 5 years ago
Mario Lubenka a37236314c Adds side-by-side diff for images (#6784)
* Adds side-by-side diff for images

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Explain blank imports

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use complete word for width and height labels on image compare

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update index.css from master

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves ImageInfo to git commit file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Assign ImageInfo function for template and sets correct target for BeforeSourcePath

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Return error if ImageInfo failed

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Avoid template panic when ImageInfo failed for some reason

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show file size on image diff

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes unused helper function

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Reverts copyright year change

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Close file reader

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update commit.go

Sets correct data key

* Moves reader.Close() up a few lines

* Updates index.css

* Updates CSS file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Transfers adjustments for image compare to compare.go file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts variable name

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Apply lesshint recommendations

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Do not show old image on image compare if it is not in index of base commit

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Change file size text

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
5 years ago
GiteaBot 107d57a925 [skip ci] Updated translations via Crowdin 5 years ago
techknowlogick 2837563147
oauth2 with remote Gitea - Fix #8093 (#8149) 5 years ago
GiteaBot e7e5bf6d85 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 5e67e0100c [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 10dfb444de [skip ci] Updated translations via Crowdin 5 years ago
WGH 6ddd3b0b47 Implement webhook branch filter (#7791)
* Fix validate() function to handle errors in embedded anon structs

* Implement webhook branch filter

See #2025, #3998.
5 years ago
John Olheiser 0118b6aaf8 Add option to initialize repository with labels (#6061)
* Add optional label sets on repo creation

* Fix CRLF

* Instead of hardcoding default, make it the helper

* Move label set init out of repo init

Add a new error for the router
Combine router label init with repo creation label init

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

* Add issue labels to Swagger for repo creation

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

* Update models/issue_label.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* Update models/issue_label.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
GiteaBot d4e11ebb18 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 418be61040 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 7e74afc9f7 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 5ef21408e2 [skip ci] Updated translations via Crowdin 5 years ago
GiteaBot 85f56546c4 [skip ci] Updated translations via Crowdin 5 years ago
micw 63c40796ef Display description of 'make this repo private' as help text, not as tooltip (#8097) 5 years ago