]>
source.dussan.org Git - gitea.git/log
GiteaBot [Thu, 1 Nov 2018 13:42:58 +0000 (13:42 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Thu, 1 Nov 2018 13:41:07 +0000 (13:41 +0000)]
Create AuthorizedKeysCommand (#5236)
zeripath [Thu, 1 Nov 2018 03:40:49 +0000 (03:40 +0000)]
Keys API changes (#4960)
* Add private information to the deploy keys api
This commit adds more information to the deploy keys to allow for back
reference in to the main keys list. It also adds information about the
repository that the key is referring to.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add private information to the user keys API
This adjusts the keys API to give out private information to user keys if
the current user is the owner or an admin.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add ability to search keys by fingerprint
This commit adds the functionality to search ssh-keys by fingerprint of
the ssh-key. Deploy keys per repository can also be searched. There is
no current clear API point to allow search of all deploy keys by
fingerprint or keyID.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add integration test
Peter Hoffmann [Thu, 1 Nov 2018 00:36:41 +0000 (01:36 +0100)]
fix: Accept web-command cli flags if web-command is commited (#5200)
* fix: Accept web-command cli flags if web-command is commited
* Added flags of default cmd CmdWeb to app-wide flags
* If command *is* specified app-wide flags are ignored
Resolves: #5065
Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>
* Removed style breaking newline
* broken windows need to be fixed
* provides requested change
Jonas Bröms [Thu, 1 Nov 2018 00:18:28 +0000 (01:18 +0100)]
Update API link in README (#5241)
GiteaBot [Wed, 31 Oct 2018 20:58:56 +0000 (20:58 +0000)]
[skip ci] Updated translations via Crowdin
Stanislav [Wed, 31 Oct 2018 20:56:32 +0000 (23:56 +0300)]
fix compatibility heatmap with mysql 8 (#5232)
Robert Ștefan [Wed, 31 Oct 2018 03:14:42 +0000 (05:14 +0200)]
Add command for migrating database (#4954)
Lauris BH [Wed, 31 Oct 2018 02:13:14 +0000 (04:13 +0200)]
Add changelog for 1.5.3 release (#5227)
Jerry Jacobs [Wed, 31 Oct 2018 00:08:30 +0000 (01:08 +0100)]
Fix issue where ecdsa and other key types are not synced from LDAP (#5092) (#5094)
* Fix issue where ecdsa and other key types are not synced from LDAP authentication provider fixes #5092
* integrations/auth_ldap_test.go: Add Hermes Conrad new ecdsa-sha2-nistp256 publickey fingerprint
* integrations/auth_ldap_test.go: Use ssh-keygen -lf <filename> -E sha256
L.E.R [Tue, 30 Oct 2018 22:26:28 +0000 (17:26 -0500)]
Fix markdown image with link (#4675)
* Fix markdown image with link
* Add gitea copyright notice
* add a test for markdown image with link
* remove svg related variables
Lunny Xiao [Tue, 30 Oct 2018 21:48:37 +0000 (05:48 +0800)]
This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql (#5136)
* This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql
* fix tests
Lanre Adelowo [Tue, 30 Oct 2018 21:34:25 +0000 (22:34 +0100)]
Generate random password (#5023)
* add random-password flag
* run make fmt
* add length cli flag rather than use a default value
Fabian Braun [Tue, 30 Oct 2018 15:41:41 +0000 (16:41 +0100)]
only chown directories during docker setup if necessary. Fix #4425 (#5064)
Signed-off-by: Fabian Braun <fabian-braun@mailbox.org>
GiteaBot [Tue, 30 Oct 2018 15:20:31 +0000 (15:20 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Tue, 30 Oct 2018 15:08:49 +0000 (15:08 +0000)]
Add AutoHead functionality. (#5186)
Fixes #5153
Nicolas Lenz [Tue, 30 Oct 2018 14:34:12 +0000 (15:34 +0100)]
Pass link prefixes to external markup parsers (#5201)
* Pass environment variables for URL prefixes to external markup parser
Signed-off-by: Nicolas Lenz <nicolas@eisfunke.com>
* Document external markup link prefix environment variables
Signed-off-by: Nicolas Lenz <nicolas@eisfunke.com>
* Run format on link prefix changes
Signed-off-by: Nicolas Lenz <nicolas@eisfunke.com>
Lunny Xiao [Tue, 30 Oct 2018 14:06:01 +0000 (22:06 +0800)]
fix data race on migrate repository (#5224)
Lunny Xiao [Tue, 30 Oct 2018 10:41:25 +0000 (18:41 +0800)]
remove unused db init on commands serv, update, hooks (#5225)
GiteaBot [Tue, 30 Oct 2018 06:22:29 +0000 (06:22 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Tue, 30 Oct 2018 06:20:13 +0000 (07:20 +0100)]
Make gitea serv use api/internal (#4886)
* Start to move to internal/private
* Add GetPublicKeyByID
* Add HasDeployKey
* Add private.UpdateDeployKeyUpdated
* Add private.GetUserByKeyID
* Add private.AccessLevel
* Add private.CheckUnitUser
* Fix mistakes I made
* Some cleaning + moving code to separate files
* Fix error handling
* Remove useless error handling for setup
* lint: fix comment on exported func
* fix copyright header
* Fix order of args
GiteaBot [Tue, 30 Oct 2018 03:08:04 +0000 (03:08 +0000)]
[skip ci] Updated translations via Crowdin
Jonas Bröms [Tue, 30 Oct 2018 02:17:26 +0000 (03:17 +0100)]
Serve audio files using HTML5 audio tag (#5221)
* Serve audio files using HTML5 audio tag
* Correct copy paste error
Lunny Xiao [Tue, 30 Oct 2018 01:21:18 +0000 (09:21 +0800)]
fix sqlite lock (#5210)
James Anderson [Mon, 29 Oct 2018 21:00:35 +0000 (17:00 -0400)]
Fix emojis not showing in commit messages (#5168)
Fixes #5150
Signed-off-by: James Anderson <james@jamesa.me>
GiteaBot [Mon, 29 Oct 2018 13:50:58 +0000 (13:50 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Mon, 29 Oct 2018 13:48:37 +0000 (21:48 +0800)]
fix sqlite and mssql lock (#5214)
Mura Li [Mon, 29 Oct 2018 01:54:13 +0000 (09:54 +0800)]
Kill testing processes if the test takes too long (#5174)
When timeout, Send ABRT signal to print backtraces for diagnosis.
The timeout value is set to 1200s (20mins) for now.
GiteaBot [Mon, 29 Oct 2018 01:31:15 +0000 (01:31 +0000)]
[skip ci] Updated translations via Crowdin
BetaCat [Mon, 29 Oct 2018 01:28:06 +0000 (09:28 +0800)]
k8s deployment (#5046)
AJ ONeal [Sun, 28 Oct 2018 22:46:16 +0000 (16:46 -0600)]
UX of link account (Step 1) (#5006)
* Show either sign up OR sign in
* disambiguate fresh start from adding recovery options
* use tabs to switch between account link flows
* add active to tab body as well
* changes as per discussion
* handle specific error; fix missing err typo
Lunny Xiao [Sun, 28 Oct 2018 22:15:25 +0000 (06:15 +0800)]
fix showing pull request link when delete a branch (#5166)
Peter Hoffmann [Sun, 28 Oct 2018 22:03:02 +0000 (23:03 +0100)]
fix: Add secret to all webhook's payload where it has been missing (#5199)
* fix: Add secret to all webhook's payload where it has been missing
affects webhooks for:
* Delete
* Fork
* IssueComment
* Release
Rodrigo Villablanca Vásquez [Sun, 28 Oct 2018 06:55:01 +0000 (03:55 -0300)]
Fix to 3819 - Filtering issues by tags on main screen issues (#3824)
* Fix to 3819
* Changes suggested
* Empty line removed
* Fix error: non-name opts.Labels on left side of :=
Paul Strickland [Sun, 28 Oct 2018 03:18:55 +0000 (03:18 +0000)]
Update with-docker.en-us.md (#5203)
Improve grammar in second paragraph.
Lunny Xiao [Sat, 27 Oct 2018 14:45:24 +0000 (22:45 +0800)]
fix sqlite lock (#5184)
* fix sqlite lock
* fix bug
Co-Authored-By: lunny <xiaolunwen@gmail.com>
* fix bug
Co-Authored-By: lunny <xiaolunwen@gmail.com>
Antonio Huete Jimenez [Fri, 26 Oct 2018 23:18:40 +0000 (01:18 +0200)]
Update vendor/golang.org/x/sys (#5059)
Antoine GIRARD [Fri, 26 Oct 2018 23:05:56 +0000 (01:05 +0200)]
Update x/net (#5169)
briolantonio [Fri, 26 Oct 2018 17:37:36 +0000 (19:37 +0200)]
Update TRANSLATORS (#5194)
Hi,
I'm the guy who translated gitea during June in Italian.
I would like to have my name added to the translators list.
I translated nearly a thousand and a half words.
Thank you.
GiteaBot [Fri, 26 Oct 2018 09:40:17 +0000 (09:40 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Fri, 26 Oct 2018 09:37:57 +0000 (17:37 +0800)]
Fix race on updatesize (#5190)
* fix race on updatesize
* fix more repoPath
Kim "BKC" Carlbäcker [Thu, 25 Oct 2018 11:53:39 +0000 (13:53 +0200)]
Update go-macaron/session to latest mast to fix RCE-bug (#5177)
Lunny Xiao [Thu, 25 Oct 2018 10:55:16 +0000 (18:55 +0800)]
Fix sqlite lock (#5176)
* fix sqlite lock
* fix sqlite lock on getUnitType
Mura Li [Thu, 25 Oct 2018 10:37:46 +0000 (18:37 +0800)]
Disable sqlite test (#5178)
For #5172
GiteaBot [Thu, 25 Oct 2018 08:52:17 +0000 (08:52 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Thu, 25 Oct 2018 08:31:26 +0000 (10:31 +0200)]
revert #5146 (#5167)
Antoine GIRARD [Wed, 24 Oct 2018 14:38:04 +0000 (16:38 +0200)]
Set heatmap color range configurable (#5165)
GiteaBot [Wed, 24 Oct 2018 13:17:43 +0000 (13:17 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Wed, 24 Oct 2018 13:17:21 +0000 (15:17 +0200)]
Fix JSON result of empty array (#5154)
Mura Li [Wed, 24 Oct 2018 08:18:51 +0000 (16:18 +0800)]
Update vendor/github.com/mattn/go-sqlite3 (#5162)
To fix build failure on Windows/386
Mura Li [Tue, 23 Oct 2018 16:33:51 +0000 (00:33 +0800)]
Update the docs for sqlite_unlock_notify (#5145)
Mura Li [Tue, 23 Oct 2018 16:08:05 +0000 (00:08 +0800)]
Update outdated Go toolchain version for .drone.yml (#5146)
Mura Li [Tue, 23 Oct 2018 11:47:59 +0000 (19:47 +0800)]
Update build tags for sqlite_unlock_notify (#5144)
Mura Li [Tue, 23 Oct 2018 05:28:10 +0000 (13:28 +0800)]
Update vendor/go-sqlite3 (#5133)
kolaente [Tue, 23 Oct 2018 02:57:42 +0000 (04:57 +0200)]
User action heatmap (#5131)
* Added basic heatmap data
* Added extra case for sqlite
* Built basic heatmap into user profile
* Get contribution data from api & styling
* Fixed lint & added extra group by statements for all database types
* generated swagger spec
* generated swagger spec
* generated swagger spec
* fixed swagger spec
* fmt
* Added tests
* Added setting to enable/disable user heatmap
* Added locale for loading text
* Removed UseTiDB
* Updated librejs & moment.js
* Fixed import order
* Fixed heatmap in postgresql
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
Co-Authored-By: kolaente <konrad@kola-entertainments.de>
* Added copyright header
* Fixed a bug to show the heatmap for the actual user instead of the currently logged in
* Added integration test for heatmaps
* Added a heatmap on the dashboard
* Fixed timestamp parsing
* Hide heatmap on mobile
* optimized postgresql group by query
* Improved sqlite group by statement
Jonas Franz [Mon, 22 Oct 2018 20:13:35 +0000 (22:13 +0200)]
Add comment replies (#5104)
* Add comment replies
* Replace reviewID with review.ID
Mura Li [Sun, 21 Oct 2018 14:09:17 +0000 (22:09 +0800)]
Increase the retry limit to 20 times and the interval to 200ms (#5134)
The original settings has less tolerance and would fail on some
environments.
zeripath [Sun, 21 Oct 2018 03:40:42 +0000 (04:40 +0100)]
Fix Swagger JSON autogeneration issues. (#4845)
* Fix Swagger JSON.
Remove unnecessary schema references for the forbidden and empty responses
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix swagger API for CreateAccessToken
* Fix admin create org swagger
* Fix swagger for adminCreateRepo
* More swagger fixes
Set int64 format for those which are int64
Some more form fixes
* Fix swagger description of GET /repos/{owner}/{repo}/pulls
Filip Navara [Sat, 20 Oct 2018 22:19:21 +0000 (00:19 +0200)]
Fix SQL quoting (#5117)
`show` is keyword in MySQL and has to be quoted to reference a column name. Use grave accents (ASCII code 96) for quoting to match rest of the source code. It's non-standard SQL, but it's supported by SQLite and MySQL.
Signed-off-by: Filip Navara <navara@emclient.com>
Lanre Adelowo [Sat, 20 Oct 2018 22:05:01 +0000 (23:05 +0100)]
Add must-change-password flag to cli for creating a user (#4955)
* add support for an admin to force a user to change his/her password from thee cli
* use BoolFlag instead
* default to true
* simplify by removing unnneccessary if/else
Oleg Kovalov [Sat, 20 Oct 2018 21:25:14 +0000 (23:25 +0200)]
Remove check for negative length (#5120)
Mura Li [Sat, 20 Oct 2018 20:48:33 +0000 (04:48 +0800)]
Retry test-fixtures loading in case of transaction rollback (#5125)
glaszig [Sat, 20 Oct 2018 20:31:27 +0000 (22:31 +0200)]
fix fading menu in arc-green theme (#5128)
* fix fading menu in arc-green theme
the menu faded white because it missed proper styling.
only visible on viewports narrower than 1200px.
* Generate minimized css
* compiled arc-green.less to apply changes from
76e4f9a58
James Ravenscroft [Sat, 20 Oct 2018 16:49:04 +0000 (17:49 +0100)]
Add LFS timeout issue to troubleshooting doc (#5129)
Julien Tant [Sat, 20 Oct 2018 06:59:06 +0000 (08:59 +0200)]
Give user a link to create PR after push (#4716)
* Give user a link to create PR after push
* Forks now create PR in the base repository + make sure PR creation is allowed
* fix code style
Oleg Kovalov [Sat, 20 Oct 2018 02:25:38 +0000 (04:25 +0200)]
Use named const instead of a raw string (#5115)
Oleg Kovalov [Fri, 19 Oct 2018 18:54:26 +0000 (20:54 +0200)]
Use type switch (#5122)
Oleg Kovalov [Fri, 19 Oct 2018 16:49:36 +0000 (18:49 +0200)]
Remove duplicated if bodies (#5121)
Lunny Xiao [Fri, 19 Oct 2018 16:36:42 +0000 (00:36 +0800)]
Fix deadlock when sqlite (#5118)
* fix deadlock when sqlite
* fix clonelink deadlock on sqlite
GiteaBot [Fri, 19 Oct 2018 13:38:43 +0000 (13:38 +0000)]
[skip ci] Updated translations via Crowdin
Oleg Kovalov [Fri, 19 Oct 2018 13:36:41 +0000 (15:36 +0200)]
Make switch more clear (#5119)
Tohka [Thu, 18 Oct 2018 13:07:30 +0000 (16:07 +0300)]
Fix home page template regression (#5102)
Commit
7bb4d610e5cca7ad514e377d2b36254a4cfee5b9 tries to take the app_name from the locale, however, it is a user defined setting. This causes the app name to simply display as `app_name` instead of the correct value.
templates/helper.go automatically injects the AppName variable into every template, so we can safely use that instead.
Signed-off-by: Daniel Derzsi <daniel@tohka.us>
Lunny Xiao [Thu, 18 Oct 2018 11:23:05 +0000 (19:23 +0800)]
Add notification interface and refactor UI notifications (#5085)
* add notification interface and refactor UI notifications
* add missing methods on notification interface and notifiy only issue status really changed
* implement NotifyPullRequestReview for ui notification
zeripath [Thu, 18 Oct 2018 08:44:51 +0000 (09:44 +0100)]
Add support for search by uid (#4876)
Signed-off-by: Andrew Thornton <art27@cantab.net>
mcnesium [Thu, 18 Oct 2018 07:34:45 +0000 (09:34 +0200)]
Use APP_NAME on home page (#5048)
Would it make sense to actually use the configured app name on the home page?
SagePtr [Thu, 18 Oct 2018 07:08:20 +0000 (09:08 +0200)]
Use native go method to get current user rather than environment variable (#4930)
* Use native go method to get current user rather than environment var
* Use t.Skip instead of return in test
BetaCat [Thu, 18 Oct 2018 05:19:00 +0000 (13:19 +0800)]
ZH-CN translation of Installation part (#5089)
Bo-Yi Wu [Thu, 18 Oct 2018 04:51:07 +0000 (12:51 +0800)]
refactor: err != nil check, just return error instead (#5093)
Antoine GIRARD [Thu, 18 Oct 2018 04:15:02 +0000 (06:15 +0200)]
Use fingerprint in place of id (#5099)
BetaCat [Thu, 18 Oct 2018 04:04:22 +0000 (12:04 +0800)]
Add myself to maintainers (#5101)
Bo-Yi Wu [Thu, 18 Oct 2018 03:14:28 +0000 (11:14 +0800)]
feat(topic): search keyword by splitting provided values by , (#4939)
kolaente [Thu, 18 Oct 2018 02:03:49 +0000 (04:03 +0200)]
Fix regex to support optional end line of old section in diff hunk (#5096)
+ Named groups in reges for easier group parsing
BetaCat [Thu, 18 Oct 2018 01:44:29 +0000 (09:44 +0800)]
CN translation of README (#5049)
GiteaBot [Thu, 18 Oct 2018 00:02:30 +0000 (00:02 +0000)]
[skip ci] Updated translations via Crowdin
kolaente [Wed, 17 Oct 2018 23:59:26 +0000 (01:59 +0200)]
add myself to maintainers (#5098)
BetaCat [Wed, 17 Oct 2018 18:19:04 +0000 (02:19 +0800)]
ZH-CN translation of Usage part (#5086)
GiteaBot [Wed, 17 Oct 2018 17:07:45 +0000 (17:07 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Wed, 17 Oct 2018 17:05:49 +0000 (01:05 +0800)]
Add change log for 1.6.0-rc1 (#5095)
* add change log for 1.6.0-rc1
* Fix some uppercases
GiteaBot [Wed, 17 Oct 2018 11:23:21 +0000 (11:23 +0000)]
[skip ci] Updated translations via Crowdin
BetaCat [Wed, 17 Oct 2018 11:21:20 +0000 (19:21 +0800)]
ZH-CN translation of Advanced part (#5090)
Lauris BH [Tue, 16 Oct 2018 20:50:11 +0000 (23:50 +0300)]
Update process to include tag vX.Y.0-dev on master branch (#5091)
BetaCat [Mon, 15 Oct 2018 04:13:21 +0000 (12:13 +0800)]
CN translation of README (#5050)
Lunny Xiao [Mon, 15 Oct 2018 03:52:52 +0000 (11:52 +0800)]
fix release creation via API (#5076)
* fix release creation via API
* fix release create tests
Lauris BH [Fri, 12 Oct 2018 20:49:27 +0000 (23:49 +0300)]
Fix dep for actual goth version used in dep lock file (#5078)
Lauris BH [Fri, 12 Oct 2018 20:01:41 +0000 (23:01 +0300)]
Fix golint to new URL (#5079)
SagePtr [Wed, 10 Oct 2018 14:13:34 +0000 (16:13 +0200)]
Fixed spelling typos in CONTRIBUTING.md (#5061)
techknowlogick [Tue, 9 Oct 2018 21:08:59 +0000 (17:08 -0400)]
Add HOWTO for releasing Gitea (#5054)
* Add HOWTO for releasing Gitea
Used instructions from: https://github.com/go-gitea/gitea/pull/2609#issuecomment-
352159155
* Update CONTRIBUTING.md
techknowlogick [Tue, 9 Oct 2018 16:29:08 +0000 (12:29 -0400)]
Backport 1.5.2 changelog (#5053)
Lauris BH [Tue, 9 Oct 2018 00:46:23 +0000 (03:46 +0300)]
Fix adding review comment in split view (#5038)
SagePtr [Sat, 6 Oct 2018 21:20:48 +0000 (23:20 +0200)]
Remove links from topics in edit mode (#5026)