Commit Graph

10 Commits

Author SHA1 Message Date
Ralf Becker
ddbf473642 fix wired error in scandir "(errno 115): Operation now in progress" caused by calling opendir with undefined context 2016-01-22 13:55:37 +00:00
Ralf Becker
b4a20773b8 fix whole directories where not cleaned up, when deleting old versions and deleted files, changed .versions dir to only contain older versions (no longer deleted files / stuff from .attic too) 2016-01-21 14:35:45 +00:00
Ralf Becker
29c73a8694 * Filemanager: add ability to finally delete all old versions or deleted files from a versioned directory 2016-01-21 11:49:50 +00:00
Ralf Becker
c823f64c4b fix not working download url for share on a subdirectory of a mounted filesystem with given download url 2015-04-23 19:40:55 +00:00
Nathan Gray
f5863852e4 Make sure stat url is present before changing it. Fixes error loading mounted etemplates. 2015-03-24 19:42:32 +00:00
Nathan Gray
8a2b996021 Store url/dir query parameters in local var 2015-03-23 17:40:20 +00:00
Nathan Gray
e89d8e9e64 Make sure query doesn't get lost 2015-03-18 23:36:17 +00:00
Ralf Becker
157cfd84f8 fixed a couple more issues with session reusage when using sharing urls:
- to resolve sharing-path to url, we need to restore full mount-tab
- egw_vfs::clearstatcache() was not clearing resolve_url cache, causing previous share to be used
- need to set egw_info[user][vfs_user] after egw_session::create, as it overwrites it
2015-03-02 21:09:08 +00:00
Ralf Becker
dd097695ac * Filemanager/Mail: fixed not created thumbnails for readable shares 2015-02-11 11:16:33 +00:00
Ralf Becker
70b603ac77 moving VFS API classes into a namespaced PSR4 autoloadable structure:
- PSR4 autoloader exists beside our old autloader to support old as well as new structure until everything is ported over
- moved ported API stuff from phpgwapi to new api directory (idea is phpgwapi become a compatibility layer for old code, while we only port selected stuff to new api directory)
- namespaces use prefix "EGroupware", then (first letter capitalised) app-name or "Api", sub-system names like "Vfs" or for apps "Ui", "Bo, "So" and at least class name starting with a capital letter and without understores eg. "StreamWrapper" plus just ".php"
- examples:
  + egw_vfs in phpgwapi/inc/class.egw_vfs.inc.php --> EGroupware\Api\Vfs in api/src/Vfs.php
  + sqlfs_stream_wrapper in phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php --> EGroupware\Api\Vfs\Sqlfs\StreamWrapper in api/src/Vfs/Sqlfs/StreamWrapper.php
  + sqlfs_utils in phpgwapi/inc/class.sqlfs_utils.inc.php --> EGroupware\Api\Vfs\Sqlfs\Utils in api/src/Vfs/Sqlfs/Utils.php
- api directory is no a new svn module but exists (like home) as sub-directory under base egroupware module
2015-01-26 09:15:07 +00:00