summaryrefslogtreecommitdiff
path: root/spec/frontend
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'paginate-license-management' into 'master'Filipa Lacerda2019-06-211-0/+56
|\ | | | | | | | | Backport and Docs for Paginate license management and add license search See merge request gitlab-org/gitlab-ce!27602
| * Paginate license management and add license searchpaginate-license-managementFernando2019-06-201-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First pass at license pagination * Paginate license management client side * Refactor license list into seperate component Add string filtering to license names * Add search input to query on license name Add add license button * Refactor add license button to be a slot Clean up styles and button state logic * Clean up alignment * Disable button when dorpdown is open Remove client side alphabetical sorting * Let the databse return order by date Refactor list to use row slot Further abstract pagination list compnent Finish refactor of paginated list * Refactor component into generic paginated list component * Add additional style tweaks + responsive classes Run prettier Update license_management_spec Run Prettier Add unit tests for paginated list component * Refactor template to be valid html (li in ul) * Add jest unit tests Add additional unit tests * Add unit tests around pagination and search states Add unit tests for filter props Pretty print, lint, and add changelog Update po files Regernate pot file Backport EE changes * Update paginated list component * Update specs and snapshot Add POT file Update default copy for pagianted list * update copy for empty and empty search result states Update pot file Backport changes from EE merge request * Paginaed list component and specs Backport EE changes Update paginated list snapshot Update license management docs and images Backport paginated-list component from EE Link to gitlab-ui artifacts job Match gitlab ui build to EE Update pot file Backport Paginated list changes Set gitlab-ui to temp artifact Add changelog
* | Merge branch 'last-commit-repo-widget' into 'master'Filipa Lacerda2019-06-202-0/+201
|\ \ | |/ |/| | | | | | | | | Render last commit widget with Vue Closes #62766 See merge request gitlab-org/gitlab-ce!29419
| * Render tree last commit widget with VuePhil Hughes2019-06-192-0/+201
| | | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62766
* | Added forked projects API call functionPhil Hughes2019-06-191-0/+23
|/ | | | Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/58583
* Fix IDE commit to use start_ref59023-fix-web-ide-creating-branches-off-new-commitsPaul Slaughter2019-06-171-0/+55
| | | | | | | | | **Why?** The branch HEAD could be changed since the IDE was opened. This leads to user's unintentionally creating commits that overwrite other changes. https://gitlab.com/gitlab-org/gitlab-ce/issues/59023
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Simon Knox2019-06-151-24/+42
|\ | | | | | | 62966-embed-zoom-call-in-issue-mvc
| * Upgrade gitlab-ui and migrate gl-paginationPaul Gascou-Vaillancourt2019-06-141-24/+42
| | | | | | | | | | | | - Upgraded gitlab-ui to v4.0.0 - Migrated pagination_links to reflect breaking changes introduced in gitlab-ui v4.0.0
* | Add Join meeting button to Issues with Zoom links62966-embed-zoom-call-in-issue-mvcSimon Knox2019-06-141-0/+91
|/ | | | | Detect links containing zoom.us followed by j, s, or my Add link below Issue title that links to Zoom meeting
* Click file row in repository Vue app to view filePhil Hughes2019-06-132-1/+31
|
* Extract ide_status_list from ide_status_barPaul Slaughter2019-06-121-0/+91
| | | | | **Why?** The ide_status_list will be used and extended in EE.
* Add LFS blob ID to GraphQL blob typePhil Hughes2019-06-102-0/+15
|
* Merge branch 'ce-5276-3-update-ide-diff-and-mirror-modules' into 'master'Phil Hughes2019-06-101-6/+38
|\ | | | | | | | | [CE for Part 3] Update IDE file mirror service (ce utils) See merge request gitlab-org/gitlab-ce!29360
| * Update IDE file mirror service (ce utils)ce-5276-3-update-ide-diff-and-mirror-modulesPaul Slaughter2019-06-071-6/+38
| | | | | | | | | | | | **Notes:** This module is a client to the webide-file-sync service. https://gitlab.com/gitlab-org/webide-file-sync
* | Merge branch 'ee-9688-fe-mr-merge-order' into 'master'Clement Ho2019-06-071-0/+40
|\ \ | | | | | | | | | | | | Backport of EE Displaying Blocking MRs See merge request gitlab-org/gitlab-ce!29095
| * | Backport of EE Displaying Blocking MRsee-9688-fe-mr-merge-orderSam Bigelow2019-06-051-0/+40
| | | | | | | | | | | | This MR is a backport of an EE merge request
* | | Move Vue models from vue_shared to boardsMartin Hanzel2019-06-071-2/+2
| |/ |/| | | | | | | Some classes in vue_shared were used only by boards, so they were moved to the boards directory.
* | 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