summaryrefslogtreecommitdiff
path: root/spec/routing
Commit message (Collapse)AuthorAgeFilesLines
* [master] Missing CSRF in System Hooks resend actionFrancisco Javier López2018-08-242-5/+5
|
* Spec instance statisticsBob Van Landuyt2018-07-271-0/+11
|
* Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' ↵Sean McGivern2018-07-271-11/+0
| | | | | into 'master'" This reverts merge request !20679
* Merge branch '41416-making-instance-wide-data-tools-more-accessible' into ↵Sean McGivern2018-07-271-0/+11
|\ | | | | | | | | | | | | | | | | 'master' Resolve "Making instance-wide data tools more accessible" Closes #41416 and #48507 See merge request gitlab-org/gitlab-ce!20679
| * Spec instance statisticsBob Van Landuyt2018-07-271-0/+11
| |
* | Changing the hook test action to use POSTFrancisco Javier López2018-07-232-2/+2
|/
* Resolve "[Rails5] `ActionView::MissingTemplate` in ↵blackst0ne2018-06-121-8/+12
| | | | spec/features/projects/wiki/user_views_wiki_page_spec.rb"
* Initial setup GraphQL using graphql-ruby 1.8Bob Van Landuyt2018-06-061-0/+31
| | | | | | | | | - All definitions have been replaced by classes: http://graphql-ruby.org/schema/class_based_api.html - Authorization & Presentation have been refactored to work in the class based system - Loaders have been replaced by resolvers - Times are now coersed as ISO 8601
* Export assigned issues in iCalendar feedImre Farkas2018-05-311-3/+7
|
* Add new repository archive routeJames Ramsay2018-04-061-7/+23
| | | | | | | | | | | | | Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add `<project>/-/archive/<ref>/<filename>.<format>` route using the `-` separator to prevent namespace collisions. If the filename is `<project>-<ref>` or the ref is a sha, the sha will be omitted, otherwise the default filename will be used. - deprecate previous archive route `repository/<ref>/archive`
* [CE] Add Naming/FileName rule checking expected class/module per filenameGabriel Mazetto2018-03-081-2/+2
|
* Fix user feature specs that were hardcoding 'user1'43495-spec-failure-spec-features-users_spec-rbRémy Coutable2018-02-221-0/+16
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Don't add a trailing slash in group redirects40230-groups-gitlab-org-labels-json-redirects-to-groups-gitlab-org-labels-jsonSean McGivern2017-11-161-11/+17
| | | | | | | | Because we ignored the format, a request to `/groups/foo/labels.json` would redirect to `/groups/foo/-/labels/.json`. But really, it's worse than that, because unless the request contained a trailing slash, we shouldn't add one. Now, we only _keep_ a trailing slash, but don't _add_ one.
* Merge branch 'feature-change-signout-route' into 'master'Douwe Maan2017-11-081-2/+4
|\ | | | | | | | | | | | | Change Sign Out route from a DELETE to a GET Closes #39708 See merge request gitlab-org/gitlab-ce!15231
| * Updates tests to reflect sign_out route changeJoe Marty2017-11-071-2/+4
| | | | | | | | - Also remove sign_out DELETE route from read-only whitelist routes
* | Check redirecting with a querystringBob Van Landuyt2017-11-071-0/+10
| |
* | Free up some group reserved wordsBob Van Landuyt2017-11-071-17/+56
| |
* | Free up `avatar`, `group_members` and `milestones` as pathsBob Van Landuyt2017-11-072-41/+71
| |
* | Free up `labels` as a group nameBob Van Landuyt2017-11-071-0/+18
|/
* Remove Private Token from User Settings > AccountDouwe Maan2017-11-021-5/+0
|
* Allow promoting project milestones to group milestonesFelipe Artur2017-10-311-7/+12
|
* Backport EE changes to group routesbackort_routes_group_routes_from_eeValery Sizov2017-10-221-9/+3
|
* fix #3686 make tarball download url to end with extensionhaseeb2017-08-031-3/+7
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-271-1/+1
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove superfluous type defs in specsKeifer Furzland2017-07-271-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix docker tag reference routing constraintsGrzegorz Bizon2017-07-191-0/+22
|
* Split up MergeRequestsControllerdm-merge-request-creations-controllerDouwe Maan2017-06-281-27/+46
|
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-142-3/+9
|
* Implement ability to update deploy keysAlexander Randa2017-06-021-1/+3
|
* Merge branch '17848-web-hook-logging' into 'master'Dmitriy Zaporozhets2017-05-252-0/+24
|\ | | | | | | | | | | | | Implement Web Hooks calls logging Closes #17848 See merge request !11027
| * Implement web hooks loggingAlexander Randa2017-05-252-0/+24
| | | | | | | | | | | | | | | | * implemented logging of project and system web hooks * implemented UI for user area (project hooks) * implemented UI for admin area (system hooks) * implemented retry of logged webhook * NOT imeplemented log remover
* | user can reset his rss token on the account pageAlexis Reigel2017-05-241-0/+4
| |
* | Fix ambiguous routing issues by teaching router about reserved wordsDouwe Maan2017-05-231-0/+4
| |
* | Merge branch '32536-mr-widget-performance-improvements' into 'master'Fatih Acet2017-05-191-5/+0
|\ \ | | | | | | | | | | | | Load improvements related to MR widget See merge request !11518
| * | Remove routeOswaldo Ferreira2017-05-191-5/+0
| |/
* | Enable the RSpec/EmptyExampleGroup coprubocop-empty-example-groupRémy Coutable2017-05-181-10/+27
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Redirect from redirect routes to canonical routesMichael Kozono2017-05-051-3/+3
|
* Merge branch '19364-webhook-edit' into 'master' Dmitriy Zaporozhets2017-05-022-4/+16
|\ | | | | | | | | | | | | Implement ability to update hooks Closes #19364 See merge request !10816
| * Implement ability to update hooksAlexander Randa2017-04-282-4/+16
| |
* | Enable RSpec/FilePath copenable-spec-file-name-copSean McGivern2017-04-262-9/+7
|/ | | | | | - Ignore JS fixtures - Ignore qa directory - Rewrite concern specs to put concern name first
* Remove format from end of URL for URLs that take a ref or pathDouwe Maan2017-04-171-1/+1
|
* Add routing specs for environment foldersGrzegorz Bizon2017-03-271-0/+49
|
* Implement OpenID Connect identity providerMarkus Koller2017-03-071-0/+30
|
* Use native unicode emojisEric Eastwood2017-03-061-2/+1
| | | | | | | | | | | | | | | | | | | | - gl_emoji for falling back to image/css-sprite when the browser doesn't support an emoji - Markdown rendering (Banzai filter) - Autocomplete - Award emoji menu - Perceived perf - Immediate response because we now build client-side - Update `digests.json` generation in gemojione rake task to be more useful and include `unicodeVersion` MR: !9437 See issues - #26371 - #27250 - #22474
* Remove query parameters from notes polling endpoint to make caching easierAdam Niedzielski2017-03-011-4/+14
|
* Merge branch 'master' into jej-pages-picked-from-eeJames Edwards-Jones2017-02-031-4/+4
|\
| * replace `find_with_namespace` with `find_by_full_path`Adam Pahlevi2017-02-031-4/+4
| | | | | | | | add complete changelog for !8949
* | Fix 500 error while navigating to the `pages_domains` 'show' page.Timothy Andrew2017-01-311-7/+30
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | ================== = Implementation = ================== 1. The path of the page is of the form 'group/project/pages/domains/<domain_name>' 2. Rails looks at `params[:id]` (which should be the domain name), and finds the relevant model record. 3. Given a domain like `foo.bar`, Rails sets `params[:id]` to `foo` (should be `foo.bar`), and sets `params[:format]` to `bar` 4. This commit fixes the issue by adding a route constraint, so that `params[:id]` is set to the entire `foo.bar` domain name. ========= = Tests = ========= 1. Add controller specs for the `PagesDomainController`. These are slightly orthogonal to this bug fix (they don't fail when this bug is present), but should be present nonetheless. 2. Add routing specs that catch this bug (by asserting that the `id` param is passed as expected when it contains a domain name). 3. Modify the 'RESTful project resources' routing spec shared example to accomodate controllers where the controller path (such as `pages/domains`) is different from the controller name (such as `pages_domains`).
* Fix 500 error when visit group from admin area if group name contains dotdz-improve-admin-group-routingDmitriy Zaporozhets2016-12-281-2/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>