Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change response for /ci/api/v1/builds/register.json from 404 to 204 | Tomasz Maczukin | 2016-09-13 | 1 | -0/+4 |
| | |||||
* | use a nil subject when we want to check global abilities | http://jneen.net/ | 2016-08-30 | 1 | -1/+1 |
| | |||||
* | remove Ability.abilities | http://jneen.net/ | 2016-08-30 | 1 | -5/+1 |
| | |||||
* | remove six, and use a Set instead | http://jneen.net/ | 2016-08-30 | 1 | -5/+1 |
| | |||||
* | Add Sentry logging to API callsadd-sentry-logging-to-api | Stan Hu | 2016-08-24 | 1 | -0/+32 |
| | | | | Closes #21043 | ||||
* | Restore back-compatibility for current members API endpoints | Rémy Coutable | 2016-08-10 | 1 | -1/+0 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | New AccessRequests API endpoints for Group & Project | Rémy Coutable | 2016-08-10 | 1 | -19/+6 |
| | | | | | | | | Also, mutualize AccessRequests and Members endpoints for Group & Project. New API documentation for the AccessRequests endpoints. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Replace parse_boolean with to_boolean | Robert Schilling | 2016-07-20 | 1 | -5/+1 |
| | |||||
* | API: Expose 'developers_can_push' for branches | Robert Schilling | 2016-07-19 | 1 | -0/+7 |
| | |||||
* | Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" | Rémy Coutable | 2016-07-18 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 530f5158e297f3cde27f3566cfe13bad74ba3b50. See !4892. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Revert "Merge branch '18193-developers-can-merge' into 'master' " | Robert Speicher | 2016-07-13 | 1 | -1/+1 |
| | | | | | This reverts commit 9ca633eb4c62231e4ddff5466c723cf8e2bdb25d, reversing changes made to fb229bbf7970ba908962b837b270adf56f14098f. | ||||
* | Refactor `Gitlab::GitAccess` | Timothy Andrew | 2016-07-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't use case statements for dispatch anymore. This leads to a lot of duplication, and makes the logic harder to follow. 2. Remove duplicated logic. - For example, the `can_push_to_branch?` exists, but we also have a different way of checking the same condition within `change_access_check`. - This kind of duplication is removed, and the `can_push_to_branch?` method is used in both places. 3. Move checks returning true/false to `UserAccess`. - All public methods in `GitAccess` now return an instance of `GitAccessStatus`. Previously, some methods would return true/false as well, which was confusing. - It makes sense for these kinds of checks to be at the level of a user, so the `UserAccess` class was repurposed for this. The prior `UserAccess.allowed?` classmethod is converted into an instance method. - All external uses of these checks have been migrated to use the `UserAccess` class 4. Move the "change_access_check" into a separate class. - Create the `GitAccess::ChangeAccessCheck` class to run these checks, which are quite substantial. - `ChangeAccessCheck` returns an instance of `GitAccessStatus` as well. 5. Break out the boolean logic in `ChangeAccessCheck` into `if/else` chains - this seems more readable. 6. I can understand that this might look like overkill for !4892, but I think this is a good opportunity to clean it up. - http://martinfowler.com/bliki/OpportunisticRefactoring.html | ||||
* | Implement @DouweM's feedback. | Timothy Andrew | 2016-06-16 | 1 | -11/+3 |
| | | | | | | | | | | | | | - Extract a duplicated `redirect_to` - Fix a typo: "token", not "certificate" - Have the "Expires at" datepicker be attached to a text field, not inline - Have both private tokens and personal access tokens verified in a single "authenticate_from_private_token" method, both in the application and API. Move relevant logic to `User#find_by_personal_access_token` - Remove unnecessary constants relating to API auth. We don't need a separate constant for personal access tokens since the param is the same as for private tokens. | ||||
* | Merge remote-tracking branch 'origin/master' into 2979-personal-access-tokens | Timothy Andrew | 2016-06-14 | 1 | -0/+18 |
|\ | |||||
| * | Fix Error 500 when using closes_issues API with an external issue tracker | Stan Hu | 2016-06-11 | 1 | -0/+8 |
| | | | | | | | | Closes #18484 | ||||
| * | Satisfy Rubocopworkhorse-helpers | Douwe Maan | 2016-06-10 | 1 | -2/+2 |
| | | |||||
| * | Add workhorse controller and API helpers | Douwe Maan | 2016-06-06 | 1 | -0/+10 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into 2979-personal-access-tokens | Timothy Andrew | 2016-06-03 | 1 | -2/+13 |
|\ \ | |/ | |||||
| * | Enable Style/DefWithParentheses cop and fix single offense | Robert Speicher | 2016-05-23 | 1 | -1/+1 |
| | | |||||
| * | Codestyle: make sure we have space around operators | Gabriel Mazetto | 2016-05-13 | 1 | -1/+1 |
| | | |||||
| * | Add API endpoints for un/subscribing from/to a label | Ahmad Sherif | 2016-05-12 | 1 | -0/+11 |
| | | | | | | | | Closes #15638 | ||||
* | | Reuse the private token param and header for personal access tokens. | Timothy Andrew | 2016-05-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3749#note_11626427 - Personal access tokens are still a separate entity as far as the codebase is concerned - they just happen to use the same entry point as private tokens. - Update tests and documentation to reflect this change | ||||
* | | Merge remote-tracking branch 'origin/master' into 2979-personal-access-tokens | Timothy Andrew | 2016-05-11 | 1 | -0/+16 |
|\ \ | |/ | |||||
| * | API support for the 'since' and 'until' operators on commit requests | Paco Guzman | 2016-04-29 | 1 | -0/+16 |
| | | | | | | - Parameter validation as ISO8601 format | ||||
* | | Combine `API::Helpers::Core` and `API::Helpers::Authentication` back into ↵ | Timothy Andrew | 2016-04-28 | 1 | -0/+397 |
| | | | | | | | | | | | | | | `API::Helpers` - Makes the MR easier to read; this can go in a separate MR - This is a (sort of) revert of 99bea01 | ||||
* | | Refactor `API::Helpers` into `API::Helpers::Core` and ↵ | Timothy Andrew | 2016-04-28 | 1 | -385/+0 |
|/ | | | | `API::Helpers::Authentication` | ||||
* | Merge branch 'api-star-project' into 'master' | Rémy Coutable | 2016-04-13 | 1 | -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 docs | Robert Schilling | 2016-04-13 | 1 | -1/+1 |
| | | |||||
| * | API: Star and unstar a project | Robert Schilling | 2016-04-13 | 1 | -0/+4 |
| | | |||||
* | | API: Return 404 if user does not have access to group | Robert Schilling | 2016-04-13 | 1 | -2/+1 |
|/ | |||||
* | minor improvements and fixed specs | Zeger-Jan van de Weg | 2016-03-19 | 1 | -3/+1 |
| | |||||
* | Fix add_pagination_headers to keep request parameters in Link header | Michi302 | 2016-02-02 | 1 | -5/+15 |
| | |||||
* | Fix CI runner version not being properly updated when asking for a buildfix-ci-runners-version-update | Kamil Trzcinski | 2016-01-27 | 1 | -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 Frye | 2016-01-19 | 1 | -2/+2 |
| | |||||
* | Add public params to GET /projects api. Closes #3788 | Josh Frye | 2016-01-19 | 1 | -0/+4 |
| | |||||
* | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵ | Rémy Coutable | 2016-01-14 | 1 | -1/+3 |
|\ | | | | | | | add-pagination-headers-to-api | ||||
| * | Refactor build artifacts upload API endpoint | Grzegorz Bizon | 2016-01-14 | 1 | -1/+3 |
| | | |||||
* | | Add pagination headers to already paginated API resourcesadd-pagination-headers-to-api | Rémy Coutable | 2016-01-14 | 1 | -11/+19 |
|/ | |||||
* | Migrate CI::Project to Project | Kamil Trzcinski | 2015-12-11 | 1 | -6/+1 |
| | |||||
* | Use normal file upload mechanism to upload artifacts | Kamil Trzcinski | 2015-11-10 | 1 | -6/+10 |
| | |||||
* | Move tmp artifacts to shared/artifacts/tmp/. Check for GitLab-Workhorse now | Kamil Trzcinski | 2015-11-10 | 1 | -1/+1 |
| | |||||
* | Implement Build Artifacts | Kamil Trzcinski | 2015-11-10 | 1 | -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 Lee | 2015-10-23 | 1 | -1/+1 |
| | | | | Rails Autoload find file to require is use , APIHelpers -> api_helpers.rb, not helpers.rb; | ||||
* | Fix rubocop warnings in lib | Guilherme Garnier | 2015-10-03 | 1 | -3/+2 |
| | |||||
* | fix specs. Stage 3 | Valery Sizov | 2015-09-15 | 1 | -0/+38 |
| | |||||
* | fix specs. Stage 2 | Valery Sizov | 2015-09-14 | 1 | -3/+2 |
| | |||||
* | Drone CI service | Kirilll Zaitsev | 2015-09-02 | 1 | -0/+26 |
| | |||||
* | Allow to configure gitlab_shell_secret location | Jakub Jirutka | 2015-05-16 | 1 | -1/+1 |
| | |||||
* | Query issues, merge requests and milestones with their IID through API | jubianchi | 2015-05-02 | 1 | -0/+4 |
| | |||||
* | Enable more rubocop style checks | Dmitriy Zaporozhets | 2015-03-24 | 1 | -2/+2 |
| |