summaryrefslogtreecommitdiffstats
path: root/vendor
Commit message (Collapse)AuthorAgeFilesLines
* update git which fixes #1133 (#1614)Lunny Xiao2017-04-282-4/+15
|
* remove unused vendor packages (#1620)Lunny Xiao2017-04-2718-1558/+0
|
* Add create_at and updated_at in PR json (#1616)Jonas Östanbäck2017-04-273-4/+7
| | | | * Move new fields to object creation (use reference) * Vendor: Update SDK
* Check if missing/modified/unused deps in vendor and fix errors (#1468)Antoine GIRARD2017-04-243-36/+13
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Migrate WatchInfo struct to api (#1492)Antoine GIRARD2017-04-164-4/+140
| | | | | | | | * Remove WatchInfo and link to api struct * Add vendor temporary update * Return to gitea vendor source
* Fix race when running commands with timeout (#1465)Mura Li2017-04-074-25/+73
| | | Update vendored module code.gitea.io/git
* fix migrate failed and org dashboard failed on MSSQL database (#1448)Lunny Xiao2017-04-0635-1624/+1972
|
* Correct broken unaligned load/store in armv5 (#1355)Damien Gaignon2017-04-0519-74/+320
| | | Update vendor github.com/boltdb/bolt to take care of the issue #1354.
* Fix races in the log module by using syncmap (#1421)Mura Li2017-04-034-0/+427
|
* GPG commit validation (#1150)Antoine GIRARD2017-03-225-12/+53
| | | | | | | | | | | | * GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
* Login via OpenID-2.0 (#618)Sandro Santilli2017-03-1714-0/+964
|
* Implement GPG api (#710)Antoine GIRARD2017-03-1629-0/+7403
| | | | | | | | | | * Implement GPG API * Better handle error * Apply review recommendation + simplify database operations * Remove useless comments
* fix build failed on aarch64 (#1132)Lunny Xiao2017-03-074-6/+24
|
* Add basic integration test infrastructure (and new endpoint ↵Mura Li2017-03-062-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `/api/v1/version` for testing it) (#741) * Implement '/api/v1/version' * Cleanup and various fixes * Enhance run.sh * Add install_test.go * Add parameter utils.Config for testing handlers * Re-organize TestVersion.go * Rename functions * handling process cleanup properly * Fix missing function renaming * Cleanup the 'retry' logic * Cleanup * Remove unneeded logging code * Logging messages tweaking * Logging message tweaking * Fix logging messages * Use 'const' instead of hardwired numbers * We don't really need retries anymore * Move constant ServerHttpPort to install_test.go * Restore mistakenly removed constant * Add required comments to make the linter happy. * Fix comments and naming to address linter's complaints * Detect Gitea executale version automatically * Remove tests/run.sh, `go test` suffices. * Make `make build` a prerequisite of `make test` * Do not sleep before trying * Speedup the server pinging loop * Use defined const instead of hardwired numbers * Remove redundant error handling * Use a dedicated target for running code.gitea.io/tests * Do not make 'test' depend on 'build' target * Rectify the excluded package list * Remove redundant 'exit 1' * Change the API to allow passing test.T to test handlers * Make testing.T an embedded field * Use assert.Equal to comparing results * Add copyright info * Parametrized logging output * Use tmpdir instead * Eliminate redundant casting * Remove unneeded variable * Fix last commit * Add missing copyright info * Replace fmt.Fprintf with fmt.Fprint * rename the xtest to integration-test * Use Symlink instead of hard-link for cross-device linking * Turn debugging logs on * Follow the existing framework for APIs * Output logs only if test.v is true * Re-order import statements * Enhance the error message * Fix comment which breaks the linter's rule * Rename 'integration-test' to 'e2e-test' for saving keystrokes * Add comment to avoid possible confusion * Rename tests -> integration-tests Also change back the Makefile to use `make integration-test`. * Use tests/integration for now * tests/integration -> integrations Slightly flattened directory hierarchy is better. * Update Makefile accordingly * Fix a missing change in Makefile * govendor update code.gitea.io/sdk/gitea * Fix comment of struct fields * Fix conditional nonsense * Fix missing updates regarding version string changes * Make variable naming more consistent * Check http status code * Rectify error messages
* fix broken caused by boltdb in mips/mipsle (#1107)Lunny Xiao2017-03-032-0/+22
|
* Update vendor of code.gitea.io/sdk/giteaAndrey Nering2017-02-257-4/+101
|
* Fix URL handling in the whole markdown module, improve test coverage (#1027)Andrew Boyarshin2017-02-241-0/+1
| | | | | Amended with string to bool change in API SDK. Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
* Take back control of hooks (#1006)Lunny Xiao2017-02-233-7/+19
| | | | | | | | | | | | | | | | * git: delegate all server-side Git hooks (#1623) * create hooks directories * take control hooks back * fix lint * bug fixed and minor changes * fix imports style * fix migration scripts
* Oauth2 consumer (#679)Willem van Dreumel2017-02-2245-0/+6130
| | | | | | | | | | | | | | | | | | | | | | | | | * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
* update xorm for fixing bug on processor BeforeSet and AfterSet when Find a ↵Lunny Xiao2017-02-207-153/+363
| | | | map (#987)
* refactor notificationsForUser since xorm In support slice of customerize ↵Lunny Xiao2017-02-162-7/+23
| | | | type (#956)
* update xorm vendor and also fix #740 (#886)Lunny Xiao2017-02-103-16/+20
|
* Use assert in legacy unit tests (#867)Ethan Koenig2017-02-0864-6568/+0
|
* Add checkbox to search for all the branches by commit message (#813)Zsombor2017-02-056-17/+32
| | | and updating the vendor directory
* Fix master builds on mips* again (#815)Thomas Boerger2017-02-022-0/+16
| | | | | | | | | | | | * Use local folder for xgo * Always do crosscompile and testing to fail early * Added mips* values for boltdb In order to get master building again I have applied these 2 additional files to boltdb. This should get dropped when https://github.com/boltdb/bolt/issues/656 gets solved.
* Merge pull request #736 from andreynering/fix-windows-sshAndrey Nering2017-01-256-143/+0
|\ | | | | Fix SSH server on Windows when running as service
| * Remove original minwinsvc from vendorAndrey Nering2017-01-236-143/+0
| |
* | fix: delete attachment after remove comment.Bo-Yi Wu2017-01-254-6/+8
| |
* | Add ETag header to avatars (#721)Bwko2017-01-256-9/+49
| |
* | Search bar for issues/pulls (#530)Ethan Koenig2017-01-25177-0/+221450
|/
* update xorm for bugs fix (#728)Lunny Xiao2017-01-233-5/+5
|
* Update xorm and fix dump command (#692)Lunny Xiao2017-01-2313-716/+626
| | | | | | | | | | | | * update xorm and fix dump * catch database init error * still use dumpTables * fix dump bool type * update vendor.json
* Two factor authentication support (#630)Andrew2017-01-1627-0/+2674
| | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit for 2FA support Signed-off-by: Andrew <write@imaginarycode.com> * Add vendored files * Add missing depends * A few clean ups * Added improvements, proper encryption * Better encryption key * Simplify "key" generation * Make 2FA enrollment page more robust * Fix typo * Rename twofa/2FA to TwoFactor * UNIQUE INDEX -> UNIQUE
* bug fix releaseLunny Xiao2017-01-094-9/+9
|
* Make releases faster than before and resolved #490 (#588)Lunny Xiao2017-01-064-4/+110
| | | | | | * make releases faster than before and resolved #490 * fix comment
* Update xorm and dependencies vendor for feature to dump to other database (#565)Lunny Xiao2017-01-0352-2614/+3113
| | | | | | * update xorm and dependencies vendor for feature to dump to other database * fix golint
* Release API endpointsEthan Koenig2017-01-023-4/+104
|
* Unit tests for token and update modelsEthan Koenig2016-12-3136-0/+11598
|
* API endpoints for forks (#509)Ethan Koenig2016-12-312-3/+41
|
* Support http service graceful restart (#416)Lunny Xiao2016-12-3119-0/+1896
| | | | | | * support http service graceful restart * fix dependencies
* Implementation of Folder JumpingSl@ny2016-12-282-3/+22
|
* Git LFS support v2 (#122)Fabian Zaremba2016-12-2619-6/+1527
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Import github.com/git-lfs/lfs-test-server as lfs module base Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198 Removed: Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go .dockerignore .gitignore README.md * Remove config, add JWT support from github.com/mgit-at/lfs-test-server Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83 * Add LFS settings * Add LFS meta object model * Add LFS routes and initialization * Import github.com/dgrijalva/jwt-go into vendor/ * Adapt LFS module: handlers, routing, meta store * Move LFS routes to /user/repo/info/lfs/* * Add request header checks to LFS BatchHandler / PostHandler * Implement LFS basic authentication * Rework JWT secret generation / load * Implement LFS SSH token authentication with JWT Specification: https://github.com/github/git-lfs/tree/master/docs/api * Integrate LFS settings into install process * Remove LFS objects when repository is deleted Only removes objects from content store when deleted repo is the only referencing repository * Make LFS module stateless Fixes bug where LFS would not work after installation without restarting Gitea * Change 500 'Internal Server Error' to 400 'Bad Request' * Change sql query to xorm call * Remove unneeded type from LFS module * Change internal imports to code.gitea.io/gitea/ * Add Gitea authors copyright * Change basic auth realm to "gitea-lfs" * Add unique indexes to LFS model * Use xorm count function in LFS check on repository delete * Return io.ReadCloser from content store and close after usage * Add LFS info to runWeb() * Export LFS content store base path * LFS file download from UI * Work around git-lfs client issue with unauthenticated requests Returning a dummy Authorization header for unauthenticated requests lets git-lfs client skip asking for auth credentials See: https://github.com/github/git-lfs/issues/1088 * Fix unauthenticated UI downloads from public repositories * Authentication check order, Finish LFS file view logic * Ignore LFS hooks if installed for current OS user Fixes Gitea UI actions for repositories tracking LFS files. Checks for minimum needed git version by parsing the semantic version string. * Hide LFS metafile diff from commit view, marking as binary * Show LFS notice if file in commit view is tracked * Add notbefore/nbf JWT claim * Correct lint suggestions - comments for structs and functions - Add comments to LFS model - Function comment for GetRandomBytesAsBase64 - LFS server function comments and lint variable suggestion * Move secret generation code out of conditional Ensures no LFS code may run with an empty secret * Do not hand out JWT tokens if LFS server support is disabled
* Update sdkEthan Koenig2016-12-253-6/+82
|
* Enables mssql support (#383)btrepp2016-12-2439-0/+69228
| | | | | | | | | | | | | | | | | | | * Enables mssql support Port of dlobs work in gogs. Enables options in index.js Enables MSSQL as a database option in go. Sets ID to 0 on initial migration. Required for MSSQL insert statements. Signed-off-by: Beau Trepp <beautrepp@gmail.com> * Vendors in denisenkom/go-mssqldb Includes golang.org/x/crypto/md4 as this is required by go-msssqldb Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* update code.gitea.io/git (#450)Lunny Xiao2016-12-2227-234/+240
|
* Update gitea/sdk vendor (#406)Martin Hebnes Pedersen2016-12-163-3/+21
|
* Don't use custom PBKDF2 function (#382)Lunny Xiao2016-12-152-0/+83
|
* Integrate public as bindata optionally (#293)Thomas Boerger2016-11-30684-0/+305236
| | | | | | | | | | | | | | | | | | | | | | | | * Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
* Update gitea/sdk vendorKim "BKC" Carlbäcker2016-11-2926-33/+301
|
* Upgrade vendor "git" (#175)Thibault Meyer2016-11-1512-21/+295
|