]> source.dussan.org Git - gitea.git/log
gitea.git
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>
5 years agoAdd section about customizing mail (#7419)
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

5 years agoupgrade macaron/captcha to fix random error problem (#7407)
Lunny Xiao [Wed, 10 Jul 2019 05:26:42 +0000 (13:26 +0800)]
upgrade macaron/captcha to fix random error problem (#7407)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 9 Jul 2019 06:30:32 +0000 (06:30 +0000)]
[skip ci] Updated translations via Crowdin

5 years agofix vendor (#7394)
Lunny Xiao [Tue, 9 Jul 2019 06:27:02 +0000 (14:27 +0800)]
fix vendor (#7394)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 9 Jul 2019 02:27:49 +0000 (02:27 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoFetch refs for successful testing for tag (#7388)
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

5 years agoui fixes - compare view and archieved repo issues (#7345)
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>
5 years agoadd missing template variable on organisation settings (#7385)
Cherrg [Mon, 8 Jul 2019 17:11:04 +0000 (19:11 +0200)]
add missing template variable on organisation settings (#7385)

fix #6755

Signed-off-by: Michael Gnehr <michael@gnehr.de>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 8 Jul 2019 15:49:00 +0000 (15:49 +0000)]
[skip ci] Updated translations via Crowdin

5 years agofix post parameter - on issue list - unset assignee (#7380)
Cherrg [Mon, 8 Jul 2019 15:29:52 +0000 (17:29 +0200)]
fix post parameter - on issue list - unset assignee (#7380)

* fix post parameter - issue list - assignee

fix #7328 - remove assignee on issue list return 500

Signed-off-by: Michael Gnehr <michael@gnehr.de>
* add missing semicolons

Signed-off-by: Michael Gnehr <michael@gnehr.de>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 8 Jul 2019 10:13:47 +0000 (10:13 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoFix migration tests since #7 fixed (#7375)
Lunny Xiao [Mon, 8 Jul 2019 10:10:56 +0000 (18:10 +0800)]
Fix migration tests since #7 fixed (#7375)

* fix migration tests since #7 fixed

* fix test time

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 8 Jul 2019 08:23:19 +0000 (08:23 +0000)]
[skip ci] Updated translations via Crowdin

5 years agowiki - page revisions list (#7369)
Cherrg [Mon, 8 Jul 2019 08:20:22 +0000 (10:20 +0200)]
wiki - page revisions list  (#7369)

fix #7

* add wiki page revision list

* mobile improvements

* css improvements for long usernames

* split renderWikiPage into 3 functions

Signed-off-by: Michael Gnehr <michael@gnehr.de>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 8 Jul 2019 07:34:55 +0000 (07:34 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoonly return head: null if source branch was deleted (#6705)
quantonganh [Mon, 8 Jul 2019 07:32:46 +0000 (14:32 +0700)]
only return head: null if source branch was deleted (#6705)

* only return head: null if source branch was deleted

* add URL into GetPullRequest

* TestPullRequest_APIFormat

* log error if it is not Err(Branch)NotExist

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 8 Jul 2019 02:17:03 +0000 (02:17 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoDisplay original author and URL information when showing migrated issues/comments...
mrsdizzie [Mon, 8 Jul 2019 02:14:12 +0000 (22:14 -0400)]
Display original author and URL information when showing migrated issues/comments (#7352)

* Store original author info for migrated issues and comments

Keep original author name for displaying in Gitea interface and also
store original author user ID for potential future use in linking
accounts from old location.

* Add original_url for repo

Store the original URL for a migrated repo

Clean up migrations/tests

* fix migration

* fix golangci-lint

* make 'make revive' happy also

* Modify templates to use OriginalAuthor if set

Use the original author name in templates if it is set rather than the
user who migrated/currently owns the issues

* formatting fixes

* make generate-swagger

* Use default avatar for imported comments

* Remove no longer used IgnoreIssueAuthor option

* Add OriginalAuthorID to swagger also

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 7 Jul 2019 07:29:09 +0000 (07:29 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoSupport git.PATH entry in app.ini (#6772)
Mura Li [Sun, 7 Jul 2019 07:26:56 +0000 (15:26 +0800)]
Support git.PATH entry in app.ini (#6772)

5 years agoAdd additional password hash algorithms (closes #5859) (#6023)
EpicCoder [Sun, 7 Jul 2019 06:01:01 +0000 (08:01 +0200)]
Add additional password hash algorithms (closes #5859) (#6023)

5 years agowiki - editor - add buttons 'inline code', 'empty checkbox', 'checked checkbox' ...
Cherrg [Sun, 7 Jul 2019 04:22:04 +0000 (06:22 +0200)]
wiki - editor - add buttons 'inline code', 'empty checkbox', 'checked checkbox' (#7243)

* wiki - editor - add buttons 'inline code', 'add empty checkbox', 'add checked checkbox'

affects #5436

Signed-off-by: Michael Gnehr <michael@gnehr.de>
* add missing 'set focus' after insert with buttons

Signed-off-by: Michael Gnehr <michael@gnehr.de>
* consistent usage of let/const in added code

5 years agodark theme scrollbars (#7269)
Cherrg [Sun, 7 Jul 2019 03:53:02 +0000 (05:53 +0200)]
dark theme scrollbars (#7269)

5 years agoUse vendors when go generate (#7340)
Lunny Xiao [Sun, 7 Jul 2019 03:00:41 +0000 (11:00 +0800)]
Use vendors when go generate (#7340)

* use vendors when go generate

* update docs about golang minimal requirement from 1.9 to 1.11

* fix build

5 years agoRefactor filetype is not allowed errors (#7309)
Antoine GIRARD [Sun, 7 Jul 2019 02:25:05 +0000 (04:25 +0200)]
Refactor filetype is not allowed errors (#7309)

5 years agoImplement the ability to change the ssh port to match what is in the gitea config...
Christopher Thomas [Sun, 7 Jul 2019 01:57:53 +0000 (03:57 +0200)]
Implement the ability to change the ssh port to match what is in the gitea config (#7286)

* - rearrange the templates to make it more logical because now ssh_config is a template
- implemented the updating of the port to the same as the port sent to the gitea config

* change the filename back

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 7 Jul 2019 01:30:14 +0000 (01:30 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoswitch to use gliderlabs/ssh for builtin server (#7250)
techknowlogick [Sun, 7 Jul 2019 01:28:09 +0000 (21:28 -0400)]
switch to use gliderlabs/ssh for builtin server (#7250)

resolves git conflicts from #3896 (credit to @belak, in case github doesn't keep original author during squash)

Co-Authored-By: Matti Ranta <techknowlogick@gitea.io>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 6 Jul 2019 23:30:08 +0000 (23:30 +0000)]
[skip ci] Updated translations via Crowdin

5 years ago1.9.0-RC1 changelog (#7367) v1.10.0-dev v1.9.0-rc1
techknowlogick [Sat, 6 Jul 2019 23:00:49 +0000 (19:00 -0400)]
1.9.0-RC1 changelog (#7367)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 6 Jul 2019 22:14:41 +0000 (22:14 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoui - issue view - fix icon position (#7354)
Cherrg [Sat, 6 Jul 2019 22:03:00 +0000 (00:03 +0200)]
ui - issue view - fix icon position (#7354)

* 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>
5 years agoui - cut timeline length with last element on issue view (#7355)
Cherrg [Sat, 6 Jul 2019 21:37:46 +0000 (23:37 +0200)]
ui - cut timeline length with last element on issue view (#7355)

* 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>
5 years agoFix typo in PR migration check (#7368)
mrsdizzie [Sat, 6 Jul 2019 20:32:15 +0000 (16:32 -0400)]
Fix typo in PR migration check (#7368)

5 years agoFix mirror sync not automatically sending webhook requests (#7366)
Drew [Sat, 6 Jul 2019 20:01:21 +0000 (16:01 -0400)]
Fix mirror sync not automatically sending webhook requests (#7366)

5 years agoMake captcha and password optional for external accounts (#6606)
AJ ONeal [Sat, 6 Jul 2019 19:48:02 +0000 (13:48 -0600)]
Make captcha and password optional for external accounts (#6606)

5 years agoDetect migrating batch size (#7353)
Lunny Xiao [Sat, 6 Jul 2019 19:24:50 +0000 (03:24 +0800)]
Detect migrating batch size (#7353)

* Make migrating batch size as configurable

* detect different table batch insert size and remove config item

* remove unrelated changes

5 years agorouters: do not leak secrets via timing side channel (#7364)
leonklingele [Sat, 6 Jul 2019 17:03:13 +0000 (19:03 +0200)]
routers: do not leak secrets via timing side channel (#7364)

* routers: do not leak secrets via timing side channel

* routers/repo: do not leak secrets via timing side channel

5 years agorouters/user: ensure that decryption of cookie actually suceeds (#7363)
leonklingele [Sat, 6 Jul 2019 15:47:09 +0000 (17:47 +0200)]
routers/user: ensure that decryption of cookie actually suceeds (#7363)

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.

5 years agoworkaround broken drone build (#7362)
Cherrg [Sat, 6 Jul 2019 15:16:43 +0000 (17:16 +0200)]
workaround broken drone build (#7362)

* 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>
5 years agoupdate contributing to use recent version of drone cli (#7351)
techknowlogick [Wed, 3 Jul 2019 23:28:48 +0000 (19:28 -0400)]
update contributing to use recent version of drone cli (#7351)

fix #7350

5 years agofix api route (#7346)
Lunny Xiao [Wed, 3 Jul 2019 05:31:29 +0000 (13:31 +0800)]
fix api route (#7346)

5 years agoupdate dependencies and various tweaks (#7344)
silverwind [Tue, 2 Jul 2019 19:11:24 +0000 (21:11 +0200)]
update dependencies and various tweaks (#7344)

- 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

5 years agoDisplay Github support button (#7343)
Antoine GIRARD [Tue, 2 Jul 2019 10:06:25 +0000 (12:06 +0200)]
Display Github support button (#7343)

This need an option to be enabled on repo : https://help.github.com/en/articles/displaying-a-sponsor-button-in-your-repository

5 years agoUse commit graph files for listing pages (#7314)
Filip Navara [Tue, 2 Jul 2019 02:15:14 +0000 (04:15 +0200)]
Use commit graph files for listing pages (#7314)

* Experimental support for git commit graph files and bloom filter index

Signed-off-by: Filip Navara <filip.navara@gmail.com>
* Force vendor of commitgraph

Signed-off-by: Filip Navara <filip.navara@gmail.com>
* Remove bloom filter experiment and debug prints

* Remove old code for building commit graphs

* Remove unused function

* Remove mmap usage

* gofmt

* sort vendor/modules.txt

* Add copyright header and log commit-graph error

5 years agoFix bug conflict between SyncReleasesWithTags and InsertReleases (#7337)
Lunny Xiao [Mon, 1 Jul 2019 21:17:16 +0000 (05:17 +0800)]
Fix bug conflict between SyncReleasesWithTags and InsertReleases (#7337)

* fix bug conflict between SyncReleasesWithTags and InsertReleases

* fix tests

* fix fmt

5 years agomake dropTableColumns drop columns on sqlite and constraints on all (#6849)
zeripath [Mon, 1 Jul 2019 19:26:59 +0000 (20:26 +0100)]
make dropTableColumns drop columns on sqlite and constraints on all (#6849)

5 years agofix updated drone file (#7336)
techknowlogick [Mon, 1 Jul 2019 07:32:50 +0000 (03:32 -0400)]
fix updated drone file (#7336)

5 years agofix pull view ui merge section (#7335)
Lunny Xiao [Mon, 1 Jul 2019 04:08:43 +0000 (12:08 +0800)]
fix pull view ui merge section (#7335)

* fix pull view ui merge section

* fix tests

* fix tests

5 years agowrap long texts on user profile info (#7333)
Cherrg [Mon, 1 Jul 2019 01:56:26 +0000 (03:56 +0200)]
wrap long texts on user profile info (#7333)

fix #7255

discussed in PR #7254

Signed-off-by: Michael Gnehr <michael@gnehr.de>