Commit Graph

11 Commits

Author SHA1 Message Date
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
5cedd472f9 move setting a working session.save_path to bootstrap, to avoid tons of warnings set it cant by changed after output/headers sent 2020-03-05 10:45:07 +01:00
Ralf Becker
ce47208874 fix function signature in order to update to phpUnit 8 2020-03-04 18:47:48 +01:00
nathangray
a0e131d395 Fix logged in tests when session ID is not created (CLI) 2019-04-16 09:43:47 -06:00
nathangray
cf1f99a828 Trying to get tests to pass
- Cast type array to array
- Try explicitly disconnecting db after test
2018-09-05 09:53:57 -06:00
nathangray
0a7f81a2e2 Api - Sharing from filesystem:// mounts - with tests even 2018-03-23 13:01:43 -06:00
nathangray
097d123a3b WIP - Sharing test - now works on its own, causes other tests to fail though 2018-03-20 15:44:46 -06:00
nathangray
529991e283 WIP on sharing test - now actually working with other tests after 2018-02-20 15:32:37 -07:00
nathangray
54dcc794a2 - Re-init VFS for each test class
- Balance output buffering
2018-02-15 09:33:01 -07:00
nathangray
582e11c4ba Allow to pass egw_info in when creating session 2018-02-07 10:22:53 -07:00
nathangray
237d81ce36 Move tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-18 15:43:35 +02:00