6836 Commits (241ee793b74365927dda216e67ecb24245f07fab)
 

Author SHA1 Message Date
techknowlogick 241ee793b7
Set ACL on uploads (#5344)
To support https://github.com/go-gitea/infrastructure/pull/39
6 years ago
GiteaBot e033d217e9 [skip ci] Updated translations via Crowdin 6 years ago
Lucien Kerl 89eea64e10 added the ability to set labels on the "edit pull request" api (#5347)
Signed-off-by: Lucien Kerl <lucien.kerl@wuerth-it.com>
6 years ago
Lauris BH 7278372388 Implement pasting image from clipboard for browsers that supports that (#5317) 6 years ago
GiteaBot e110943562 [skip ci] Updated translations via Crowdin 6 years ago
Lanre Adelowo b97af15de6 Block registration based on email domain (#5157)
* implement email domain whitelist
6 years ago
Antoine GIRARD 4c1f1f9646 Remove x/net/context vendor by using std package (#5202)
* Update dep github.com/markbates/goth

* Update dep github.com/blevesearch/bleve

* Update dep golang.org/x/oauth2

* Fix github.com/blevesearch/bleve to c74e08f039e56cef576e4336382b2a2d12d9e026

* Update dep golang.org/x/oauth2
6 years ago
Lunny Xiao b3000ae623 Fix create team, update team missing units (#5188) 6 years ago
GiteaBot d487a76ee2 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 7dd31eb8fb
Fix file edit change preview functionality (#5300) 6 years ago
GiteaBot 2852c3576a [skip ci] Updated translations via Crowdin 6 years ago
Lunny Xiao c5d098c32e fix bug when users have serval teams with different units on different repositories (#5307) 6 years ago
Jonas Bröms 599adde1bc Add option to disable automatic mirror syncing. (#5242)
Setting the interval to 0 will disable to automatic syncing.
6 years ago
Lauris BH de8f98192b Fix U2F if gitea is configured in subpath (#5302) 6 years ago
Patrick Lühne c2f72b1346 Fix typo in configuration (#5295)
Signed-off-by: Patrick Lühne <patrick@luehne.de>
6 years ago
GiteaBot e8b197d6f6 [skip ci] Updated translations via Crowdin 6 years ago
Lauris BH 8f8ff5a295
Remove maxlines option for file logger (#5282) 6 years ago
Stanislav 078c404c3b Prometheus endpoint (#5256)
* Add prometheus collector and route

* dep ensure -add github.com/prometheus/client_golang/prometheus

* dep ensure -update github.com/golang/protobuf

* add metrics to reserved usernames

* add comment head in metrics package

* fix style imports

* add metrics settings

* add bearer token check

* mapping metrics configs

* fix lint

* update config cheat sheet

* update conf sample, typo fix
6 years ago
techknowlogick 92fb89f6e1
Clean up docs (#5274)
* make docs more clear

* make docs more clear

* Add analytics

* Update customizing-gitea.en-us.md

* Update app.ini.sample
6 years ago
techknowlogick 0fd56a71e4
1.6.0-rc2 changelog (#5276) 6 years ago
zeripath 18391c1410 Add zeripath to maintainers (#5273) 6 years ago
zeripath 7096085f2b Fix #5226 by adding CSRF checking to api reqToken and add CSRF to the POST header for deadline (#5250)
* Add CSRF checking to reqToken and place CSRF in the post for deadline creation

Fixes #5226, #5249

* /api/v1/admin/users routes should have reqToken middleware
6 years ago
Antoine GIRARD 57a8440db3 Update gitignore list (#5258)
* update gitignore

* Handle symlink in tar

* Add some logs
6 years ago
kolaente 54259e2f88 Fixed wrong api request url for instances running in subfolders (#5247) 6 years ago
kolaente 225c48982b Fixed heatmap not working in mssql (#5248) 6 years ago
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