summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'api-star-project' into 'master' Rémy Coutable2016-04-131-0/+4
|\ | | | | | | | | | | | | | | | | | | API: Star and unstar a project Add two new endpoints `POST /projects/:id/star` and `POST /projects/:id/unstar` to star and unstar a project. * Closes #12739 See merge request !3578
| * Styling changes to code and docsRobert Schilling2016-04-131-1/+1
| |
| * API: Star and unstar a projectRobert Schilling2016-04-131-0/+4
| |
* | API: Return 404 if user does not have access to groupRobert Schilling2016-04-131-2/+1
|/
* minor improvements and fixed specsZeger-Jan van de Weg2016-03-191-3/+1
|
* Fix add_pagination_headers to keep request parameters in Link headerMichi3022016-02-021-5/+15
|
* Fix CI runner version not being properly updated when asking for a buildfix-ci-runners-version-updateKamil Trzcinski2016-01-271-2/+3
| | | | | | Due to broken implementation of attribute_for_keys the runner information was not updated correctly. This MR adds test to check that such scenario will never happen again.
* Change 'public' flag to more robust 'visibility' query.Josh Frye2016-01-191-2/+2
|
* Add public params to GET /projects api. Closes #3788Josh Frye2016-01-191-0/+4
|
* Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Rémy Coutable2016-01-141-1/+3
|\ | | | | | | add-pagination-headers-to-api
| * Refactor build artifacts upload API endpointGrzegorz Bizon2016-01-141-1/+3
| |
* | Add pagination headers to already paginated API resourcesadd-pagination-headers-to-apiRémy Coutable2016-01-141-11/+19
|/
* Migrate CI::Project to ProjectKamil Trzcinski2015-12-111-6/+1
|
* Use normal file upload mechanism to upload artifactsKamil Trzcinski2015-11-101-6/+10
|
* Move tmp artifacts to shared/artifacts/tmp/. Check for GitLab-Workhorse nowKamil Trzcinski2015-11-101-1/+1
|
* Implement Build ArtifactsKamil Trzcinski2015-11-101-0/+44
| | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* Fix API::APIHelpers -> API::Helpers;Jason Lee2015-10-231-1/+1
| | | | Rails Autoload find file to require is use , APIHelpers -> api_helpers.rb, not helpers.rb;
* Fix rubocop warnings in libGuilherme Garnier2015-10-031-3/+2
|
* fix specs. Stage 3Valery Sizov2015-09-151-0/+38
|
* fix specs. Stage 2Valery Sizov2015-09-141-3/+2
|
* Drone CI serviceKirilll Zaitsev2015-09-021-0/+26
|
* Allow to configure gitlab_shell_secret locationJakub Jirutka2015-05-161-1/+1
|
* Query issues, merge requests and milestones with their IID through APIjubianchi2015-05-021-0/+4
|
* Enable more rubocop style checksDmitriy Zaporozhets2015-03-241-2/+2
|
* Merge branch 'master' into fix-restricted-visibilityVinnie Okada2015-03-141-1/+4
|\ | | | | | | | | Conflicts: db/schema.rb
| * use constant-time string compare for internal api authenticationJörg Thalheim2015-03-061-1/+4
| | | | | | | | | | | | | | Ruby str_equal uses memcmp internally to compare String. Memcmp is vunerable to timing attacks because it returns early on mismatch (on most x32 platforms memcmp uses a bytewise comparision). Devise.secure_compare implements a constant time comparision instead.
* | Allow admins to override restricted visibilityVinnie Okada2015-03-081-1/+1
|/ | | | | Allow admins to use restricted visibility levels when creating or updating projects.
* Improve broadcast message APIDmitriy Zaporozhets2015-02-181-2/+2
|
* Edit group members via APIVinnie Okada2015-02-111-0/+5
| | | | | Add an API endpoint to update the access level of an existing group member.
* Refactor and improve sorting objects in API for projects, issues and merge ↵Dmitriy Zaporozhets2015-02-051-0/+16
| | | | requests
* Merge pull request #8723 from jubianchi/api-groups-pathDmitriy Zaporozhets2015-02-031-2/+23
|\ | | | | Access groups using path
| * Acces groups with their path in APIjubianchi2015-02-031-2/+23
| |
* | Rubocop enabled for: Use spaces inside hash literal bracesDmitriy Zaporozhets2015-02-021-1/+1
|/
* Update branch api not found messages to 'Branch not found'.Marin Jankovski2014-12-301-1/+1
|
* Doorkeeper integrationValery Sizov2014-12-241-1/+1
|
* add gitlab-shell identificationValery Sizov2014-10-151-0/+8
|
* Add parenthesis to function def with arguments.Ciro Santilli2014-10-031-1/+1
|
* Improve error reporting on users APIjubianchi2014-09-161-1/+11
| | | | | | | | * users (#6878, #3526, #4209): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username * MRs (#5335): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks * issues * labels * projects
* Improve labels validation and expose error messagesjubianchi2014-08-201-2/+6
|
* Do label validation for issues/merge requests APIRobert Schilling2014-08-141-0/+15
|
* Add an option to GET /projects in the GitLab API to exclude archived projectsSasha Joseph2014-07-281-0/+4
|
* Make app works with strong paramsDmitriy Zaporozhets2014-06-261-2/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove set of thread variablesDmitriy Zaporozhets2014-06-101-10/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Check user access status in API for current_userJacob Vosmaer2014-05-151-0/+5
|
* Create branch via APIDmitriy Zaporozhets2014-04-011-0/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #5469 from NARKOZ/api-pagination-headersDmitriy Zaporozhets2014-03-311-2/+18
|\ | | | | add 'Link' header for API response
| * add 'Link' header for API responseNihad Abbasov2013-10-291-2/+18
| |
* | Change project lookup order for apiDmitriy Zaporozhets2014-03-141-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove deprecated findersskv2014-01-191-2/+2
| |
* | Make sure private_token for API is a stringDmitriy Zaporozhets2013-11-081-1/+6
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>