summaryrefslogtreecommitdiff
path: root/config/routes
Commit message (Collapse)AuthorAgeFilesLines
* Add profile mode to extend request profilingadd-profile-mode-to-extend-request-profilingQingyu Zhao2019-07-181-1/+1
| | | | | | | Extend the support for "X-Profile-Token: <token>" to have an additional header that defines type of profile we are looking for, like: X-Profile-Mode: execution X-Profile-Mode: memory
* Add a rubocop for Rails.loggerMayra Cabrera2019-07-101-1/+1
| | | | | | Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
* Remove `:graphql` feature flagcharlie ablett2019-07-091-4/+2
| | | | | | | | - Remove `FeatureConstrainer` call wrapping api endpoint - Remove `Feature.enabled?(:graphql)` conditionals in back and frontend - Modify graphql test to be graphql flag agnostic - Remove api routing spec - Remove frontend feature flag via `gon`
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceMarin Jankovski2019-07-032-1/+5
|\
| * Merge branch 'id-stale-branches' into 'master'Grzegorz Bizon2019-07-011-1/+4
| |\ | | | | | | | | | | | | Add endpoint for fetching diverging commit counts See merge request gitlab-org/gitlab-ce!29802
| | * Add endpoint for fetching diverging commit countsid-stale-branchesIgor Drozdov2019-06-281-1/+4
| | | | | | | | | | | | Extract diverging_commit_counts into a service class
| * | Merge branch 'id-extract-widget-into-different-request' into 'master'Ash McKenzie2019-06-281-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Extract MR's widget into a separate request Closes #62723 See merge request gitlab-org/gitlab-ce!29979
| | * | Extract MR's widget into a separate endpointid-extract-widget-into-different-requestIgor Drozdov2019-06-281-0/+1
| | |/ | | | | | | | | | | | | | | | This commits extracts /merge_requests/1.json?serializer=widget Into a separate /merge_requests/1/widget.json endpoint This will allow to use caching for this request
* | | Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqMarin Jankovski2019-07-032-3/+6
|\ \ \ | |/ / |/| |
| * | Merge branch 'osw-persist-tmp-snippet-uploads' into 'master'Marin Jankovski2019-07-021-2/+2
| |\ \ | | | | | | | | | | | | | | | | Persist tmp snippet uploads at users See merge request gitlab/gitlabhq!3138
| | * | Persist tmp snippet uploadsOswaldo Ferreira2019-06-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It persist temporary personal snippets under user/:id namespaces temporarily while creating a upload record to track it. If an user gets removed while it's still a tmp upload, it also gets removed. If the tmp upload is sent, the upload gets moved to personal_snippets/:id as before. The upload record also gets updated to the new model type as well.
| * | | Merge branch 'security-prevent-detection-of-merge-request-template-name' ↵Marin Jankovski2019-07-021-1/+4
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | into 'master' Guests can know whether merge request template name exists or not See merge request gitlab/gitlabhq!3117
| | * | Authorize access before serving project templateLuke Duncalfe2019-06-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if a user was a guest member of a private project, they could access the merge request template as we were not checking permission-levels of the user. When a issue template is asked for, the user must have :read_issue for the project; or :read_merge_request when a merge request template is asked for. We also now rescue_from FileNotFoundError and handle as 404. This is because RepoTemplateFinder can raise a FileNotFoundError exception, which Rails previously handled as a 500. Handling these in a way that is consistent with ActiveRecord::RecordNotFound exceptions, within controllers that inherit from Projects::ApplicationController at least, and returning a 404. https://gitlab.com/gitlab-org/gitlab-ce/issues/54943
* | | | Merge branch 'rs-ee-only-routes-2' into 'master'Lin Jen-Shin2019-06-275-4/+140
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CE-EE parity for routes See merge request gitlab-org/gitlab-ce!29994
| * | | | Delineate additional EE-only routesrs-ee-only-routes-2Robert Speicher2019-06-261-8/+10
| | | | |
| * | | | Copy routes from EERobert Speicher2019-06-265-4/+138
| |/ / / | | | | | | | | | | | | | | | | This ensures all routes are defined in both CE and EE, with EE-specific routes being wrapped in `Gitlab.ee` blocks.
* | | | Merge branch '53811-issue-boards-to-core-projects-backend-ce' into 'master'Stan Hu2019-06-271-1/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Move Multiple Issue Boards for Projects to Core See merge request gitlab-org/gitlab-ce!29757
| * | | | Move Multiple Issue Boards for Projects to Core53811-issue-boards-to-core-projects-backend-ceAlexandru Croitor2019-06-261-1/+5
| |/ / / | | | | | | | | | | | | | | | | Refactor code to allow multiple issue boards management for projects in CE
* | | | Remove deprecated /u/:username routesdz-remove-deprecated-user-routesDmitriy Zaporozhets2019-06-262-10/+1
|/ / / | | | | | | | | | | | | | | | Also release `u` from TOP_LEVEL_ROUTES Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'bw-issue-reorder' into 'master'Kamil Trzciński2019-06-211-0/+1
|\ \ \ | | | | | | | | | | | | | | | | Add ability to reorder issues See merge request gitlab-org/gitlab-ce!29012
| * | | Add reorder action to Project IssuesControllerbw-issue-reorderBrett Walker2019-06-211-0/+1
| | | | | | | | | | | | | | | | to support manual sorting on the frontend
* | | | Update application settings using correct actionBrett Walker2019-06-191-1/+1
|/ / / | | | | | | | | | | | | | | | | | | Updating multiple application settings panels through a single action causes the incorrect action to be shown when there are errors. Instead, make each panel action handle both updating and display.
* | | Remove deprecated group routesdz-remove-deprecated-group-routesDmitriy Zaporozhets2019-06-141-8/+0
| |/ |/| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Named route for prometheus proxy_pathSimon Knox2019-06-061-1/+1
|/
* Abstract auto merge processesShinya Maeda2019-06-031-1/+1
| | | | | | | | | | | | We have one auto merge strategy today - Merge When Pipeline Succeeds. In order to add more strategies for Merge Train feature, we abstract the architecture to be more extensible. Removed arguments Fix spec
* Merge branch 'dz-scope-project-routes-3' into 'master'Lin Jen-Shin2019-05-311-40/+43
|\ | | | | | | | | Move some project routes under - scope See merge request gitlab-org/gitlab-ce!28830
| * Move some project routes under - scopeDmitriy Zaporozhets2019-05-291-40/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affected project routes are: * services * boards * releases * forks * group_links * import * avatar * labels * milestones Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Send notifications to group-specific email addressWei-Meng Lee2019-05-311-1/+5
| | | | | | | | | | | | - Select notification email by walking up group/subgroup path - Add settings UI to set group email notification address - Add tests
* | Setup Phabricator importBob Van Landuyt2019-05-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This sets up all the basics for importing Phabricator tasks into GitLab issues. To import all tasks from a Phabricator instance into GitLab, we'll import all of them into a new project that will have its repository disabled. The import is hooked into a regular ProjectImport setup, but similar to the GitHub parallel importer takes care of all the imports itself. In this iteration, we're importing each page of tasks in a separate sidekiq job. The first thing we do when requesting a new page of tasks is schedule the next page to be imported. But to avoid deadlocks, we only allow a single job per worker type to run at the same time. For now we're only importing basic Issue information, this should be extended to richer information.
* | Redirect to admin projects index if project was deleted from admin pageLuke Picciau2019-05-291-1/+1
|/
* Move some project routes under - scopedz-scope-project-routes-2Dmitriy Zaporozhets2019-05-261-39/+44
| | | | | | | | | | | Affected routes are: * autocomplete_sources * project_members * deploy_keys * deploy_tokens Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move project routes under one scopeDmitriy Zaporozhets2019-05-241-60/+58
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add network and graphs to legacy routes toodz-scope-project-routesDmitriy Zaporozhets2019-05-211-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add legacy routes for modified project pathDmitriy Zaporozhets2019-05-211-0/+14
| | | | | | For settings, branches and tags Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move project settings under /-/ scopeDmitriy Zaporozhets2019-05-201-14/+17
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move some project routes under /-/ scopeDmitriy Zaporozhets2019-05-201-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add Let's Encrypt clientVladimir Shushlin2019-05-161-0/+1
| | | | | | | | | | | | | | Part of adding Let's Encrypt certificates for pages domains Add acme-client gem Client is being initialized by private key stored in secrets.yml Let's Encrypt account is being created lazily. If it's already created, Acme::Client just gets account_kid by calling new_account method Make Let's Encrypt client an instance Wrap order and challenge classes
* Instance level kubernetes clusters adminJames Fargher2019-05-071-0/+2
| | | | | Instance level clusters were already mostly supported, this change adds admin area controllers for cluster CRUD
* Adds a way to start multiple manual jobs in stageMayra Cabrera2019-05-021-0/+6
| | | | | | | | | | - Adds an endpoint on PipelinesController - Adds a service that iterates over every build in a stage and plays it. - Includes 'play_manual' details on EntitySerializer - Builds a new Stage state: PlayManual. An stage can take this status if it has manual builds or an skipped, scheduled or manual status - Includes FE modifications and specs
* Merge branch ↵Ash McKenzie2019-04-301-1/+0
|\ | | | | | | | | | | | | | | | | '60476-actionview-missingtemplate-missing-template-projects-issues-_merge_requests-with-locale-en-formats-html-varian' into 'master' Delete leftover code for referenced_merge_requests endpoint Closes #60476 See merge request gitlab-org/gitlab-ce!27335
| * Delete leftover code for referenced_merge_requests60476-actionview-missingtemplate-missing-template-projects-issues-_merge_requests-with-locale-en-formats-html-varianFatih Acet2019-04-151-1/+0
| | | | | | | | | | | | | | We rewrote Related MRs widget using Vue. The previous implementation was using Haml templates and calling referenced_merge_requests endpoint which is now deprecated. This MR deletes leftover stuff them.
* | Add inital dashboard endpoint supportsyasonik2019-04-241-0/+1
|/
* Add Knative metrics to PrometheusChris Baumbauer2019-04-061-1/+5
|
* Add a Prometheus API per environmentrpereira22019-04-051-0/+2
| | | | | | The api will proxy requests to the environment's prometheus server. The Prometheus::ProxyService class can be reused when we add support for group prometheus servers.
* Security Dashboard as default view for groupsGilbert Roulot2019-03-141-0/+1
| | | | | | | Add a supporting code to separate groups#show and groups#details which is required for the proper implementation of the Group Overview content and Security Dashboard option for it
* Enable/disable Auto DevOps at Group levelMayra Cabrera2019-03-121-0/+1
| | | | | | | | | | | | - Includes instance methods on Group model to detect when a group has AutoDevOps explicitly/implicitly enabled/disabled. - Includes migration to add a new column to namespaces table - Add UI necessary modifications - Add service and controller to update auto devops related instances - Updates project and groups auto devops badges Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
* Merge dev master into GitLab.com masterYorick Peterse2019-03-041-1/+1
|\
| * Merge branch 'security-50334' into 'master'Yorick Peterse2019-03-041-1/+1
| |\ | | | | | | | | | | | | Fix git clone revealing private repo's presence See merge request gitlab/gitlabhq!2937
| | * Fix git clone revealing private repo's presenceMark Chao2019-02-191-1/+1
| | | | | | | | | | | | | | | Ensure redirection to path with .git suffix regardless whether project exists or not.
* | | CE-port for 7714-view-recent-boardsHeinrich Lee Yu2019-03-012-3/+2
| | | | | | | | | | | | Adds additional count param to Boards::Visits::LatestService