nathangray
5fbdd1376a
Fix PHP warnings for PHP 8 compatability
2021-05-21 10:43:52 -06:00
Ralf Becker
fed41622c2
fixing all sorts of PHP 8 errors and PHPStorm errors
2021-03-31 17:50:01 +02:00
Ralf Becker
84845d05b5
Fix PHP 8.0 Fatal error: Unparenthesized a ? b : c ?: d
is not supported
2021-03-21 21:46:10 +01:00
Ralf Becker
06907d040b
fix hidden upload sharing incl. use of multiple share-links in tabs
2021-03-16 15:03:15 +02:00
nathangray
1ffde3b692
Change global sharing variable to be a list of shares in use, indexed by token. This should resolve the issues with multiple shares being accessed in the same session.
2021-03-11 17:00:16 -07:00
nathangray
ba84d3170d
Api: Improve handling of accessing multiple shares (Collabora or directory) in new tabs while logged in
2021-03-11 09:50:12 -07:00
nathangray
a8278b37ff
Fix editable link opened by original user in new tab gave "Requested resource '/' does NOT exist!"
2021-03-03 14:23:42 -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
372eadcff3
Api: Fix fstab overlap when accessing a share while logged in
2020-09-10 11:11:39 -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
Ralf Becker
8c0fb193e1
fix wrong condition
2020-04-06 09:05:50 +02:00
nathangray
174737cc67
English translation of 'share filemanager directory'
2020-03-31 10:49:36 -06:00
nathangray
0664df4921
Add some hints to sharing actions
2020-03-31 10:36:50 -06:00
nathangray
d24c6f2b7d
Avoid error if extra parameter is not set
2020-03-31 10:21:26 -06:00
nathangray
c937f50193
Make sure share cleanup job doesn't remove shares just because of access rights
2020-03-30 09:35:59 -06:00
nathangray
93a7166710
Add hidden upload directory as mail action
2020-03-26 13:20:20 -06:00
nathangray
895b1ebee9
Cleanup, bugfix & refactoring of hidden upload folder.
2020-03-25 11:39:40 -06:00
nathangray
7163acfe1d
* Add action to share filemanager folder (readonly) with hidden upload folder
2020-03-24 20:34:04 -06:00
Ralf Becker
e9c3533c93
avoid misconfiguration of user "anonymous" NOT flaged as such
2020-03-21 11:43:54 +01:00
Ralf Becker
4fe466f4f9
deals with some rows share_path have "vfs://default" prefix, some are just path
2020-03-06 15:08:34 +01:00
Ralf Becker
4c987e7dd8
fix all shares (not files) got deletes, if one was expired
2020-03-06 14:33:50 +01:00
nathangray
9b2e6b5012
Api: Fix Sharing missing temp file cleanup
2020-03-05 15:03:34 -07:00
Ralf Becker
42e62cb3eb
fix one error with sharing-links having passwords (no HTML tags in Headers!)
2020-02-14 13:43:50 +01:00
Ralf Becker
39be6e0b89
* Sharing: temporary disable cleaning of deleted files, causing all shares to get deleted
2020-01-29 16:30:22 +01:00
nathangray
a05c66f32c
Api: Cleanup by moving password check to its own function
2019-10-11 10:51:40 -06:00
nathangray
8d58409211
Get Sharing to recognize editable Collabora shares for determining class
2019-10-08 14:43:17 -06:00
nathangray
3bec6326f9
Api - Add Sharing->get_path() so we can get the path of the share
2019-08-23 14:19:10 -06:00
nathangray
5bc2467de3
Api - Better handling of enabled attribute for share actions
2019-08-22 15:56:17 -06:00
nathangray
a49e3a3c15
Api - Add a Share filemanager directory context menu action
2019-08-22 15:18:40 -06:00
nathangray
890cd4e4a4
Api - give error if share path is missing
2019-07-31 10:31:13 -06:00
Hadi Nategh
d52410ed94
Fix icon for Share link action
2019-07-29 15:36:57 +02:00
nathangray
58c53efd49
Api - When doing monthly share cleanup, check to see if share target is still valid
...
- removed some duplicated code
2019-07-18 15:25:28 -06:00
nathangray
f056599e5f
Api - Make sure translations get loaded for share action captions
2019-07-11 12:07:20 -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
49008fd529
Support sharing from filemanager as an app, treating it as VFS
2019-04-05 09:34:47 -06:00
nathangray
be7e9c123f
* Api - fix authentication loop with password protected email download links
2019-02-25 11:25:31 -07:00
nathangray
a2189e732e
Remove unneeded variable
2019-02-04 15:51:14 -07:00
nathangray
3dd671ad8d
Changes to support accessing Samba shares with Collabora
2019-01-31 14:42:37 -07:00
nathangray
9be59b55bf
- Accept an extra array from ajax_create
...
- Filter extra array by db columns
2018-10-15 14:57:24 -06:00
nathangray
117b559a5e
Entry share changes
...
- Writable share is now a checkbox
- Add Sharing -> Merge entry into email template, share gets selected options
- Add {{share}} placeholder which creates (by default) read only share
2018-10-11 12:54:17 -06:00
nathangray
9368992032
Fix namespace
2018-09-10 15:26:53 -06:00
nathangray
c3b642a39a
Allow apps to implement their own Sharing
2018-06-13 14:45:43 -06:00
nathangray
6708ccb043
Record share emails in history log & display them instead of user when set
2018-06-06 15:51:46 -06:00
nathangray
0582f2347f
Fix a few issues from Scrutinizer
...
- Remove debug code
- Remove some unused variables
- Add get_ui() to base class that gives error message (should always be a subclass)
2018-06-06 09:54:49 -06:00
nathangray
847d1c6812
Fix some namespace errors
2018-06-05 15:01:09 -06:00
nathangray
71ee883210
Entry sharing - handle files checkbox
2018-06-05 14:31:04 -06:00
nathangray
1bd5927869
Pass action back to popup so it knows what to do
2018-06-05 14:31:04 -06:00
nathangray
a1a7570c86
Add method to get sharing context menu actions
2018-06-05 14:31:04 -06:00
nathangray
4a9df7ef33
Got link creation via context menu working
2018-06-05 14:31:04 -06:00
nathangray
d0a50d8d45
Changes needed to just get the screenshots, much more work needed for proper functionallity since I faked the permissions
2018-06-05 14:31:04 -06:00