summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reading pull attachments should depend on read UnitTypePullRequests (#10346)zeripath2020-02-182-2/+6
| | | | | | | | * Make pull attachments depend on read UnitTypePullRequests Fixes #10336 * Fix test
* Set max-width on review-box comment box (#10348)zeripath2020-02-181-0/+22
|
* [Docs] Database Preparation (#9826)Bagas Sanjaya2020-02-181-0/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Database Preparation * Apply suggestions from @guillep2k Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Repeat strong password notice on PostgreSQL * Add prerequisite note * Use utf8mb4 instead of utf8 * Use utf8mb4 if complete character coverage wanted * utf8mb4 recommended * Reword utf8mb4 recommendation * Set InnoDB global variables may be needed * Reorder step number * Whoops, bump year date * Remove `SET GLOBAL`s and step number reorder It is assumed that such global variables value are already as default on MySQL 5.7 and later, so those are redundant. * Syntax edit on MySQL GRANT PRIVILEGEs * DB engine uniformity intro edit Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Revert "Do docker releases for pushes to release branches (#10330)" (#10345)zeripath2020-02-181-3/+0
| | | This reverts commit 69f80fd9f69c08b2320523adc99c9257df52108d.
* Prevent nil pointer in GetPullRequestCommitStatusState (#10342)zeripath2020-02-181-0/+5
| | | | | Ensure that pr.HeadRepo is loaded before using it in GetPullRequestCommitStatusState. Fixes error on merging with successful commit merge statuses.
* Fix status check enable (#10341)John Olheiser2020-02-181-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Do docker releases for pushes to release branches (#10330)zeripath2020-02-181-0/+3
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix notification (#10331)Lunny Xiao2020-02-181-18/+18
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-181-0/+12
|
* Fix JS and Vue (#10328)John Olheiser2020-02-182-4/+2
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-181-0/+1
|
* Fix cron.repo_health_check schedule example in config cheat sheet (#10324)Mike Gerber2020-02-171-1/+1
| | | | | | Fixes #10274. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix migration information update bug when linked github account (#10310)Lunny Xiao2020-02-172-13/+16
| | | | | | | | * Fix bug on upgrade migrated reactions * Fix migration information update bug when linked github account Co-authored-by: zeripath <art27@cantab.net>
* Inject SVG sprite via ajax (#10320)John Olheiser2020-02-173-4/+11
| | | | | | | | | | * AJAX SVG * Fix PWA * Remove unused PWA assets Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-Authored-by: silverwind <me@silverwind.io>
* Create Changelog for v1.11.1 release (#10286) (#10321)zeripath2020-02-171-0/+14
| | | | | | | | | | * Create Changelog * Update CHANGELOG.md * Include Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Set the initial commit status to Success otherwise it will always be Pending ↵zeripath2020-02-171-1/+1
| | | | | (#10317) The commit status code has a bug whereby setting the initial status to Pending means you can never have the status of Success - it should be set to Success.
* Truncate long commit message header (#10301)zeripath2020-02-173-3/+40
| | | | | | | | | | | | | | * Truncate long commit message header * Fix overflow in view commit table * Use @media less * Further improvements * Fix the commit message on small screens * adjust width of minimal table
* Don't manually replace whitespace during render (#10291)mrsdizzie2020-02-172-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't manually replace whitespace during render For historical reasons Gitea manually alters the urlPrefix and replaces a whitespace with a +. This Works for URLs, but we're also passing urlPrefix to git calls and adding the + is breaking the tree path. Goldmark will automatically convert a white space to the proper %20, so we should leave the string as is which lets us pass it to git unmodified and then let Goldmark fix it. Also fixed separate bug in URLJoin I noticed while testing where it will silently discard sections of a path that have # in them (possibly others). We should just escape it first. Fixes 10156 * Escape elems as well * Revert "Escape elems as well" This reverts commit 8bf49596fee6fac4d9da256cd1e90a0ec0183671. * restart ci * remove changes to URLJoin * restart ci Co-authored-by: techknowlogick <matti@mdranta.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-161-2/+51
|
* v1.10.4 Changelog (#10294) (#10306)zeripath2020-02-161-0/+13
| | | | | | | | | | * v1.10.4 Changelog * Add backport identifier for #10261 * Update CHANGELOG.md entry for #9884 Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* 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