]>
source.dussan.org Git - gitea.git/log
Antoine GIRARD [Thu, 1 Aug 2019 18:00:12 +0000 (20:00 +0200)]
drone: a test for compat with 32 bit (#7707)
Lunny Xiao [Thu, 1 Aug 2019 17:34:46 +0000 (01:34 +0800)]
remove unnecessary fmt on generate bindata (#7706)
Antoine GIRARD [Thu, 1 Aug 2019 16:31:04 +0000 (18:31 +0200)]
update gopkg.in/src-d/go-git.v4 to v4.13.1 (#7705)
Lunny Xiao [Thu, 1 Aug 2019 14:50:06 +0000 (22:50 +0800)]
improve branches list performance and fix protected branch icon when no-login (#7695)
zeripath [Wed, 31 Jul 2019 19:19:47 +0000 (20:19 +0100)]
Correct wrong datetime format for git (#7689)
Antoine GIRARD [Wed, 31 Jul 2019 16:45:42 +0000 (18:45 +0200)]
Update src-d/go-git to v4.13.0 (#7688)
* update gopkg.in/src-d/go-git.v4 v4.13.0
* mod tidy
* vendor
techknowlogick [Wed, 31 Jul 2019 13:38:28 +0000 (09:38 -0400)]
frontport 1.9.0 changelog (#7687)
Lunny Xiao [Wed, 31 Jul 2019 09:24:38 +0000 (17:24 +0800)]
fix duplicated webhook when creating issue with assignees (#7681)
GiteaBot [Wed, 31 Jul 2019 06:16:57 +0000 (06:16 +0000)]
[skip ci] Updated translations via Crowdin
David Svantesson [Wed, 31 Jul 2019 06:13:04 +0000 (08:13 +0200)]
Move add to hook queue for created repo to outside xorm session. (#7675)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
6543 [Tue, 30 Jul 2019 15:02:58 +0000 (17:02 +0200)]
sugestion to use range .Branches (#7674)
https://github.com/go-gitea/gitea/pull/7668/files/
d57973a8041a741fdb7e77bc6ab18431bbf95ba4
Lunny Xiao [Tue, 30 Jul 2019 01:59:10 +0000 (09:59 +0800)]
Move commit repo action from models to repofiles package (#7645)
* move commit repo action from models to repofiles package
* fix unit tests
zeripath [Tue, 30 Jul 2019 01:05:33 +0000 (02:05 +0100)]
SetDefaultBranch on pushing to empty repository (#7610)
GiteaBot [Mon, 29 Jul 2019 15:43:57 +0000 (15:43 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Mon, 29 Jul 2019 15:41:22 +0000 (23:41 +0800)]
fix bug on migrating milestone from github (#7665)
Antoine GIRARD [Mon, 29 Jul 2019 06:14:56 +0000 (08:14 +0200)]
css: use flex to fix floating paginate (#7656)
6543 [Mon, 29 Jul 2019 05:00:43 +0000 (07:00 +0200)]
hide delete/restor button on archived repos (#7658)
close issue #7653
GiteaBot [Mon, 29 Jul 2019 04:21:31 +0000 (04:21 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Mon, 29 Jul 2019 04:15:18 +0000 (06:15 +0200)]
integration tests: Use t.Helper() (#7654)
Lunny Xiao [Mon, 29 Jul 2019 03:29:42 +0000 (11:29 +0800)]
change length of some repository's columns (#7652)
6543 [Mon, 29 Jul 2019 02:27:05 +0000 (04:27 +0200)]
[Branch View] add download button (#7604)
* 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
6543 [Sat, 27 Jul 2019 14:11:14 +0000 (16:11 +0200)]
[Branch View] Protection Symbole (delete dublicate) (#7624)
* delet protectin symbol on "action column"
* code format
renothing [Sat, 27 Jul 2019 13:15:30 +0000 (21:15 +0800)]
fix wrong email when use gitea as OAuth2 provider (#7640)
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.
mrsdizzie [Fri, 26 Jul 2019 22:09:12 +0000 (18:09 -0400)]
Fix regression in reverse proxy documentation (#7634)
From Apache: AllowEncodedSlashes not allowed in <Proxy> context
Move this out of <Proxy> block
Fixes #7632
Andreas Shimokawa [Fri, 26 Jul 2019 20:06:21 +0000 (22:06 +0200)]
reserve .well-known username (#7637)
GiteaBot [Fri, 26 Jul 2019 11:23:16 +0000 (11:23 +0000)]
[skip ci] Updated translations via Crowdin
6543 [Fri, 26 Jul 2019 11:21:14 +0000 (13:21 +0200)]
[Branch View] Delete Table Header (#7622)
* add class trom table header to table body
* remove table header
GiteaBot [Fri, 26 Jul 2019 04:28:01 +0000 (04:28 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Fri, 26 Jul 2019 04:10:20 +0000 (05:10 +0100)]
Update to latest mssqldriver (#7613)
* New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
6543 [Fri, 26 Jul 2019 00:01:25 +0000 (02:01 +0200)]
[Branch View] icons to buttons (#7602)
* add restore-button info message
* branch deltete undo icon to button
* branch deltete icon to button
silverwind [Thu, 25 Jul 2019 22:29:54 +0000 (00:29 +0200)]
Fix syntax highlight initialization (#7617)
* 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
Lunny Xiao [Thu, 25 Jul 2019 21:50:20 +0000 (05:50 +0800)]
Fix bug create/edit wiki pages when code master branch protected (#7580)
* fix bug create/edit wiki pages when code master branch protected
* improve FullPushingEnvironment function
zeripath [Thu, 25 Jul 2019 19:33:38 +0000 (20:33 +0100)]
Make PKCS8, PEM and SSH2 keys work (#7600)
* Make PEM and SSH2 keys work
* add ssh2 testcases and PEM cases - and fix PEM
* Add final test to parse the proposed key
zeripath [Thu, 25 Jul 2019 18:05:51 +0000 (19:05 +0100)]
Fix panic on push at #7611 (#7615)
* 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
zeripath [Thu, 25 Jul 2019 10:55:06 +0000 (11:55 +0100)]
Fix #7136: Add paging and extend API GetCommitStatuses (#7141)
* 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
Tamal Saha [Wed, 24 Jul 2019 21:39:14 +0000 (14:39 -0700)]
Update to xorm@v0.7.4 (#7596)
Signed-off-by: Tamal Saha <tamal@appscode.com>
Antoine GIRARD [Wed, 24 Jul 2019 17:21:12 +0000 (19:21 +0200)]
drone/docker: prepare multi-arch release + provide arm64 image (#7571)
* drone/docker: prepare multi-arch release
* Add docker-linux-arm64 pipeline
* add arm 64 build to manifest
* tag dry-run + indent
* Fix notify dependency
zeripath [Wed, 24 Jul 2019 08:34:11 +0000 (09:34 +0100)]
Swagger: Add information to API Token header (#7585)
* Add a description to the API Token header for swagger
Lunny Xiao [Wed, 24 Jul 2019 07:13:26 +0000 (15:13 +0800)]
Move models.PushUpdate to repofiles.PushUpdate (#7485)
* move models.PushUpdate to repofiles.PushUpdate
* remove duplicated code to load repo
zeripath [Tue, 23 Jul 2019 20:38:47 +0000 (21:38 +0100)]
use 403 instead of 401 for ErrUserProhibitLogin (#7591)
Christian Muehlhaeuser [Tue, 23 Jul 2019 19:28:43 +0000 (21:28 +0200)]
Added missing error checks in tests (#7554)
Whenever we assign a value to err, check for it being nil.
Christian Muehlhaeuser [Tue, 23 Jul 2019 18:50:39 +0000 (20:50 +0200)]
Removed unnecessary conversions (#7557)
No need to convert to the same type.
zeripath [Tue, 23 Jul 2019 17:32:53 +0000 (18:32 +0100)]
Handle ErrUserProhibitLogin in http git (#7586)
zeripath [Tue, 23 Jul 2019 14:31:51 +0000 (15:31 +0100)]
fix #7568 (#7587)
GiteaBot [Tue, 23 Jul 2019 13:28:00 +0000 (13:28 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Tue, 23 Jul 2019 13:25:06 +0000 (15:25 +0200)]
Improve SSH key parser to handle newlines in keys (#7522)
* 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
silverwind [Tue, 23 Jul 2019 02:12:09 +0000 (04:12 +0200)]
Fix file header overflow in file and blame views (#7562)
Richard Mahn [Mon, 22 Jul 2019 17:32:22 +0000 (13:32 -0400)]
Fixes #7564 - Malformed URLs in API git/commits response (#7565)
silverwind [Mon, 22 Jul 2019 12:03:15 +0000 (14:03 +0200)]
Fix empty commits now showing in repo overview (#7521)
* Fix empty commits now showing in repo overview
* add test
* make fmt
Christian Muehlhaeuser [Mon, 22 Jul 2019 09:35:54 +0000 (11:35 +0200)]
Fixed ineffectual assignments (#7555)
Don't assign values we never use.
Christian Muehlhaeuser [Mon, 22 Jul 2019 08:58:26 +0000 (10:58 +0200)]
Un-lambda base.FileSize (#7556)
No need to wrap this.
Christian Muehlhaeuser [Mon, 22 Jul 2019 07:11:16 +0000 (09:11 +0200)]
Fixed ineffectual assignments in tests (#7553)
Just makes it a bit more obvious which values we want to test for, and which
ones we want to ignore.
Gary Kim [Sat, 20 Jul 2019 18:44:53 +0000 (18:44 +0000)]
Specify using AllowEncodedSlashes and nocanon for httpd (#7540)
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>
GiteaBot [Sat, 20 Jul 2019 14:44:10 +0000 (14:44 +0000)]
[skip ci] Updated translations via Crowdin
Gary Kim [Sat, 20 Jul 2019 14:41:22 +0000 (14:41 +0000)]
Add self to maintainers (#7541)
Lunny Xiao [Thu, 18 Jul 2019 21:51:33 +0000 (05:51 +0800)]
Fix repository's pull request count error (#7518)
* fix pr count error
* fix tests
GiteaBot [Thu, 18 Jul 2019 20:25:42 +0000 (20:25 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Thu, 18 Jul 2019 20:23:27 +0000 (04:23 +0800)]
Fix markdown invoke sequence (#7513)
kolaente [Thu, 18 Jul 2019 17:04:28 +0000 (19:04 +0200)]
Added total count of contributions to heatmap (#7517)
* Added total count of contributions to heatmap
Signed-off-by: kolaente <k@knt.li>
* make css
Signed-off-by: kolaente <k@knt.li>
Gary Kim [Thu, 18 Jul 2019 16:39:51 +0000 (16:39 +0000)]
Make default branch name link to default branch (#7519)
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>
GiteaBot [Thu, 18 Jul 2019 08:57:48 +0000 (08:57 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Thu, 18 Jul 2019 08:54:55 +0000 (16:54 +0800)]
remove duplicated webhook trigger (#7511)
John Olheiser [Thu, 18 Jul 2019 01:38:47 +0000 (20:38 -0500)]
Fixes for README_ZH (#7506)
techknowlogick [Wed, 17 Jul 2019 20:03:16 +0000 (16:03 -0400)]
Update CONTRIBUTING.md with information about DCO (#7397)
* 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>
Gary Kim [Wed, 17 Jul 2019 20:02:41 +0000 (20:02 +0000)]
Add Extra Info to Branches Page (#7461)
* 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>
John Olheiser [Wed, 17 Jul 2019 19:03:43 +0000 (14:03 -0500)]
Fix backer badge (#7505)
mrsdizzie [Wed, 17 Jul 2019 19:02:42 +0000 (15:02 -0400)]
Include thread related headers in issue/coment mail (#7484)
* 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
Richard Mahn [Wed, 17 Jul 2019 18:40:28 +0000 (14:40 -0400)]
Fixes #7474 - Handles all redirects for Web UI File CRUD (#7478)
* 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
Monty Taylor [Wed, 17 Jul 2019 17:34:13 +0000 (13:34 -0400)]
Update User.NumRepos atomically in createRepository (#7493)
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.
Lunny Xiao [Wed, 17 Jul 2019 16:23:54 +0000 (00:23 +0800)]
fix missing queue type on app.ini.sample (#7494)
Antoine GIRARD [Wed, 17 Jul 2019 14:47:34 +0000 (16:47 +0200)]
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
Antoine GIRARD [Wed, 17 Jul 2019 06:12:32 +0000 (08:12 +0200)]
don't make release-version deps on transalations since translations is only triggered by push on master (#7496)
Lunny Xiao [Wed, 17 Jul 2019 01:04:37 +0000 (09:04 +0800)]
Remove settting dependency on modules/session (#7237)
* remove settting dependency on modules/session
* fix fmt
* fix tests
* fix lint
Richard Mahn [Tue, 16 Jul 2019 03:43:30 +0000 (23:43 -0400)]
Fixes #7475 - Settings pages giving UnitType error message (#7482)
silverwind [Tue, 16 Jul 2019 01:51:46 +0000 (03:51 +0200)]
convert all js var to let/const (#7464)
Most of the work was done by `eslint --fix`, I fixed around 10 cases
where it could not auto-convert.
Lunny Xiao [Tue, 16 Jul 2019 00:13:03 +0000 (08:13 +0800)]
Move status table to cron package (#7370)
vadim s. sabinich [Mon, 15 Jul 2019 23:26:23 +0000 (02:26 +0300)]
Fix typo in home.tmpl (#7452)
silverwind [Sun, 14 Jul 2019 16:53:04 +0000 (18:53 +0200)]
update js dependencies (#7462)
this is the result of `make npm-update js css`
mrsdizzie [Sun, 14 Jul 2019 14:48:51 +0000 (10:48 -0400)]
Fix regex for issues in commit messages (#7444)
* Fix regex for issues in commit messages
Use same regex as markup for matching in commits.
Fixes #7438
* make fmt
6543 [Sun, 14 Jul 2019 13:58:58 +0000 (15:58 +0200)]
Add Issue link to feature compare "reject unsigned" (#7465)
* add issue "Reject unsigned commits" #7455 to docu
* change issue to orig one
Lunny Xiao [Sun, 14 Jul 2019 09:16:15 +0000 (17:16 +0800)]
only create opened pull request when migrating from github (#7463)
dependabot[bot] [Sun, 14 Jul 2019 04:04:36 +0000 (12:04 +0800)]
Bump lodash from 4.17.11 to 4.17.14 (#7459)
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>
Allen Wild [Sat, 13 Jul 2019 20:38:18 +0000 (16:38 -0400)]
cmd/serv: actually exit after fatal errors (#7458)
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>
Gary Kim [Sat, 13 Jul 2019 08:09:50 +0000 (08:09 +0000)]
Fix an issue with some pages throwing 'not defined' js exceptions (#7450)
Fix an issue introduced by
831288cc916d5301beaa0adc1d912d6748a4cdaa
Signed-off-by: Gary Kim <gary@garykim.dev>
silverwind [Fri, 12 Jul 2019 20:49:04 +0000 (22:49 +0200)]
fix Dropzone.js integration (#7445)
Cherrg [Fri, 12 Jul 2019 20:16:23 +0000 (22:16 +0200)]
fix/define autochecked checkboxes on issue list in firefox (#7320)
* 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>
Cherrg [Fri, 12 Jul 2019 17:44:28 +0000 (19:44 +0200)]
create class for inlie positioned lists (#7393)
replace org create alignment hack
fix #6464
Signed-off-by: Michael Gnehr <michael@gnehr.de>
silverwind [Fri, 12 Jul 2019 15:22:52 +0000 (17:22 +0200)]
Diff: Fix indentation on unhighlighted code (#7435)
There was a missing space before the `nohighlight` class which made the
previous class concatenate wrongly as `wrapnohighlight` in the template.
Tamal Saha [Fri, 12 Jul 2019 13:57:31 +0000 (06:57 -0700)]
Support setting cookie domain (#6288)
Signed-off-by: Tamal Saha <tamal@appscode.com>
Lunny Xiao [Fri, 12 Jul 2019 08:55:46 +0000 (16:55 +0800)]
add notification placeholder (#7409)
techknowlogick [Fri, 12 Jul 2019 05:21:44 +0000 (01:21 -0400)]
jQuery 3 (#7425)
* jquery 3
* use most recent version of migrate plugin
* Delete .DS_Store
* update service worker in case anyone has old version of jquery cached
Gary Kim [Thu, 11 Jul 2019 20:21:16 +0000 (20:21 +0000)]
Only show "New Pull Request" button if repo allows pulls (#7426)
Signed-off-by: Gary Kim <gary@garykim.dev>
Cherrg [Thu, 11 Jul 2019 14:45:10 +0000 (16:45 +0200)]
wiki history improvements (#7391)
* 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>
Sandro Santilli [Thu, 11 Jul 2019 05:27:57 +0000 (07:27 +0200)]
Add section about customizing mail (#7419)
See https://github.com/go-gitea/gitea/issues/6037
Lunny Xiao [Wed, 10 Jul 2019 05:26:42 +0000 (13:26 +0800)]
upgrade macaron/captcha to fix random error problem (#7407)
GiteaBot [Tue, 9 Jul 2019 06:30:32 +0000 (06:30 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Tue, 9 Jul 2019 06:27:02 +0000 (14:27 +0800)]
fix vendor (#7394)
GiteaBot [Tue, 9 Jul 2019 02:27:49 +0000 (02:27 +0000)]
[skip ci] Updated translations via Crowdin
techknowlogick [Tue, 9 Jul 2019 02:24:52 +0000 (22:24 -0400)]
Fetch refs for successful testing for tag (#7388)
* Fetch refs for successful testing for tag
Fix #7382
* Update .drone.yml
Cherrg [Mon, 8 Jul 2019 19:18:09 +0000 (21:18 +0200)]
ui fixes - compare view and archieved repo issues (#7345)
* add 'repo archived - comment/pull not possible' message
affects #7304
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* add navbar to compare view
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* remove wrong if else
Signed-off-by: Michael Gnehr <michael@gnehr.de>