Colin Arnott
66e99d722a
upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 ( #8501 )
...
editorconfig-core-go made breaking api changes and has recently released
v2.1.1. This change consumes the new api and fixes up any breaking
references.
5 years ago
Colin Arnott
80655026d2
upgrade gopkg.in/ini.v1 ( #8500 )
...
ini released v1.48.0 and deprecated the ini.AllCapsUnderscore symbol, as
such, during the upgrade we migrated to using ini.SnackCase.
5 years ago
zeripath
167e8f18da
Restore Graceful Restarting & Socket Activation ( #7274 )
...
* Prevent deadlock in indexer initialisation during graceful restart
* Move from gracehttp to our own service to add graceful ssh
* Add timeout for start of indexers and make hammer time configurable
* Fix issue with re-initialization in indexer during tests
* move the code to detect use of closed to graceful
* Handle logs gracefully - add a pid suffix just before restart
* Move to using a cond and a holder for indexers
* use time.Since
* Add some comments and attribution
* update modules.txt
* Use zero to disable timeout
* Move RestartProcess to its own file
* Add cleanup routine
5 years ago
Antoine GIRARD
ba201aaa44
vendor: update mvdan.cc/xurls/v2 to v2.1.0 ( #8495 )
5 years ago
guillep2k
f05a3353f4
Update strk.kbt.io/projects/go/libravatar to latest; closes #7860 ( #8429 )
5 years ago
Lunny Xiao
c9f819eae0
Upgrade xorm to v0.7.9 to fix some bugs ( #8354 )
...
* upgrade xorm to v0.7.9 to fix some bugs
* upgrade xormstore to v1.3.1
5 years ago
Antoine GIRARD
149758c912
Update to github.com/lafriks/xormstore@v1.3.0 ( #8317 )
5 years ago
Lunny Xiao
7ff783b732
Move mirror to a standalone package from models ( #7486 )
...
* move mirror to a standalone package
* fix mirror address in template
* fix tests
* fix lint
* fix comment
* fix tests
* fix tests
* fix vendor
* fix fmt
* fix lint
* remove wrong file submitted
* fix conflict
* remove unrelated changes
* fix go mod
* fix tests
* clean go mod
* make vendor work
* make vendor work
* fix tests
* remove duplicated test
5 years ago
Lunny Xiao
aa9a99cf5f
Upgrade xorm to latest to fix insert issue bug ( #8309 )
...
* upgrade xorm to latest to fix insert issue bug
* add newissue unit tests
* update xorm version
* fix tests
5 years ago
John Olheiser
f8882f4fa9
Update xorm ( #8286 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
Lunny Xiao
29dda47cbb
Fix label count ( #8267 )
...
* fix label count
* fix vendor
* fix import order
* update xorm to fix bug
* fix tests
* fix mssql bug
5 years ago
techknowlogick
2837563147
oauth2 with remote Gitea - Fix #8093 ( #8149 )
5 years ago
techknowlogick
3f5cdfe359
use go 1.13 ( #8088 )
...
* use go 1.13
* use go 1.13 in gomod file
* Update Makefile
* update swagger deps
5 years ago
WGH
6ddd3b0b47
Implement webhook branch filter ( #7791 )
...
* Fix validate() function to handle errors in embedded anon structs
* Implement webhook branch filter
See #2025 , #3998 .
5 years ago
Antoine GIRARD
9fe4437bda
Use vendored go-swagger ( #8087 )
...
* Use vendored go-swagger
* vendor go-swagger
* revert un wanteed change
* remove un-needed GO111MODULE
* Update Makefile
Co-Authored-By: techknowlogick <matti@mdranta.net>
5 years ago
guillep2k
4cb1bdddc8
Strict name matching for Repository.GetTagID() ( #8074 )
...
* Strict name matching for Repository.GetTagID()
* Perform make swagger-check swagger-validate vendor
* Add test for GetTagID()
5 years ago
guillep2k
765be70323
Make CI work ( #8057 )
...
* Use export GOPROXY=https://goproxy.cn before build
* Add go version to generate command
* Reproduced the entire build procedure - see notes
I've used:
sudo go clean -i -r -cache -testcache -modcache
make clean
make generate
make golangci-lint
make revive
make swagger-check
make swagger-validate
make test-vendor <--- this now fails
make vendor <--- this now produced changes
git commit -a <--- this commit
* Add fix from #8059 to complete CI tests
5 years ago
Antoine GIRARD
187ae109d0
Update to mod enabled version goquery ( #8021 )
...
* update to mod enabled version goquery
* manually set appengine new release
5 years ago
guillep2k
cedb285e25
Update github.com/lafriks/xormstore and tidy up mod.go ( #8020 )
5 years ago
Antoine GIRARD
256b178176
Update swagger to 0.20.1 ( #8010 )
...
* update swagger to 0.20.1
* fiw swagger version for validate
5 years ago
guillep2k
5fe2ec264f
Retry create issue to cope with duplicate keys ( #7898 )
...
* Retry create issue to cope with duplicate keys
* Use .SetExpr().Where().Insert()
5 years ago
Tamal Saha
171b359877
Use gitea forked macaron ( #7933 )
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
5 years ago
Antoine GIRARD
52feff5a5c
deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 ( #7749 )
...
* deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 from 1.2.0 to 1.3.0
* deps: vendor updates
5 years ago
Antoine GIRARD
bb22e3a1e1
update gopkg.in/src-d/go-git.v4 to v4.13.1 ( #7705 )
5 years ago
Antoine GIRARD
a9b4c8171f
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 ago
zeripath
78e5317242
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
Tamal Saha
5efd3630bc
Update to xorm@v0.7.4 ( #7596 )
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
5 years ago
Lunny Xiao
d2958d9f46
Move status table to cron package ( #7370 )
5 years ago
Tamal Saha
2102f9d92d
Support setting cookie domain ( #6288 )
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
5 years ago
Lunny Xiao
b84a251fca
upgrade macaron/captcha to fix random error problem ( #7407 )
5 years ago
Lunny Xiao
f03e5b7c3e
fix vendor ( #7394 )
5 years ago
techknowlogick
d0ec940dd7
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
Cherrg
86750325c7
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 ago
Antoine GIRARD
1e46eedce7
update mssql drive to last working version 20180314172330-6a30f4e59a44 ( #7306 )
5 years ago
Lunny Xiao
aa7c34cf86
Fix error log when loading issues caused by a xorm bug ( #7271 )
...
* fix error log when loading issues caused by a xorm bug
* upgrade packages
* fix fmt
* fix Consistency
* fix tests
6 years ago
techknowlogick
33ad554800
update go-git to v4.12.0 - fixes #7248 ( #7249 )
6 years ago
Lunny Xiao
83b90e4199
Use vfsgen instead of go-bindata ( #7080 )
...
* use vfsgen instead of go-bindata
* fix templates
* fix fmt
* vendor vsfgen
6 years ago
Lunny Xiao
8a343dda39
update go git from v4.10.0 to v4.11.0 ( #7096 )
6 years ago
Rob Watson
df2557835b
Improve handling of non-square avatars ( #7025 )
...
* Crop avatar before resizing (#1268 )
Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
* Fix spelling error
Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
6 years ago
Tamal Saha
34d06f4c6b
Handle CORS requests ( #6289 )
6 years ago
Lunny Xiao
34eee25bd4
Move sdk structs to modules/structs ( #6905 )
...
* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor
6 years ago
techknowlogick
1dc401635b
update sdk to latest ( #6903 )
6 years ago
Lunny Xiao
08069dc465
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests ( #6290 )
...
* add migrations
* fix package dependency
* fix lints
* implements migrations except pull requests
* add releases
* migrating releases
* fix bug
* fix lint
* fix migrate releases
* fix tests
* add rollback
* pull request migtations
* fix import
* fix go module vendor
* add tests for upload to gitea
* more migrate options
* fix swagger-check
* fix misspell
* add options on migration UI
* fix log error
* improve UI options on migrating
* add support for username password when migrating from github
* fix tests
* remove comments and fix migrate limitation
* improve error handles
* migrate API will also support migrate milestones/labels/issues/pulls/releases
* fix tests and remove unused codes
* add DownloaderFactory and docs about how to create a new Downloader
* fix misspell
* fix migration docs
* Add hints about migrate options on migration page
* fix tests
6 years ago
techknowlogick
46373e7657
Hash App token ( #6724 )
6 years ago
Antoine GIRARD
2933ae4e88
Update https://github.com/urfave/cli to version 1.2.0 ( #6838 )
...
From un-tagged pervious version : https://github.com/urfave/cli/compare/d86a009f5e13...master
6 years ago
Lunny Xiao
5be1780045
update github.com/mcuadros/go-version to v0.0.0-20190308113854-92cdf37c5b75 ( #6815 )
6 years ago
Segev Finer
34548369e1
Add API for manipulating Git hooks ( #6436 )
...
* Add API for manipulating Git hooks
Signed-off-by: Segev Finer <segev@codeocean.com>
* Replace code.gitea.io/sdk with PR branch temporarily for CI
* Switch back to code.gitea.io/sdk@master
* Return 403 instead of 404 on no permission to edit hooks in API
* Add tests for Git hooks API
* Update models/repo_list_test.go
Co-Authored-By: segevfiner <segev208@gmail.com>
* Update models/repo_list_test.go
Co-Authored-By: segevfiner <segev208@gmail.com>
* empty line
6 years ago
Antoine GIRARD
84fd24246c
Bump github.com/stretchr/testify from 1.2.2 to 1.3.0 ( #6663 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.2.2...v1.3.0 )
6 years ago
Antoine GIRARD
4183c846e3
[mod]: Bump gopkg.in/src-d/go-git.v4 from 4.8.0 to 4.10.0 ( #6662 )
...
Bumps [gopkg.in/src-d/go-git.v4](https://github.com/src-d/go-git ) from 4.8.0 to 4.10.0.
- [Release notes](https://github.com/src-d/go-git/releases )
- [Commits](https://github.com/src-d/go-git/compare/v4.8.0...v4.10.0 )
6 years ago
techknowlogick
3fb038c53a
upgrade version of lib/pq to v1.1.0 ( #6640 )
...
Adds SCRAM-SHA-256 authentication
6 years ago