summaryrefslogtreecommitdiff
path: root/spec/requests/api/projects_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove some duplicate tests and fix some typosqa-314-project-tests-cleanupsliaquat2018-08-161-100/+5
|
* Use Projects::UpdateService to archive projectsJames Ramsay2018-08-031-2/+2
| | | | | | System hooks were not being triggered when projects were archived or unarchived. Reuse the Projects::UpdateService to automatically trigger system hooks and increase code reuse.
* Add min_access_level filter to projects APIMarko, Peter2018-07-231-0/+30
| | | | Signed-off-by: Marko, Peter <peter.marko@siemens.com>
* Fix gitlab import project loadFrancisco Javier López2018-07-231-1/+1
|
* Fix archived parameter for projects APIMarko, Peter2018-07-161-0/+33
|
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-7/+7
|
* Fix #48537 - Update avatar only via the projects APIJamie Schembri2018-07-091-0/+14
|
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-3/+3
|
* Add transfer project endpoint to the Projects APIAram Visser2018-06-271-0/+32
|
* Make all uses of `fixture_file_upload` use relative pathsRobert Speicher2018-06-071-2/+2
|
* Expose readme url in Project APIImre Farkas2018-05-221-2/+3
|
* Fix project creation for user endpoint bugMark Fletcher2018-04-231-1/+2
| | | | | | In this endpoint the `jobs_enabled` parameter must be translated to `builds_enabled` before being passed to the `Projects::CreateService`.
* Feature/add language in repository to apiRoger Rüttimann2018-04-131-0/+48
|
* Resolve "Allow the configuration of a project's merge method via the API"Jan2018-04-041-1/+40
|
* Resolve "Forking with namespace doesn't work (API)"Jan2018-03-261-0/+15
|
* Fix order dependencies in some specsNick Thomas2018-02-161-2/+2
| | | | | | Our automatically-generated project paths are of the form project<N>. If a spec manually specifies a project path of that form, it may conflict with the automatically-generated paths in some circumstances.
* Use hashed storage in the specs40744-hashed-storage-specsNick Thomas2018-02-071-7/+4
|
* use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa2018-02-021-2/+0
| | | | including/extending it
* Resolve "Projects API: filter 'with_issues_enabled=true' returns projects ↵Jan Christophersen2018-01-191-0/+26
| | | | with 'issues_enabled=false'"
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-5/+5
|
* Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+2
| | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* Merge branch '36099-api-responses-missing-x-content-type-options-header' ↵Douwe Maan2017-11-081-0/+6
| | | | | | | | | | | into '10-1-stable' Include X-Content-Type-Options (XCTO) header into API responses See merge request gitlab/gitlabhq!2211 (cherry picked from commit 6c818e77f2abeef2dd7b17a269611b018701fa79) e087e075 Include X-Content-Type-Options (XCTO) header into API responses
* Support custom attributes on projectsMarkus Koller2017-11-061-0/+5
|
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-201-128/+128
|
* Add a project forks spec helperBob Van Landuyt2017-10-071-1/+4
| | | | | The helper creates a fork of a project with all provided attributes, but skipping the creation of the repository on disk.
* Expose avatar_url when requesting list of projects from API with simple=truedm-simple-project-avatar-urlDouwe Maan2017-09-261-0/+1
|
* Add an API endpoint to determine the forks of a projectMark Fletcher2017-09-201-0/+53
|
* Use the new query-recorder features as a PoCbvl-extend-query-recorderBob Van Landuyt2017-09-141-3/+3
|
* Merge branch '23079-remove-default-scope-in-sortable' into 'master'Douwe Maan2017-09-071-2/+2
|\ | | | | | | | | | | | | Removes default scope from sortable Closes #23079 See merge request !13558
| * Removes default scope from sortable23079-remove-default-scope-in-sortableTiago Botelho2017-09-071-2/+2
| |
* | Tidy up projects API specsSean McGivern2017-09-061-15/+23
| |
* | change collapse to resolve and comments to discussionsAshley Dumaine2017-09-061-14/+14
| |
* | add unit tests for new collapse_outdated_diff_comments toggleAshley Dumaine2017-09-061-0/+30
|/
* Add a spec when ressource is not modifiedRobert Schilling2017-08-291-0/+2
|
* Add tests for the unmodified headerRobert Schilling2017-08-281-20/+49
|
* Cache the number of forks of a projectforks-count-cacheYorick Peterse2017-08-141-0/+8
| | | | | | | | | | | The number of forks of a project doesn't change very frequently and running a COUNT(*) every time this information is requested can be quite expensive. We also end up running such a COUNT(*) query at least twice on the homepage of a project. By caching this data and refreshing it when necessary we can reduce project homepage loading times by around 60 milliseconds (based on the timings of https://gitlab.com/gitlab-org/gitlab-ce).
* Improve the Project factory to make `creator` defaults to namespace.ownerRémy Coutable2017-08-101-2/+2
| | | | | | | | Also improves the `create_templates` transient attribute and use `project.project_feature.update_columns` instead of `project.project_feature.update_attributes!` since it's faster. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Expose more attributes to unauthenticated GET /projects/:idTony2017-08-031-1/+9
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-23/+23
|
* Fix the /projects/:id/repository/branches endpoint to handle dots in the ↵Rémy Coutable2017-07-271-1/+1
| | | | | | branch name when the project full patch contains a `/` Signed-off-by: Rémy Coutable <remy@rymai.me>
* Resolve "More RESTful API: include resource URLs in responses"Oswaldo Ferreira2017-07-251-0/+32
|
* Support both internal and external issue trackersJarka Kadlecova2017-07-241-0/+25
|
* Update specs for new upload pathBob Van Landuyt2017-07-181-1/+1
|
* Fix some N+1 queries in the GET /projects APIRémy Coutable2017-07-071-2/+39
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch '33657-user-projects-api' into 'master'Rémy Coutable2017-07-061-0/+20
|\ | | | | | | | | | | | | Add user projects API Closes #33657 See merge request !12596
| * Add user projects APIvanadium232017-07-061-0/+20
| |
* | Rename ci_config_file to ci_config_pathLin Jen-Shin2017-07-051-2/+2
| |
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-06-301-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32815--Add-Custom-CI-Config-Path * upstream/master: (123 commits) Backport changes to Projects::IssuesController and the search bar bugfix: use `require_dependency` to bring in DeclarativePolicy Resolve "Select branch dropdown is too close to branch name" Clean up issuable lists Defer project destroys within a namespace in Groups::DestroyService#async_execute Fixed new navgiation bar logo height in Safari Resolve "Issue dropdown persists when adding issue number to issue description" Move verification to block level instead of paragraph Revert "Merge branch 'dm-drop-default-scope-on-sortable-finders' into 'master'" Added code for defining SHA attributes Minor edits Job details won't scroll horizontally to show long lines Run mysql tests on stable preperation branches like 9-3-stable-patch-2 Bring back branches badge to main project page optimize translation content based on comments supplement traditional chinese in taiwan translation Inserts exact matches of username, email and name to the top of the user search list Remove Namespace model default scope override and write additional test to Project search optimize translation content based on comments Limit OpenGraph image size to 64x64 ...
| * Add parent_id back to the testsOswaldo Ferreira2017-06-281-1/+2
| |
| * Rename members_count to members_count_with_descendants and expose only to ↵Oswaldo Ferreira2017-06-281-3/+1
| | | | | | | | group admins