summaryrefslogtreecommitdiff
path: root/spec/frontend
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | Fix typos in the whole gitlab-ce projectYoginth2019-05-201-2/+2
| | |
* | | Create empty Vuex store for issue boardsWinnie Hellmann2019-05-203-0/+169
| |/ |/|
* | Setup Vue app for repository file listingPhil Hughes2019-05-201-0/+23
| | | | | | | | Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/61578
* | Use component selectors in serverless frontend testsWinnie Hellmann2019-05-194-24/+37
| |
* | Merge branch ↵Fatih Acet2019-05-171-0/+33
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '61657-allow-report-section-list-to-not-have-redundant-status-icon' into 'master' Resolve "Allow report section list to not have redundant status icon" Closes #61657 See merge request gitlab-org/gitlab-ce!28226
| * | Allow hiding of report status icon in report item61657-allow-report-section-list-to-not-have-redundant-status-iconSam Bigelow2019-05-091-0/+33
| | | | | | | | | | | | Allow hiding of all report items' status icons
* | | Increase Jest timeout to 500msWinnie Hellmann2019-05-174-10/+1
| | |
* | | Merge branch 'fe-use-process-timer-in-jest-timeout' into 'master'Fatih Acet2019-05-161-10/+17
|\ \ \ | |_|/ |/| | | | | | | | Use process timer for jest timeout testing See merge request gitlab-org/gitlab-ce!28209
| * | Use process timer for jest timeout testingfe-use-process-timer-in-jest-timeoutPaul Slaughter2019-05-081-10/+17
| | |
* | | Merge branch 'winh-fix-jest-fixtures-wrapper' into 'master'Kushal Pandya2019-05-161-3/+6
|\ \ \ | | | | | | | | | | | | | | | | Fix loadJSONFixtures wrapper in Jest See merge request gitlab-org/gitlab-ce!28328
| * | | Fix loadJSONFixtures wrapper in Jestwinh-fix-jest-fixtures-wrapperWinnie Hellmann2019-05-151-3/+6
| | |/ | |/|
* | | Merge branch 'winh-jestify-security-dashboard-filter-spec' into 'master'Kushal Pandya2019-05-161-0/+10
|\ \ \ | |/ / |/| | | | | | | | Mock away document.createRange() in Jest See merge request gitlab-org/gitlab-ce!28222
| * | Mock away document.createRange()winh-jestify-security-dashboard-filter-specWinnie Hellmann2019-05-091-0/+10
| | | | | | | | | | | | (cherry picked from commit a0e7e2075c6182838a0645e0bbb3927e5f9a8bba)
* | | Fix discussion notes spec timeout61596-increase-timeout-for-discussion-notes-specPaul Slaughter2019-05-081-2/+5
| |/ |/|
* | Add failing test for hasQuickActionsWinnie Hellmann2019-05-071-0/+17
|/
* Merge branch '54405-resolve-discussion-when-applying-a-suggested-change' ↵Phil Hughes2019-05-071-0/+103
|\ | | | | | | | | | | | | | | | | into 'master' Resolve "Resolve discussion when suggestion is applied" Closes #54405 See merge request gitlab-org/gitlab-ce!28160
| * Resolve discussion when suggestion is applied54405-resolve-discussion-when-applying-a-suggested-changePaul Slaughter2019-05-071-0/+103
| | | | | | | | | | | | | | | | | | - Adds color and a tooltip to describe this new behavior - Does not resolve if discussion is already resolved - Adds an action `resolveDiscussion` to simplify `toggleResolveNote` - Updates docs https://gitlab.com/gitlab-org/gitlab-ce/issues/54405
* | Add external dashboard linkAdriel Santiago2019-05-071-0/+100
| | | | | | | | | | Add settings for linking to external dashboard from metrics dashboard