]> source.dussan.org Git - gitea.git/log
gitea.git
5 years agoFix milestone completness calculation when migrating (#7725)
Lauris BH [Sat, 3 Aug 2019 18:38:42 +0000 (21:38 +0300)]
Fix milestone completness calculation when migrating (#7725)

5 years agoFixes indexed repos keeping outdated indexes when files grow too large (#7712)
guillep2k [Sat, 3 Aug 2019 17:42:09 +0000 (14:42 -0300)]
Fixes indexed repos keeping outdated indexes when files grow too large (#7712)

5 years agodisplay as error (#7724)
Lunny Xiao [Sat, 3 Aug 2019 07:07:51 +0000 (15:07 +0800)]
display as error (#7724)

5 years agoorg/members: display 2FA members states + optimize sql requests (#7621)
Antoine GIRARD [Fri, 2 Aug 2019 16:06:28 +0000 (18:06 +0200)]
org/members: display 2FA members states + optimize sql requests (#7621)

* org/members: display 2FA state

* fix comment typo

* lay down UserList bases

* add basic test for previous methods

* add comment for UserList type

* add valid two-fa account

* test new UserList methods

* optimize MembersIsPublic by side loading info on GetMembers + fix integrations tests

* respect fmt rules

* use map for data

* Optimize GetTwoFaStatus

* rewrite by using existing sub func

* Optimize IsUserOrgOwner

* remove un-used code

* tests: cover empty org + fix import order

* tests: add ErrTeamNotExist path

* tests: fix wrong expected result

5 years agoInclude "executable" files in the index, as they are not necessarily binary (#7718)
guillep2k [Fri, 2 Aug 2019 15:14:50 +0000 (12:14 -0300)]
Include "executable" files in the index, as they are not necessarily binary (#7718)

5 years agoSkip non-regular files (e.g. submodules) on repo indexing (#7711)
guillep2k [Fri, 2 Aug 2019 06:57:53 +0000 (03:57 -0300)]
Skip non-regular files (e.g. submodules) on repo indexing (#7711)

5 years agoFix create menu item widths (#7708)
silverwind [Thu, 1 Aug 2019 20:06:34 +0000 (22:06 +0200)]
Fix create menu item widths (#7708)

Fixes: https://github.com/go-gitea/gitea/issues/7098
5 years agodrone: a test for compat with 32 bit (#7707)
Antoine GIRARD [Thu, 1 Aug 2019 18:00:12 +0000 (20:00 +0200)]
drone: a test for compat with 32 bit (#7707)

5 years agoremove unnecessary fmt on generate bindata (#7706)
Lunny Xiao [Thu, 1 Aug 2019 17:34:46 +0000 (01:34 +0800)]
remove unnecessary fmt on generate bindata (#7706)

5 years agoupdate gopkg.in/src-d/go-git.v4 to v4.13.1 (#7705)
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)

5 years agoimprove branches list performance and fix protected branch icon when no-login (#7695)
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)

5 years agoCorrect wrong datetime format for git (#7689)
zeripath [Wed, 31 Jul 2019 19:19:47 +0000 (20:19 +0100)]
Correct wrong datetime format for git (#7689)

5 years agoUpdate src-d/go-git to v4.13.0 (#7688)
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

5 years agofrontport 1.9.0 changelog (#7687)
techknowlogick [Wed, 31 Jul 2019 13:38:28 +0000 (09:38 -0400)]
frontport 1.9.0 changelog (#7687)

5 years agofix duplicated webhook when creating issue with assignees (#7681)
Lunny Xiao [Wed, 31 Jul 2019 09:24:38 +0000 (17:24 +0800)]
fix duplicated webhook when creating issue with assignees (#7681)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 31 Jul 2019 06:16:57 +0000 (06:16 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoMove add to hook queue for created repo to outside xorm session. (#7675)
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>
5 years agosugestion to use range .Branches (#7674)
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

5 years agoMove commit repo action from models to repofiles package (#7645)
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

5 years agoSetDefaultBranch on pushing to empty repository (#7610)
zeripath [Tue, 30 Jul 2019 01:05:33 +0000 (02:05 +0100)]
SetDefaultBranch on pushing to empty repository (#7610)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 29 Jul 2019 15:43:57 +0000 (15:43 +0000)]
[skip ci] Updated translations via Crowdin

5 years agofix bug on migrating milestone from github (#7665)
Lunny Xiao [Mon, 29 Jul 2019 15:41:22 +0000 (23:41 +0800)]
fix bug on migrating milestone from github (#7665)

5 years agocss: use flex to fix floating paginate (#7656)
Antoine GIRARD [Mon, 29 Jul 2019 06:14:56 +0000 (08:14 +0200)]
css: use flex to fix floating paginate (#7656)

5 years agohide delete/restor button on archived repos (#7658)
6543 [Mon, 29 Jul 2019 05:00:43 +0000 (07:00 +0200)]
hide delete/restor button on archived repos (#7658)

close issue #7653

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 29 Jul 2019 04:21:31 +0000 (04:21 +0000)]
[skip ci] Updated translations via Crowdin

5 years agointegration tests: Use t.Helper() (#7654)
Antoine GIRARD [Mon, 29 Jul 2019 04:15:18 +0000 (06:15 +0200)]
integration tests: Use t.Helper() (#7654)

5 years agochange length of some repository's columns (#7652)
Lunny Xiao [Mon, 29 Jul 2019 03:29:42 +0000 (11:29 +0800)]
change length of some repository's columns (#7652)

5 years ago[Branch View] add download button (#7604)
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

5 years ago[Branch View] Protection Symbole (delete dublicate) (#7624)
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

5 years agofix wrong email when use gitea as OAuth2 provider (#7640)
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.

5 years agoFix regression in reverse proxy documentation (#7634)
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

5 years agoreserve .well-known username (#7637)
Andreas Shimokawa [Fri, 26 Jul 2019 20:06:21 +0000 (22:06 +0200)]
reserve .well-known username (#7637)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 26 Jul 2019 11:23:16 +0000 (11:23 +0000)]
[skip ci] Updated translations via Crowdin

5 years ago[Branch View] Delete Table Header (#7622)
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

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 26 Jul 2019 04:28:01 +0000 (04:28 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoUpdate to latest mssqldriver (#7613)
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

5 years ago[Branch View] icons to buttons (#7602)
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

5 years agoFix syntax highlight initialization (#7617)
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

5 years agoFix bug create/edit wiki pages when code master branch protected (#7580)
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

5 years agoMake PKCS8, PEM and SSH2 keys work (#7600)
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

5 years agoFix panic on push at #7611 (#7615)
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

5 years agoFix #7136: Add paging and extend API GetCommitStatuses (#7141)
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

5 years agoUpdate to xorm@v0.7.4 (#7596)
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>
5 years agodrone/docker: prepare multi-arch release + provide arm64 image (#7571)
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

5 years agoSwagger: Add information to API Token header (#7585)
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

5 years agoMove models.PushUpdate to repofiles.PushUpdate (#7485)
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

5 years agouse 403 instead of 401 for ErrUserProhibitLogin (#7591)
zeripath [Tue, 23 Jul 2019 20:38:47 +0000 (21:38 +0100)]
use 403 instead of 401 for ErrUserProhibitLogin (#7591)

5 years agoAdded missing error checks in tests (#7554)
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.

5 years agoRemoved unnecessary conversions (#7557)
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.

5 years agoHandle ErrUserProhibitLogin in http git (#7586)
zeripath [Tue, 23 Jul 2019 17:32:53 +0000 (18:32 +0100)]
Handle ErrUserProhibitLogin in http git (#7586)

5 years agofix #7568 (#7587)
zeripath [Tue, 23 Jul 2019 14:31:51 +0000 (15:31 +0100)]
fix #7568 (#7587)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 23 Jul 2019 13:28:00 +0000 (13:28 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoImprove SSH key parser to handle newlines in keys (#7522)
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

5 years agoFix file header overflow in file and blame views (#7562)
silverwind [Tue, 23 Jul 2019 02:12:09 +0000 (04:12 +0200)]
Fix file header overflow in file and blame views (#7562)

5 years agoFixes #7564 - Malformed URLs in API git/commits response (#7565)
Richard Mahn [Mon, 22 Jul 2019 17:32:22 +0000 (13:32 -0400)]
Fixes #7564 - Malformed URLs in API git/commits response (#7565)

5 years agoFix empty commits now showing in repo overview (#7521)
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

5 years agoFixed ineffectual assignments (#7555)
Christian Muehlhaeuser [Mon, 22 Jul 2019 09:35:54 +0000 (11:35 +0200)]
Fixed ineffectual assignments (#7555)

Don't assign values we never use.

5 years agoUn-lambda base.FileSize (#7556)
Christian Muehlhaeuser [Mon, 22 Jul 2019 08:58:26 +0000 (10:58 +0200)]
Un-lambda base.FileSize (#7556)

No need to wrap this.

5 years agoFixed ineffectual assignments in tests (#7553)
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.

5 years agoSpecify using AllowEncodedSlashes and nocanon for httpd (#7540)
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>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 20 Jul 2019 14:44:10 +0000 (14:44 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoAdd self to maintainers (#7541)
Gary Kim [Sat, 20 Jul 2019 14:41:22 +0000 (14:41 +0000)]
Add self to maintainers (#7541)

5 years agoFix repository's pull request count error (#7518)
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

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 18 Jul 2019 20:25:42 +0000 (20:25 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoFix markdown invoke sequence (#7513)
Lunny Xiao [Thu, 18 Jul 2019 20:23:27 +0000 (04:23 +0800)]
Fix markdown invoke sequence (#7513)

5 years agoAdded total count of contributions to heatmap (#7517)
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>
5 years agoMake default branch name link to default branch (#7519)
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>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 18 Jul 2019 08:57:48 +0000 (08:57 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoremove duplicated webhook trigger (#7511)
Lunny Xiao [Thu, 18 Jul 2019 08:54:55 +0000 (16:54 +0800)]
remove duplicated webhook trigger (#7511)

5 years agoFixes for README_ZH (#7506)
John Olheiser [Thu, 18 Jul 2019 01:38:47 +0000 (20:38 -0500)]
Fixes for README_ZH (#7506)

5 years agoUpdate CONTRIBUTING.md with information about DCO (#7397)
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>
5 years agoAdd Extra Info to Branches Page (#7461)
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>
5 years agoFix backer badge (#7505)
John Olheiser [Wed, 17 Jul 2019 19:03:43 +0000 (14:03 -0500)]
Fix backer badge (#7505)

5 years agoInclude thread related headers in issue/coment mail (#7484)
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

5 years agoFixes #7474 - Handles all redirects for Web UI File CRUD (#7478)
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

5 years agoUpdate User.NumRepos atomically in createRepository (#7493)
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.

5 years agofix missing queue type on app.ini.sample (#7494)
Lunny Xiao [Wed, 17 Jul 2019 16:23:54 +0000 (00:23 +0800)]
fix missing queue type on app.ini.sample (#7494)

5 years agodrone/docker: Use a more standard format (#7480)
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

5 years agodon't make release-version deps on transalations since translations is only triggered...
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)

5 years agoRemove settting dependency on modules/session (#7237)
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

5 years agoFixes #7475 - Settings pages giving UnitType error message (#7482)
Richard Mahn [Tue, 16 Jul 2019 03:43:30 +0000 (23:43 -0400)]
Fixes #7475 - Settings pages giving UnitType error message (#7482)

5 years agoconvert all js var to let/const (#7464)
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.

5 years agoMove status table to cron package (#7370)
Lunny Xiao [Tue, 16 Jul 2019 00:13:03 +0000 (08:13 +0800)]
Move status table to cron package (#7370)

5 years agoFix typo in home.tmpl (#7452)
vadim s. sabinich [Mon, 15 Jul 2019 23:26:23 +0000 (02:26 +0300)]
Fix typo in home.tmpl (#7452)

5 years agoupdate js dependencies (#7462)
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`

5 years agoFix regex for issues in commit messages (#7444)
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

5 years agoAdd Issue link to feature compare "reject unsigned" (#7465)
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

5 years agoonly create opened pull request when migrating from github (#7463)
Lunny Xiao [Sun, 14 Jul 2019 09:16:15 +0000 (17:16 +0800)]
only create opened pull request when migrating from github (#7463)

5 years agoBump lodash from 4.17.11 to 4.17.14 (#7459)
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>
5 years agocmd/serv: actually exit after fatal errors (#7458)
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>
5 years agoFix an issue with some pages throwing 'not defined' js exceptions (#7450)
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>
5 years agofix Dropzone.js integration (#7445)
silverwind [Fri, 12 Jul 2019 20:49:04 +0000 (22:49 +0200)]
fix Dropzone.js integration (#7445)

5 years agofix/define autochecked checkboxes on issue list in firefox (#7320)
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>
5 years agocreate class for inlie positioned lists (#7393)
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>
5 years agoDiff: Fix indentation on unhighlighted code (#7435)
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.

5 years agoSupport setting cookie domain (#6288)
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>
5 years agoadd notification placeholder (#7409)
Lunny Xiao [Fri, 12 Jul 2019 08:55:46 +0000 (16:55 +0800)]
add notification placeholder (#7409)

5 years agojQuery 3 (#7425)
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

5 years agoOnly show "New Pull Request" button if repo allows pulls (#7426)
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>
5 years agowiki history improvements (#7391)
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>