summaryrefslogtreecommitdiffstats
path: root/vendor/github.com
Commit message (Collapse)AuthorAgeFilesLines
* Update xorm to fix issue #5659 and #5651 (#5680) (#5692)Zsombor2019-01-102-3/+8
|
* fix forgot removed records when deleting user (#5429)Lunny Xiao2018-12-1813-111/+698
| | | | | | | | | | * 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-1219-56/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Implement git refs API for listing references (branches, tags and other) (#5354)Lauris BH2018-11-2751-0/+5651
| | | | | | | | | | | | | | | | * 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 :)
* Remove x/net/context vendor by using std package (#5202)Antoine GIRARD2018-11-1026-482/+1083
| | | | | | | | | | | | * 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
* Prometheus endpoint (#5256)Stanislav2018-11-04103-2971/+24223
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Update go-macaron/session to latest mast to fix RCE-bug (#5177)Kim "BKC" Carlbäcker2018-10-252-12/+20
|
* Update vendor/github.com/mattn/go-sqlite3 (#5162)Mura Li2018-10-241-1/+2
| | | To fix build failure on Windows/386
* Update vendor/go-sqlite3 (#5133)Mura Li2018-10-2333-14459/+35764
|
* Disable debug routes unless PPROF is enabled in configuration (#4995)Lauris BH2018-09-291-13/+17
|
* Fix #4877 to follow the OpenID Connect Audiences spec (#4878)OvermindDL12018-09-201-1/+29
| | | | | Signed-off-by: Gabriel Robertson <overminddl1@gmail.com>
* Update xorm to latest version and fix correct `user` table referencing in ↵Lauris BH2018-07-2040-1060/+1674
| | | | sql (#4473)
* Simply remove tidb and deps (#3993)Antoine GIRARD2018-07-04394-166195/+0
|
* Dep upgrade mysql lib (#4161)techknowlogick2018-07-0320-605/+1800
| | | | * update gopkg file to add sql dep
* LDAP Public SSH Keys synchronization (#1844)Magnus Lindvall2018-05-2410-348/+284
| | | | | | | | | | | | | | | | | | | * Add LDAP Key Synchronization feature Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Add migration: add login source id column for public_key table * Only update keys if needed * Add function to only list pubkey synchronized from ldap * Only list pub ssh keys synchronized from ldap. Do not sort strings as ExistsInSlice does it. * Only get keys belonging to current login source id * Set default login source id to 0 * Some minor cleanup. Add integration tests (updete dep testify)
* Support secure cookie for csrf-token (#3839)Aleksandr Bulyshchenko2018-05-221-7/+18
| | | | | | | | | | | | | | | | | * dep: Update github.com/go-macaron/csrf Update github.com/go-macaron/csrf with dep to revision 503617c6b372 to fix issue of csrf-token security. This update includes following commits: - Add support for the Cookie HttpOnly flag - Support secure mode for csrf cookie Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com> * routers: set csrf-token security depending on COOKIE_SECURE Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com>
* Migrate to dep (#3972)Antoine GIRARD2018-05-21199-26168/+1337
| | | | | | | | | | | | * Update makefile to use dep * Migrate to dep * Fix some deps * Try to find a better version for golang.org/x/net * Try to find a better version for golang.org/x/oauth2
* Fetch missing file in github.com/davecgh/go-spew/spew (#3995)Antoine GIRARD2018-05-201-0/+38
|
* Add support for FIDO U2F (#3971)Jonas Franz2018-05-197-0/+785
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for U2F Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add vendor library Add missing translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library Add U2F error handling Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F login page to OAuth Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move U2F user settings to a separate file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for u2f model Renamed u2f table name Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by refactoring Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F documentation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove not needed console.log-s Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add default values to app.ini.sample Add FIDO U2F to comparison Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Update to last common bleve (#3986)Antoine GIRARD2018-05-19183-43/+39402
|
* Update xormstore dependency to fix OAuth2 support for MySQL (#3955)Lauris BH2018-05-131-1/+1
|
* Switch back to upstream goth repository and update govendor to latest goth ↵Lauris BH2018-04-302-7/+6
| | | | version (#3863)
* Store OAuth2 session data in database (#3660)Lauris BH2018-04-297-0/+573
| | | | | | * Store OAuth2 session data in database * Rename table to `oauth2_session` and do not skip xormstorage initialization error
* Update blackfriday dependency per #2994 (#3857)PJ Eby2018-04-298-107/+289
| | | Signed-off-by: PJ Eby <pje@telecommunity.com>
* Update markbates/goth libary to fix OAuth2 support (#3661)Lauris BH2018-03-132-18/+42
|
* Update markbates/goth library (#3533)Lauris BH2018-02-1910-128/+252
| | | Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Reduce repo indexer disk usage (#3452)Ethan Koenig2018-02-058-0/+575
|
* fix MSSQL bug on org (#3405)Lunny Xiao2018-01-2727-152/+999
|
* Remove unused vendor github.com/stretchr/testify/require (#3273)Antoine GIRARD2017-12-317-1721/+0
|
* Update code.gitea.io/git (#3137)Ethan Koenig2017-12-1125-220/+2897
|
* Various wiki bug fixes (#2996)Ethan Koenig2017-11-282-21/+41
| | | | | | * Update macaron * Various wiki bug fixes
* Add dingtalk webhook (#2777)Lunny Xiao2017-11-213-0/+399
| | | | | | | | | | | | * add dingtalk webhook type * add vendor * some fixes * fix name check * fix name check & improvment
* Update go-ini dependency and remove semicolon hack in translations (#2913)Lauris BH2017-11-153-15/+35
|
* Code/repo search (#2582)Ethan Koenig2017-10-273-0/+274
| | | Indexed search of repository contents (for default branch only)
* Add support for extra sendmail arguments (#2731)Jonas Bröms2017-10-255-0/+304
| | | | | | | | | | | | * Add support for extra sendmail arguments * Sendmail args to exec.command should be a list * Add go-shellquote package * Use go-shellquote lib for parsing Sendmail args * Only parse if sendmail is configured
* Update vendor github.com/lib/pq (#2752)Antoine GIRARD2017-10-2116-365/+892
|
* Use AfterLoad instead of AfterSet on Structs (#2628)Lunny Xiao2017-10-0112-38/+177
| | | | | | | | * use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
* Add init support of orgmode document type on file view and readme (#2525)Lunny Xiao2017-09-216-0/+960
| | | | | | | | | | | | | | * add init support of orgmode document type on file view and readme * fix imports * fix imports and readmeExist * fix imports order * fix format * remove unnecessary convert
* Improve issue search (#2387)Ethan Koenig2017-09-1694-1205/+3921
| | | | | | | | | | * Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
* fix updated update on public key (#2514)Lunny Xiao2017-09-151-11/+13
| | | | | | | | | | | | * fix updated update on public key * update vendor.json Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * fix root path Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-1329-490/+427
| | | | | | | | | | | | * use created & updated instead BeforeInsert & BeforeUpdate * fix vendor checksum * only show generated SQL when development mode * remove extra update column updated_unix * remove trace config
* update latest xorm version to vendor (#2353)Lunny Xiao2017-08-2242-1392/+1726
|
* vendor: update sqlite to fix "database is locked" errors (#2116)Andrey Nering2017-07-0617-5886/+10603
| | | | | closes #2040 upstream commit: https://github.com/mattn/go-sqlite3/commit/acfa60124032040b9f5a9406f5a772ee16fe845e
* Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)Antoine GIRARD2017-06-1452-0/+17000
| | | | | | | | | | | | * Switch to keybase go-crypto (for some elliptic curve key) + test * Use assert.NoError and add a little more context to failing test description * Use assert.(No)Error everywhere 🌈 and assert.Error in place of .Nil/.NotNil
* Fix and test for delete user (#1713)Ethan Koenig2017-05-202-8/+4
| | | | | | | | * Fix and test for delete user * Run updates in batches * Unit test
* Show commit status icon in commits table (#1688)Lauris BH2017-05-0717-0/+3995
| | | | | | | | | | | | | | | | | | * Show commit status icon in commits table * Add comments * Fix icons * Few more places where commit table is displayed * Change integration test to use goquery for parsing html * Add integration tests for commit table and status icons * Fix status to return lates status correctly on all databases * Rewrote lates commit status selects
* Update xorm to latest version (#1651)Lauris BH2017-05-0217-135/+245
| | | | | | * Update xorm to latest version * Update xorm/builder
* Additional OAuth2 providers (#1010)Willem van Dreumel2017-05-0119-11/+3553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add google+ * sort signin oauth2 providers based on the name so order is always the same * update auth tip for google+ * add gitlab provider * add bitbucket provider (and some go fmt) * add twitter provider * add facebook provider * add dropbox provider * add openid connect provider incl. new format of tips section in "Add New Source" * lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow) * imports according to goimport and code style * make it possible to set custom urls to gitlab and github provider (only these could have a different host) * split up oauth2 into multiple files * small typo in comment * fix indention * fix indentation * fix new line before external import * fix layout of signin part * update "broken" dependency
* remove unused vendor packages (#1620)Lunny Xiao2017-04-2717-1540/+0
|
* Check if missing/modified/unused deps in vendor and fix errors (#1468)Antoine GIRARD2017-04-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Check if missing deps in vendor This will catch import from other repos. (maybe by auto-import) * Remove github.com/smartystreets unused deps * Remove github.com/boltdb/bolt unused dep * Fetch github.com/go-xorm/core + sync gopkg.in/ldap.v2/ldap.go * Auto-install govendor + reinstall github.com/boltdb/bolt needed by vendor/github.com/blevesearch/bleve/index/store/boltdb * Update go-xorm/xorm to a5cb21 in vendor.json * Use a custom repo for implementing change to bolt dep. * Switching bolt to github.com/go-gitea/bolt * Switching bolt to github.com/go-gitea/bolt (fork version) * change the drone sign