summaryrefslogtreecommitdiff
path: root/spec/frontend
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '59232-add-storage-counter-ce' into 'master'Phil Hughes2019-06-061-0/+11
|\ | | | | | | | | | | | | CE backport for Storage Counter changes Closes #59232 See merge request gitlab-org/gitlab-ce!29206
| * Adds hashed option to bs linked options59232-add-storage-counter-ceFilipa Lacerda2019-06-051-0/+11
| | | | | | | | Adds isOdd function
* | Increase Jest timeout on CI to 5 secondsWinnie Hellmann2019-06-062-3/+15
| |
* | Replace upgrade with updateEnrique Alcántara2019-06-064-43/+71
| | | | | | | | | | | | Use update term instead of update in the clusters managed app implementation in order to make the implementation and UI language more consistent.
* | Add doc links for confidential and locked issuesFatih Acet2019-06-061-6/+12
| | | | | | | | | | With this commit, we add docs link for confidential and locked issues to note compose and edit forms
* | Add a New Copy Button That Works in ModalsAndrew Fontaine2019-06-061-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | This copy button manages a local instance of the Clipboard plugin specific to it, which means it is created/destroyed on the creation/destruction of the component. This allows it to work well in gitlab-ui modals, as the event listeners are bound on creation of the button. It also allows for bindings to the `container` option of the Clipboard plugin, which allows it to work within the focus trap set by bootstrap's modals.
* | Merge branch '60034-default-web-ide-s-merge-request-checkbox-to-true' into ↵Phil Hughes2019-06-061-0/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 'master' Resolve "Default Web IDE's merge request checkbox to true" Closes #60034 See merge request gitlab-org/gitlab-ce!28665
| * | Default MR checkbox to true in most cases60034-default-web-ide-s-merge-request-checkbox-to-trueSam Bigelow2019-06-061-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Pull the new MR option out into it's own component - Default MR checkbox to true when creating a new MR and committing to a branch that does not have an MR - Still change the MR checkbox to false when a user is on a branch that already has an MR - Hide MR option when on a branch that already has an MR and committing to current branch - Don't default to true when committing directly to master
* | | CE Backport: Show tree within Epic containing child Epics and IssuesKushal Pandya2019-06-061-0/+136
|/ /
* | Migrate old notes app test from Karma to JestMartin Hanzel2019-06-053-2/+1087
| |
* | Add web_url to tree entry in GraphQL APIPhil Hughes2019-06-051-0/+12
|/
* Merge branch 'fix-external-dashboard-specs' into 'master'Clement Ho2019-06-041-3/+5
|\ | | | | | | | | Fix "operation settings external dashboard component" Jest specs See merge request gitlab-org/gitlab-ce!29160
| * Fix submit button selector in specsPaul Gascou-Vaillancourt2019-06-041-3/+5
| |
* | Merge branch 'fe-jestify-specs-starting-with-a-1' into 'master'Mike Greiling2019-06-044-0/+739
|\ \ | |/ |/| | | | | Jestify some specs that start with "A" See merge request gitlab-org/gitlab-ce!28727
| * Jestify autosave spec and add localStorage helperfe-jestify-specs-starting-with-a-1Paul Slaughter2019-06-042-0/+192
| | | | | | | | | | | | The helper was needed because `jest.spyOn` would not work on this special window object property. The only way we could successfully spy on `localStorage` was with this helper.
| * Jestify api specPaul Slaughter2019-05-301-0/+477
| |
| * Jestify activities specPaul Slaughter2019-05-301-0/+70
| | | | | | | | | | | | | | Also add `jQuery` to global in `test_setup`. This was needed because: - `vendor/jquery.endless-scroll` depends on it. - Adding it to `global` in the spec itself didn't work.
* | Handle external dashboard form submissionAdriel Santiago2019-06-042-47/+122
| | | | | | | | Connect frontend UI with backend api for external dashboard link
* | Merge branch ↵Grzegorz Bizon2019-06-045-62/+89
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '58941-use-gitlab-serverless-with-existing-knative-installation' into 'master' Resolve "Use GitLab serverless with existing Knative installation" Closes #58941 See merge request gitlab-org/gitlab-ce!27173
| * | Adapt functions to work for external KnativeJoão Cunha2019-05-295-62/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove Kn services cache from Clusters::Application::Knative Knative function can exist even if user did not installed Knative via GitLab managed apps. -> Move responsibility of finding services into the Cluster -> Responsability is inside Clusters::Cluster::KnativeServiceFinder -> Projects::Serverless::FunctionsFinder now calls depends solely on a cluster to find the Kn services. -> Detect Knative by resource presence instead of service presence -> Mock knative_installed response temporarily for frontend to develop Display loader while `installed === 'checking'` Added frontend work to determine if Knative is installed Memoize with_reactive_cache(*args, &block) to avoid race conditions When calling with_reactive_cache more than once, it's possible that the second call will already have the value populated. Therefore, in cases where we need the sequential calls to have consistent results, we'd fall under a race condition. Check knative installation via Knative resource presence Only load pods if Knative is discovered Always return a response in FunctionsController#index - Always indicate if Knative is installed, not installed or checking - Always indicate the partial response for functions. Final response is guaranteed when knative_installed is either true | false. Adds specs for Clusters::Cluster#knative_services_finder Fix method name when calling on specs Add an explicit check for functions Added an explicit check to see if there are any functions available Fix Serverless feature spec - we don't find knative installation via database anymore, rather via Knative resource Display error message for request timeouts Display an error message if the request times out Adds feature specs for when functions exist Remove a test purposed hardcoded flag Add ability to partially load functions Added the ability to partially load functions on the frontend Add frontend unit tests Added tests for the new frontend additions Generate new translations Generated new frontend translations Address review comments Cleaned up the frontend unit test. Added computed prop for `isInstalled`. Move string to constant Simplify nil to array conversion Put knative_installed states in a frozen hash for better read Pluralize list of Knative states Quey services and pods filtering name This way we don't need to filter the namespace in memory. Also, the data we get from the network is much smaller. Simplify cache_key and fix bug - Simplifies the cache_key by removing namespace duplicate - Fixes a bug with reactive_cache memoization
* | | Add expand/collapse buttonAdriel Santiago2019-06-041-0/+8
| | | | | | | | | | | | Add ability to expand/collapse operation settings
* | | Comply with `no-implicit-coercion` rule (CE)Nathan Friend2019-06-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This commit is the result of running `yarn eslint --fix` after enabling the `no-implicit-coercion` ESLint rule. This rule has been added to our ESLint config here: https://gitlab.com/gitlab-org/gitlab-eslint-config/merge_requests/14
* | | Merge branch '58269-separate-update-patch' into 'master'Mike Greiling2019-06-033-60/+180
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Do not display Update app button when saving Knative domain name Closes #58269 See merge request gitlab-org/gitlab-ce!28904
| * | | Add updateSuccessful/Failed props to knative appEnrique Alcantara2019-05-301-0/+2
| | | | | | | | | | | | | | | | | | | | They are used to indicate when knative domain name has changed
| * | | Extract knative domain editor into a componentEnrique Alcantara2019-05-302-60/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new component also implements several improvements in the knative domain editor workflow: - Display a loading spinner when saving changes in the domain name - Display success toast message indicating changes were saved successfully. - Display error message in the contraty occurs
* | | | Merge branch 'issafeurl-utility' into 'master'Kushal Pandya2019-06-031-0/+194
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add global isSafeURL utility See merge request gitlab-org/gitlab-ce!28943
| * | | | Add global isSafeURL utilityissafeurl-utilityPaul Gascou-Vaillancourt2019-06-031-0/+194
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | - Added isSafeURL utility based on prior work in gitlab-ee - Also added isAbsoluteOrRootRelative() and getBaseURL() utils, needed by isSafeURL - Removed URL() fallback because URL() is now polyfilled - Updated specs
* | | | Move NoteApp tests to JestWinnie Hellmann2019-06-032-0/+328
| | | |
* | | | Fix frontend tests related to autoMergeStrategyabstract-auto-mergeNathan Friend2019-06-031-3/+3
| | | | | | | | | | | | | | | | | | | | A few minor frontend changes to complete the refactoring from MWPS to the more generic autoMergeStrategy.
* | | | 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 'vue-repo-parent-row-fixes' into 'master'Filipa Lacerda2019-05-301-0/+64
|\ \ \ | |/ / |/| | | | | | | | Fixes bug with parent row component triggering multiple Vue router pushes See merge request gitlab-org/gitlab-ce!28882
| * | Fixes bug with parent row component triggering multiple Vue router pushesPhil Hughes2019-05-291-0/+64
| | |
* | | Merge branch 'renovate/gitlab-ui-3.x' into 'master'Clement Ho2019-05-291-0/+2
|\ \ \ | |/ / |/| | | | | | | | Update dependency @gitlab/ui to ^3.10.1 See merge request gitlab-org/gitlab-ce!28862
| * | Update Snapshots for MR PopoversAndrew Fontaine2019-05-291-0/+2
| |/ | | | | | | | | A new attribute was added to `GlPopover`, so the snapshots had to be updated to match.
* | Updated heading for default state in Web IDEDenys Mishunov2019-05-292-0/+58
| | | | | | | | Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/60107
* | Created repository list breadcrumbs Vue appPhil Hughes2019-05-291-0/+44
|/
* Merge branch 'vue-repo-document-title' into 'master'Filipa Lacerda2019-05-281-0/+15
|\ | | | | | | | | Update document title when repository router changes See merge request gitlab-org/gitlab-ce!28714
| * Update document title when repository router changesPhil Hughes2019-05-241-0/+15
| |
* | Revert "Merge branch ↵Winnie Hellmann2019-05-281-15/+0
| | | | | | | | | | | | '61511-add-expand-collapse-to-project-operation-setttings-2' into 'master'" This reverts merge request !28620
* | Throw an error when formatDate's input is invalidPaul Gascou-Vaillancourt2019-05-281-0/+436
| |
* | Add expand/collapse buttonAdriel Santiago2019-05-281-0/+15
| | | | | | | | Add ability to expand/collapse operation settings
* | Merge commit '2d980fadb8fe6c54ebcbb56130c88aae2832c9c6' into ↵backstage/gb/improve-jobs-controller-performanceGrzegorz Bizon2019-05-275-17/+72
|\ \ | | | | | | | | | | | | | | | backstage/gb/improve-jobs-controller-performance * commit '2d980fadb8fe6c54ebcbb56130c88aae2832c9c6': (51 commits)
| * | Add changelog entryJacques Erasmus2019-05-271-0/+16
| |/ | | | | | | Added a changelog entry for the feature
| * Pull files for repository tree from GraphQL APIPhil Hughes2019-05-244-17/+56
| |
* | Removes fetchStage actions and mutationsFilipa Lacerda2019-05-241-37/+1
|/ | | | Updates tests
* Added tree list row componentPhil Hughes2019-05-213-0/+141
|
* Merge branch 'repo-list-table-component' into 'master'Filipa Lacerda2019-05-211-0/+47
|\ | | | | | | | | Added table component for file listing See merge request gitlab-org/gitlab-ce!28334
| * Added table component for files listingPhil Hughes2019-05-201-0/+47
| | | | | | | | Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/61578
* | Merge branch 'fe-rename-vue-component-helper-ce' into 'master'Mike Greiling2019-05-201-0/+0
|\ \ | | | | | | | | | | | | [CE Port] Rename vue_component_helper to text_helper See merge request gitlab-org/gitlab-ce!28358
| * | Rename vue_component_helper to text_helperfe-rename-vue-component-helper-cePaul Slaughter2019-05-161-0/+0
| | | | | | | | | | | | | | | | | | **Why?** This file only contains a few text based helper functions. It has nothing to do with Vue or Vue components.