Ralf Becker
b1af39be37
fix big chunk of PHP 8.0 warnings
2021-10-21 10:39:57 +02:00
Ralf Becker
ddddc5ba05
next big chunk of fixed PHP 8.0 Warnings
2021-10-05 14:11:11 +02:00
Ralf Becker
1747a2236a
fixing a ton of PHP Warnings slowing us down in PHP 8.0
2021-10-04 18:50:51 +02:00
nathan
707c57ecf0
* Add option to merge documents as PDF
2021-09-28 17:00:55 -06:00
nathan
2a4faf0137
* Add filemanager actions to convert editable files to PDF or PNG
2021-09-28 14:48:25 -06:00
Ralf Becker
93068dcfcc
need to call Vfs\StreamWrapper::init_static() after setting Vfs::$user
...
Vfs::$user should be protected and moved to Vfs\Base plus a getter and setter method added for public access,
as after setting it in 21.1+, Api\Vfs\StreamWrapper::init_static() need to be called to set the default user context!
2021-07-22 09:08:49 +02:00
Ralf Becker
c92bfa822f
fix PHP 8 Fatal error caused by not parsable URL like "<scheme>://<user>@/path" (missing domain)
2021-04-06 09:19:54 +02:00
Ralf Becker
fed41622c2
fixing all sorts of PHP 8 errors and PHPStorm errors
2021-03-31 17:50:01 +02:00
Ralf Becker
4886583cc1
change sharing to allow mounting shared into existing user sessions
...
without the need to destroy the session, if the sharee is a different user
This is accomplished by keeping the sharee in the stream context / attribute of the vfs class(es) instead of static Vfs::$user.
Later is still used for the current user - identical to egw_info[user][account_id].
This commit / merge of the vfs-context feature branch also added the abilty to mount WebDAV sources, eg. a sharing link from an other EGroupware instance
or any WebDAV server
2020-10-08 11:24:34 +02:00
Ralf Becker
9b17fa7871
fix typo
2020-05-18 20:56:50 +02:00
Ralf Becker
4b5379d61b
* Filemanager/WebDAV: handle url-special chars like %, # and ? correctly
2019-03-21 12:36:25 +01:00
Ralf Becker
bd2dcc293d
* Filemanager: treat GoodSync _gsdata_ directory as hidden / not shown by default
2019-01-09 17:55:06 +01:00
Ralf Becker
fb801dafe3
quiten permanen error_log
2018-12-25 09:32:03 +01:00
nathangray
f26b271067
Exclude symlinks from Vfs
2018-04-09 14:02:24 -06:00
nathangray
0a7f81a2e2
Api - Sharing from filesystem:// mounts - with tests even
2018-03-23 13:01:43 -06:00
Hadi Nategh
045436609d
Get Sharing + Collabora into latest 17.1 version
2018-03-21 12:43:25 +01:00
Ralf Becker
0d99d129dc
deny sharing owner rights (chmod, chgrp, set eACL) and disable eACL tab
2017-11-06 14:52:12 +01:00
Ralf Becker
4ebf79d0e1
* Sharing/Collabora: allow to use Collabora on writable shares (EPL only)
2017-11-03 12:43:09 +01:00
nathangray
90ce0cc7b6
Add a function to get the lowest fs_id for a path
2017-10-27 17:43:40 +02:00
Ralf Becker
48554590f4
* Addressbook: store S/Mime & PGP pubkey and photo (SQL backend only) in filesystem
2017-09-19 11:38:48 +02:00
Ralf Becker
4bf26a6c52
Vfs::rename() is supposted to be static, quitens warning that it is used static
2016-09-13 13:53:05 +02:00
Ralf Becker
4b614c91ed
* Filemanager: fix missing symlink overlay on mime-icon
2016-08-29 19:42:49 +02:00
Ralf Becker
f1f8c4e98d
* Filemanager/WebDAV: generally deny user to delete directories /, /home, /apps, /templates (last 2 incl. subdirectories)
2016-08-18 10:04:36 +02:00
Ralf Becker
afafc8ccba
calling (static) EGroupware\Api\Vfs::chown instead of using old egw_vfs not available in minimal install in account::deleted hook when moving home directory to /home/$new_user/old-home-$old_user
2016-08-15 15:43:34 +02:00
Ralf Becker
bd24602a42
* Filemanager: fix not working changing owner or group of a file/directory (as root!)
2016-08-12 09:29:40 +02:00
Ralf Becker
a72db03fdb
* EPL/Filemanager: fix PHP Fatal using file-a-file dialog (upload with setting eg. a comment)
2016-08-03 15:26:30 +02:00
Ralf Becker
7dde8d0938
fix not working removing of directories and changing group ownership
2016-08-02 12:19:23 +02:00
Ralf Becker
9c13d84a67
define Vfs::LINK_MODE constant again, since we no longer inherit from Vfs\StreamWrapper
2016-07-28 10:05:14 +02:00
Ralf Becker
4b58e87080
fix not working symlinking vfs files to infologs/links, fixed multiple PHP deprecated should not call non-static self::url_stat static
2016-07-22 18:22:46 +02:00
Ralf Becker
d26d1dd7f8
fix rename and load_wrapper missing in Vfs class
2016-07-21 11:17:01 +02:00
Ralf Becker
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
Ralf Becker
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
Ralf Becker
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
Ralf Becker
0136ed2112
fix Scrutinzer "bug" changing var imported not as reference into closure
2016-07-10 11:58:54 +02:00
Ralf Becker
0b71dd2756
replace (slower and ugly) create_function with closures
2016-07-10 11:09:21 +02:00
Ralf Becker
ada94b8d43
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
nathangray
38f1c2b76b
Avoid error if file has no props
2016-05-30 10:12:54 -06:00
Ralf Becker
8c821ab8cb
fix wrong/different case WrongUserInput --> WrongUserinput
2016-05-25 21:41:50 +02:00
Ralf Becker
e87cbc4832
use static Hooks methods
2016-05-11 18:58:10 +00:00
Ralf Becker
5d72bbfc1c
move thumbnailer to api
2016-04-06 19:39:49 +00:00
Ralf Becker
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
Ralf Becker
7c1d0dfdf1
fix PHP Fatal error: require_once(): Failed opening required HTTP/WebDAV/Server.php, caused by it's new location
2016-03-22 08:44:11 +00:00
Ralf Becker
485416d5f1
replace create_function with performanter, because opcachable closure
2016-03-20 14:01:29 +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
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
7aa3296cc5
move config to Api\Config
2016-03-05 10:22:40 +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