summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* hide delete/restor button on archived repos (#7658)65432019-07-291-1/+1
| | | close issue #7653
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-291-0/+1
|
* integration tests: Use t.Helper() (#7654)Antoine GIRARD2019-07-292-0/+18
|
* change length of some repository's columns (#7652)Lunny Xiao2019-07-293-3/+23
|
* [Branch View] add download button (#7604)65432019-07-294-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | * add download-button info message * add overflow-visible css for table colum class * right colum is always there * add download button for default branch * add download button for all other branchs * resize table colum so two buttons fit in * code indent avter rebase * show commit divergence corect https://github.com/go-gitea/gitea/issues/7625 * changes because of merge master into ... * optimize if statement for protected branches * dont downloat a deleted branch - fix error 404
* [Branch View] Protection Symbole (delete dublicate) (#7624)65432019-07-271-5/+3
| | | | | | * delet protectin symbol on "action column" * code format
* fix wrong email when use gitea as OAuth2 provider (#7640)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.
* Fix regression in reverse proxy documentation (#7634)mrsdizzie2019-07-262-8/+8
| | | | | | | From Apache: AllowEncodedSlashes not allowed in <Proxy> context Move this out of <Proxy> block Fixes #7632
* reserve .well-known username (#7637)Andreas Shimokawa2019-07-261-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-261-0/+1
|
* [Branch View] Delete Table Header (#7622)65432019-07-261-14/+4
| | | | | | * add class trom table header to table body * remove table header
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-261-1/+2
|
* Update to latest mssqldriver (#7613)zeripath2019-07-2631-594/+2372
| | | | * New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
* [Branch View] icons to buttons (#7602)65432019-07-262-2/+3
| | | | | | | | * add restore-button info message * branch deltete undo icon to button * branch deltete icon to button
* Fix syntax highlight initialization (#7617)silverwind2019-07-251-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)Lunny Xiao2019-07-253-6/+18
| | | | | | * fix bug create/edit wiki pages when code master branch protected * improve FullPushingEnvironment function
* Make PKCS8, PEM and SSH2 keys work (#7600)zeripath2019-07-252-27/+125
| | | | | | | | * Make PEM and SSH2 keys work * add ssh2 testcases and PEM cases - and fix PEM * Add final test to parse the proposed key
* Fix panic on push at #7611 (#7615)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
* Fix #7136: Add paging and extend API GetCommitStatuses (#7141)zeripath2019-07-254-9/+138
| | | | | | | | | | | | | | | | | | | | * Fix #7136: Add paging and extend API GetCommitStatuses * update swagger * Update routers/api/v1/repo/status.go Co-Authored-By: techknowlogick <matti@mdranta.net> * Update routers/api/v1/repo/status.go Co-Authored-By: techknowlogick <matti@mdranta.net> * Update routers/api/v1/repo/status.go Co-Authored-By: techknowlogick <matti@mdranta.net> * Apply suggestions from code review
* Update to xorm@v0.7.4 (#7596)Tamal Saha2019-07-2513-174/+338
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* drone/docker: prepare multi-arch release + provide arm64 image (#7571)Antoine GIRARD2019-07-242-2/+116
| | | | | | | | | | | | * drone/docker: prepare multi-arch release * Add docker-linux-arm64 pipeline * add arm 64 build to manifest * tag dry-run + indent * Fix notify dependency
* Swagger: Add information to API Token header (#7585)zeripath2019-07-242-0/+2
| | | * Add a description to the API Token header for swagger
* Move models.PushUpdate to repofiles.PushUpdate (#7485)Lunny Xiao2019-07-243-120/+94
| | | | | | * move models.PushUpdate to repofiles.PushUpdate * remove duplicated code to load repo
* use 403 instead of 401 for ErrUserProhibitLogin (#7591)zeripath2019-07-231-1/+1
|
* Added missing error checks in tests (#7554)Christian Muehlhaeuser2019-07-234-1/+8
| | | Whenever we assign a value to err, check for it being nil.
* Removed unnecessary conversions (#7557)Christian Muehlhaeuser2019-07-2324-46/+39
| | | No need to convert to the same type.
* Handle ErrUserProhibitLogin in http git (#7586)zeripath2019-07-231-1/+4
|
* fix #7568 (#7587)zeripath2019-07-232-2/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-07-231-0/+2
|
* Improve SSH key parser to handle newlines in keys (#7522)silverwind2019-07-232-6/+28
| | | | | | | | | | | | | | | | * Strip newlines from SSH keys before adding them Fixes: https://github.com/go-gitea/gitea/issues/7500 * add test for CheckPublicKeyString * add one more test * simplify test * further simplify * make fmt
* Fix file header overflow in file and blame views (#7562)silverwind2019-07-232-5/+5
|
* Fixes #7564 - Malformed URLs in API git/commits response (#7565)Richard Mahn2019-07-221-2/+2
|
* 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
|