Commit Graph

35710 Commits

Author SHA1 Message Date
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
Ralf Becker
0cbcd7bde0 work-in-progress keeping vfs user in stream context to allow mounting shares 2020-09-15 19:57:46 +02:00
nathangray
39b630d36e Etemplate: Fix some selectAccount bugs when multiple=true 2020-09-15 11:23:02 -06:00
nathangray
a19e97df63 * Calendar: Fix quick add did not open conflict dialog 2020-09-15 10:43:08 -06:00
nathangray
f38f61cf1b Correct parameters in TS 2020-09-15 09:05:48 -06:00
nathangray
afb342f66b Etemplate: Ask for new data before we put the row in, then if the entry doesn't match the filters, don't put it in. Should stop most blinking rows. 2020-09-15 09:05:25 -06:00
Alexandros Sigalas
55c9487517 Fixed: Declaration of EGroupware\Api\Mail\Smime::extractSignedContents($data) should be compatible with Horde_Crypt_Smime::extractSignedContents($data, $sslpath = NULL) 2020-09-15 08:36:17 +02:00
Ralf Becker
612a991c85 fix illegal string offset 2020-09-15 08:30:45 +02:00
Ralf Becker
5d744af64a fix development images not tagged with real PHP version like 7.3.22 2020-09-14 19:03:32 +02:00
nathangray
47a1437e1b Etemplate: Consider null as false when parsing boolean values into template attributes 2020-09-14 09:37:37 -06:00
Ralf Becker
0ed9b7dc09 Changelog for 20.1.20200914 2020-09-14 12:45:41 +02:00
Ralf Becker
b7e8c6b9e1 more explanatory / clear error messages for lntree 2020-09-13 10:23:33 +02:00
nathangray
459ba3d93c * Etemplate: Fix historylog did not render until you resize the window 2020-09-11 13:12:09 -06:00
Ralf Becker
638da52fa9 fix date-duration fails with only one date-format eg. "m" 2020-09-11 20:22:51 +02:00
nathangray
d257077017 Add a test for hidden upload sharing 2020-09-11 09:50:34 -06:00