summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix: set explicit POSTGRES_PASSWORD for pgsql on drone CI (#10302)Antoine GIRARD2020-02-161-0/+1
|
* ui: better mobile review-box sizing (#10297)Antoine GIRARD2020-02-161-0/+11
|
* make: add release-sources (#10295)Antoine GIRARD2020-02-161-1/+5
| | | | | | * make: add release-sources * make: release-sources exclude .git and make_evidence
* make/pr: enforce vendor for run (#10296)Antoine GIRARD2020-02-161-1/+1
|
* Blacklist manifest.json & milestones user (#10292)techknowlogick2020-02-161-0/+2
| | | Fix #10290
* Notification: queue ui.go notification-service (#10281)zeripath2020-02-151-16/+27
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Update static resources documentation (#10270)Gary Kim2020-02-161-3/+3
| | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-152-1/+46
|
* Fix Workerpool deadlock (#10283)zeripath2020-02-152-3/+6
| | | | | | * Prevent deadlock on boost * Force a boost in testchannelqueue
* Divide GetIssueStats query in smaller chunks (#10176)guillep2k2020-02-152-0/+36
| | | | | | | | | | | | | | | | | | | | * Divide GetIssueStats query in smaller chunks * Skip chunking if count is low enough * Fix lint * Define maxQueryParameters * Remove absMaxQueryParameters because of lint * Restart CI * Restart CI Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Move fixture generation to contrib and add test (#10277)guillep2k2020-02-155-56/+163
| | | | | | | | | | | | | | | | | | * Add fixture gen tool and fix "access" test * Close file before exiting * Add missing repo_unit for repo id: 5 * Fix count on TestAPIOrgRepos * Generate access fixture from contrib and add test * Remove old access fixture generation * Fix lint Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix "access" fixtures and tests (#10247)guillep2k2020-02-156-39/+187
| | | | | | | | | | | | * Add fixture gen tool and fix "access" test * Close file before exiting * Add missing repo_unit for repo id: 5 * Fix count on TestAPIOrgRepos Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-142-2/+11
|
* Index code and stats only for non-empty repositories (#10251)Lauris BH2020-02-144-7/+19
| | | | | Fix test and switch to unique queue Fix MySQL support when deleting old statistics
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-142-2/+4
|
* Update discord link (#10263)John Olheiser2020-02-131-6/+6
|
* Issue search support elasticsearch (#9428)Lunny Xiao2020-02-13286-25/+57032
| | | | | | | | | | | | * Issue search support elasticsearch * Fix lint * Add indexer name on app.ini * add a warnning on SearchIssuesByKeyword * improve code
* Fix reply on code review (#10227)Lunny Xiao2020-02-132-1/+10
| | | | Co-authored-by: zeripath <art27@cantab.net>
* Add API branch protection endpoint (#9311)David Svantesson2020-02-1210-28/+1352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add API branch protection endpoint * lint * Change to use team names instead of ids. * Status codes. * fix * Fix * Add new branch protection options (BlockOnRejectedReviews, DismissStaleApprovals, RequireSignedCommits) * Do xorm query directly * fix xorm GetUserNamesByIDs * Add some tests * Improved GetTeamNamesByID * http status created for CreateBranchProtection * Correct status code in integration test Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-122-1/+53
|
* Add note about which version embedded tool is implemented (#10255)techknowlogick2020-02-121-0/+2
|
* Fix queue pop error and stat empty repository error (#10248)Lunny Xiao2020-02-123-2/+8
| | | | | | * Fix queue pop error and stat empty repository error * Fix error
* Add feishu webhook support (#10229)Lunny Xiao2020-02-1216-3/+327
| | | | Add feishu webhook support
* fix margin on attached segments with headers (#10235)silverwind2020-02-111-0/+5
| | | | | | Fixes: https://github.com/go-gitea/gitea/issues/10210 Co-authored-by: techknowlogick <matti@mdranta.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-121-0/+1
|
* SVG Octicon fixes (#10237)John Olheiser2020-02-118-60/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * SVG fixes Signed-off-by: jolheiser <john.olheiser@gmail.com> * Colorize span->svg only Signed-off-by: jolheiser <john.olheiser@gmail.com> * @silverwind suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Alphabetical Signed-off-by: jolheiser <john.olheiser@gmail.com> * Convert suburl and staticPrefix to window.config Signed-off-by: jolheiser <john.olheiser@gmail.com> * De-structure Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* fix label menu text on miletone issues (#10242)jaqra2020-02-121-2/+2
| | | | Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Stop hanging issue indexer initialisation from preventing shutdown (#10243)zeripath2020-02-121-17/+15
| | | | | Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* fix filter label emoji width (#10241)jaqra2020-02-111-0/+4
|
* Fix issue sidebar menus having an infinite height (#10239)James Lakin2020-02-112-3/+2
| | | | | | * Revert "Limit label list height on edit issue page" * Fix issue sidebar menus having an infinite height
* add TAGS variable prereq on make targets that use it (#10219)silverwind2020-02-111-3/+13
| | | | | | | | | | | | | | Write out TAGS to .make_evidence/tags and compare it to the previous invocation. If they differ, insert the evidence file into the prereqs of targets that use TAGS. I made it .PHONY so it always builds. I did not include the prereq on release tasks, asssuming the will always do a clean build. Fixes: https://github.com/go-gitea/gitea/issues/10196 Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* update vendor keybase/go-crypto (#10234)65432020-02-1129-679/+972
|
* Add Octicon SVG spritemap (#10107)John Olheiser2020-02-11112-1122/+1387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add octicon SVG sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Static prefix Signed-off-by: jolheiser <john.olheiser@gmail.com> * SVG for all repo icons Signed-off-by: jolheiser <john.olheiser@gmail.com> * make vendor Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap out octicons Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move octicons to top of less imports Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix JS Signed-off-by: jolheiser <john.olheiser@gmail.com> * Definitely not a search/replace Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed regex Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move to more generic calls and webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * make svg -> make webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg-sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed a test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg from makefile Signed-off-by: jolheiser <john.olheiser@gmail.com> * Suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Attempt to fix test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert timetracking test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap .octicon for .svg in less Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add aria-hidden Signed-off-by: jolheiser <john.olheiser@gmail.com> * Replace mega-octicon Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix webpack globbing on Windows Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert Co-Authored-By: silverwind <me@silverwind.io> * Fix octions from upstream Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix Vue and missed JS function Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add JS helper and PWA Signed-off-by: jolheiser <john.olheiser@gmail.com> * Preload SVG Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <matti@mdranta.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-111-0/+2
|
* Limit label list height on edit issue page (#10216)jaqra2020-02-112-1/+3
|
* Language statistics bar for repositories (#8037)Lauris BH2020-02-1189-55/+182948
| | | | | | | | | | | | | | | | | | * Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
* Restore graceful restart on SIGHUP (#10224)zeripath2020-02-111-2/+2
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-1025-0/+25
|
* Fix commit between two commits calculation if there is only last commit (#10225)Lauris BH2020-02-111-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-101-0/+2
|
* Improve 404 error message (#10214)guillep2k2020-02-102-0/+3
|
* Changelog 1.11.0 (#10204) (#10211)John Olheiser2020-02-103-56/+82
| | | | | Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Only show conflicted files if not merged (#10197)zeripath2020-02-092-2/+2
| | | | | | | | | * Only show conflicted files if not merged * try again Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: techknowlogick <matti@mdranta.net>
* Only check for conflicts/merging if the PR has not been merged in the ↵zeripath2020-02-106-73/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interim (#10132) * Only check for merging if the PR has not been merged in the interim * fixup! Only check for merging if the PR has not been merged in the interim * Try to fix test failure * Use PR2 not PR1 in tests as PR1 merges automatically * return already merged error * enforce locking * enforce locking - fix-test * enforce locking - fix-testx2 * enforce locking - fix-testx3 * move pullrequest checking to after merge This might improve the chance that the race does not affect us but does not prevent it. * Remove minor race with getting merge commit id * fixup * move check pr after merge * Remove unnecessary prepareTestEnv - onGiteaRun does this for us * Add information about when merging occuring * fix fmt * More logging * Attempt to fix mysql * Try MySQL fix again * try again * Try again?! * Try again?! * Sigh * remove the count - perhaps that will help * next remove the update id * next remove the update id - make it updated_unix instead * On failure to merge ensure that the pr is rechecked for conflict errors * On failure to merge ensure that the pr is rechecked for conflict errors * Update models/pull.go * Update models/pull.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [API] let admin check org membership on other users (#10201)65432020-02-091-1/+1
| | | | | | | | * fix * fix lint on master Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-091-0/+2
|
* Fix followers and following tabs in profile (#10202)Lauris BH2020-02-096-87/+41
|
* [API] Fix inconsistent label color format (#10129)65432020-02-099-42/+158
| | | | | | | | | | | | | | | | * update and use labelColorPattern * add TestCases * fix lint * # optional for templates * fix typo * some more * fix lint of **master**
* Fix invalid repo urls after change username (#10150)mavenbline2020-02-081-1/+11
| | | | | | | | | * Fix invalid repo urls after change username * Update user.go Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Allow emoji on popup label (#10166)jaqra2020-02-081-1/+2
| | | | | | | | | | | | * allow emoji on popup label * Make emojify work * Remove unnecessary class Co-Authored-By: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io>