summaryrefslogtreecommitdiffstats
path: root/Gopkg.lock
Commit message (Collapse)AuthorAgeFilesLines
* move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)Lunny Xiao2019-03-271-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move code.gitea.io/git to code.gitea.io/gitea/modules/git * fix imports * fix fmt * fix misspell * remove wrong tests data * fix unit tests * fix tests * fix tests * fix tests * fix tests * fix tests * enable Debug to trace the failure tests * fix tests * fix tests * fix tests * fix tests * fix tests * comment commit count tests since git clone depth is 50 * fix tests * update from code.gitea.io/git * revert change to makefile
* Updates SDK dep (#6406)Richard Mahn2019-03-221-2/+2
|
* Updates vendor/code.gitea.io/git (#6286)Richard Mahn2019-03-111-2/+5
|
* update git vendor to fix wrong release commit id and add migrations (#6224)Lunny Xiao2019-03-111-2/+2
| | | | | | | | | | * update git vendor to fix wrong release commit id and add migrations * fix count * fix migration release * fix tests
* Integrate OAuth2 Provider (#5378)Jonas Franz2019-03-081-1/+4
|
* Replace linkRegex with xurls library (#6261)mrsdizzie2019-03-071-0/+9
| | | | | | | | | | | | | | | | | | | | * Replace linkRegex with xurls library Rather than maintaining a complicated regex to match URLs for autolinking, gitea can use this existing go library that takes care of the matching with very little code change to gitea itself. After spending a while trying to find the perfect regex for all cases this library still works better as it is more flexible than a single regex ever will be. This will also fix the following issues: #5844 #3095 #3381 This passes all our current tests and I've added new ones mentioned in those issues as well. * Use xurls.StrictMatchingScheme instead of xurls.Strict This is much faster and we only care about https? links to preserve existing behavior.
* add isAdmin to user model (#6231)Lanre Adelowo2019-03-031-2/+2
| | | | | update vendor and add tests fix swagger
* Adds MustChangePassword to user create/edit API, defaults to true (#6193)John Olheiser2019-02-271-2/+2
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Increase Username and Orgname MaxSize 35 -> 40 (#6178)Segev Finer2019-02-251-3/+2
| | | | | | | | | | | | | | * Increase Username and Orgname MaxSize 35 -> 40 Signed-off-by: Segev Finer <segev@codeocean.com> * Dep update code.gitea.io/sdk Signed-off-by: Segev Finer <segev@codeocean.com> * Run generate-swagger Signed-off-by: Segev Finer <segev@codeocean.com>
* Refactor issue indexer (#5363)Lunny Xiao2019-02-191-0/+9
|
* Move to ldap.v3 to fix #5928 (#6105)zeripath2019-02-181-5/+5
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update bleve dependency to latest master revision (#6100)Lunny Xiao2019-02-171-21/+15
| | | | | | | | * update bleve to master b17287a86f6cac923a5d886e10618df994eeb54b6724eac2e3b8dde89cfbe3a2 * remove unused pkg from dep file * change bleve from master to recent revision
* Add API to list tags (#5850)Lunny Xiao2019-02-071-2/+2
| | | | | | | | | | | | | | * Add API to list tags * update dependency gitea sdk vendor * fix swagger generation * fix swagger * add tests * update code.gitea.io/git vendor
* Feature - Pagination for git tree API (#5838)Richard Mahn2019-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Feature - Pagination for git tree API * Handles case when page is negative * Does a for loop over the start and end rather than all entries * Removed redundent logic * Adds per_page as a query parameter * Adds DEFAULT_GIT_TREES_PER_PAGE for settings, ran make fmt * Fix typo in cheat-sheet en * Makes page start at 1, generated swagger * Use updates to SDK * Updates to use latest sdk * Updates swagger for tree api * Adds test for GetTreeBySHA * Updates per PR reviews * Updates per PR reviews * Remove file * Formatting * Fix to swagger file * Fix to swagger * Update v1_json.tmpl * Fix to swagger file
* Fix serving of raw wiki files other than .md (#5814)Gabriel Silva Simões2019-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix serving of raw wiki files other than .md Closes #4690. Closes #4395. Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com> * Simplify code at routers/repo/wiki.go Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com> * Add more files to user2/repo1.wiki for testing Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com> * Update macaron to v1.3.2 Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com> * Add tests for WikiRaw Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com> * Fix NewResponseWriter usage due to macaron update Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com> * Add raw to reserved wiki names Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
* Display the branch name in the commit view (#5950)Lanre Adelowo2019-02-051-2/+2
| | | | | | | | | | * add branch info * Remove blank lines * Remove blank lines * update git dependency
* add other session providers (#5963)techknowlogick2019-02-051-2/+109
|
* Add single commit API support (#5843)Lunny Xiao2019-02-021-2/+2
| | | | * add single commit API support
* Fix new release creation API to allow empty target (#5870)Lauris BH2019-01-301-11/+2
| | | | | | | | * Fix new release creation API to allow empty target * Add more test cases * Update swagger
* Request for public keys only if LDAP attribute is set (#5816)Lauris BH2019-01-241-3/+4
| | | | | | * Update go-ldap dependency * Request for public keys only if attribute is set
* upgrade go-sql-driver/mysql to fix invalid connection error (#5748)Lunny Xiao2019-01-171-2/+2
| | | should fix #5736
* api: Add missing GET teams endpoints (#5382)Harshit Bansal2019-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | * api: Add an endpoint to list a particular member of team. * models: Rename `GetUserTeams()` to `GetUserOrgTeams()` in `org_team` model. `GetUserTeams()` sounds a bit misnomer since it actually returns the teams that user belongs to in a given organization rather than all the teams across all the organization that the user has joined. * models: Add `GetUserTeams()`. Returns all the teams that a user belongs to. * api: Add an endpoint for GET '/user/teams'. A GET request to this endpoint lists all the teams that a user belongs to.
* Fixing #5728: (#5747)Zsombor2019-01-161-2/+2
| | | | * Format boolean values to true/false even when it is returned as byte-slice, * Fix the sequence generation, the proper sequence name is used (instead of 'table_id_seq'), and fix the next value be max+1 always
* Discord Oauth2 support (#4476)techknowlogick2019-01-131-3/+5
| | | | | | | | | | | | | | * add discord auth * add vendor for discord * fix syntax error * make fmt * update version of goth in use * update markbates/goth
* Update xorm to fix issue #5659 and #5651 (#5680)Zsombor2019-01-091-2/+2
|
* fix forgot removed records when deleting user (#5429)Lunny Xiao2018-12-181-3/+3
| | | | | | | | | | * fix forgot removed records when deleting user * fix migration * fix rewritekey lock on sqlite * remove unused codes
* Added test environment for mssql (#4282)kolaente2018-12-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added test environment for m$sql * Added template for test environment for m$sql * Fix password * Fix password (again) * Fix password (again again) * Fix db * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Create master database for mssql integration tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Create database only if master do not exist Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix mssql integration tests by using custom database "gitea" Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved defer * bump xorm * updated xorm * Fixed build
* Git-Trees API (#5403)Kasi Reddy2018-11-281-2/+2
| | | | | | | | | | | | * Git-Trees API * update vendor'd libs * added comments to exported function and formatted. * make fmt * update per @lafirks feedback
* Explicitly disable Git credential helper (#5367)Michael Kuhn2018-11-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * Explicitly disable Git credential helper If the user running Gitea has configured a credential helper, Git credentials might leak out of Gitea. There are two problems with credential helpers when combined with Gitea: 1. Credentials entered by a user when doing a migration or setting up a mirror will end up in the credential store. In the worst case, this is the plain text file ~/.git-credentials. 2. Credentials in the credential store will be used for migrations and mirrors by all users. For example, if user A sets up a mirror, their credentials will be stored. If user B later sets up a mirror from the same host and does not enter any credentials, user A's credentials will be used. This PR prepends -c credential.helper= to all Git commands to clear the list of helpers. This requires at least Git version 2.9, as previous versions will try to load an empty helper instead. For more details, see https://github.com/git/git/commit/24321375cda79f141be72d1a842e930df6f41725 * Update git module
* Implement git refs API for listing references (branches, tags and other) (#5354)Lauris BH2018-11-271-5/+153
| | | | | | | | | | | | | | | | * Inital routes to git refs api * Git refs API implementation * Update swagger * Fix copyright * Make swagger happy add basic test * Fix test * Fix test again :)
* Add raw blob endpoint to get objects by SHA ID (#5334)Peter Hoffmann2018-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add raw blob endpoint This should make it possible to download raw blobs directly from /:repo/:username/raw/blob/:sha1 URLs. * fix: Make it work * As an SHA-ID is no path getRefNameFromPath can't be used to verify file specifying parameter * added relevant change in go-gitea/git #132 Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de> * Update Gopkg.lock Can't update all vendors due to errors Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de> * style: Add Gitea copyright header * feat: Added integration test for /repo/u/r/raw/blob * fix: correct year in copyright header
* Remove x/net/context vendor by using std package (#5202)Antoine GIRARD2018-11-101-8/+10
| | | | | | | | | | | | * 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
* Fix create team, update team missing units (#5188)Lunny Xiao2018-11-101-2/+2
|
* Prometheus endpoint (#5256)Stanislav2018-11-041-2/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix: Add secret to all webhook's payload where it has been missing (#5199)Peter Hoffmann2018-10-281-2/+2
| | | | | | | | | | * fix: Add secret to all webhook's payload where it has been missing affects webhooks for: * Delete * Fork * IssueComment * Release
* Update vendor/golang.org/x/sys (#5059)Antonio Huete Jimenez2018-10-261-2/+3
|
* Update x/net (#5169)Antoine GIRARD2018-10-261-2/+3
|
* Update go-macaron/session to latest mast to fix RCE-bug (#5177)Kim "BKC" Carlbäcker2018-10-251-2/+3
|
* Update vendor/github.com/mattn/go-sqlite3 (#5162)Mura Li2018-10-241-2/+2
| | | To fix build failure on Windows/386
* Update vendor/go-sqlite3 (#5133)Mura Li2018-10-231-2/+2
|
* Upgrade gopkg.in/testfixtures.v2 (#4999)Mura Li2018-10-021-3/+3
|
* Disable debug routes unless PPROF is enabled in configuration (#4995)Lauris BH2018-09-291-2/+2
|
* Fix #4877 to follow the OpenID Connect Audiences spec (#4878)OvermindDL12018-09-201-3/+3
| | | | | Signed-off-by: Gabriel Robertson <overminddl1@gmail.com>
* Add push webhook support for mirrored repositories (#4127)Lauris BH2018-09-061-2/+2
|
* API /admin/users/{username} missing parameter (#4775)EnricoFerro2018-08-231-20/+314
|
* add letsencrypt to Gitea (#4189)Fluf2018-08-211-1/+5
|
* Update xorm to latest version and fix correct `user` table referencing in ↵Lauris BH2018-07-201-4/+6
| | | | sql (#4473)
* Add ability to delete a token (#4235)techknowlogick2018-07-061-1/+1
| | | Fix #4234
* Simply remove tidb and deps (#3993)Antoine GIRARD2018-07-041-173/+1
|
* Dep upgrade mysql lib (#4161)techknowlogick2018-07-031-2/+2
| | | | * update gopkg file to add sql dep