Commit Graph

51 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
nathangray
7ae230356f Don't remove /apps when cleaning up 2020-10-07 09:22:09 -06:00
nathangray
94a57d6902 Api: Some tests for filesystem 2020-09-16 11:48:40 -06:00
nathangray
d257077017 Add a test for hidden upload sharing 2020-09-11 09:50:34 -06:00
nathangray
372eadcff3 Api: Fix fstab overlap when accessing a share while logged in 2020-09-10 11:11:39 -06:00
nathangray
a3c6eba952 Fix sharing of of a file inside a symlinked directory failed. 2020-04-14 11:19:12 -06:00
Ralf Becker
e6546080a0 query videoconference room, if VC is configured 2020-04-08 12:03:22 -06:00
nathangray
0fb4176067 Fix sharing a single file gave 404
Added test to check that this works for a single file
2020-04-08 11:39:12 -06:00
nathangray
6711e3a75f Fix collabora tests to use correct class (Wopi) rather than parent 2020-04-06 11:00:42 -06:00
nathangray
7163acfe1d * Add action to share filemanager folder (readonly) with hidden upload folder 2020-03-24 20:34:04 -06:00
nathangray
458a40c792 Avoid some warnings caused by using foreach() over null 2020-03-11 09:25:31 -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
ce47208874 fix function signature in order to update to phpUnit 8 2020-03-04 18:47:48 +01:00
nathangray
48f2513f40 Cleanup 2019-05-07 16:15:17 -06:00
nathangray
753c26a909 Check to see if Travis likes these tests now 2019-05-07 15:55:31 -06:00
nathangray
bacccbc42a Fix VFS Share tests 2019-05-07 15:23:34 -06:00
nathangray
12648ad74f Use Travis environment variable to skip the sharing tests that fail instead of always skipping them 2019-04-26 11:09:01 -06:00
nathangray
3ccb142a48 Skip sharing tests since they fail on Travis 2019-04-25 13:03:52 -06:00
nathangray
601cf775f2 Check files_dir and skip tests if we don't have read/write access 2019-04-24 16:12:41 -06:00
nathangray
759df4cf6e Another attempt to make session for Sharing, even though we're on the command line 2019-04-24 15:07:45 -06:00
nathangray
f44a26432c Some changes to tests, maybe they pass
Mostly about getting a session for Sharing, even though we're on the command line
2019-04-24 14:14:35 -06:00
nathangray
11cf369540 Turn off debug 2018-05-04 15:07:57 -06:00
nathangray
c8ddbe0680 Some more debug for Travis 2018-05-04 14:36:24 -06:00
nathangray
bd570c3676 - Fix incorrect skipped method
- Move cache clear before logout
2018-05-04 11:36:38 -06:00
nathangray
77a71d1c9c Some more debug for Travis 2018-05-04 09:58:21 -06:00
nathangray
a7a2092a48 Some more debug for Travis 2018-05-04 09:37:53 -06:00
nathangray
fba069e4b6 Some more debug for Travis 2018-05-03 14:31:48 -06:00
nathangray
1ee1c15e75 Turn on debug for sharing tests 2018-05-03 13:59:39 -06:00
nathangray
5f160114e9 Better error message & correct lost Vfs::$db 2018-04-12 11:23:54 -06:00
nathangray
f26b271067 Exclude symlinks from Vfs 2018-04-09 14:02:24 -06:00
nathangray
c508cd8731 Add tests for trying to share a symlink actually uses the link target 2018-04-09 14:02:24 -06:00
nathangray
cbdbae2f9a Shuffle around some code for better extendability 2018-04-09 14:02:24 -06:00
nathangray
e675ab57d4 Remove unneeded definitions, they're in parent already. 2018-04-09 14:02:24 -06:00
nathangray
e2209b1e57 - Add check to see if merge sqlfs directory is there before creating it
- Add parameter to addFiles() to provide test file content
- Add current user as owner for filesystem mount
2018-04-09 14:02:24 -06:00
nathangray
2de26a0f2b Refactor sharing tests to use a base class so Collabora tests can exend it 2018-04-05 08:49:25 -06:00
nathangray
97134373dc Refactor sharing tests to use a base class so Collabora tests can exend it 2018-04-05 08:49:25 -06:00
nathangray
8840b5ddc6 Add readable & writable share tests for merge filesystem 2018-03-23 13:01:43 -06:00
nathangray
ff720b097a Add readable & writable share tests for entry filesystem (/apps/infolog/#) 2018-03-23 13:01:43 -06:00
nathangray
33396193ce Add writable check for filesystem:// shares 2018-03-23 13:01:43 -06:00
nathangray
127be25c38 Add explicit check for filesystem file 2018-03-23 13:01:43 -06:00
nathangray
0a7f81a2e2 Api - Sharing from filesystem:// mounts - with tests even 2018-03-23 13:01:43 -06:00
nathangray
eeae245833 Sharing test - refactor for better code, add checks on versioning backend 2018-03-23 13:01:43 -06:00
nathangray
e940b283ae WIP - Sharing test - now plays well with others, let's see what Travis says... 2018-03-21 09:44:42 -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
b5a4b050d5 WIP - Sharing test - some debug, starting to test writable 2018-03-14 15:14:34 -06:00
nathangray
e259895e2e WIP on sharing test
try to fix it for Travis
2018-02-21 15:13:16 -07:00
nathangray
a4e80ea9a0 WIP on sharing test
try to fix it for Travis
2018-02-21 15:03:45 -07:00
nathangray
529991e283 WIP on sharing test - now actually working with other tests after 2018-02-20 15:32:37 -07:00
nathangray
05f7754f0e WIP on sharing test - now actually finding & checking the files 2018-02-15 09:37:48 -07:00
nathangray
01e7ea5dfe Mark test incomplete 2018-02-07 11:13:54 -07:00