nathan
5031631dc4
Make two anonymous shares at the same time work
2022-10-03 14:27:11 -06:00
nathan
806aa542a1
Fix some more tests that don't work anymore due to things changing / files moved / other reasons
2021-09-30 13:15:37 -06:00
nathan
fdf6422da7
Fix some errors in tests due to changing method signatures
2021-09-30 10:14:38 -06:00
Ralf Becker
13198e12c9
Use EGW_(USER|PASSWORD) from doc/phpunix.xml instead of hardcoded demo/guest
2021-09-20 18:52:25 +02:00
nathan
73df101e8e
Better tests & message for symlink test
...
no longer checking invalid (nlink = 2) or undefined (stat['url') things to see if it worked
2021-07-13 10:33:50 -06:00
nathan
da1e7b9fee
Implement symlink for filesystem StreamWrapper with test
...
Whether it works or not depends on filesystem though.
2021-07-09 09:47:23 -06:00
nathan
4627b3b2b1
Remove VfsTest, no longer needed as test has been moved into StreamWrapperBase so it can be run on all StreamWrappers ( a63b82d3
)
2021-07-08 10:01:33 -06:00
nathan
a63b82d34e
Move symlink test into StreamWrapperBase so it can be run on all StreamWrappers
2021-07-07 15:57:40 -06:00
nathan
35dccf17ae
Add missing cleanup of test files
2021-07-07 14:47:04 -06:00
nathan
157926ab00
Better VFS test cleanup
2021-07-07 13:11:44 -06:00
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
d6c6e14abf
* Api: Prevent invalid customfield names
...
(cherry picked from commit ae86eb7812
)
2021-06-11 13:18:03 -06:00
nathangray
5fbdd1376a
Fix PHP warnings for PHP 8 compatability
2021-05-21 10:43:52 -06:00
nathangray
fb2abd8915
Get all VFS tests passing
...
on my machine, at least...
2021-04-14 14:22:04 -06:00
nathangray
3027123fbd
Set a timeout on curl so we fail faster
2021-04-14 10:59:49 -06:00
Ralf Becker
eb2b3943d7
fix Db errors with PHP 7.4+
...
caused by private $this->app not stored in session when Db\Depricated was instaciated
also move $GLOBALS[egw]->ADOdb to a static class var to fix session restore order caused $GLOBALS[egw] not yet restored giving a warning
2021-03-21 17:39:34 +01:00
nathangray
657119b389
Api: Fix Links/StreamWrapperTest->testWithAccess() was failing due to no app permissions
2021-03-11 09:30:11 -07:00
nathangray
c319478816
Fix readonly shares were mounted as writable when shared to another user
2021-02-16 16:14:32 -07: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
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
d4b9397d62
Refactor tests to avoid deprecated assertions
2020-03-10 15:54:02 -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
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
77a7d538f5
fix conflict with lang() function, by just instanciating setup class
2020-03-05 10:29:53 +01:00
Ralf Becker
aef614b2f0
unit tests for basic CalDAV and special delete handling for CalDAV Outlook Synschronizer
2020-03-04 22:44:56 +01:00
Ralf Becker
44d9fcc790
Revert "* CalDAV/OutlookSynchronizer: reject invitations when client deletes then without appropriate rights in his calendar"
...
This reverts commit 4c6e41d479
.
2020-03-04 19:16:50 +01:00
Ralf Becker
78fe939b00
Revert "better/quicker use setUpBeforeClass to create accounts and update to phpUnit 8"
...
This reverts commit 55a0c2b6bc
.
2020-03-04 19:16:37 +01:00
Ralf Becker
ce47208874
fix function signature in order to update to phpUnit 8
2020-03-04 18:47:48 +01:00
Ralf Becker
55a0c2b6bc
better/quicker use setUpBeforeClass to create accounts and update to phpUnit 8
2020-03-04 18:46:47 +01:00
Ralf Becker
4c6e41d479
* CalDAV/OutlookSynchronizer: reject invitations when client deletes then without appropriate rights in his calendar
2020-03-04 16:58:38 +01:00
nathangray
83e2d70222
Mail: Fix bullet & number to text conversion failed with non-ascii characters
2019-11-22 09:44:27 -07:00
nathangray
5acd287e8d
* Mail: keep number & bullet lists when converting to plain text
2019-11-08 11:42:25 -07: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
a0e131d395
Fix logged in tests when session ID is not created (CLI)
2019-04-16 09:43:47 -06:00