summaryrefslogtreecommitdiff
path: root/spec/requests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fix-api-mr-notes-ordering' into 'master'Douwe Maan2015-07-281-2/+4
|\ | | | | | | | | | | | | | | Return comments in created order in merge request API Closes #1832 See merge request !985
| * Return comments in created order in merge request APIStan Hu2015-07-161-2/+4
| | | | | | | | Closes #1832
* | Clearing the entire Redis cache may be too expensive; just useStan Hu2015-07-211-6/+2
| | | | | | | | the repository expire_cache method
* | Fix 404 error in files view after deleting the last file in a repositoryStan Hu2015-07-211-1/+8
| | | | | | | | Closes #1362
* | Add specs for gitlab ci service validity.Marin Jankovski2015-07-171-0/+12
| |
* | Fix failing specs after adding format verification for token and project url ↵Marin Jankovski2015-07-172-2/+2
|/ | | | in gitlab ci service.
* Merge branch 'rs-dev-issue-2372' into 'master'Dmitriy Zaporozhets2015-07-081-3/+1
|\ | | | | | | | | | | | | | | Filter by issues/merge requests without a milestone Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2372 See merge request !886
| * Use stub_application_setting in a few more specsRobert Speicher2015-07-061-3/+1
| | | | | | | | | | These specs also failed when run by themselves before this change, so we've likely got some kind of cross-test contamination going on.
* | Merge branch 'settings-via-api' into 'master'Dmitriy Zaporozhets2015-07-071-0/+29
|\ \ | |/ |/| | | | | | | | | | | API to set application settings for admin Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !934
| * Add tests and improve logicDmitriy Zaporozhets2015-07-061-4/+16
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add docs and empty specs for applicaiton settings APIDmitriy Zaporozhets2015-07-061-0/+17
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Allow user to be blocked and unblocked via the APISteve Norman2015-07-031-0/+51
|/
* Add 2FA status to user admin APIStan Hu2015-06-231-0/+1
| | | | Closes https://github.com/gitlabhq/gitlabhq/issues/9391
* Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-236-35/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
| * Merge branch 'revert-mr-state-names'Dmitriy Zaporozhets2015-06-221-3/+2
| |\ | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: features/steps/project/merge_requests.rb
| | * Merge requests API returns closed for closed and merged for merged.revert-mr-state-namesDmitriy Zaporozhets2015-06-221-3/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Change `to_not` calls to `not_to`Robert Speicher2015-06-223-4/+4
| | | | | | | | | | | | Both work, but now we're consistent across the entire app.
| * | Fix `raise_error` without an argument deprecation warningsRobert Speicher2015-06-221-8/+8
| | |
| * | Update mock and stub syntax for specsRobert Speicher2015-06-226-22/+25
| |/
* | Fix Style/AlignHash cop violationsStan Hu2015-06-221-2/+3
| |
* | Fix Style/Blocks cop violationsRobert Speicher2015-06-226-47/+42
| |
* | Fix Style/SpaceInsideHashLiteralBraces cop violationsRobert Speicher2015-06-221-3/+3
| | | | | | | | These fixes were performed automatically by Rubocop's `-a` flag.
* | Fix part of api specs for rubocopDmitriy Zaporozhets2015-06-224-84/+84
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Change `foo.should` syntax to `expect(foo).to` in specsRobert Speicher2015-06-134-13/+13
|
* Merge branch 'maser/gitlab-ce-order-commit-comments-in-api' into 'master'Dmitriy Zaporozhets2015-06-051-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | Order commit comments in API chronologically When fetching commit comments via API, the comments were not ordered, but just returned in the order Postgresql finds them. Now the API always returns comments in chronological order. Same as !628 but with CI See merge request !768
| * Order commit comments in API chronologicallyMartin Luder2015-05-081-1/+2
| | | | | | | | | | | | When fetching commit comments via API, the comments were not ordered, but just returned in the order Postgresql finds them. Now the API always returns comments in chronological order.
* | Merge branch 'make-namespaces-api-available-to-all-users' into 'master'Dmitriy Zaporozhets2015-06-041-1/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make namespace API available to all users ### What does this MR do? This MR makes it possible for a user to query namespaces to which he/she has access. Also, it adds documentation for the existing API. ### Why was this MR needed? Even though the `groups` API exists, it might still be useful to have an endpoint that tells the namespace type (e.g. `user` vs. `group`), especially if a user has access to a number of different projects. ### What are the relevant issue numbers? Closes https://github.com/gitlabhq/gitlabhq/issues/9328 See merge request !708
| * | Make namespace API available to all usersStan Hu2015-05-281-1/+28
| | | | | | | | | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/9328
* | | Fix tests and increase delay time before remove repositoryDmitriy Zaporozhets2015-06-031-7/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Remove unnecessary satellite files and add CHANGELOG itemDmitriy Zaporozhets2015-06-021-14/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Remove file api tests which depend on old satellite logicDmitriy Zaporozhets2015-06-021-32/+3
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Disable changing of the source branch in merge request update APIStan Hu2015-05-291-2/+2
|/ /
* | Update ffaker gemRobert Speicher2015-05-201-2/+2
| | | | | | | | | | | | Adds a version requirement which it didn't have before, at 2.0.0. This version has breaking API changes in that the namespace is now `FFaker` instead of `Faker`.
* | Allow to configure gitlab_shell_secret locationJakub Jirutka2015-05-161-1/+1
| |
* | Add order option for projects APIValery Sizov2015-05-141-0/+9
|/
* Merge branch 'api-iid' of https://github.com/jubianchi/gitlabhq into ↵Dmitriy Zaporozhets2015-05-033-0/+23
|\ | | | | | | jubianchi-api-iid
| * Query issues, merge requests and milestones with their IID through APIjubianchi2015-05-023-0/+23
| |
* | Merge pull request #9066 from jirutka/fix-6417Dmitriy Zaporozhets2015-05-031-9/+10
|\ \ | |/ |/| Fix #6417: users with group permission should be able to create groups via API
| * Fix #6417: users with group permission should be able to create groups via APIRobert Schilling2015-03-311-9/+10
| |
* | Don't allow a merge request to be merged when its title starts with "WIP".Douwe Maan2015-04-301-0/+7
| |
* | Use Projects::CreateService to fork projects so that after-create hooks are run.forked-eventDouwe Maan2015-04-241-1/+0
| |
* | Merge pull request #8831 from bladealslayer/fix/api-user-testsNihad Abbasov2015-04-221-4/+9
|\ \ | | | | | | Fix user API tests succeeding for the wrong reason
| * | Fix user API tests succeeding for the wrong reasonBoyan Tabakov2015-04-221-4/+9
| | | | | | | | | | | | | | | The requests were missing multiple required attributes, while testing for single attribute missing. Added test for checking username as required attribute.
* | | Track who created a group or project member.Douwe Maan2015-04-141-2/+0
| | |
* | | Modified lib/api/entities.rb to expose Project class tag_list property to ↵Cristian Medina2015-04-031-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | the API Updated projects.md to show tag_list field when performing GETs Updated projects_spec.rb to include check for tag_list key in project list Added changes to the CHANGELOG
* | | Fix tests.Douwe Maan2015-03-272-3/+3
| | |
* | | Use more specific regexes.Douwe Maan2015-03-271-1/+1
| |/ |/|
* | Enforce restricted visibilities for snippetsVinnie Okada2015-03-081-1/+2
| | | | | | | | | | | | Add new service classes to create and update project and personal snippets. These classes are responsible for enforcing restricted visibility settings for non-admin users.
* | Allow admins to override restricted visibilityVinnie Okada2015-03-081-0/+26
| | | | | | | | | | Allow admins to use restricted visibility levels when creating or updating projects.
* | Improve error messages when file editing failsVinnie Okada2015-02-221-4/+24
|/ | | | | Give more specific errors in API responses and web UI flash messages when a file update fails.