summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'merge-dev-to-master' into 'master'John Jarvis2019-03-051-0/+19
|\ | | | | | | | | | | | | Merge dev.gitlab.org master into GitLab.com master Closes #2794, #2814, #2806, #2805, #2798, #2795, #2788, and #2787 See merge request gitlab-org/gitlab-ce!25746
| * Merge dev master into GitLab.com masterYorick Peterse2019-03-041-0/+19
| |\
| | * Merge branch 'security-mermaid' into 'master'Yorick Peterse2019-03-041-0/+19
| | |\ | | | | | | | | | | | | | | | | Limit number of characters allowed in mermaidjs See merge request gitlab/gitlabhq!2964
| | | * Limit number of characters allowed in mermaidjsRajat Jain2019-02-271-0/+19
| | | |
* | | | Merge branch '49663-branch-to-mr-connection' into 'master'Phil Hughes2019-03-054-11/+70
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Link to the MR from current branch in Web IDE Closes #49663 See merge request gitlab-org/gitlab-ce!25689
| * | | Extended Web IDE API to get MRs for a certain branch in a projectDenys Mishunov2019-03-044-11/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New `Api.projectMergeRequests` allows: - to query for all MRs on a project without specifying `mergeRequestId` - to filter the returned MRs using parameters from https://bit.ly/2H7We4V The new API request is used for fetching information about MRs associated with a particular branch in Web IDE to have IdeSidebar behave consistently in both scenarios: - getting to a branch from and MR (where we already have info about relevant MR), or - getting to a branch somehow differently directly For cases where there are several merge requests that the current branch is associated with, mark the most recent one as 'current' Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/49663
* | | | Removes EE differences from ci_icon.vueFilipa Lacerda2019-03-041-0/+1
| | | |
* | | | Fixed mutation for rootNatalia Tepluhina2019-03-044-23/+73
| | | | | | | | | | | | | | | | | | | | - fixed test spec - added warning only if file is deleted
* | | | Merge branch 'issuable-ee-differences-ce' into 'master'Filipa Lacerda2019-03-044-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CE backport of issuable-ee-differences See merge request gitlab-org/gitlab-ce!25730
| * | | | Update index.jsPhil Hughes2019-03-041-1/+1
| | | | |
| * | | | CE backport of issuable-ee-differencesPhil Hughes2019-03-044-4/+4
| | | | |
* | | | | Fix username escaping when clicking 'assign to me'Ezekiel Kigbo2019-03-041-14/+13
| | | | | | | | | | | | | | | | | | | | Add spec for assigning user with apostrophe in name
* | | | | CE backport of batch-comments-ee-store-modulePhil Hughes2019-03-044-66/+88
| | | | |
* | | | | Merge branch 'winh-import_projects_table_spec' into 'master'Fatih Acet2019-03-042-7/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use factory method for import_projects store Closes gitlab-ee#10062 See merge request gitlab-org/gitlab-ce!25646
| * | | | | Use factory method for import_projects storeWinnie Hellmann2019-03-012-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | Make sure we always create a new instance of the import_projects store.
* | | | | | Merge branch '10021-mr-widget-ee' into 'master'Phil Hughes2019-03-042-14/+36
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves EE diferences to CE for mr_widget_pipeline Closes gitlab-ee#10021 See merge request gitlab-org/gitlab-ce!25688
| * | | | | Moves EE diferences to CE for mr_widget_pipelineFilipa Lacerda2019-03-012-14/+36
| | | | | |
* | | | | | Creates a function to check if repo is EEFilipa Lacerda2019-03-042-0/+18
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | Adds EE information to gon Creates a global vue mixin
* | | | | Refactor model and specReuben Pereira2019-03-0112-0/+587
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move some specs into contexts - Let get_slugs method take a parameter and return a specific slug. - Add rescues when using Addressable::URI.
* | | | | Merge branch '10097-number-utils' into 'master'Phil Hughes2019-03-011-0/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves EE differences out of number_utils.js Closes gitlab-ee#10097 See merge request gitlab-org/gitlab-ce!25680
| * | | | | Moves utility function into CEFilipa Lacerda2019-03-011-0/+19
| |/ / / /
* | | | | Merge branch ↵Phil Hughes2019-03-012-21/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '57991-frontend-pagination-needs-to-handle-cases-where-the-x-total-pages-header-isn-t-present' into 'master' Improve the JS pagination to handle the case when the `X-Total` and `X-Total-Pages` headers aren't present Closes #57991 See merge request gitlab-org/gitlab-ce!25601
| * | | | | Make JS pagination handle missing 'X-Total-Pages' headerRémy Coutable2019-02-282-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | | Move related issues shared components from EEFatih Acet2019-03-012-0/+271
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will rewrite Related MRs widget in CE with Vue. It’s pretty much the same with Related Issues in EE. I made EE only components reusable and this is the CE backward compatability commit. Links: Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/57662 MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9730
* | | | | Move EE differences in CE diff files into CEPhil Hughes2019-03-013-8/+13
| |/ / / |/| | | | | | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/9974, https://gitlab.com/gitlab-org/gitlab-ee/issues/9973, https://gitlab.com/gitlab-org/gitlab-ee/issues/9969
* | | | Merge branch '57734-improve-label-dropdown-selection-performance' into 'master'Fatih Acet2019-03-012-29/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve labels select rendering Closes #48230 and #57734 See merge request gitlab-org/gitlab-ce!25281
| * | | | Remove jQuery overhead in labels select renderingHeinrich Lee Yu2019-02-271-11/+18
| | | | |
| * | | | Improve glDropdown rendering performanceHeinrich Lee Yu2019-02-272-19/+4
| | |/ / | |/| | | | | | | | | | Return jQuery element instead of HTML for renderRow for labels select
* | | | Externalize markdown toolbar tooltipsEnrique Alcántara2019-03-011-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace tooltip texts in the markdown toolbar with bindings to gettext calls Author: Enrique Alcantara <enrique@crunch.io>
* | | | CE port of noteable-discussion-ee-differencesPhil Hughes2019-02-284-2/+20
| |/ / |/| |
* | | Resolve "Add missing karma tests to the the MR Diff components"Natalia Tepluhina2019-02-282-9/+8
| | |
* | | inherit DropdownUser from DropdownAjaxFilterAlexis Reigel2019-02-271-63/+20
| | |
* | | use lazy ajax filter dropdown for runner tagsAlexis Reigel2019-02-272-1/+70
| | | | | | | | | | | | | | | | | | the potential number of available runner tags is too large to load it statically to a dropdown. we use the same lazy loaded dropdown as is used for the users dropdown already.
* | | add tag filter to admin runners pageAlexis Reigel2019-02-272-0/+21
| | |
* | | Merge branch 'members-ee-code-ce' into 'master'Filipa Lacerda2019-02-273-11/+20
|\ \ \ | | | | | | | | | | | | | | | | CE backport of members-ee-code See merge request gitlab-org/gitlab-ce!25593
| * | | CE backport of members-ee-codePhil Hughes2019-02-273-11/+20
| | | |
* | | | Fix misspellings in app/spec executable linesTakuya Noguchi2019-02-272-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* | | | Merge branch 'qa-fix-import-github-repo-spec-2' into 'master'Ramya Authappan2019-02-271-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix `import_github_repo_spec.rb` Closes #55700 See merge request gitlab-org/gitlab-ce!25133
| * | | | Update GitHub Import testSanad Liaquat2019-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the unnecessary :orchestrated tag and updates a few selectors. Also wait_for_success for import before proceeding. The test is currently placed in quarantine because of a bug.
* | | | | Add Project template for go-microJason Lenny2019-02-271-0/+4
| | | | |
* | | | | Fix inconsistent pagination stylesClement Ho2019-02-271-2/+2
| |/ / / |/| | |
* | | | Merge branch 'sh-wip-fix-duplicate-env-xhr' into 'master'Filipa Lacerda2019-02-271-5/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix pagination and duplicate requests in environments page Closes #58191 See merge request gitlab-org/gitlab-ce!25582
| * | | | Add pagination spec and improve filtering of null valuesStan Hu2019-02-261-2/+6
| | | | |
| * | | | Fix pagination and duplicate requests in environments pageStan Hu2019-02-261-5/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes two problems: 1. When a user clicked on another page, the app would fetch the new page data but never update because the request and response parameters failed to match the isEqual check. This was happening because the JSON response omitted the `nested` attribute, so there was a comparison with a `null` value. We fix this by scrubbing undefined values before doing the comparison. 2. There were duplicate requests made for the environments page because the success handler of fetchPipelines() would cause the polling component to make another XHR request. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58191
* | | | Set up basic keyboard next/previous navigation in diff listDenys Mishunov2019-02-273-3/+41
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mousetrap is used as the help-tool to listen to keystrokes Added currentDiffIndex getter to store that holds the index of currently active diff file in the list Instead of computing it on the component, we will take advantage of it being available for all components in DiffsApp Testing keyboard navigation and jumpToFile()
* | | Merge branch ↵Filipa Lacerda2019-02-261-1/+35
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '46750-ci-empty-environment-is-created-even-when-a-job-isn-t-run-when-manual' into 'master' Sort Environments by Last Updated Closes #46750 See merge request gitlab-org/gitlab-ce!25260
| * | | Sort Environments in Table by Last UpdatedAndrew Fontaine2019-02-251-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure folders push to the top, if both have no last update, sort by name. The sorting algorithm should sort in the following priorities: 1. folders first, 2. last updated descending, 3. by name ascending, the sorting algorithm must: 1. Sort by name ascending, 2. Reverse (sort by name descending), 3. Sort by last deployment ascending, 4. Reverse (last deployment descending, name ascending), 5. Put folders first. It is done this way, as `underscore`'s sort API is very basic: simple comparisons, sorting by ascending only.
* | | | Merge branch 'ce-revert-d5ce84fd' into 'master'Lin Jen-Shin2019-02-265-3/+29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Merge branch 'revert-82d7b5a0-ce' into 'master'" Closes #57857 and #50747 See merge request gitlab-org/gitlab-ce!25559
| * | | | Merge branch 'fix-misspellings-app-comments' into 'master'Rémy Coutable2019-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Fix misspellings in app/spec comments See merge request gitlab-org/gitlab-ce!25517
| * | | | Fix issues filter search token ee importLuke Bennett2019-02-262-2/+2
| | | | |