nathan
da3f8d8135
Fix symlink directory problem from 2a64e79
and add a unit test to avoid that in the future
2021-07-06 16:44:53 -06:00
nathangray
2a64e79e65
Api: Fix bug where StreamWrappers that mapped onto other StreamWrappers would be parsed earlier than we want, leading to the first StreamWrapper not getting used.
2021-07-02 12:11:54 +02:00
nathangray
f4bcda7aaf
Api: Fix Asyncservice did not have proper filesystem access as the job user
2021-06-04 13:58:59 -06:00
nathangray
2c14226ee5
Api: Respect do_symlink flag to keep links as links
...
Fixes troubles with syncing
2021-05-20 11:54:06 -06:00
nathangray
08800b83c9
Fix symlinks were opened read-only in Collabora
2021-05-14 09:43:30 -06:00
nathangray
4f0c7250da
Fix error when linking to new entry
...
"Invalid datetime format: 1366 Incorrect integer value: '#97056a438e3c1ab04fd0f0ae46ad6b13' for column ... fs_dir"
2021-04-15 10:25:18 -06:00
nathangray
d9b29fa82a
Fix shares could not find files after fe79fe390f
2021-04-14 10:58:42 -06:00
nathangray
fe79fe390f
Avoid caching when the url contains links, avoids problems with eg: /apps/InfoLog/Open/2021
2021-04-12 10:31:35 -06:00
nathangray
4ab170541e
Api: Fix incorrect extended ACL check was done when symlinking
2021-04-01 10:28:06 -06:00
Ralf Becker
fed41622c2
fixing all sorts of PHP 8 errors and PHPStorm errors
2021-03-31 17:50:01 +02:00
nathangray
72b00c0422
Fix missing translation
2021-03-30 11:04:19 -06:00
Ralf Becker
ab9c089f70
fix PHP 8 Fatal error Array and string offset access syntax with curly braces is no longer supported
2021-03-21 21:13:07 +01:00
nathangray
ce17d087c1
Fix hidden upload share link would not work for logged in user that was not share owner
2021-03-17 11:34:09 -06:00
nathangray
c21af32c1b
Fix hidden upload share link would not work for logged in user
2021-03-17 11:17:06 -06:00
nathangray
47d2f433d6
Fix missed fstab mount kept unmounted shares around
2021-03-16 11:38:44 -06:00
Ralf Becker
06907d040b
fix hidden upload sharing incl. use of multiple share-links in tabs
2021-03-16 15:03:15 +02:00
Ralf Becker
2aff05757e
fix home-directories where created with wrong permissions, as Vfs::$is_root was wrongly evaluated
2021-03-15 11:41:53 +02:00
nathangray
1ffde3b692
Change global sharing variable to be a list of shares in use, indexed by token. This should resolve the issues with multiple shares being accessed in the same session.
2021-03-11 17:00:16 -07:00
nathangray
c319478816
Fix readonly shares were mounted as writable when shared to another user
2021-02-16 16:14:32 -07:00
nathangray
4b6551c5a3
- Fix missing quote when updating shares with VFS changes
...
- Fix user delete entry search for single user
2021-02-16 11:53:32 -07:00
nathangray
316adfab5e
Fix some bugs in hidden uploads
...
- Creating the share couldn't handle sqlfs://user@path style paths
- UI namespace issues
2020-10-21 09:13:37 -06:00
nathangray
5bf4d4866f
WIP on sharing prompt to ask about mounting new share
2020-10-20 16:47:26 -06:00
Ralf Becker
7c9e1c98ec
fix umount to deal with user-specific mounts too
2020-10-20 20:16:57 +02:00
Ralf Becker
9eae0333ad
allow for user specific mounts
2020-10-20 20:13:36 +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
nathangray
94a57d6902
Api: Some tests for filesystem
2020-09-16 11:48:40 -06:00
nathangray
372eadcff3
Api: Fix fstab overlap when accessing a share while logged in
2020-09-10 11:11:39 -06:00
Hadi Nategh
50a34d9c42
Make sure path is not empty before using it, fixes error "an error happened! File '' is not an absolute path!"
2020-08-14 11:06:06 +02:00
nathangray
0fdd8f87cb
Api: Fix out of memory error when deleting users and filesystem is large
...
Fixed by not deleting the files, just changing owner
2020-04-28 14:16:09 -06:00
nathangray
a3c6eba952
Fix sharing of of a file inside a symlinked directory failed.
2020-04-14 11:19:12 -06:00
nathangray
fb4e6c0dfe
Some improvements to sharing when multiple shares are involved
2020-04-03 16:20:47 -06:00
Ralf Becker
d830e048e4
loading filemanager translations for sharing
2020-04-01 10:46:32 +02:00
nathangray
c937f50193
Make sure share cleanup job doesn't remove shares just because of access rights
2020-03-30 09:35:59 -06:00
nathangray
d3eb2d9b22
Change the hidden upload message
2020-03-27 13:40:48 -06:00
nathangray
93a7166710
Add hidden upload directory as mail action
2020-03-26 13:20:20 -06:00
Ralf Becker
aa566e12fa
translation for "Hidden uploads" and move it between readonly and writable shares
2020-03-26 10:38:34 +01:00
nathangray
895b1ebee9
Cleanup, bugfix & refactoring of hidden upload folder.
2020-03-25 11:39:40 -06:00
nathangray
7163acfe1d
* Add action to share filemanager folder (readonly) with hidden upload folder
2020-03-24 20:34:04 -06:00
nathangray
a7593b2f83
Add some comment so we know what's going on
2020-03-19 10:41:45 -06:00
nathangray
173b695cf2
Api: Sharing listens to Vfs hooks to stay up-to-date with deleted or renamed files
2020-03-06 14:48:26 -07:00
Ralf Becker
4fe466f4f9
deals with some rows share_path have "vfs://default" prefix, some are just path
2020-03-06 15:08:34 +01:00
nathangray
9b2e6b5012
Api: Fix Sharing missing temp file cleanup
2020-03-05 15:03:34 -07:00
Ralf Becker
7283d33a93
fold Apache error.log and ignored PHP syntax errors, plus remove some warnings
2020-03-05 11:53:26 +01:00
nathangray
8b503dbae3
Admin: change delete user filemanager hook to move home dir, but only search /home for other files
...
- Translation from Birgit
2019-11-19 10:19:04 -07:00
Ralf Becker
93b1c7f1ab
fix namespace issues
2019-11-19 14:02:37 +02:00
Ralf Becker
7cd4169768
* all apps: fixing serveral cases of wrong Url when proxying and terminating TLS on the proxy
2019-11-15 13:54:34 +01:00
nathangray
d8faef3503
Admin: Extend Vfs::deleteAccount hook to all the files it can find, not just home dir.
2019-11-07 13:46:14 -07:00
nathangray
56989f338b
Remove duplicate method
2019-10-08 14:44:35 -06:00
nathangray
4e339a62a4
Filemanager: Fix shared directory could not open odp (or other non-odt files) in Collabora
...
Also fix "Permission denied" error trying to open office files without Collabora
2019-09-18 11:54:08 -06:00
nathangray
58c53efd49
Api - When doing monthly share cleanup, check to see if share target is still valid
...
- removed some duplicated code
2019-07-18 15:25:28 -06:00