Commit Graph

35724 Commits

Author SHA1 Message Date
Ralf Becker
404efd5cd3 quiten permanent logging 2020-10-08 11:02:14 +02:00
Ralf Becker
317604a4e1 session::create also overwrites link-registry, therefore we need to call Link::init_static in after_login too 2020-10-08 11:01:57 +02:00
Ralf Becker
1f4c6d4f51 test writing in a sub-dir of a shared entry-directory 2020-10-02 09:08:02 +02:00
Ralf Becker
525103b405 fix PHP Warning 2020-10-02 09:06:59 +02:00
Ralf Becker
08b32d403f config got "lost" after deleting the cache, caused by it being automatic unserialized 2020-10-02 08:38:03 +02:00
nathangray
302e1c3e2d Some more test work
- Fix missing parameter
2020-09-30 15:42:14 -06:00
nathangray
e1aafab77d Some more test work. Many more pass now.
- Change tests to not use a share unless needed
- Change tests to not expect to be anonymous with a clean fstab
- Change Wopi to not use the share for writable, use VFS instead
2020-09-30 15:28:26 -06:00
nathangray
501916c13e Some more test work
- If test has session when we ask for the share, include session ID in the request cookies
2020-09-30 11:21:34 -06:00
Ralf Becker
819dc8be7c got rename and put relativ working 2020-09-28 20:14:20 +02:00
Ralf Becker
4520dc2656 * ActiveDirectory: fix unwilling to perform error when saving an account 2020-09-27 10:01:23 +02:00
Ralf Becker
d40e82fc98 got writable Collabora shares working 2020-09-26 15:39:29 +02:00
Ralf Becker
e74b939a4e fix PHP Warning filling logs 2020-09-25 14:35:40 +02:00
Ralf Becker
8c30429d53 small change in session-handler to be able to set a session-id for Collabora 2020-09-25 13:33:12 +02:00
Ralf Becker
0d9849657c lock by path, but allow url for access-checks, also fix documentation about methods allowing url 2020-09-25 13:08:08 +02:00
Ralf Becker
39ec2e4a25 fix read-only shares were writable (and links-SW not working after the fix --> removed unnecessary $allways parameter, as we now allways have a user context) 2020-09-24 11:34:53 +02:00
Ralf Becker
6af5e99a1c some fixes for Collabora on mounted shares 2020-09-23 22:01:25 +02:00
nathangray
ff50af5677 Some more test work
- When cleaning up, make sure we're the original user.  Some tests & failures leave it logged out
- Some better messages
2020-09-23 13:00:42 -06:00
Ralf Becker
dd1a51d5fa WevDAV StreamWrapper to mount eg. shares from other EGroupware instances 2020-09-23 19:06:07 +02:00
Ralf Becker
73e2e71e9a merge in default context / Vfs::$user, otherwise we have to fix all code already using context 2020-09-23 11:52:02 +02:00
Ralf Becker
7cc46f04e1 fix filesystem stream-wrapper mounted inside other users home-directory would allow access 2020-09-22 21:54:23 +02:00
Ralf Becker
fd178ddd73 fix wrong OID for mail attribute 2020-09-22 18:11:23 +02:00
nathangray
97283bad76 Some more test work
- Fix some existing tests so they don't fail due to changes
- Add tests for Vfs\Sharing\StreamWrapper
2020-09-21 16:38:38 -06:00
nathangray
e02fad1731 Some more test work
- Fix filesystem mountpoint, should have gone into home for access restrictions.  Still fails though
2020-09-21 12:24:13 -06:00
Ralf Becker
ce853bd713 got sharing working for new sessions and mounting in existing user sessions, Collabora is still broken! 2020-09-20 13:24:53 +02:00
Ralf Becker
9d65d92117 fix wrong namespace 2020-09-19 14:01:44 +02:00
Ralf Becker
60ae7f2b76 use sharing stream-wrapper to avoid destroying a user session (only commented out currently) 2020-09-19 13:50:54 +02:00
Ralf Becker
20c5dde04c as we now always set the default context / user, we have to use check_set_context($url, $always_set=true) 2020-09-19 13:49:24 +02:00
Ralf Becker
5ccb26d646 fix writable check 2020-09-19 13:10:31 +02:00
Ralf Becker
8c54061edf changes to for the sharing stream-wrapper 2020-09-19 12:23:37 +02:00
Ralf Becker
ae9c6321a4 got sharing stream-wrapper working 2020-09-19 12:17:07 +02:00
Ralf Becker
540d130aac always return false, if check_extended_acl fails, as ownership does not matter for links 2020-09-19 08:28:16 +02:00
nathangray
7d941c8bfe Some more test work
- Refactoring to reduce duplication
- Add tests for filesystem StreamWrapper
- Clear infolog's access cache
2020-09-18 14:26:44 -06:00
nathangray
9c4942957f Fix some test issues
- Fix ProppatchTest
- Some methods went missing?
2020-09-18 11:37:38 -06:00
Ralf Becker
1f8a003d03 work in progress on sharing stream-wrapper 2020-09-18 18:45:38 +02:00
nathangray
2881ca0849 ImportExport: Another fix for exporting custom date fields with custom format.
- PHP base DateTime class was being used instead of our own Api\DateTime
- User's preferred date format was not being respected
- Custom formatting was only parsed if the first entry had a value in that field
2020-09-18 10:01:46 -06:00
nathangray
61c6242345 Some more test work
- Refactoring to reduce duplication
- Tests for with & without permission
2020-09-17 14:59:44 -06:00
nathangray
10fddf70cc Some more test work
- Refactoring to reduce duplication
- Clear user from stream context when "logging out"
- Add test that switches user and checks for access
2020-09-17 13:22:24 -06:00
Ralf Becker
006580a36e fixed filemanager was not able to show home directory of user 2020-09-17 19:49:28 +02:00
nathangray
1432502e62 Some more test work
- Refactor some simple tests into base for reuse
- Add (simple) tests for links://
2020-09-16 15:05:43 -06:00
nathangray
94647314d6 Merge branch 'master' into vfs-context to get tests 2020-09-16 11:57:08 -06:00
nathangray
94a57d6902 Api: Some tests for filesystem 2020-09-16 11:48:40 -06:00
Ralf Becker
60ff7e8937 some more refactoring and removing some permanent logs 2020-09-16 19:15:25 +02:00
Ralf Becker
a30840b10d got tests working with EPL stream-wrappers 2020-09-16 18:18:52 +02:00
nathangray
2ef359f0d0 Etemplate: Fix selectAccount deprecated legacy option of putting account type in empty label 2020-09-16 09:14:50 -06:00
Ralf Becker
f73b8731e0 use json instead of php serialization 2020-09-16 17:01:51 +02:00
Ralf Becker
da27403b1b * eSyncPro: fix SQL error in device list 2020-09-16 16:45:01 +02:00
Ralf Becker
25230dd0b3 move Vfs::SCHEMA and ::PREFIX back to stream-wrapper, to force it being loaded when Vfs class is used 2020-09-16 16:18:44 +02:00
Hadi Nategh
c05047728c Push online users into top of the list as soon as they're active 2020-09-16 16:17:57 +02:00
Ralf Becker
2602157032 got links-stream-wrapper working and refactored context handling into a trait 2020-09-16 15:59:05 +02:00
Ralf Becker
631a0b11d6 some tests and fixes for proppatch/profind 2020-09-16 08:42:01 +02:00