Commit Graph

14 Commits

Author SHA1 Message Date
Julius Härtl f3b3b5f2d0
Replace deprecated sinon reset() call with resetHistory()
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-02 08:52:22 +02:00
Chon Kou d5cfb38449 Sort apps by enabled/disabled but not by official/in-appstore in App Management
Signed-off-by: Chon Kou <k.kou@alumni.ubc.ca>
2017-09-10 20:50:22 -07:00
Morris Jobke 4d7dee5996
Fix JSUnit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-13 18:33:43 +01:00
Roeland Jago Douma 896be27e72
Fixes javascript tests for apps.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-13 14:28:32 +01:00
Lukas Reschke ff1150bb4d
Properly escape URL
Fixes https://github.com/owncloud/core/issues/23499
2016-04-18 17:43:20 +02:00
Joas Schilling f3a77c7d99 Add js tests for empty content page 2015-10-26 16:15:15 +01:00
Joas Schilling d6ca446ebc Adjust js unit tests 2015-10-26 16:15:14 +01:00
Morris Jobke e350a8bfd0 fixing the unit tests 2015-08-17 16:36:00 +02:00
Vincent Petry d5b7e40c19 Unit test for app list 2015-07-02 17:22:56 +02:00
Vincent Petry 66e426c990 Sort apps by level, then by name
Also properly initialize the level to 0 when no level was returned
2015-05-20 13:43:20 +02:00
Lukas Reschke 98698e05e8 Add JS unit test for sorting 2015-04-08 22:08:37 +02:00
Vincent Petry e144d3aa49 Added unit test for app filter 2015-02-23 15:29:25 +01:00
Morris Jobke eac0131d5a fix updated URL schema in JS unit tests 2014-12-08 15:05:03 +01:00
Vincent Petry 0d9f24a0ef Add timeout to user and group deletion notification
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.
2014-09-15 14:04:44 +02:00