summaryrefslogtreecommitdiffstats
path: root/tests/karma.config.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix domparser on phantomjsJulius Härtl2019-03-071-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix testsJulius Härtl2019-03-011-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move comments to webpackRoeland Jago Douma2019-02-261-11/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move files_sharing additionalscripts over to webpackRoeland Jago Douma2019-02-151-3/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update testsRoeland Jago Douma2019-02-141-12/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move of files_versions to webpackRoeland Jago Douma2019-02-131-13/+2
| | | | | | | | * Move CSS into bundle * Old merged.json no longer needed! * No need to load the style still Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Don't load old vendor files during jsunit testsChristoph Wurst2019-01-091-7/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix js unit testsRoeland Jago Douma2018-10-191-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fixup! Move files_drop to compiled handlebarsRoeland Jago Douma2018-10-161-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move files_versions to compiled handlebars templatesRoeland Jago Douma2018-10-041-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move Comments to compiled handlebarsRoeland Jago Douma2018-10-041-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump karma configJohn Molakvoæ (skjnldsv)2018-07-201-46/+80
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixing failing test cases due to change in functionality.Abijeet2018-03-271-1/+2
| | | | | | Also fixes scrutinizer warnings. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Add unit tests for the navigation bar slide gestureDaniel Calviño Sánchez2017-12-141-1/+1
| | | | | | | | The slide gesture is enabled or disabled depending on the width of the browser window. In order to easily control that width the karma-viewport plugin is now used in the unit tests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* adjust jsunit testsArthur Schiwon2017-11-011-0/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Extract toggle visibility of a SystemTagsInfoView to its own viewDaniel Calviño Sánchez2017-06-091-0/+1
| | | | | | | | | | | The SystemTagsInfoViewToggleView is a basic view that renders a label that, when clicked, toggles the visibility of an associated SystemTagsInfoView. In order to keep the view parent agnostic its attachment and detachment to/from the MainfFileInfoView is done in the FilesPlugin. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Remove DOMPurify from srcFilesLukas Reschke2017-04-251-2/+1
| | | | | | It is already included via core.json Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* JS tests for upload only functionArtur Neumann2017-04-181-1/+2
| | | Signed-off-by: Artur Neumann <info@individual-it.net>
* Update karma, use sinon from npmVincent Petry2017-03-231-4/+1
| | | | | | | Update karma library and use sinon JS library provided by karma-jasmine-sinon instead of local file. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Apply DOMPurify over HTMLLukas Reschke2017-01-131-1/+2
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix JSUnit testsMorris Jobke2017-01-131-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix image warningsChristoph Wurst2017-01-131-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* allow/fix loading of fontsChristoph Wurst2017-01-131-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* show fewer warnings in karma test runsChristoph Wurst2017-01-101-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix js testsRoeland Jago Douma2017-01-061-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Generate js codecov coverageRoeland Jago Douma2016-11-091-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* refactor share permission logic into own method to reuse it for the share tabChristoph Wurst2016-11-071-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add system tags filter section for files appVincent Petry2016-02-091-0/+1
|
* Reset comments read marker after loading commentsVincent Petry2016-02-031-0/+1
|
* Add file row indicator for unread commentsVincent Petry2016-02-031-1/+1
|
* Added JS unit tests for commentsVincent Petry2016-02-021-0/+12
|
* Added system tags GUI in sidebarVincent Petry2016-01-191-0/+10
| | | | | Added files details sidebar panel to assign/unassign/rename/delete system tags.
* Merge branch 'master' into issue_20427Jesus Macias Portela2015-12-031-3/+3
|\
| * Added OC.Files.Client Webdav-based files clientVincent Petry2015-11-221-3/+3
| |
* | Added some unit tests for the status managerVincent Petry2015-11-201-1/+2
|/
* Update JS unit tests for share dialog (WIP)Vincent Petry2015-09-161-1/+2
|
* Add versions tab to files sidebarVincent Petry2015-09-031-0/+10
| | | | | | | - move versions to a tab in the files sidebar - added mechanism to auto-update the row in the FileList whenever values are set to the FileInfoModel given to the sidebar - updated tags/favorite action to make use of that new mechanism
* Update JS unit test libsVincent Petry2015-07-101-1/+1
| | | | | | | | Update sinon to 1.15.4. Update karma-jasmine to 0.3.0 Update jasmine to 2.3.4 This brings a bunch of new useful functions for unit testing.
* Added unit tests for download URL in public sharing pageVincent Petry2015-05-191-1/+2
|
* Use storage id + appframework for ext storage CRUDVincent Petry2015-03-121-1/+2
| | | | | | | | | | | | | - Added StorageConfig class to replace ugly arrays - Implemented StorageService and StorageController for Global and User storages - Async status checking for storages (from Xenopathic) - Auto-generate id for external storage configs (not the same as storage_id) - Refactor JS classes for external storage settings, this mostly moves/encapsulated existing global event handlers into the MountConfigListView class. - Added some JS unit tests for the external storage UI
* Added unit test for app filterVincent Petry2015-02-231-1/+5
|
* Add unit test for external share JS dialogVincent Petry2015-01-211-1/+2
| | | | | | Moved external share JS code into a small plugin to make it testable. Added unit test for the external share dialog logic + ajax calls.
* migrate jQuery to bowerMorris Jobke2014-11-041-6/+6
|
* replace moment.js with bower versionMorris Jobke2014-11-031-0/+7
| | | | * fix JS unit tests
* Add timeout to user and group deletion notificationVincent Petry2014-09-151-1/+9
| | | | | | | | | | | | | | | | | | Added timeout in DeleteHandler to auto-delete after a delay. Fixed issue where OC.Notification.hide() was called twice in a row when deleting multiple entries, causing the second notification to disappear. Fixed issue where "undo" click event handler was registered multiple times when calling setNotifications() twice. Added JS unit tests for the DeleteHandler class. Refix undo users, groups feature Timeout is now cleared in cancel(). Fixed click handler name for "undo" to be able to work with multiple DeleteHandler instances (in our case one for users and one for groups) so that there is no conflict.
* Test runner now loads CSS and hides testAreaVincent Petry2014-06-241-6/+12
| | | | | | | - serve CSS and font files properly to make sure that measurements are correct for the tests that need them (breadcrumb) - added opacity to testArea to make sure nothing is visible during testing
* Added JS unit tests for ext storageVincent Petry2014-06-171-0/+10
| | | | Added JS unit tests for the external storage file list extension.
* Added unit tests for share.js and share iconVincent Petry2014-06-021-1/+2
|
* Sharing overview fixes and unit testsVincent Petry2014-05-301-8/+35
| | | | | | | | | | | | - Fixed renaming and fileActionsReady event - Added unit tests for shares list - Fixed public page with defer - Fixed file actions in sharing overview - Fixed sharing counterpart list (10 entries max) - Fixed file path attribute to be used in download action - Fix sharing list headers - OC.Share icons now operate on fileList instance - Fix OC.Share.updateIcon when more than one list in DOM
* Namespacing for FileList, FileActions and trashbin appVincent Petry2014-05-151-1/+1
| | | | | | | | | | | | | | | | | - FileList is now an instantiable class - FileActions is now in namespace - added App class for trashbin app - moved trashbin overrides into classes extending FileList - replaced many static calls with "this." or "self." to make the classes reusable/extendable - new URL parameter "view" to specify which view is shown, for example "files" or "trashbin" - added OC.Util.History utility class in core for handling history - moved URL handling/routing to OCA.Files.App - popstate will correctly update the current view and notify the view of the URL change so it can update the current dir - added JS unitt tests for the trashbin app - fixed public app to work with the new namespaces