summaryrefslogtreecommitdiffstats
path: root/go.mod
Commit message (Collapse)AuthorAgeFilesLines
* update gitea.com/macaron/macaron to 1.4.0 (#9608)65432020-01-051-3/+3
|
* Change markdown rendering from blackfriday to goldmark (#9533)zeripath2019-12-311-2/+1
| | | | | | | | | | | | | | | | | | | * Move to goldmark Markdown rendering moved from blackfriday to the goldmark. Multiple subtle changes required to the goldmark extensions to keep current rendering and defaults. Can go further with goldmark linkify and have this work within markdown rendering making the link processor unnecessary. Need to think about how to go about allowing extensions - at present it seems that these would be hard to do without recompilation. * linter fixes Co-authored-by: Lauris BH <lauris@nix.lv>
* go-mssqldb UPDATE (#9522)65432019-12-281-2/+2
|
* chore: update github.com/couchbase/gomemcached and ↵Antoine GIRARD2019-12-181-0/+2
| | | | github.com/couchbase/go-couchbase (#9419)
* [Vendor Update] go-swagger v0.20.1 -> v0.21.0 (#9410)65432019-12-181-2/+3
| | | | | | * Update go-swagger v0.20.1 -> v0.21.0 * go mod tidy
* Hide not allowed Reactions (#9387)65432019-12-181-1/+1
| | | | | | | | | | | | * Hide not allowed Reactions * filter in query :D * use ` Co-Authored-By: Alexey 〒erentyev <axifnx@gmail.com> * update xorm v0.8.0 -> v0.8.1
* Fix the intermittent TestGPGGit failures (#9360)zeripath2019-12-151-2/+2
| | | | | | * Fix the intermittent TestGPGGit failures Reattempt to open the listener if the port is busy with a delay up to a second Switch from generating a private key each time, just use a known good key
* deps: update and fix chardet import (#9351)Antoine GIRARD2019-12-141-2/+1
|
* upgrade levelqueue to 0.1.0 (#9192)Lunny Xiao2019-11-281-1/+1
|
* Upgrade blevesearch to v0.8.1 (#9177)Mura Li2019-11-271-13/+8
| | | | | For #1441 https://github.com/blevesearch/bleve/commit/a91b427b59b893f112021841ba7370d285f8426f
* Add single sign-on support via SSPI on Windows (#8463)QuaSoft2019-11-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add single sign-on support via SSPI on Windows * Ensure plugins implement interface * Ensure plugins implement interface * Move functions used only by the SSPI auth method to sspi_windows.go * Field SSPISeparatorReplacement of AuthenticationForm should not be required via binding, as binding will insist the field is non-empty even if another login type is selected * Fix breaking of oauth authentication on download links. Do not create new session with SSPI authentication on download links. * Update documentation for the new 'SPNEGO with SSPI' login source * Mention in documentation that ROOT_URL should contain the FQDN of the server * Make sure that Contexter is not checking for active login sources when the ORM engine is not initialized (eg. when installing) * Always initialize and free SSO methods, even if they are not enabled, as a method can be activated while the app is running (from Authentication sources) * Add option in SSPIConfig for removing of domains from logon names * Update helper text for StripDomainNames option * Make sure handleSignIn() is called after a new user object is created by SSPI auth method * Remove default value from text of form field helper Co-Authored-By: Lauris BH <lauris@nix.lv> * Remove default value from text of form field helper Co-Authored-By: Lauris BH <lauris@nix.lv> * Remove default value from text of form field helper Co-Authored-By: Lauris BH <lauris@nix.lv> * Only make a query to the DB to check if SSPI is enabled on handlers that need that information for templates * Remove code duplication * Log errors in ActiveLoginSources Co-Authored-By: Lauris BH <lauris@nix.lv> * Revert suffix of randomly generated E-mails for Reverse proxy authentication Co-Authored-By: Lauris BH <lauris@nix.lv> * Revert unneeded white-space change in template Co-Authored-By: Lauris BH <lauris@nix.lv> * Add copyright comments at the top of new files * Use loopback name for randomly generated emails * Add locale tag for the SSPISeparatorReplacement field with proper casing * Revert casing of SSPISeparatorReplacement field in locale file, moving it up, next to other form fields * Update docs/content/doc/features/authentication.en-us.md Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Remove Priority() method and define the order in which SSO auth methods should be executed in one place * Log authenticated username only if it's not empty * Rephrase helper text for automatic creation of users * Return error if more than one active SSPI auth source is found * Change newUser() function to return error, letting caller log/handle the error * Move isPublicResource, isPublicPage and handleSignIn functions outside SSPI auth method to allow other SSO methods to reuse them if needed * Refactor initialization of the list containing SSO auth methods * Validate SSPI settings on POST * Change SSPI to only perform authentication on its own login page, API paths and download links. Leave Toggle middleware to redirect non authenticated users to login page * Make 'Default language' in SSPI config empty, unless changed by admin * Show error if admin tries to add a second authentication source of type SSPI * Simplify declaration of global variable * Rebuild gitgraph.js on Linux * Make sure config values containing only whitespace are not accepted
* update golang.org/x/crypto vendor to use acme v2 (#9056)techknowlogick2019-11-201-1/+1
|
* Move modules/gzip to gitea.com/macaron/gzip (#9058)Lunny Xiao2019-11-181-3/+2
| | | | | | * Move modules/gzip to gitea.com/macaron/gzip * Fix vendor
* Move transfer repository and rename repository on a service package and ↵Lunny Xiao2019-11-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | start action notification (#8573) * move transfer repository and rename repository on a service package and start action notification * remove unused codes * fix lint * fix bugs * fix test * fix test * fix test * fix lint * update go mod and sum
* Update go-org to optimize code (#8824)Lauris BH2019-11-051-2/+2
|
* Fix API deadline removal (#8759)David Svantesson2019-11-031-2/+0
| | | | | | | | | | * Handle deadline is zero (to remove deadline) * Better API documentation for issue deadline. * Add parameter to unset due date. * Update pull edit API comment
* Move webhook to a standalone package under modules (#8747)Lunny Xiao2019-11-011-0/+2
| | | | | | | | * Move webhook to a standalone package under modules * fix test * fix comments
* Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering ↵Lauris BH2019-10-311-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to go-org (#8560) * Rewrite markdown rendering to blackfriday v2.0 * Fix style * Fix go mod with golang 1.13 * Fix blackfriday v2 import * Inital orgmode renderer migration to go-org * Vendor go-org dependency * Ignore errors :/ * Update go-org to latest version * Update test * Fix go-org test * Remove unneeded code * Fix comments * Fix markdown test * Fix blackfriday regression rendering HTML block
* Upgrade xorm to v0.8.0 (#8536)Lunny Xiao2019-10-171-2/+2
|
* upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501)Colin Arnott2019-10-151-2/+1
| | | | | 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.
* upgrade gopkg.in/ini.v1 (#8500)Colin Arnott2019-10-151-1/+1
| | | | ini released v1.48.0 and deprecated the ini.AllCapsUnderscore symbol, as such, during the upgrade we migrated to using ini.SnackCase.
* Restore Graceful Restarting & Socket Activation (#7274)zeripath2019-10-151-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* vendor: update mvdan.cc/xurls/v2 to v2.1.0 (#8495)Antoine GIRARD2019-10-141-1/+1
|
* 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
|