summaryrefslogtreecommitdiff
path: root/spec/routing
Commit message (Collapse)AuthorAgeFilesLines
* Fix markdown help referencesClement Ho2016-08-261-2/+2
|
* Support integration with Koding (online IDE)Gokmen Goksel2016-08-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Koding: #index: landing page for Koding integration If enabled it will provide a link to open remote Koding instance url for now we are also providing the sneak preview video for how integration works in detail. Repository: check whether .koding.yml file exists on repository Projects: landing page: show Run in IDE (Koding) button if repo has stack file Projects: MR: show Run in IDE Koding button if repo has stack file on active branch ProjectHelpers: add_koding_stack: stack generator for provided project With this helper we will auto-generate the required stack template for a given project. For the feature we can request this base template from the running Koding instance on integration. Currently this will provide users to create a t2.nano instance on aws and it'll automatically configures the instance for basic requirements. Projects: empty state and landing page provide shortcuts to create stack projects_helper: use branch on checkout and provide an entry point This ${var.koding_queryString_branch} will be replaced with the branch provided in query string which will allow us to use same stack template for different branches of the same repository. ref: https://github.com/koding/koding/pull/8597/commits/b8c0e43c4c24bf132670aa8a3cfb0d634acfd09b projects_helper: provide sha info in query string to use existing vms With this change we'll be able to query existing vms on Koding side based on the commit id that they've created. ref: https://github.com/koding/koding/pull/8597/commits/1d630fadf31963fa6ccd3bed92e526761a30a343 Integration: Docs: Koding documentation added Disable /koding route if integration is disabled Use application settings to enable Koding Projects_helper: better indentation with strip_heredoc usage Projects_helper: return koding_url as is if there is no project provided current_settings: set koding_enabled: false by default Koding_Controller: to render not_found once integration is disabled Dashboard_specs: update spec for Koding enabled case Projects_Helper: make repo dynamic ref: https://github.com/koding/koding/pull/8597/commits/4d615242f45aaea4c4986be84ecc612b0bb1514c Updated documentation to have right format
* 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-263-17/+0
|
* Fix help page paths to make sure shortcuts and the UI help page work.fix-help-pathsConnor Shea2016-07-191-5/+2
| | | | | | Add a test to make sure the help page UI path doesn't break in the future. Fix #19972 and #19889.
* Fix failing tests.Connor Shea2016-07-111-13/+9
|
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-013-3/+0
|
* Merge branch 'health-check-route'Douwe Maan2016-05-122-0/+17
|\ | | | | | | | | # Conflicts: # db/schema.rb
| * Add tests for the health check featureDJ Mountney2016-05-102-0/+17
| |
* | Add specs for user routing and update spec for user controllerLong Nguyen2016-05-081-0/+37
| |
* | user routings refactorLong Nguyen2016-05-081-0/+4
| |
* | Remove unused code, update spec, and update changelogLong Nguyen2016-05-051-8/+0
|/
* Remove `Profile::KeysController#new` actionRobert Speicher2016-03-031-5/+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
|/
* Move partial to right place and fix tests.Douwe Maan2015-09-081-3/+3
|
* 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>
* Audit log for user authenticationValery Sizov2015-07-061-2/+2
|
* Fix Style/TrailingBlankLines cop violationsRobert Speicher2015-06-222-2/+0
|
* Add RootControllerRobert Speicher2015-06-131-2/+8
| | | | | | This controller is now the target for `root_url`. It sub-classes DashboardController so we can render the old default without a redirect if the user hasn't customized their dashboard location.
* Add Profiles::PreferencesControllerRobert Speicher2015-06-131-3/+12
|
* 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 snippet testDmitriy Zaporozhets2015-04-221-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Loosen help page parameter constraints for categoryRobert Speicher2015-04-151-1/+1
|
* Add constraints to help#show route parametersRobert Speicher2015-04-151-34/+19
|
* Revert "Fix and improve help rendering"Robert Speicher2015-04-151-19/+19
| | | | This reverts commit d365004e684e98459061fcd5fbaf9bea880934a8.
* Merge branch 'public-deploy-keys' into 'master'Dmitriy Zaporozhets2015-04-131-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow admin to create public deploy keys that are accessible to any project. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/1774. Project settings: ![Screen_Shot_2015-03-27_at_14.46.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/01799ff912671ba6db3f828ea1aca1a6/Screen_Shot_2015-03-27_at_14.46.48.png) The "Public deploy keys" section is only shown when there are any. If there are public deploy keys but no project deploy keys, only public deploy keys are shown. If there are no public deploy keys and no project deploy keys, the current "Deploy keys from projects you have access to will be displayed here" placeholder is shown. The list of projects below the public key has been changed to only show projects the user has access to. "Public deploy key" seems to be repeated on the left, but the first is just the title. The label is always visible for public deploy keys. Admin index: ![Screen_Shot_2015-03-27_at_14.47.06](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ea889d274cfd3f0694d47d602f4f3e94/Screen_Shot_2015-03-27_at_14.47.06.png) Admin detail page: ![Screen_Shot_2015-03-27_at_14.47.16](https://gitlab.com/gitlab-org/gitlab-ce/uploads/8c8475e05bf6b497da3b9f1bc102329f/Screen_Shot_2015-03-27_at_14.47.16.png) Projects using the deploy key are listed on the left and can be disabled easily. See merge request !469
| * Fix failing specs.Douwe Maan2015-04-031-2/+1
| |
* | Fix and improve help renderingSullivan SENECHAL2015-04-031-19/+19
|/
* Use `project_member` instead of `team_member`.Douwe Maan2015-03-151-10/+7
|
* Upgrade to Rails 4.1.9Vinnie Okada2015-02-142-87/+87
| | | | | | 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-124-154/+154
| | | | 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>
* | Use GET instead of POST for Markdown previewsVinnie Okada2014-10-161-2/+2
| |