45c272dac2
make Vfs\StreamWrapper::symlinkCache_remove public, to allow calling from Vfs
2016-07-21 12:15:54 +02:00
52be4ee14b
implement PHP 5.4+ stream_metadata method for VFS, allowing to use that functionality from other stream-wrappers like php-smbclient
2016-07-21 09:51:36 +02:00
f04dd8ace6
Vfs no longer extends Vfs\StreamWrapper, as this is the only way to keep static function signatures for Vfs class, also cleans up a bit
2016-07-19 13:29:43 +02:00
b65d87bc68
fixing our wrong static methods in stream-wrapper: unlink, rmdir, mkdir, rename and url_stat (they are not static, so PHP can pass in $context)
2016-07-19 11:59:16 +02:00
dbb46f7574
fix Scrutinizer "bugs"
2016-07-02 13:59:49 +02:00
b0803c76b6
fix Scrutinizer "bugs"
2016-07-02 12:11:52 +02:00
9aa98a46a5
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
0a2b30f275
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
ab02df94d4
extract PDO code from Sqlfs streamwrapper into class Api\Db\Pdo, to be able to use it for z-push SqlStateMaschine
2016-06-09 20:40:31 +02:00
e2190cee25
fix EGroupware\Api\Vfs\Sqlfs\StreamWrapper::mkdir('sqlfs://default/home/*****',56,8) already exist!
2016-06-06 13:59:45 +02:00
eb62aba637
fix PHP Fatal error: Class 'EGroupware\Api\Vfs\SharingUi' not found
2016-05-30 16:00:20 +02:00
1b8bc32f54
fix only show WebDAV autoindex, instead of filemanager GUI for sharing directories
2016-05-30 12:40:20 +02:00
e34fe9a4e7
using Acl::(ADD|READ|EDIT|DELETE|PRIVAT) constants instead old EGW_ACL_* defines and fix some namespace errors found by doc/check_namespace.php
2016-05-11 19:23:14 +00:00
e87cbc4832
use static Hooks methods
2016-05-11 18:58:10 +00:00
153c068271
fix diverse occurences of egw_db
2016-05-06 11:13:19 +00:00
bf0fbbb521
fix PHP Fatal caused by calling method of old hooks class
2016-05-06 09:34:29 +00:00
834cc466f5
to allow installing api or EGroupware without phpgwapi, old exceptions which we have to extend in order allow old apps to catch exceptions thrown from new api, have to reside in api/inc and get autoloaded
2016-05-02 16:57:50 +00:00
b86a5d469c
use vcard_charset preference for generating vcards for addressbook
2016-04-29 08:52:28 +00:00
8c87cf9dfc
move egw_framework to api and refactor it
2016-04-07 20:42:06 +00:00
9fd7b645ec
move asyncservices class to api
2016-04-06 19:27:47 +00:00
41d00a0fd1
fix old exception
2016-04-05 18:39:55 +00:00
adb748d6e7
move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms)
2016-04-02 14:16:20 +00:00
58834a0c73
fix An error happened (ErrorException): Argument 4 passed to EGroupware\Api\Vfs::copy_files() must be of the type array, none given
2016-03-29 11:01:34 +00:00
b202223f62
fix PHP Fatal error: Cannot make static method EGroupware\Api\Vfs\Sqlfs\StreamWrapper::get_eacl() non static in class EGroupware\Api\Vfs\Links\StreamWrapper
2016-03-29 07:01:36 +00:00
a417310b9d
make all static methods static to avoid warning when they get called static
2016-03-27 09:41:58 +00:00
77c5102792
fixed more namespace issues found by doc/check_namespace.php I wrote and forgot about it ;-)
2016-03-21 21:21:40 +00:00
1b5429f0ff
replacing common::egw_exit() with exit, there is no more extra cleanup
2016-03-20 16:30:01 +00:00
67cb60b972
moving egw_digest_auth, vfs_webdav_server and egw_sharing to new api
2016-03-20 16:19:53 +00:00
485416d5f1
replace create_function with performanter, because opcachable closure
2016-03-20 14:01:29 +00:00
0ba4283f9f
move egw_link to Api\Link
2016-03-07 08:46:32 +00:00
7989d702dd
move mime_magic class to Api\MimeMagic
2016-03-05 12:33:37 +00:00
7aa3296cc5
move config to Api\Config
2016-03-05 10:22:40 +00:00
1ab66dd811
move exceptions to new api structure, thought to catch an exception by its deprecated name, new exceptions have to extend deprecated ones
2016-02-28 13:43:06 +00:00
9bf4dd288e
moved egw_cache to Api\Cache
2016-02-28 09:38:36 +00:00
651be2a4cf
removing for some of our ADOdb patches
2016-02-20 18:16:21 +00:00
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
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
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
c34ebcf9b2
fixed creating of symlink failed for not-writable entry-directory (attachments), because wrong url_stat was used, needs to be static::url_stat not self::, to use method of extending classes
2015-09-30 03:24:04 +00:00
ac04fcaa27
shorten filenames to precision of the column (200 characters9, to not give SQL error under PostgreSQL
2015-08-22 12:46:42 +00:00
02de20bddb
* Filemanager/WebDAV: rename of a file or directory removed other files with names only differing in case eg. "test" and "Test"
2015-08-06 12:59:56 +00:00
92c9fbc7dc
* Filemanager/Versioning: filesystem checks now fixes directories existing multiple times, causing them to appear empty
2015-07-29 09:08:31 +00:00
3943fca39d
make sure we are connected, as we need ADOdb object to convert charset to MySQL (eg. utf-8 --> utf8)
2015-07-15 21:27:48 +00:00
b27dbc617c
allow to specify multiple ;-separated hosts for database, by default first one is used, on connection failure other ones are tried too
2015-07-06 11:15:14 +00:00
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
f5863852e4
Make sure stat url is present before changing it. Fixes error loading mounted etemplates.
2015-03-24 19:42:32 +00:00
8a2b996021
Store url/dir query parameters in local var
2015-03-23 17:40:20 +00:00
e89d8e9e64
Make sure query doesn't get lost
2015-03-18 23:36:17 +00:00
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
9c569a8c1e
* Sharing: fixed not accessible share, if user already logged into same EGroupware instance, also fixed WebDAV problems using a share URL
2015-02-28 22:08:23 +00:00