From 9d38e3602b2faf37d861729c52690ce51b8fee97 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 8 May 2014 22:06:30 +0200 Subject: Namespacing for FileList, FileActions and trashbin app - 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 --- apps/files/templates/appnavigation.php | 2 - apps/files/templates/index.php | 111 --------------------------------- apps/files/templates/list.php | 104 ++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 113 deletions(-) create mode 100644 apps/files/templates/list.php (limited to 'apps/files/templates') diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 52e4284d3e5..86436bbe8c4 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -1,7 +1,5 @@