6861 Commits (eabbddcd98717ef20d8475e819f403c50f4a9787)
 

Author SHA1 Message Date
Stanislav fa165621ed Update golang version in Dockerfile (#5246) 6 years ago
GiteaBot 4b84928874 [skip ci] Updated translations via Crowdin 6 years ago
zeripath 7d9a191a3c Create AuthorizedKeysCommand (#5236) 6 years ago
zeripath 00533d3870 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
6 years ago
Peter Hoffmann 584844eada 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
6 years ago
Jonas Bröms 6c90dd1f4a Update API link in README (#5241) 6 years ago
GiteaBot c8b4c7af65 [skip ci] Updated translations via Crowdin 6 years ago
Stanislav 794049e824 fix compatibility heatmap with mysql 8 (#5232) 6 years ago
Robert Ștefan 7edb930240 Add command for migrating database (#4954) 6 years ago
Lauris BH 6eff62ae09 Add changelog for 1.5.3 release (#5227) 6 years ago
Jerry Jacobs 22ad514297 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
6 years ago
L.E.R b686bd0c94 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
6 years ago
Lunny Xiao 10370651fc 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
6 years ago
Lanre Adelowo e5daa2698f Generate random password (#5023)
* add random-password flag

* run make fmt

* add length cli flag rather than use a default value
6 years ago
Fabian Braun d0f614a25b only chown directories during docker setup if necessary. Fix #4425 (#5064)
Signed-off-by: Fabian Braun <fabian-braun@mailbox.org>
6 years ago
GiteaBot 98ea1a5143 [skip ci] Updated translations via Crowdin 6 years ago
zeripath a3e084716e Add AutoHead functionality. (#5186)
Fixes #5153
6 years ago
Nicolas Lenz 220ee6ae42 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>
6 years ago
Lunny Xiao e61c6cd3db fix data race on migrate repository (#5224) 6 years ago
Lunny Xiao 0ba57949e4 remove unused db init on commands serv, update, hooks (#5225) 6 years ago
GiteaBot 5fc0a12627 [skip ci] Updated translations via Crowdin 6 years ago
Antoine GIRARD 617a2433a3 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
6 years ago
GiteaBot aefeb8c465 [skip ci] Updated translations via Crowdin 6 years ago
Jonas Bröms db30d6d791 Serve audio files using HTML5 audio tag (#5221)
* Serve audio files using HTML5 audio tag

* Correct copy paste error
6 years ago
Lunny Xiao 735b12eaf0
fix sqlite lock (#5210) 6 years ago
James Anderson 1ceae07560 Fix emojis not showing in commit messages (#5168)
Fixes #5150

Signed-off-by: James Anderson <james@jamesa.me>
6 years ago
GiteaBot d4e6278764 [skip ci] Updated translations via Crowdin 6 years ago
Lunny Xiao 70a80e31cf fix sqlite and mssql lock (#5214) 6 years ago
Mura Li 7694c99ab3 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.
6 years ago
GiteaBot abf6e0d90b [skip ci] Updated translations via Crowdin 6 years ago
BetaCat 8b4c4bd08f k8s deployment (#5046) 6 years ago
AJ ONeal b8451190d8 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
6 years ago
Lunny Xiao a2ee2a3c67 fix showing pull request link when delete a branch (#5166) 6 years ago
Peter Hoffmann fb14458010 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
6 years ago
Rodrigo Villablanca Vásquez 48badd59e9 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 :=
6 years ago
Paul Strickland 8a9e44d181 Update with-docker.en-us.md (#5203)
Improve grammar in second paragraph.
6 years ago
Lunny Xiao 2b7c366f64
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>
6 years ago
Antonio Huete Jimenez 99c09dfbfa Update vendor/golang.org/x/sys (#5059) 6 years ago
Antoine GIRARD 2af57c7820 Update x/net (#5169) 6 years ago
briolantonio f887085ee0 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.
6 years ago
GiteaBot e500b82c2c [skip ci] Updated translations via Crowdin 6 years ago
Lunny Xiao e7822473e9 Fix race on updatesize (#5190)
* fix race on updatesize

* fix more repoPath
6 years ago
Kim "BKC" Carlbäcker aeb5655c25 Update go-macaron/session to latest mast to fix RCE-bug (#5177) 6 years ago
Lunny Xiao 5f938c0c78
Fix sqlite lock (#5176)
* fix sqlite lock

* fix sqlite lock on getUnitType
6 years ago
Mura Li 554581f848 Disable sqlite test (#5178)
For #5172
6 years ago
GiteaBot 890a0c3cee [skip ci] Updated translations via Crowdin 6 years ago
Antoine GIRARD c258ae8ada revert #5146 (#5167) 6 years ago
Antoine GIRARD ffd5fb8139 Set heatmap color range configurable (#5165) 6 years ago
GiteaBot 7e5eec430d [skip ci] Updated translations via Crowdin 6 years ago
Antoine GIRARD 70ad46133f Fix JSON result of empty array (#5154) 6 years ago