summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add queue for code indexer (#10332)Lunny Xiao2020-09-0710-171/+233
| | | | | | | | | | | | | | | | | | | | | * Add queue for code indexer * Fix lint * Fix test * Fix lint * Fix bug * Fix bug * Fix lint * Add noqueue * Fix tests * Rename noqueue to immediate
* Set setting.AppURL as GITEA_ROOT_URL environment variable during pushes (#12752)zeripath2020-09-063-0/+6
| | | | | | | * Set setting.AppURL as GITEA_ROOT_URL environment variable during pushes Fix #11738 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Upgrade bleve to v1.0.10 (#12737)Lunny Xiao2020-09-0690-433/+12116
| | | | | | | | * Fix bug on migration 111 * Upgrade bleve to 1.0.10 Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add command to recreate tables (#12407)zeripath2020-09-065-0/+365
| | | | | | | | | | | | | | Provides new command: `gitea doctor recreate-table` which will recreate db tables and copy the old data in to the new table. This function can be used to remove the old warning of struct defaults being out of date. Fix #8868 Fix #3265 Fix #8894 Signed-off-by: Andrew Thornton <art27@cantab.net>
* RepoInit Respect AlternateDefaultBranch (#12746)65432020-09-061-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-0615-15/+3
|
* Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) (#12745)65432020-09-068-124/+292
| | | | | | * Update Vendor github.com/nfnt/resize * switch resize algo NearestNeighbor -> Bilinear
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-061-1/+2
|
* Fix editor.commit_empty_file_text locale string (#12744)zeripath2020-09-061-1/+1
| | | | | | | | editor.commit_empty_file_text should read `about to commit` not `about commit` Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add better Swagger description and a example for GetArchive (#12743)65432020-09-062-2/+2
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-061-0/+1
|
* [Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701)65432020-09-0644-776/+2436
| | | | | | | | | * update github.com/xanzy/go-gitlab v0.31.0 => v0.37.0 * vendor * adapt changes Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-061-5/+19
|
* ui: Show git-pull-request icon for closed pull request (#12742)赵智超2020-09-062-3/+3
| | | | | As title, I think it's more reasonable, and it's the same as GH. Signed-off-by: a1012112796 <1012112796@qq.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-062-23/+48
|
* Fix bug of migraition v111 (#12738)Lunny Xiao2020-09-061-3/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-062-37/+57
|
* Fix bug on migration 111 (#12736)Lunny Xiao2020-09-061-12/+32
| | | | | | | | | * Fix bug on migration 111 * Check reviews when migrating v111 * Fix bug * Fix commit
* implemet Cache for Stopwatches.APIFormat() (#12730)65432020-09-051-4/+31
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [Vendor] Fix Version Compare Lib (#12735)65432020-09-055-6/+10
| | | | | | | | | | | | | | | * switch to patched fork * vendor * reference upstream lib and use replace in go.mod * reference upstream lib and use replace in go.mod * Apply suggestions from code review * vendor Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-054-48/+57
|
* use assignment in tests (#12734)zeripath2020-09-062-2/+2
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-051-10/+32
|
* refactor repo_stats to use os.pipe (#11726)techknowlogick2020-09-052-67/+86
| | | | | | | | | | | | | * refactor repo_stats to use os.pipe * woops. missing reader. * stdout not stderr, woops * Fix copyright date and ensure that the stderr is collected Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-051-13/+26
|
* Add Created & Updated to Milestone (#12662)65432020-09-059-1/+57
| | | | | | | | | * Add Created and Updated to Milestone table and expose via API * Expose to UI - To Overloaded ?!? * fix unit test Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-051-9/+12
|
* [Vendor] Switch go-version lib (#12719)65432020-09-0535-966/+1134
| | | | | | | | | | | | | | | | | | | | | * vendor: switch from "mcuadros/go-version" to "hashicorp/go-version" * Adapt P1 * simplify * fix lint * adapt * fix lint & rm old code * no deadlock * rm RWMutex and check GoVersion only 1-time * Copyright header Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Update to go-org 1.3.2 (#12728)zeripath2020-09-0517-9958/+10290
| | | | | | | | | | | | | * Update to go-org 1.3.2 Fix #12727 Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix unit test Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-051-1/+0
|
* additional data for type StopWatch in swagger api (#12458)Jochen Peters2020-09-053-4/+25
| | | | | | | | | | | | * additional data for type StopWatch in swagger api * fix lint-backend issue with gofmt * fix format in v1_json with 'make generate-swagger' * using issue.LoadRepo() instead of getRepositoryByID() Co-authored-by: jochen@homeland <no-go@localhost> Co-authored-by: zeripath <art27@cantab.net>
* Expose Attachemnt Settings by API (#12514)65432020-09-056-0/+94
| | | close #12368
* Use pre-built hugo binary in release step (#12725)techknowlogick2020-09-051-1/+1
| | | | | * Use pre-built hugo binary in release step * decrease verbosity of tar
* Refactor webhook payload convertion (#12310)Lunny Xiao2020-09-0412-454/+397
| | | | | | | * Refactor webhook payload convertion * Fix lint Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add 'make watch' (#12636)silverwind2020-09-043-6/+15
| | | | | | | | | | | | | | * Add 'make watch' This combines frontend and backend watch into a single command that runs them in parallel on on SIGINT terminates both. Termination is not super-clean but I guess it does not have to. * move to tools/, trap more signals, remove gnu-specific flag * simplify Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-042-0/+8
|
* Add details re: Kanban (#12721)techknowlogick2020-09-041-1/+1
|
* Remove async pre-empt hack if go >= 1.15 (#12718)zeripath2020-09-041-1/+5
| | | | | Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Bump min required golang to 1.13 (#12717)techknowlogick2020-09-044-5/+5
| | | | | | | | | | | | | * Bump min required golang to 1.13 * Update config.yaml * Update Makefile * per silverwind feedback * per silverwind Co-authored-by: zeripath <art27@cantab.net>
* API: Expose its limitation settings (#12714)65432020-09-047-14/+133
| | | | | | | | * API: Expose its limitation settings * TESTs Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-042-0/+2
|
* Test ignore migration rate limitation error (#12715)65432020-09-041-1/+10
|
* UI: Inform user what meaning hourglass on reviews has (#12713)65432020-09-042-1/+2
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add spent time to referenced issue in commit message (#12220)Lauris BH2020-09-044-40/+184
|
* Add github api token option to generate-license & generate-gitignore (#12700)zeripath2020-09-042-9/+32
| | | | | | | | | | | | | | * Add github api token option to generate-license & generate-gitignore Without api toke, Will face rate limit sometimes. Signed-off-by: a1012112796 <1012112796@qq.com> * Use Basic authentication with tokens Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* fix go1.15 lint error in modules/public/public.go (#12707)65432020-09-041-1/+1
| | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Changelog for 1.12.4 release (#12687) (#12709)65432020-09-032-1/+28
| | | | | | | | | | | * Changelog for 1.12.4 release (#12687) Co-authored-by: zeripath <art27@cantab.net> * update gitea version in docs Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: zeripath <art27@cantab.net>
* [BugFix] Fix comment broken issue ref dependence (#12651)65432020-09-044-2/+25
| | | | | | | | | | | | | * deleteIssuesByRepoID: delete related CommentTypeRemoveDependency & CommentTypeAddDependency comments too * Ignore ErrIssueNotExist on comment.LoadDepIssueDetails() * Add migration * Ignore 'dependent_issue_id = 0' case * exchange as per @lunny Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-031-3/+3
|
* Update JS dependencies (#12702)silverwind2020-09-0410-450/+507
| | | | | - Added some new octicons - Add explicit less dependency as required by upstream - Enable es2021 environment in eslint