summaryrefslogtreecommitdiffstats
path: root/go.mod
Commit message (Collapse)AuthorAgeFilesLines
* Update strk.kbt.io/projects/go/libravatar to latest; closes #7860 (#8429)guillep2k2019-10-081-1/+1
|
* Upgrade xorm to v0.7.9 to fix some bugs (#8354)Lunny Xiao2019-10-021-2/+2
| | | | | | * upgrade xorm to v0.7.9 to fix some bugs * upgrade xormstore to v1.3.1
* Update to github.com/lafriks/xormstore@v1.3.0 (#8317)Antoine GIRARD2019-10-021-5/+3
|
* Upgrade xorm to latest to fix insert issue bug (#8309)Lunny Xiao2019-09-291-2/+2
| | | | | | | | | | * upgrade xorm to latest to fix insert issue bug * add newissue unit tests * update xorm version * fix tests
* Update xorm (#8286)John Olheiser2019-09-251-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix label count (#8267)Lunny Xiao2019-09-241-2/+2
| | | | | | | | | | | | | | * fix label count * fix vendor * fix import order * update xorm to fix bug * fix tests * fix mssql bug
* Refuse merge until all required status checks success (#7481)Lunny Xiao2019-09-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refuse merge until ci successfully * deny merge request when required status checkes not succeed on merge Post and API * add database migration for added columns on protected_branch * fix migration * fix protected branch check bug * fix protected branch settings * remove duplicated code on check pull request's required commit statuses pass * remove unused codes * fix migration * add newline for template file * fix go mod * rename function name and some other fixes * fix template * fix bug pull view * remove go1.12 wrong dependencies * add administrator bypass when protected branch status check enabled * fix bug * improve the codes
* migrate gplus to google oauth2 provider (#7885)techknowlogick2019-09-141-1/+1
| | | | | | | | | | * migrate gplus to google oauth2 provider. this still provides support for old gplus connections. * Update models/oauth2.go Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * make vendor
* oauth2 with remote Gitea - Fix #8093 (#8149)techknowlogick2019-09-121-1/+1
|
* use go 1.13 (#8088)techknowlogick2019-09-121-6/+7
| | | | | | | | | | * use go 1.13 * use go 1.13 in gomod file * Update Makefile * update swagger deps
* Implement webhook branch filter (#7791)WGH2019-09-091-0/+1
| | | | | | | | * Fix validate() function to handle errors in embedded anon structs * Implement webhook branch filter See #2025, #3998.
* Use vendored go-swagger (#8087)Antoine GIRARD2019-09-041-4/+3
| | | | | | | | | | | | | | * Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net>
* Strict name matching for Repository.GetTagID() (#8074)guillep2k2019-09-041-2/+2
| | | | | | | | * Strict name matching for Repository.GetTagID() * Perform make swagger-check swagger-validate vendor * Add test for GetTagID()
* Make CI work (#8057)guillep2k2019-09-021-3/+5
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Update to mod enabled version goquery (#8021)Antoine GIRARD2019-08-291-3/+2
| | | | | | * update to mod enabled version goquery * manually set appengine new release
* Update github.com/lafriks/xormstore and tidy up mod.go (#8020)guillep2k2019-08-281-4/+2
|
* Update swagger to 0.20.1 (#8010)Antoine GIRARD2019-08-281-8/+15
| | | | | | * update swagger to 0.20.1 * fiw swagger version for validate
* Retry create issue to cope with duplicate keys (#7898)guillep2k2019-08-261-2/+2
| | | | | | * Retry create issue to cope with duplicate keys * Use .SetExpr().Where().Insert()
* Use gitea forked macaron (#7933)Tamal Saha2019-08-231-28/+17
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#7749)Antoine GIRARD2019-08-051-1/+1
| | | | | | * deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 from 1.2.0 to 1.3.0 * deps: vendor updates
* update gopkg.in/src-d/go-git.v4 to v4.13.1 (#7705)Antoine GIRARD2019-08-011-3/+3
|
* Update src-d/go-git to v4.13.0 (#7688)Antoine GIRARD2019-07-311-7/+6
| | | | | | | | * update gopkg.in/src-d/go-git.v4 v4.13.0 * mod tidy * vendor
* Update to latest mssqldriver (#7613)zeripath2019-07-261-4/+0
| | | | * New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
* Update to xorm@v0.7.4 (#7596)Tamal Saha2019-07-251-4/+3
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* Move status table to cron package (#7370)Lunny Xiao2019-07-151-2/+2
|
* Support setting cookie domain (#6288)Tamal Saha2019-07-121-2/+2
| | | Signed-off-by: Tamal Saha <tamal@appscode.com>
* upgrade macaron/captcha to fix random error problem (#7407)Lunny Xiao2019-07-101-1/+1
|
* fix vendor (#7394)Lunny Xiao2019-07-091-1/+1
|
* switch to use gliderlabs/ssh for builtin server (#7250)techknowlogick2019-07-061-4/+4
| | | | | | 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>
* workaround broken drone build (#7362)Cherrg2019-07-061-8/+3
| | | | | | | | | | | | | | | | | | | | * 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>
* update mssql drive to last working version 20180314172330-6a30f4e59a44 (#7306)Antoine GIRARD2019-06-301-1/+1
|
* Fix error log when loading issues caused by a xorm bug (#7271)Lunny Xiao2019-06-231-9/+8
| | | | | | | | | | | | * fix error log when loading issues caused by a xorm bug * upgrade packages * fix fmt * fix Consistency * fix tests
* update go-git to v4.12.0 - fixes #7248 (#7249)techknowlogick2019-06-191-6/+8
|
* Use vfsgen instead of go-bindata (#7080)Lunny Xiao2019-06-031-2/+2
| | | | | | | | | | * use vfsgen instead of go-bindata * fix templates * fix fmt * vendor vsfgen
* update go git from v4.10.0 to v4.11.0 (#7096)Lunny Xiao2019-05-311-1/+1
|
* Improve handling of non-square avatars (#7025)Rob Watson2019-05-251-0/+1
| | | | | | | | | | * 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>
* Handle CORS requests (#6289)Tamal Saha2019-05-131-6/+7
|
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-111-1/+0
| | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* update sdk to latest (#6903)techknowlogick2019-05-101-1/+1
|
* Improve migrations to support migrating ↵Lunny Xiao2019-05-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Hash App token (#6724)techknowlogick2019-05-041-1/+1
|
* Update https://github.com/urfave/cli to version 1.2.0 (#6838)Antoine GIRARD2019-05-031-1/+1
| | | From un-tagged pervious version : https://github.com/urfave/cli/compare/d86a009f5e13...master
* update github.com/mcuadros/go-version to v0.0.0-20190308113854-92cdf37c5b75 ↵Lunny Xiao2019-05-011-1/+1
| | | | (#6815)
* Improve listing performance by using go-git (#6478)Filip Navara2019-04-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use go-git for tree reading and commit info lookup. Signed-off-by: Filip Navara <navara@emclient.com> * Use TreeEntry.IsRegular() instead of ObjectType that was removed. Signed-off-by: Filip Navara <navara@emclient.com> * Use the treePath to optimize commit info search. Signed-off-by: Filip Navara <navara@emclient.com> * Extract the latest commit at treePath along with the other commits. Signed-off-by: Filip Navara <navara@emclient.com> * Fix listing commit info for a directory that was created in one commit and never modified after. Signed-off-by: Filip Navara <navara@emclient.com> * Avoid nearly all external 'git' invocations when doing directory listing (.editorconfig code path is still hit). Signed-off-by: Filip Navara <navara@emclient.com> * Use go-git for reading blobs. Signed-off-by: Filip Navara <navara@emclient.com> * Make SHA1 type alias for plumbing.Hash in go-git. Signed-off-by: Filip Navara <navara@emclient.com> * Make Signature type alias for object.Signature in go-git. Signed-off-by: Filip Navara <navara@emclient.com> * Fix GetCommitsInfo for repository with only one commit. Signed-off-by: Filip Navara <navara@emclient.com> * Fix PGP signature verification. Signed-off-by: Filip Navara <navara@emclient.com> * Fix issues with walking commit graph across merges. Signed-off-by: Filip Navara <navara@emclient.com> * Fix typo in condition. Signed-off-by: Filip Navara <navara@emclient.com> * Speed up loading branch list by keeping the repository reference (and thus all the loaded packfile indexes). Signed-off-by: Filip Navara <navara@emclient.com> * Fix lising submodules. Signed-off-by: Filip Navara <navara@emclient.com> * Fix build Signed-off-by: Filip Navara <navara@emclient.com> * Add back commit cache because of name-rev Signed-off-by: Filip Navara <navara@emclient.com> * Fix tests Signed-off-by: Filip Navara <navara@emclient.com> * Fix code style * Fix spelling * Address PR feedback Signed-off-by: Filip Navara <navara@emclient.com> * Update vendor module list Signed-off-by: Filip Navara <navara@emclient.com> * Fix getting trees by commit id Signed-off-by: Filip Navara <navara@emclient.com> * Fix remaining unit test failures * Fix GetTreeBySHA * Avoid running `git name-rev` if not necessary Signed-off-by: Filip Navara <navara@emclient.com> * Move Branch code to git module * Clean up GPG signature verification and fix it for tagged commits * Address PR feedback (import formatting, copyright headers) * Make blob lookup by SHA working * Update tests to use public API * Allow getting content from any type of object through the blob interface * Change test to actually expect the object content that is in the GIT repository * Change one more test to actually expect the object content that is in the GIT repository * Add comments
* Add API for manipulating Git hooks (#6436)Segev Finer2019-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Bump github.com/stretchr/testify from 1.2.2 to 1.3.0 (#6663)Antoine GIRARD2019-04-161-1/+1
| | | | | 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)
* [mod]: Bump gopkg.in/src-d/go-git.v4 from 4.8.0 to 4.10.0 (#6662)Antoine GIRARD2019-04-161-1/+1
| | | | | 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)
* upgrade version of lib/pq to v1.1.0 (#6640)techknowlogick2019-04-151-1/+1
| | | Adds SCRAM-SHA-256 authentication
* Issue indexer queue redis support (#6218)Lunny Xiao2019-04-081-0/+1
| | | | | | | | | | | | | | | | | | * add redis queue * finished indexer redis queue * add redis vendor * fix vet * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: lunny <xiaolunwen@gmail.com> * switch to go mod * Update required changes for new logging func signatures
* Better logging (#6038) (#6095)zeripath2019-04-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Panic don't fatal on create new logger Fixes #5854 Signed-off-by: Andrew Thornton <art27@cantab.net> * partial broken * Update the logging infrastrcture Signed-off-by: Andrew Thornton <art27@cantab.net> * Reset the skip levels for Fatal and Error Signed-off-by: Andrew Thornton <art27@cantab.net> * broken ncsa * More log.Error fixes Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove nal * set log-levels to lowercase * Make console_test test all levels * switch to lowercased levels * OK now working * Fix vetting issues * Fix lint * Fix tests * change default logging to match current gitea * Improve log testing Signed-off-by: Andrew Thornton <art27@cantab.net> * reset error skip levels to 0 * Update documentation and access logger configuration * Redirect the router log back to gitea if redirect macaron log but also allow setting the log level - i.e. TRACE * Fix broken level caching * Refactor the router log * Add Router logger * Add colorizing options * Adjust router colors * Only create logger if they will be used * update app.ini.sample * rename Attribute ColorAttribute * Change from white to green for function * Set fatal/error levels * Restore initial trace logger * Fix Trace arguments in modules/auth/auth.go * Properly handle XORMLogger * Improve admin/config page * fix fmt * Add auto-compression of old logs * Update error log levels * Remove the unnecessary skip argument from Error, Fatal and Critical * Add stacktrace support * Fix tests * Remove x/sync from vendors? * Add stderr option to console logger * Use filepath.ToSlash to protect against Windows in tests * Remove prefixed underscores from names in colors.go * Remove not implemented database logger This was removed from Gogs on 4 Mar 2016 but left in the configuration since then. * Ensure that log paths are relative to ROOT_PATH * use path.Join * rename jsonConfig to logConfig * Rename "config" to "jsonConfig" to make it clearer * Requested changes * Requested changes: XormLogger * Try to color the windows terminal If successful default to colorizing the console logs * fixup * Colorize initially too * update vendor * Colorize logs on default and remove if this is not a colorizing logger * Fix documentation * fix test * Use go-isatty to detect if on windows we are on msys or cygwin * Fix spelling mistake * Add missing vendors * More changes * Rationalise the ANSI writer protection * Adjust colors on advice from @0x5c * Make Flags a comma separated list * Move to use the windows constant for ENABLE_VIRTUAL_TERMINAL_PROCESSING * Ensure matching is done on the non-colored message - to simpify EXPRESSION