Commit Graph

84 Commits

Author SHA1 Message Date
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
nathangray
132b0fca1c Change tests to try and make Widget scan happy 2018-11-15 15:11:52 -07:00
nathangray
38939f1f38 Improvements for entry widget for robustness, includes automatic server side tests. 2018-11-15 11:15:35 -07: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
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