Ralf Becker
564b2b0fd7
fixes and first successful tests with Ldap backend
2016-03-08 08:13:26 +00:00
Ralf Becker
0fa46377d8
fix PHP Fatal error: Class 'EGroupware\Api\Storage\notifications' not found in api/src/Storage/Tracking.php on line 769
2016-03-07 10:03:14 +00:00
Ralf Becker
fca25726c9
fix 2 PHP Fatal error:
...
- Class 'EGroupware\Api\etemplate' not found in api/src/Contacts.php on line 1527
- Undefined constant 'EGroupware\Api\SessionEGW_SESSION_VAR' in api/src/Storage/Tracking.php on line 409
2016-03-07 09:59:12 +00:00
Ralf Becker
0ba4283f9f
move egw_link to Api\Link
2016-03-07 08:46:32 +00:00
Ralf Becker
3c02af0875
fix typo in case
2016-03-06 21:13:26 +00:00
Ralf Becker
3742ecec05
some more resolved dependencies
2016-03-06 20:56:09 +00:00
Ralf Becker
f116751110
move auth classes to Api\Auth, only Sql is currently tested!
2016-03-06 20:48:37 +00:00
Ralf Becker
b95727bb6f
move auth classes to Api\Auth, only Sql is currently tested!
2016-03-06 20:47:10 +00:00
Ralf Becker
d407b9aae1
moved accounts classes to Api\Accounts
2016-03-06 15:54:07 +00:00
Ralf Becker
7ada2354d3
move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields
2016-03-06 13:45:15 +00:00
Ralf Becker
fcca19cfcf
moving so_sql* to Api\Storage
2016-03-06 09:05:20 +00:00
Ralf Becker
29c7d2d1f8
cleaning up common class, moving image handling to Api\Image, eg. Api\Image::find($app,$image) instead of common::image($app,$image)
2016-03-06 09:04:44 +00:00
Ralf Becker
f7441c2e2e
Api\Vfs::mime_icon() only returns url or eTemplate app/name string, no more html image tag, egw_vfs compatibility class still implements that
2016-03-05 15:59:20 +00:00
Ralf Becker
49c45ff53a
cleaning up common class, moving image handling to Api\Image, eg. Api\Image::find($app,$image) instead of common::image($app,$image)
2016-03-05 15:32:49 +00:00
Ralf Becker
1484c94c28
using DateTime::to() instead of common::dateformatorder/formattime
2016-03-05 15:22:35 +00:00
Ralf Becker
ed8f6f45c4
move egw_csrf class to Api\Csrf without a compatibility class
2016-03-05 14:02:13 +00:00
Ralf Becker
0f2131e29a
move egw_customfields class to Api\Customfields
2016-03-05 13:33:32 +00:00
Ralf Becker
aeb9c93b55
moved egw_session class to Api\Session and removed unused egw_session_(files|memcache) as listing sessions is done now via egw_sessions table in db and memcache has its own session handler
2016-03-05 13:14:54 +00:00
Ralf Becker
7989d702dd
move mime_magic class to Api\MimeMagic
2016-03-05 12:33:37 +00:00
Ralf Becker
a24c1121a2
move egw_time class to Api\DateTime
2016-03-05 11:14:01 +00:00
Ralf Becker
49f75bc8dd
move non-mail specific methods of translation class to Api\Translation
2016-03-05 10:47:20 +00:00
Ralf Becker
ea798d93f2
move config to Api\Config
2016-03-05 10:23:11 +00:00
Ralf Becker
7aa3296cc5
move config to Api\Config
2016-03-05 10:22:40 +00:00
Ralf Becker
1f3c674ef6
adding an Exceptions for caching problems
2016-03-03 11:41:45 +00:00
Ralf Becker
4486d9d7a2
fix namespace usage in refactured code:
...
namespace EGroupware\Api --> use eg. just Db, not Api\Db for EGroupware\Api\Db
use EGroupware\Api --> use eg. Api\Db for EGroupware\Api\Db
2016-03-01 09:14:06 +00:00
Ralf Becker
0637063660
fix namespaces in Db exceptions
2016-02-29 13:39:35 +00:00
Ralf Becker
27c204cc7a
fix namespaces in stock PHP class \Memcache(d)
2016-02-29 08:53:05 +00:00
Ralf Becker
d2e7c7da4d
check for php serialization before using igbinary_unserialize
2016-02-29 08:45:33 +00:00
Ralf Becker
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
Ralf Becker
b596b615b4
APCIterator is from global namespace
2016-02-28 13:22:09 +00:00
Ralf Becker
9bf4dd288e
moved egw_cache to Api\Cache
2016-02-28 09:38:36 +00:00
Ralf Becker
0f93bdfcff
append (optional) length of index in brackets to column, to adapt to improved pull request for ADOdb
2016-02-24 09:27:54 +00:00
Ralf Becker
e3fb4142fc
need to cast to string, as ADOdb 5.20 would return NULL instead of '' for NULL, causing us to write that into NOT NULL columns
2016-02-22 13:31:44 +00:00
Ralf Becker
7f40ff5b17
work around broken ADORecordSet::GetAssoc() in ADOdb 5.20
2016-02-21 11:59:14 +00:00
Ralf Becker
2a056cca06
fix old class name in Galera health check
2016-02-21 11:07:46 +00:00
Ralf Becker
86955dfc95
work in progress: using ADOdb 5.20 and move db classes to new api directory
2016-02-20 20:27:17 +00:00
Ralf Becker
651be2a4cf
removing for some of our ADOdb patches
2016-02-20 18:16:21 +00:00
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
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
Ralf Becker
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
Ralf Becker
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
Ralf Becker
92c9fbc7dc
* Filemanager/Versioning: filesystem checks now fixes directories existing multiple times, causing them to appear empty
2015-07-29 09:08:31 +00:00
Ralf Becker
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
Ralf Becker
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
Ralf Becker
14ccc8f0b5
added todo with url to php class allowing to stream a zip file of arbitrary size
2015-06-11 12:46:27 +00:00
Klaus Leithoff
ed12869f0d
* API/VFS: download as zip; increase the time limit on a small amount of files, as they may hold a big amount of data
2015-06-11 12:30:38 +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
Ralf Becker
d1038c6d65
need to return stat array
2015-04-14 17:25:51 +00:00
Ralf Becker
e6a751e1c5
fix old class-name
2015-04-14 17:06:41 +00:00
Ralf Becker
08609c1e0b
always return resource seeked to its start
2015-04-14 17:05:38 +00:00
Ralf Becker
0223553284
allow to specify "egw_data" => egw_link::set_data() instead of "tmp_name" of uploaded file to create attachments with egw_link::link()
2015-04-14 15:04:21 +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
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
Ralf Becker
9686d8ff5b
use error_log instead of echo to give constant feedback (echo uses output buffering) and set fs_content in all rows to NULL, as it is a lot quicker
2015-02-17 07:55:11 +00:00
Ralf Becker
7e8f2716e6
seems like bindValue need to be done for each execute
2015-02-16 15:51:44 +00:00
Ralf Becker
42413373b5
fix migrate_db2fs to only fetch 5 files per query, as we dont want to require enough memory to hold all file in memory
2015-02-16 15:15:54 +00:00
Ralf Becker
dd097695ac
* Filemanager/Mail: fixed not created thumbnails for readable shares
2015-02-11 11:16:33 +00:00
Ralf Becker
fc70b2213e
missing use / namespace aliases
2015-01-31 16:20:21 +00:00
Ralf Becker
c853502a01
fix an other not aliased global class (egw_time)
2015-01-27 17:17:50 +00:00
Ralf Becker
481803ac3b
fix PHP Fatal error: Class "EGroupware\Api\ZipArchive" not found
2015-01-27 17:09:00 +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