Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | API: remove `public` param for projects | Toon Claes | 2017-02-07 | 1 | -15/+4 |
| | | | | | | | | | The create and edit actions for projects had these parameters: - `public` (optional) - if true same as setting `visibility_level = 20` - `visibility_level` (optional) Remove the `public` parameter to avoid contradiction. | ||||
* | Unify projects search by removing /projects/:search endpoint | Oswaldo Ferreira | 2017-01-30 | 1 | -16/+0 |
| | |||||
* | Merge branch 'sandish/gitlab-ce-update_ret_val' into 'master' | Robert Speicher | 2017-01-16 | 1 | -4/+4 |
|\ | | | | | | | | | Ensure updating project settings shows a flash message on success See merge request !8579 | ||||
| * | Add a spec and actually display the flash notice | Rémy Coutable | 2017-01-16 | 1 | -4/+4 |
| | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | | Merge branch 'dot-in-project-queries' into 'master' | Rémy Coutable | 2017-01-16 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | Add a constraint on the query parameter to allow querying for projects with dots in their name. See merge request !8210 | ||||
| * | Add a constraint on the query parameter to allow querying for projects with ↵ | Bruno Melli | 2017-01-14 | 1 | -1/+1 |
| | | | | | | | | dots in their name. | ||||
* | | Add more storage statistics | Markus Koller | 2016-12-21 | 1 | -37/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds counters for build artifacts and LFS objects, and moves the preexisting repository_size and commit_count from the projects table into a new project_statistics table. The counters are displayed in the administration area for projects and groups, and also available through the API for admins (on */all) and normal users (on */owned) The statistics are updated through ProjectCacheWorker, which can now do more granular updates with the new :statistics argument. | ||||
* | | Consistently use current_user in API entities | Markus Koller | 2016-12-21 | 1 | -6/+6 |
|/ | |||||
* | Allow public access to some Project API endpoints4269-public-api | Rémy Coutable | 2016-12-01 | 1 | -10/+18 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Grapify the projects APIgrapify-projects-api | Robert Schilling | 2016-11-28 | 1 | -313/+265 |
| | |||||
* | API: Introduce `#find_project!` which also check access permission | Rémy Coutable | 2016-11-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | API: Add endpoint to delete a group shareapi-delete-group-share | Robert Schilling | 2016-11-23 | 1 | -0/+13 |
| | |||||
* | Add setting to only allow merge requests to be merged when all discussions ↵ | Rodolfo Santos | 2016-11-04 | 1 | -3/+6 |
| | | | | | | are resolved Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Merge branch 'api-fix-project-group-sharing' into 'security' | Rémy Coutable | 2016-10-11 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | API: Share projects only with groups current_user can access Aims to address the issues here: https://gitlab.com/gitlab-org/gitlab-ce/issues/23004 * Projects can be shared with non-existent groups * Projects can be shared with groups that the current user does not have access to read Concerns: The new implementation of the API endpoint allows projects to be shared with a larger range of groups than can be done via the web UI. The form for sharing a project with a group uses the following API endpoint to index the available groups: https://gitlab.com/gitlab-org/gitlab-ce/blob/494269fc92f61098ee6bd635a0426129ce2c5456/lib/api/groups.rb#L17. The groups indexed in the web form will only be those groups that the user is currently a member of. The new implementation allows projects to be shared with any group that the authenticated user has access to view. This widens the range of groups to those that are public and internal. See merge request !2005 Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Tidy up project list actionsben.boeckel/gitlab-ce-api-visible-projects | Sean McGivern | 2016-10-05 | 1 | -28/+24 |
| | |||||
* | api: add /projects/visible API endpoint | Ben Boeckel | 2016-10-04 | 1 | -0/+15 |
| | | | | FIxes #19361, #3119. | ||||
* | Expose project share expiration_date field on APIissue_22382 | Felipe Artur | 2016-09-28 | 1 | -5/+6 |
| | |||||
* | API: Return 404 when trying to fork to unaccessible namespace | Rémy Coutable | 2016-09-22 | 1 | -1/+3 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Allow to set request_access_enabled for groups and projects using API | Felipe Artur | 2016-09-19 | 1 | -42/+47 |
| | |||||
* | Use Search::GlobalService.new in the `GET /projects/search/:query` endpointrc-api-use-search-globalservice-in-projects-search-api | Rémy Coutable | 2016-09-12 | 1 | -12/+3 |
| | | | | | | | | | | Also streamline the sorting part while we're at it. That being done, there's currently a duplication between `GET /projects/search/:query` and `GET /projects?search=:search` so we might want to keep only the latter for 9.0... Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Search should compare only the lowercase versions of the project names | Razzeee | 2016-09-09 | 1 | -1/+1 |
| | |||||
* | Higher code quality for fork to namespace API | Olaf Tomalka | 2016-09-06 | 1 | -1/+0 |
| | |||||
* | Improved code quality on API fork namespace feature | Olaf Tomalka | 2016-09-06 | 1 | -3/+6 |
| | |||||
* | Added fork API paremeter for a specific namespace | Olaf Tomalka | 2016-09-06 | 1 | -2/+14 |
| | | | | | | | | | Browser interface allows forking to an owned grup. This commit brings API up to speed by providing optional namespace parameter to fork API. This allows forking to users and groups under forker's control using their id or unique name. Fixes #21591 | ||||
* | Project tools visibility level | Felipe Artur | 2016-09-01 | 1 | -1/+1 |
| | |||||
* | Renamed `enable_lfs` to `lfs_enabled` for the Project field, and related fixes.project-specific-lfs | Patricio Cano | 2016-08-30 | 1 | -5/+7 |
| | |||||
* | Added CHANGELOG, documentation, and API functionality | Patricio Cano | 2016-08-30 | 1 | -2/+6 |
| | |||||
* | expose 'only_allow_merge_if_build_succeeds' project setting in the API | Marc Dequènes (Duck) | 2016-08-24 | 1 | -3/+6 |
| | |||||
* | Clean up project destructionclean-up-project-destroy | Stan Hu | 2016-08-10 | 1 | -1/+1 |
| | | | | | | Instead of redirecting from the project service to the service and back to the model, put all destruction code in the service. Also removes a possible source of failure where run_after_commit may not destroy the project. | ||||
* | Replace parse_boolean with to_boolean | Robert Schilling | 2016-07-20 | 1 | -1/+1 |
| | |||||
* | removes basicprojectwithaccess and replaces it with basicprojectdetails | tiagonbotelho | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | changes the usage of simpleprojectdetails to already implemented ↵ | tiagonbotelho | 2016-07-12 | 1 | -11/+0 |
| | | | | basicprojectsdetails and changes the url to a more reader friendly format | ||||
* | adds basic functionality to the new endpoint of the api | tiagonbotelho | 2016-07-12 | 1 | -0/+11 |
| | |||||
* | changes string to symbol in param | tiagonbotelho | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | adds test to check json fields on simple request and changes the url request ↵ | tiagonbotelho | 2016-07-12 | 1 | -1/+1 |
| | | | | format | ||||
* | changes the usage of simpleprojectdetails to already implemented ↵ | tiagonbotelho | 2016-07-12 | 1 | -12/+5 |
| | | | | basicprojectsdetails and changes the url to a more reader friendly format | ||||
* | adds basic functionality to the new endpoint of the api | tiagonbotelho | 2016-07-12 | 1 | -2/+11 |
| | |||||
* | implements filter_params | tiagonbotelho | 2016-07-12 | 1 | -0/+2 |
| | |||||
* | Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-lines | Grzegorz Bizon | 2016-07-01 | 1 | -2/+0 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into docker-registry | Kamil Trzcinski | 2016-05-13 | 1 | -1/+1 |
|\ | | | | | | | | | # Conflicts: # config/initializers/1_settings.rb | ||||
| * | Restrict starred projects to viewable ones | Sean McGivern | 2016-05-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `User#starred_projects` doesn't perform any visibility checks. This has a couple of problems: 1. It assumes a user can always view all of their starred projects in perpetuity (project not changed to private, access revoked, etc.). 2. It assumes that we'll only ever allow a user to star a project they can view. This is currently the case, but bugs happen. Add `User#viewable_starred_projects` to filter the starred projects by those the user either has explicit access to, or are public or internal. Then use that in all places where we list the user's starred projects. | ||||
* | | Rename `images` to `container_registry` | Kamil Trzcinski | 2016-05-09 | 1 | -5/+5 |
| | | |||||
* | | Make images_enabled configurable | Kamil Trzcinski | 2016-04-29 | 1 | -0/+5 |
|/ | |||||
* | Styling changes to code and docs | Robert Schilling | 2016-04-13 | 1 | -1/+3 |
| | |||||
* | Make staring API more restful | Robert Schilling | 2016-04-13 | 1 | -6/+5 |
| | |||||
* | API: Star and unstar a project | Robert Schilling | 2016-04-13 | 1 | -0/+33 |
| | |||||
* | PUT becomes POST on archiving endpoints | Zeger-Jan van de Weg | 2016-03-24 | 1 | -4/+4 |
| | | | | | Also the specs have a minor improvement. Mainly the access right spec. Changes are reflected in the docs | ||||
* | Add endpoints for archiving and unarchiving | Zeger-Jan van de Weg | 2016-03-23 | 1 | -0/+28 |
| | |||||
* | Bring share project with group API from EEshare-project-ce | Dmitriy Zaporozhets | 2016-03-13 | 1 | -0/+27 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Rename allow_guest_to_access_builds to public_builds | Kamil Trzcinski | 2016-02-04 | 1 | -6/+6 |
| |