Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-11Merge branch 'api-fix-project-group-sharing' into 'security'Rémy Coutable
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>
2016-10-05Tidy up project list actionsSean McGivern
2016-10-04api: add /projects/visible API endpointBen Boeckel
FIxes #19361, #3119.
2016-09-28Expose project share expiration_date field on APIFelipe Artur
2016-09-22API: Return 404 when trying to fork to unaccessible namespaceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-19Allow to set request_access_enabled for groups and projects using APIFelipe Artur
2016-09-12Use Search::GlobalService.new in the `GET /projects/search/:query` endpointRémy Coutable
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>
2016-09-09Search should compare only the lowercase versions of the project namesRazzeee
2016-09-07Higher code quality for fork to namespace APIOlaf Tomalka
2016-09-06Improved code quality on API fork namespace featureOlaf Tomalka
2016-09-06Added fork API paremeter for a specific namespaceOlaf Tomalka
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
2016-09-01Project tools visibility levelFelipe Artur
2016-08-31Renamed `enable_lfs` to `lfs_enabled` for the Project field, and related fixes.Patricio Cano
2016-08-31Added CHANGELOG, documentation, and API functionalityPatricio Cano
2016-08-24expose 'only_allow_merge_if_build_succeeds' project setting in the APIMarc Dequènes (Duck)
2016-08-10Clean up project destructionStan Hu
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.
2016-07-20Replace parse_boolean with to_booleanRobert Schilling
2016-07-12removes basicprojectwithaccess and replaces it with basicprojectdetailstiagonbotelho
2016-07-12changes the usage of simpleprojectdetails to already implemented ↵tiagonbotelho
basicprojectsdetails and changes the url to a more reader friendly format
2016-07-12adds basic functionality to the new endpoint of the apitiagonbotelho
2016-07-12changes string to symbol in paramtiagonbotelho
2016-07-12adds test to check json fields on simple request and changes the url request ↵tiagonbotelho
format
2016-07-12changes the usage of simpleprojectdetails to already implemented ↵tiagonbotelho
basicprojectsdetails and changes the url to a more reader friendly format
2016-07-12adds basic functionality to the new endpoint of the apitiagonbotelho
2016-07-12implements filter_paramstiagonbotelho
2016-07-01Enable Style/EmptyLines cop, remove redundant onesGrzegorz Bizon
2016-05-14Merge remote-tracking branch 'origin/master' into docker-registryKamil Trzcinski
# Conflicts: # config/initializers/1_settings.rb
2016-05-10Restrict starred projects to viewable onesSean McGivern
`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.
2016-05-09Rename `images` to `container_registry`Kamil Trzcinski
2016-04-29Make images_enabled configurableKamil Trzcinski
2016-04-13Styling changes to code and docsRobert Schilling
2016-04-13Make staring API more restfulRobert Schilling
2016-04-13API: Star and unstar a projectRobert Schilling
2016-03-24PUT becomes POST on archiving endpointsZeger-Jan van de Weg
Also the specs have a minor improvement. Mainly the access right spec. Changes are reflected in the docs
2016-03-24Add endpoints for archiving and unarchivingZeger-Jan van de Weg
2016-03-13Bring share project with group API from EEDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-04Rename allow_guest_to_access_builds to public_buildsKamil Trzcinski
2016-02-04Expose allow_guest_to_access_builds in GitLab APIKamil Trzcinski
2016-01-29First pass at deleting projects in the background.Josh Frye
2016-01-13Merge branch 'ci/api-projects' into 'master' Douwe Maan
Extend projects API with CI data Reference #4264 See merge request !2303
2016-01-11Modify CI features in projects APITomasz Maczukin
2016-01-07Add API project upload endpointDouwe Maan
2016-01-07Update ./doc/apiTomasz Maczukin
2016-01-05Add ci fields in project create/update feature APITomasz Maczukin
2016-01-04Fix API project lookups when querying with a namespace with dotsStan Hu
Attempting to use the /projects/:id API by specifying :id in "namespace/project" format would always result in a 404 if the namespace contained a dot. The reason? From http://guides.rubyonrails.org/routing.html#specifying-constraints: "By default the :id parameter doesn't accept dots - this is because the dot is used as a separator for formatted routes. If you need to use a dot within an :id add a constraint which overrides this - for example id: /[^\/]+/ allows anything except a slash." Closes https://github.com/gitlabhq/gitlabhq/issues/9573
2015-12-22Add project permissions to all project API endpointsStan Hu
This standardizes all the project API formats. Also needed to support Huboard.
2015-12-16Api support for requesting starred projects for userZeger-Jan van de Weg
Fixes #4112
2015-12-11Migrate CI::Project to ProjectKamil Trzcinski
2015-12-06Fix API setting of 'public' attribute to false will make a project privateStan Hu
Closes #3864
2015-11-13Expose CI enable option in project featuresKamil Trzcinski
- Enable CI by default for all new projects