aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* hide delete/restore button on archived repos [backport] (#7660)65432019-07-301-8/+14
| | | | | | | | | | | | | | * hide delete/restore button on archived repos close issue #7653 * backport vor v1.9 * hide column also * move protected icon to first colum backport parts of https://github.com/go-gitea/gitea/pull/7461 * backport comit divergenze fix https://github.com/go-gitea/gitea/issues/7625
* fix bug on migrating milestone from github (#7665) (#7666)Lunny Xiao2019-07-291-1/+1
|
* css: use flex to fix floating paginate (#7656) (#7662)Antoine GIRARD2019-07-292-1/+3
|
* change length of some repository's columns (#7652) (#7655)Lunny Xiao2019-07-291-2/+2
|
* fix wrong email when use gitea as OAuth2 provider (#7640) (#7647)renothing2019-07-2712-27/+32
| | | | | | | when you use gitea as OAuth2 provider, the /api/v1/user should return user primary email as identifier, which is unique in OAuth2 clients. this patch use convert.ToUser replace all u.APIFormat in api requests, return primary email when caller is yourself or admin.
* reserve .well-known username (#7638)Andreas Shimokawa2019-07-261-0/+1
|
* Fix syntax highlight initialization (#7617) (#7626)silverwind2019-07-261-1/+4
| | | | | | | | | | | | * Fix syntax highlight initialization Previously hljs was initialized via a function that relies on the DOMContentLoaded event, registerd after jQuery's 'ready' event. I assume that with the recent jQuery update, DOMContentLoaded may not be guaranteed to fire after 'ready'. Fixed this via vanilla JS initalization. Fixes: https://github.com/go-gitea/gitea/issues/7559 * semicolon
* Fix bug create/edit wiki pages when code master branch protected (#7580) (#7623)Lunny Xiao2019-07-263-6/+18
| | | | | * fix bug create/edit wiki pages when code master branch protected * improve FullPushingEnvironment function
* Fix panic on push at #7611 (#7615) (#7618)zeripath2019-07-252-2/+2
| | | | | | | * Fix panic in #7611 Use pr.IssueID instead of pr.Issue.ID as Issue may not be loaded and is unnecessary * Only fetch the head branch from the remote
* Handle ErrUserProhibitLogin in http git (#7586, #7591) (#7590)zeripath2019-07-231-1/+4
| | | | | | * Handle ErrUserProhibitLogin in http git (#7586) * Use 403
* fix #7568 (#7587) (#7589)zeripath2019-07-232-2/+2
|
* Fix file header overflow in file and blame views (#7562) (#7579)silverwind2019-07-232-5/+5
|
* Fixes #7564 - Malformed URLs in API git/commits response (#7565) (#7567)Richard Mahn2019-07-221-2/+2
|
* Fix empty commits now showing in repo overview (#7521) (#7563)silverwind2019-07-227-13/+24
| | | | | | | * Fix empty commits now showing in repo overview * add test * make fmt
* Fix markdown invoke sequence (#7513) (#7560)Lunny Xiao2019-07-221-1/+1
|
* Fix repository's pull request count error (#7518) (#7524)Lunny Xiao2019-07-193-12/+38
| | | | | * fix pr count error * fix tests
* remove duplicated webhook trigger (#7511) (#7516)Lunny Xiao2019-07-181-1/+0
|
* Backport drone fix from #7480 and #7496 (#7504)Antoine GIRARD2019-07-181-37/+17
| | | | | | | | | | | | | | | | | * don't make release-version deps on transalations since translations is only triggered by push on master (#7496) * drone/docker: Use a more standard format (#7480) * 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
* Fixes #7474 - Handles all redirects for Web UI File CRUD (#7478) (#7507)Richard Mahn2019-07-185-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
* Backport for #7475 - settings error (#7483)Richard Mahn2019-07-161-1/+1
|
* Fetch refs for successful testing for tag (#7388)v1.9.0-rc2Matti R2019-07-151-1/+12
|
* 1.9.0-rc2 changelog (#7467)techknowlogick2019-07-151-0/+16
| | | | | | * 1.9.0-rc2 changelog * Update CHANGELOG.md
* Fix regex for issues in commit messages (#7444) (#7466)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
* cmd/serv: actually exit after fatal errors (#7460)Allen Wild2019-07-141-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). Backport: 2186a99c768cf4511d9fbed0781d94d892199873 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 (#7453)Gary Kim2019-07-131-1/+3
| | | | | Fix an issue introduced by cc8e7dd355c9c625b895a1b633a3a7fa5016f718 Signed-off-by: Gary Kim <gary@garykim.dev>
* fix Dropzone.js integration (#7445) (#7448)silverwind2019-07-121-6/+7
|
* backport of #7393 - create class for inline positioned lists (#7439)Cherrg2019-07-123-18/+32
| | | | | | see #7393 affects #6464 Signed-off-by: Michael Gnehr michael@gnehr.de
* Diff: Fix indentation on unhighlighted code (#7435) (#7443)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.
* backport #7425 - jquery 3 (#7442)techknowlogick2019-07-126-10/+232
|
* Only show "New Pull Request" button if repo allows pulls (#7426) (#7432)Gary Kim2019-07-122-1/+2
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Fix vendor (#7394) (#7396)Lunny Xiao2019-07-093-4/+4
|
* only return head: null if source branch was deleted (#6705) (#7376)quantonganh2019-07-092-33/+67
| | | | | | | | | | | * only return head: null if source branch was deleted * add URL into GetPullRequest * TestPullRequest_APIFormat * log error if it is not Err(Branch)NotExist (cherry picked from commit ff85a6331e02338100e3799b5787bf8b686fe003)
* backport of #7385 - add missing template variable on organisation settings ↵Cherrg2019-07-081-0/+1
| | | | | | | (#7386) affects #6755 Signed-off-by: Michael Gnehr <michael@gnehr.de>
* backport of #7380 (#7383)Cherrg2019-07-081-4/+8
| | | | | fix post parameter - on issue list - unset assignee Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Fix migration tests since #7 fixed (#7375) (#7381)Lunny Xiao2019-07-081-2/+4
| | | | | * fix migration tests since #7 fixed * fix test time
* 1.9.0-RC1 changelog (#7367)v1.9.0-rc1v1.10.0-devtechknowlogick2019-07-061-0/+318
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-061-0/+102
|
* ui - issue view - fix icon position (#7354)Cherrg2019-07-065-67/+115
| | | | | | | | | | | | | | | | | | | | | | | | | * issue view - fix icon position - move style from template to css - add bullets to: key, circle-slash, comment Signed-off-by: Michael Gnehr <michael@gnehr.de> * add border to symbols Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix circle slash position Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix top margin Signed-off-by: Michael Gnehr <michael@gnehr.de> * changed mixed space/tab indent to tabindent only Signed-off-by: Michael Gnehr <michael@gnehr.de>
* ui - cut timeline length with last element on issue view (#7355)Cherrg2019-07-065-7/+31
| | | | | | | | | | | | | | * cut timeline length with last element on issue view fix #7304 - lightly enlight dark theme issue timeline color Signed-off-by: Michael Gnehr <michael@gnehr.de> * remove new container Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Fix typo in PR migration check (#7368)mrsdizzie2019-07-061-1/+1
|
* Fix mirror sync not automatically sending webhook requests (#7366)Drew2019-07-061-0/+5
|
* Make captcha and password optional for external accounts (#6606)AJ ONeal2019-07-067-47/+88
|
* Detect migrating batch size (#7353)Lunny Xiao2019-07-064-17/+73
| | | | | | | | * Make migrating batch size as configurable * detect different table batch insert size and remove config item * remove unrelated changes
* routers: do not leak secrets via timing side channel (#7364)leonklingele2019-07-062-2/+9
| | | | | | * routers: do not leak secrets via timing side channel * routers/repo: do not leak secrets via timing side channel
* routers/user: ensure that decryption of cookie actually suceeds (#7363)leonklingele2019-07-061-2/+2
| | | | | | | | Previously, only the first return value of ctx.GetSuperSecureCookie was used to check whether decryption of the auth cookie succeeded. ctx.GetSuperSecureCookie also returns a second value, a boolean, indicating success or not. That value should be checked first to be on the safe side and not rely on internal logic of the encryption and decryption blackbox.
* workaround broken drone build (#7362)Cherrg2019-07-0670-2478/+3033
| | | | | | | | | | | | | | | | | | | | * workaround broken swagger only master brach is not working, latest release seems to work Signed-off-by: Michael Gnehr <michael@gnehr.de> * make vendor Signed-off-by: Michael Gnehr <michael@gnehr.de> * Don't export GO111MODULE * set go-swagger to fixed release version mentioned here: https://github.com/go-gitea/gitea/pull/7362#discussion_r300831537 Signed-off-by: Michael Gnehr <michael@gnehr.de>
* update contributing to use recent version of drone cli (#7351)techknowlogick2019-07-031-1/+1
| | | fix #7350
* fix api route (#7346)Lunny Xiao2019-07-031-4/+4
|
* update dependencies and various tweaks (#7344)silverwind2019-07-024-262/+172
| | | | | | | | | - ran `make npm-update` - ran `make js`, fixed new lint issue - ran `make css`, this added back some vendor prefixes - added `engines` property to package.json to specify minimum required Node.js version - added `private` property to package.json to prevent accidential publishing to npm
* Display Github support button (#7343)Antoine GIRARD2019-07-021-0/+1
| | | This need an option to be enabled on repo : https://help.github.com/en/articles/displaying-a-sponsor-button-in-your-repository