summaryrefslogtreecommitdiff
path: root/spec/routing/project_routing_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow promoting project milestones to group milestonesFelipe Artur2017-10-311-7/+12
|
* fix #3686 make tarball download url to end with extensionhaseeb2017-08-031-3/+7
|
* 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>
* 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-141-2/+6
|
* Implement ability to update deploy keysAlexander Randa2017-06-021-1/+3
|
* Merge branch '17848-web-hook-logging' into 'master'Dmitriy Zaporozhets2017-05-251-0/+12
|\ | | | | | | | | | | | | Implement Web Hooks calls logging Closes #17848 See merge request !11027
| * Implement web hooks loggingAlexander Randa2017-05-251-0/+12
| | | | | | | | | | | | | | | | * 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
* | Fix ambiguous routing issues by teaching router about reserved wordsDouwe Maan2017-05-231-0/+4
| |
* | Remove routeOswaldo Ferreira2017-05-191-5/+0
|/
* Redirect from redirect routes to canonical routesMichael Kozono2017-05-051-3/+3
|
* Implement ability to update hooksAlexander Randa2017-04-281-2/+4
|
* Remove format from end of URL for URLs that take a ref or pathDouwe Maan2017-04-171-1/+1
|
* 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`).
* Changed autocomplete_sources into an action that returns a single 'at' type ↵18435-autocomplete-is-not-performantLuke Bennett2016-12-151-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | of sources at a time Finished up autocomplete_sources action and added frontend to fetch data only when its needed Added wait_for_ajax to specs Fixed builds and improved the setup/destroy lifecycle Changed global namespace and DRYed up loading logic Added safety for accidentally loading data twice Removed destroy as its not necessary and is messing with click events from a blur race condition Created AutocompleteSourcesController and updated routes Fixed @undefined from tabbing before load ends Disable tabSelectsMatch until we have loaded data Review changes
* Add nested groups support to the routingdz-allow-nested-group-routingDmitriy Zaporozhets2016-11-231-507/+527
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Allow browsing branches that end with '.atom'Sean McGivern2016-10-111-1/+1
| | | | | | | | | | | | | We need to do two things to support this: 1. Simplify the regex capture in the routing for the CommitsController to not exclude the '.atom' suffix. That's a perfectly valid git branch name, so we shouldn't blow up if we get it. 2. Because Rails now can't automatically detect the request format, add some code to do so in `ExtractPath` when there is no path. This means that, given branches 'foo' and 'foo.atom', the Atom feed for the former is unroutable. To fix this: don't do that! Give the branches different names!
* Rename `markdown_preview` routes to `preview_markdown`Christopher Bartz2016-08-111-4/+4
|
* Add failing test for #20462winniehell2016-08-021-1/+4
|
* Clean up unused routesJosef Strzibny2016-07-261-4/+0
|
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-1/+0
|
* Increase the minimum length for commit SHA matching to 7rs-issue-12706Robert Speicher2016-01-291-4/+4
| | | | | | This is the git default and will help to prevent false positive matches. Closes #12706
* Fix broken specs. #2406Rubén Dávila2016-01-201-2/+2
|
* Merge branch 'issue_3076' into 'master' Drew Blessing2016-01-081-0/+1
|\ | | | | | | | | | | | | | | | | Fix problem with projects ending with .keys #3076 Closes #3076 Move route `:username.keys` below project's routes. This allow project's to handle names ending with `.keys` See merge request !1883
| * Fix problem with projects ending with .keys #3076Jose Corcuera2016-01-061-0/+1
| |
* | Merge branch 'master' of github.com:gitlabhq/gitlabhqJacob Vosmaer2016-01-071-0/+12
|/
* Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets2015-08-111-7/+7
| | | | | This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
* Revert "Merge branch 'drop-satellites'"Dmitriy Zaporozhets2015-08-111-7/+7
| | | | | | | This reverts commit 957e849f41d96fa9778fcdd06792d2f0274b29ab, reversing changes made to 6b9dbe9f5a175a8162abf296367f561bab3eea1a. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve tests to use real branches in merge requestsDmitriy Zaporozhets2015-08-041-7/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove show actions from Admin and Project DeployKeysRobert Speicher2015-06-031-1/+1
|
* Add MergeRequests#commits action and routeRobert Speicher2015-05-291-12/+20
| | | | /:namespace_id/:project_id/merge_requests/:id/commits(.:format)
* Fix failing specs.Douwe Maan2015-04-031-2/+1
|
* Use `project_member` instead of `team_member`.Douwe Maan2015-03-151-10/+7
|
* Upgrade to Rails 4.1.9Vinnie Okada2015-02-141-86/+86
| | | | | | Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-88/+88
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Don't have Markdown preview fail for long content by using POST rather than GET.Douwe Maan2015-02-061-2/+2
| | | | See https://github.com/gitlabhq/gitlabhq/issues/8611.
* Fix tests for blobs refactoringDmitriy Zaporozhets2015-01-261-9/+5
|
* Fix tests, merge conflicts, some minor issues and make the project avatar ↵Hannes Rosenögger2015-01-241-169/+170
| | | | feature mergable
* adding avatar to project settings page added avatar removal show project ↵Steven Thonus2015-01-241-0/+7
| | | | avatar on dashboard, projects page, project page added rspec and feature tests added project avatar from repository new default project icon added added copying af avatar to forking of project added generated icon fixed avatar fork hound fix style fix test fix
* Merge pull request #7978 from cirosantilli/edit-preview-route-testDmitriy Zaporozhets2014-12-201-0/+20
|\ | | | | Add tests for tree edit routes
| * Add tests for tree edit routesCiro Santilli2014-10-071-0/+20
| | | | | | | | | | Critical because of possible confusion between /:id/preview and /:id for a path that ends in preview.
* | Merge branch 'show_files_with_diff_name' into 'master'Dmitriy Zaporozhets2014-12-111-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | Show files named diff Fixes #1749 See merge request !1318
| * | Add a failing route spec for file named diff.Marin Jankovski2014-12-101-0/+1
| | |
* | | Merge branch 'upstream-master' into markdown-previewVinnie Okada2014-12-071-5/+10
|\ \ \ | |/ / | | | | | | | | | Conflicts: spec/routing/project_routing_spec.rb
| * | Routing specs for fork projectsDmitriy Zaporozhets2014-11-141-5/+10
| |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>