aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-032-27/+68
|
* Use argon as default password hash algorithm (#12688)zeripath2020-09-036-35/+64
| | | | | | | | | | | | | | | | | | | | | | | | | * Restrict TLS connections to 1.2 minimum * Set Argon2 as the default KDF * Fix user.yml * Remove TLS minversion changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Add migration as per @techknowlogick Signed-off-by: Andrew Thornton <art27@cantab.net> * set the password algo in the fixtures Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove the v148 migration - it needs recreate table to change the defaults Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Nadim Kobeissi <nadim@symbolic.software>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-031-59/+200
|
* Remove GOPATH set up on hacking (#12698)Lunny Xiao2020-09-031-5/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-031-1/+10
|
* Migrations: Gitlab Add Reactions Support for Issues & MergeRequests (#12695)65432020-09-032-23/+120
| | | | | | | | | | | | | * fix migrations: gitlab_test * more stable test * Get Reactions to Pulls * Reactions for Issues * Comments are still hard Co-authored-by: Lauris BH <lauris@nix.lv>
* Avoid sending "0 new commits" webhooks (#12212)S7evinK2020-09-022-2/+10
| | | | | | | | | | | | | | | | | | | | | * Avoid sending "0 new commits" webhook Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Revert "Avoid sending "0 new commits" webhook" This reverts commit 1f47ccfacd81470e2c33a02bb8d255172aa4ec08. * Move commit count check to more central place * Make tests pass * Update modules/webhook/webhook.go Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Upgrade xorm to v1.0.4 (#12694)Lunny Xiao2020-09-039-57/+56
|
* Set TLS minimum version to 1.2 (#12689)zeripath2020-09-021-0/+2
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* When reading expired sessions - expire them (#12686)zeripath2020-09-029-231/+32
| | | | | | | | | | | | | | | * When reading expired sessions - expire them Update to latest macaron/session following merge of https://gitea.com/macaron/session/pulls/11 Also remove old memory provider as 11 updates the memory provider to make it unnecessary. Signed-off-by: Andrew Thornton <art27@cantab.net> * and macaron/session/pulls/12 Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-022-0/+159
|
* Escape failed highlighted code (#12685)zeripath2020-09-021-1/+2
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Set avatar image dimensions (#12654)Daniel Aleksandersen2020-09-021-2/+2
| | | | | | | | | Set the avatar image dimensions to help browsers avoid layout reflows. Helps page load performance and user experience (less content jank). Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Ensure that all migration requests are cancellable (#12669)zeripath2020-09-027-39/+86
| | | | | | | | | | | * Ensure that all migration requests are cancellable Signed-off-by: Andrew Thornton <art27@cantab.net> * Use WithContext as RequestWithContext is go 1.14 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add make targed generate-license & generate-gitignore + Update (#12682)65432020-09-0283-78/+8773
| | | | | | | * Add make targed generate-license & generate-gitignore * Update Gitignores & Licenses Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-021-9/+54
|
* Remove duplicate logic in initListSubmits (#12660)赵智超2020-09-024-67/+49
| | | | | | | | | | | | | | | | | | * Remove duplicate logic in initListSubmits Using the same logic to handle Choosing reviewers and assignees as choosing label. It's the first step of #10926. Signed-off-by: a1012112796 <1012112796@qq.com> * fix choose block * fix nit * try fix bug * simple code Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-021-0/+16
|