aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix empty commits now showing in repo overview (#7521)silverwind2019-07-227-13/+24
| | | | | | | | * Fix empty commits now showing in repo overview * add test * make fmt
* Fixed ineffectual assignments (#7555)Christian Muehlhaeuser2019-07-222-2/+1
| | | Don't assign values we never use.
* Un-lambda base.FileSize (#7556)Christian Muehlhaeuser2019-07-221-4/+2
| | | No need to wrap this.
* Fixed ineffectual assignments in tests (#7553)Christian Muehlhaeuser2019-07-223-13/+13
| | | | Just makes it a bit more obvious which values we want to test for, and which ones we want to ignore.
* Specify using AllowEncodedSlashes and nocanon for httpd (#7540)Gary Kim2019-07-202-4/+8
| | | | | | | | | | When using wiki page names that include a slash behind a Apache HTTPD reverse proxy, AllowEncodedSlashes NoDecode and appending nocanon to the ProxyPass directive is required. This commit adds that information to the documentation. Signed-off-by: Gary Kim <gary@garykim.dev>
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-201-0/+1
|
* Add self to maintainers (#7541)Gary Kim2019-07-201-0/+1
|
* Fix repository's pull request count error (#7518)Lunny Xiao2019-07-183-12/+38
| | | | | | * fix pr count error * fix tests
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-181-0/+6
|
* Fix markdown invoke sequence (#7513)Lunny Xiao2019-07-181-1/+1
|
* Added total count of contributions to heatmap (#7517)kolaente2019-07-183-2/+11
| | | | | | | | | | * Added total count of contributions to heatmap Signed-off-by: kolaente <k@knt.li> * make css Signed-off-by: kolaente <k@knt.li>
* Make default branch name link to default branch (#7519)Gary Kim2019-07-181-1/+1
| | | | | | | | | | The default branch's name on the branches page for a repo was previously simply text and did not link anywhere. The name is now a link to the default branch just like the non-default branch names. Signed-off-by: Gary Kim <gary@garykim.dev>
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-181-0/+1
|
* remove duplicated webhook trigger (#7511)Lunny Xiao2019-07-181-1/+0
|
* Fixes for README_ZH (#7506)John Olheiser2019-07-181-3/+3
|
* Update CONTRIBUTING.md with information about DCO (#7397)techknowlogick2019-07-171-12/+11
| | | | | | | | | | | * Update CONTRIBUTING.md with information about DCO References: #7389 More information: https://about.gitlab.com/handbook/marketing/community-relations/code-contributor-program/#developer-certificate-of-origin-dco * Update CONTRIBUTING.md Co-Authored-By: zeripath <art27@cantab.net>
* Add Extra Info to Branches Page (#7461)Gary Kim2019-07-173-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add branch protection information to branches page This change will add a tag on the ui that indicates whether a branch is protected on the repository branches page. Signed-off-by: Gary Kim <gary@garykim.dev> * Add last commit information to repo branches page This change adds the ID and commit message of the last commit on a branch to the branches page for repositories. Signed-off-by: Gary Kim <gary@garykim.dev> * Make branch page commit message truncate in css rather then template The truncating of commit messages shown under branches in the repository branches page has been moved to using css rather then the Go template as the template was causing some issues when the commit messaged had a link when rendered. This commit also makes the commit message paragraph itself use flex in order to make managing its elements easier. Signed-off-by: Gary Kim <gary@garykim.dev>
* Fix backer badge (#7505)John Olheiser2019-07-171-1/+1
|
* Include thread related headers in issue/coment mail (#7484)mrsdizzie2019-07-173-1/+115
| | | | | | | | | | | | | | * Include thread related headers in issue/coment mail Make it so mail programs will group comments from an issue into the same thread by setting Message-ID on initial issue and then using In-Reply-To and References headers to reference that later on. * Add tests * more tests * fix typo
* Fixes #7474 - Handles all redirects for Web UI File CRUD (#7478)Richard Mahn2019-07-175-19/+125
| | | | | | | | | | | | | | | | * Fixes #7474 - Handles all redirects for Web UI File CRUD * Fixes lint errors * Typo fix * Adds unit tests for a few helper functions * Fixes per review * Fix for new branch creation and to unit test * Fixes the template used for errors on delete
* Update User.NumRepos atomically in createRepository (#7493)Monty Taylor2019-07-171-2/+6
| | | | | | | | The update call on the user call races if there is more than one repository creation concurrently, leading to incorrect count of repos. Split things in two, so that we call the update for last visibility (which isn't problematic if it races, since it can only ever be best-effort anyway). This way we can atomically increment the count of repos.
* fix missing queue type on app.ini.sample (#7494)Lunny Xiao2019-07-171-1/+1
|
* drone/docker: Use a more standard format (#7480)Antoine GIRARD2019-07-171-36/+17
| | | | | | | | | | | | | * drone/docker: Use a more standard format Based on the plugin drone structure itself : https://github.com/drone-plugins/drone-docker/blob/ebce953fc443371d79b5a019fcc9c1976f60a09a/.drone.yml#L9 Use autotag : http://plugins.drone.io/drone-plugins/drone-docker/#autotag * use latest plugins/docker:linux-amd64 * remove useless cache_from * Don't depends on translations step
* don't make release-version deps on transalations since translations is only ↵Antoine GIRARD2019-07-171-1/+0
| | | | triggered by push on master (#7496)
* Remove settting dependency on modules/session (#7237)Lunny Xiao2019-07-174-10/+6
| | | | | | | | | | * remove settting dependency on modules/session * fix fmt * fix tests * fix lint
* Fixes #7475 - Settings pages giving UnitType error message (#7482)Richard Mahn2019-07-151-1/+1
|
* convert all js var to let/const (#7464)silverwind2019-07-163-273/+274
| | | | Most of the work was done by `eslint --fix`, I fixed around 10 cases where it could not auto-convert.
* Move status table to cron package (#7370)Lunny Xiao2019-07-1524-500/+686
|
* Fix typo in home.tmpl (#7452)vadim s. sabinich2019-07-151-1/+1
|
* update js dependencies (#7462)silverwind2019-07-142-138/+142
| | | this is the result of `make npm-update js css`
* Fix regex for issues in commit messages (#7444)mrsdizzie2019-07-142-1/+21
| | | | | | | | | | * Fix regex for issues in commit messages Use same regex as markup for matching in commits. Fixes #7438 * make fmt
* Add Issue link to feature compare "reject unsigned" (#7465)65432019-07-141-1/+1
| | | | | | * add issue "Reject unsigned commits" #7455 to docu * change issue to orig one
* only create opened pull request when migrating from github (#7463)Lunny Xiao2019-07-141-1/+1
|
* Bump lodash from 4.17.11 to 4.17.14 (#7459)dependabot[bot]2019-07-141-3/+3
| | | | | | | Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14) Signed-off-by: dependabot[bot] <support@github.com>
* cmd/serv: actually exit after fatal errors (#7458)Allen Wild2019-07-131-1/+0
| | | | | | | | | | | | | | | | Regression in 356854fc5f8d7d1a7e4d68c9e00929e9ce8aa867, where a log.Fatal call was removed. log.Fatal calls os.Exit(1) as intended, but without it the fail() function returns normally and execution continues past the fatal error, causing a panic. This is visible as a go panic log and stack trace returned to the SSH client, which is not only ugly, it leaks server and build system information. Fix by removing the stray return statement so that the fail() function always calls os.Exit(1). Fixes: https://github.com/go-gitea/gitea/issues/7457 Signed-off-by: Allen Wild <allenwild93@gmail.com>
* Fix an issue with some pages throwing 'not defined' js exceptions (#7450)Gary Kim2019-07-131-1/+3
| | | | | Fix an issue introduced by 831288cc916d5301beaa0adc1d912d6748a4cdaa Signed-off-by: Gary Kim <gary@garykim.dev>
* fix Dropzone.js integration (#7445)silverwind2019-07-121-6/+7
|
* fix/define autochecked checkboxes on issue list in firefox (#7320)Cherrg2019-07-121-1/+15
| | | | | | | | | | | | | | | | | | | * fix/define autochecked checkboxes on issue list on firefox - close: deselect all - nonclose: show buttons for close/label/milestone... fix #7311 Signed-off-by: Michael Gnehr <michael@gnehr.de> * remove unnessesary timeouts Signed-off-by: Michael Gnehr <michael@gnehr.de> * add comments in code - this is targeting firefox Signed-off-by: Michael Gnehr <michael@gnehr.de>
* create class for inlie positioned lists (#7393)Cherrg2019-07-123-18/+32
| | | | | | | replace org create alignment hack fix #6464 Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Diff: Fix indentation on unhighlighted code (#7435)silverwind2019-07-122-3/+3
| | | | There was a missing space before the `nohighlight` class which made the previous class concatenate wrongly as `wrapnohighlight` in the template.
* Support setting cookie domain (#6288)Tamal Saha2019-07-1215-46/+58
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* add notification placeholder (#7409)Lunny Xiao2019-07-122-0/+10
|
* jQuery 3 (#7425)techknowlogick2019-07-126-10/+232
| | | | | | | | | | * jquery 3 * use most recent version of migrate plugin * Delete .DS_Store * update service worker in case anyone has old version of jquery cached
* Only show "New Pull Request" button if repo allows pulls (#7426)Gary Kim2019-07-112-1/+2
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* wiki history improvements (#7391)Cherrg2019-07-115-6/+27
| | | | | | | | | | | | | | | | | * add history comments to detect page delete Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix too much history entries - caused by --follow flag - if files with same contents exists Signed-off-by: Michael Gnehr <michael@gnehr.de> * style imprevements wiki - history - wrap long author names Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Add section about customizing mail (#7419)Sandro Santilli2019-07-111-0/+14
| | | See https://github.com/go-gitea/gitea/issues/6037
* upgrade macaron/captcha to fix random error problem (#7407)Lunny Xiao2019-07-106-29/+44
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-091-0/+5
|
* fix vendor (#7394)Lunny Xiao2019-07-093-4/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-093-1/+77
|