summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/sdk/gitea
Commit message (Collapse)AuthorAgeFilesLines
* Update swagger documentation (#2899)Ethan Koenig2017-11-1324-139/+144
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Improve swagger doc (#2274)Antoine GIRARD2017-08-2110-41/+163
| | | | | | | | | | | | | | | | | | | | * Add swagger comment for adminCreateOrg * Add swagger comment for admin route * add hook swagger doc * Add tags * Add auth * Fix name of responses * Edit name method * Update vendor * make generate-swagger
* Added Parent property to the repo API (#1687)guyzmo2017-05-121-0/+1
| | | Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
* Exposes in API the Repo entity's Size and IsBare property (#1668)guyzmo2017-05-052-0/+44
| | | | | | | | | | * Exposes in API the Repo entity's IsBare property as IsEmpty Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net> * Exposes in API the Repo entity's Size property Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
* Generate swagger json (#1402)Antoine GIRARD2017-05-028-10/+110
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* Add create_at and updated_at in PR json (#1616)Jonas Östanbäck2017-04-272-1/+4
| | | | * Move new fields to object creation (use reference) * Vendor: Update SDK
* Migrate WatchInfo struct to api (#1492)Antoine GIRARD2017-04-163-1/+137
| | | | | | | | * Remove WatchInfo and link to api struct * Add vendor temporary update * Return to gitea vendor source
* GPG commit validation (#1150)Antoine GIRARD2017-03-222-6/+21
| | | | | | | | | | | | * GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
* Add basic integration test infrastructure (and new endpoint ↵Mura Li2017-03-061-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `/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
* Update vendor of code.gitea.io/sdk/giteaAndrey Nering2017-02-256-1/+98
|
* 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>
* Release API endpointsEthan Koenig2017-01-022-1/+101
|
* API endpoints for forks (#509)Ethan Koenig2016-12-311-0/+38
|
* Update sdkEthan Koenig2016-12-252-3/+79
|
* Update gitea/sdk vendor (#406)Martin Hebnes Pedersen2016-12-162-0/+18
|
* Update gitea/sdk vendorKim "BKC" Carlbäcker2016-11-2925-30/+298
|
* Fix import path of go-sdk (#141)Sandro Santilli2016-11-1125-0/+1382
From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea