Ralf Becker
37f6c97441
fix SQLSTATE[42000]: Syntax error or access violation in filemanager
...
caused by not correctly quoted empty string instead of id in extended ACL
2018-10-19 13:49:18 +02:00
Ralf Becker
811444dc98
* Filemanager/SMB: fix directory creation failed on Samba (smbclient PHP extension)
...
smbclient treats every non-zero value of $options parameter as recursive, not just &1 and we have by default &8 = STREAM_REPORT_ERRORS set.
2018-09-06 12:12:21 +02:00
Hadi Nategh
8a050968e8
Replace basename with Vfs::basename to avoid setlocale issue.
2018-08-01 14:53:10 +02:00
nathangray
94162698c9
Set current app to filemanager so js loads correctly
2018-07-19 14:12:52 +02:00
Ralf Becker
e613c59dc3
* All apps: fixed moving attachments to new entries (without attachments) lost moved file
2018-04-12 15:14:26 +02:00
Ralf Becker
b968f65b4a
fixing not working links stream-wrapper
2018-04-10 08:56:20 +02:00
Ralf Becker
4c99e0bf99
fix Scrutinizer issue (seems to be some left over old code)
2018-04-09 17:36:35 +02:00
Ralf Becker
0d984589ff
* PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage
2018-04-09 17:36:35 +02:00
Ralf Becker
442da1e381
* Sharing/Collabora: fix not working cleanup of temp. files and shares
...
- 14.x installs had the job created with old class-name egw_sharing
- Wopi shares where never cleaned up, they are now after 3 month
2018-03-22 13:12:50 +01:00
Ralf Becker
762c60a61f
new method Api\Framework::getUrl() to get a full / externally usable Url
2018-03-21 12:40:59 +01:00
Ralf Becker
8c23fca35e
do NOT use hostname configured in setup, if it is the default localhost
...
stick with HTTP Host header in that case
2018-03-21 11:45:25 +01:00
nathangray
e7df918794
Re-init static streamwrapper, as some of them look at permissions or preferences
2018-03-20 15:22:50 +01:00
Ralf Becker
d426394685
correctly propagate readonly for sharing and Collabora
2018-03-20 11:54:33 +01:00
Hadi Nategh
be4696b857
Get Collabora+Sharing into latest stable version
2018-03-19 16:05:43 +01:00
Hadi Nategh
bba57a254b
Fix broken sharing caused by commit 89a8e6f448
2018-03-05 11:15:35 +01:00
nathangray
f262fed4b2
Place check on session first to avoid errors if it's missing
2018-02-15 09:30:08 -07:00
nathangray
a1a43afe53
* Api - Fix sharing from mounted shares failed with 404
2018-02-14 10:30:23 -07:00
Hadi Nategh
7e1b5602f1
* Mail: Fix a security issue when sharing of attached files as download links in compose dialog exposes all folders as readonly shares
2018-01-17 17:56:09 +01:00
Hadi Nategh
aeec7a869f
Fix collabora can not open vfs symlinks from apps
2017-12-13 10:17:45 +01:00
Ralf Becker
db6e6b376f
replace from PostgreSQL not understood && with standard AND
2017-12-07 17:28:54 +08:00
Ralf Becker
42ea57c124
* All apps/PostgreSQL: fix SQL error when deleting an entry without attachments
2017-12-07 17:21:26 +08:00
Ralf Becker
c3c385e1f4
* Filemanager/PostgreSQL: cant open file in Collabora because of SQL error
...
Syntax error: 7 ERROR: syntax error at or near "=“, PostgreSQL needs true/false not 1/0
2017-12-07 16:47:42 +08:00
Hadi Nategh
6d378b8e73
Fix attempting to open a document link in infolog pops collabora link even the user has no permission to the collabora app
2017-11-20 10:18:12 +01:00
Ralf Becker
464f1b3894
never invalidate session in sharing, as we cant regenerate it (and we dont need to)
2017-11-07 13:03:30 +01:00
nathangray
dda47ca863
Disable extended ACL for readonly shares
2017-11-03 10:28:27 -06:00
Ralf Becker
4ebf79d0e1
* Sharing/Collabora: allow to use Collabora on writable shares (EPL only)
2017-11-03 12:43:09 +01:00
nathangray
069d49afba
Disable copy / paste for readonly shares
2017-11-02 09:43:08 -06:00
Ralf Becker
3689b3d645
* Filemanager/Sharing: deny rename, move, mkdir and rmdir on readonly share
2017-11-02 13:34:10 +01:00
Ralf Becker
0813403b5b
* All apps: get sharing working with files attached to application entries
2017-10-31 10:51:59 +01:00
nathangray
616c11c1fb
Fix wrong table name
2017-10-27 17:48:42 +02:00
nathangray
0d14155472
Fix minimum fs_id was not returning proper value
2017-10-27 17:43:40 +02: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
c886d567f9
share token could still contain "+", which Vfs::encodePathComponent was not encoding
...
fixes some files not opening in Collabora
2017-08-30 18:16:15 +02:00
nathangray
ef6eb77991
Use static to get token so children can override it
2017-06-30 09:47:21 -06:00
Ralf Becker
69456307e4
fix at PHP 7.0 not working migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)
...
migration loops forever, after migrating all files, as it does not detect no more files to migrate
2017-06-21 10:02:29 +02:00
Ralf Becker
4b379776b3
fix at PHP 7.0 not working migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)
...
can not unset variable bind to column, as it looses its bind
2017-06-21 09:42:46 +02:00
Ralf Becker
f7a9c253a9
fix SQL error when migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)
2017-06-21 09:04:44 +02:00
Hadi Nategh
a74d3db798
Try to create home directory if it's not exist. Fix file upload to compose dialog fails if user has no run access to filemanager and has no home folder set
2017-05-16 16:51:35 +02:00
Ralf Becker
da58ef5769
* Filemanager/PostgreSQL: shared files were not cleaned up after expiring of 100 days not accessed under PostgreSQL
2017-01-23 15:23:11 +01:00
Ralf Becker
ad059b81e7
add missing traversable-test mentioned by Scrutinizer
2016-10-20 10:17:20 +02:00
Ralf Becker
2fbafeaa27
add missing false-test mentioned by Scrutinizer
2016-10-20 09:50:57 +02:00
Ralf Becker
ae712ff8a1
* Filemanager: break infinit recursion stalling eg. login by introducing max. sub-directory depth of 100
...
Detects infinit recursion caused eg. by fs_dir pointing to a child-directory.
No idea how to efficently test for that, without scanning all parents of all filesystme nodes.
2016-10-19 15:52:02 +02:00
Ralf Becker
d4ce9fce91
enhance filesystem check to also check fs_id of required nodes /, /home, /apps
2016-08-31 19:03:48 +02:00
Ralf Becker
4cd0d35ff7
possible fix for deactivated / or /apps
2016-08-29 17:14:48 +02:00
Ralf Becker
026fd08125
Sqlfs::mkdir is no longer static, fixing some left over static calls
2016-08-29 13:42:57 +02:00
Ralf Becker
a6189bf9b9
Sqlfs::mkdir is no longer static, fixing some left over static calls
2016-08-29 12:56:35 +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
ac45503630
Handle recursive directory creation in vfs layer, as not all underlaying
...
wrappers, eg. smb(client), support it themselfs
2016-08-12 08:49:06 +02:00
Ralf Becker
78893ad901
* Filemanager: fix PHP Fatal error when changing ownership or permissions
2016-08-11 22:39:35 +02:00