Klaus Leithoff
892910a76d
documentation on wanted functionality for allowed method fetch on egw_link::get_registry possibly provided by search_link
2013-03-21 10:27:12 +00:00
Ralf Becker
9a9e6f0808
docu update
2013-01-24 09:30:30 +00:00
Klaus Leithoff
b48bee9406
use NEW exception for assertion failed
2012-11-06 10:36:25 +00:00
Ralf Becker
4e2a7dab80
* CardDAV/Addressbook: fixed not working delete of contacts
2012-10-01 17:23:44 +00:00
Ralf Becker
b0267b6744
fixed error when registration was enabled for a user and he looks at /apps, caused by regitering a - not existing - query method in link-registry of registration
2012-07-31 09:56:25 +00:00
Nathan Gray
09937c410d
Fix history logging of removed links when removing by link_id - need to read values before they are deleted
2012-06-05 16:44:48 +00:00
Nathan Gray
efbb743cc6
Log removal of link in history
2012-05-24 17:33:16 +00:00
Ralf Becker
3e8501a139
fixed PHP 5.4 Warning: Illegal string offset
2012-05-21 10:56:14 +00:00
Nathan Gray
2764e9529c
Add function to get integer/byte filesize from human readable
2012-05-14 19:10:45 +00:00
Nathan Gray
065fd1a772
Point account links to addressbook view
2012-05-03 15:23:30 +00:00
Ralf Becker
82e4093f1c
* ProjectManager: fixed not working editing of projectelement via context-menu (also check registed sub-types of apps user has access to)
2012-04-03 13:30:44 +00:00
Ralf Becker
2f62d7e3b5
allow to set target in mime-registry: need target _self (instead default _blank) for directories opened in filemanager
2012-03-28 13:01:37 +00:00
Ralf Becker
d3cd7ea65b
only transfer link-registry for apps user has access too, otherwise mime-registry would open eg. iCal files in calender, even if user has no calendar access
2012-03-22 12:59:34 +00:00
Ralf Becker
d8c9a194da
only return mime-information of apps the user has access to
2012-03-22 12:43:47 +00:00
Ralf Becker
b5adc21ff6
register filemanager as handler for directory mime-type "httpd/unix-directory" (register hooks!)
2012-03-21 10:28:48 +00:00
Ralf Becker
200cad46a8
remove not necessary mime_(type|size|name)
2012-03-20 16:01:00 +00:00
Ralf Becker
f467572bd4
using mime-registry for link-widget "link-list" and "link-string" too
2012-03-09 07:39:36 +00:00
Ralf Becker
dd8a5cf29e
* Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open)
2012-03-08 18:43:40 +00:00
Klaus Leithoff
237e8ce9f9
fix assumed typo for returnvalue on error in function title; defined/described as boolean/string but was array for one error case
2012-01-06 12:54:58 +00:00
Klaus Leithoff
b79af79410
remove felamimail from static app_list in egw_link, as felamimail is implementing search_link; gather only apps for link that implement query and title
2012-01-06 10:11:16 +00:00
Ralf Becker
93b7e6885c
check if we are already trying to unlink the entry, to avoid an infinit recursion
2011-09-15 16:35:28 +00:00
Ralf Becker
f5c5df3299
respect restrictive account-selection "groupmembers" and "none" when linking with accounts and sort search for accounts alphabetically
2011-09-07 16:44:00 +00:00
Ralf Becker
b633044a46
* API/Calendar: allow to link to accounts and allow to select accounts as participants by searching them like contacts
2011-09-07 14:47:51 +00:00
Ralf Becker
5e05030629
fixed attachments lost when converting email to infolog, is_uploaded_file check in egw_vfs::copy_uploaded need to be switched off (plus improved logging)
2011-06-29 07:00:09 +00:00
Ralf Becker
bd7407ed88
- fixed bug in egw_vfs::check_access for a user different from current one: need to clear the stat-cache after the call too, as the next call might be the regular user again!
...
- new method egw_vfs::copy_uploaded() to copy a file into vfs and set properties (eg. the comment), while treating the whole operation notification-wise atomar (one notification about an added file).
- using that method for egw_link too
- fixed egw_link not displaying comments
2011-06-28 20:43:47 +00:00
Ralf Becker
04be4c57fe
- new registry attribute "file_access_user" to signal "file_access" method understands new 4th parameter $user
...
- infolog implementation for it
--> allows to check if a given user has access to a files of app/id
2011-06-26 12:32:06 +00:00
Ralf Becker
5864d5f1a1
use vfs:// url, to ensure vfs_add|modified hook get called
2011-06-24 17:38:13 +00:00
Ralf Becker
7282d42f52
- added hooks to general vfs methods to allow apps to monitore file access, creating, modification, removal
...
- new $user parameter for egw_vfs::check_access($path, $check, $stat=null, $user=null) to check access to a file for a user, who is NOT the current user
2011-06-23 18:34:47 +00:00
Ralf Becker
fe92979bc1
fallback for egw_link::edit() to use view data, if no edit specified
2011-06-02 19:58:30 +00:00
Ralf Becker
47e2764da0
new javascript method egw_open() to open egw_entries using there registered url and popup sizes from the link registry
2011-06-02 11:13:41 +00:00
Ralf Becker
4cce629666
* fixed handling of + char in VFS filenames (using egw_vfs::decodePath() instead of urldecode())
2011-03-03 15:41:01 +00:00
Ralf Becker
2a801e61fe
always use regular links stream wrapper here: extended one is unnecessary (slow) for just listing attachments
2010-10-12 08:17:10 +00:00
Nathan Gray
1482dbc1be
Add the ability to hide and hold deleted links, pending final deletion of linked record. This prevents links to deleted items showing when deleted items are held for purging.
2010-09-27 16:27:48 +00:00
Ralf Becker
1f8e2e93df
* allow to pick CC of tickets from addressbook
...
- also added a different approach allowing apps to register themselfs multiple times in the link registry, was necessary as types approach from Nathan changes the usage of the original app, while this adds sub-types like an arbitrary app responded to the link hook
2010-09-22 09:36:26 +00:00
Ralf Becker
f185382b0a
fixed not working link_query call to static callback eg. "someclass::somemethod"
2010-07-29 19:09:55 +00:00
Klaus Leithoff
2768366eb6
fix for cached titles that are empty
2010-07-01 11:14:48 +00:00
Ralf Becker
94c31d9508
missing encoding and decoding for attachments
2010-05-12 18:58:16 +00:00
Nathan Gray
041200a245
Register link hooks for all installed apps, not just the ones the current user has access to. This lets the apps decide if the user has access to the data or not
2010-05-10 19:05:17 +00:00
Ralf Becker
06fb05a891
"- using sqlfs_stream_wrapper::id2path instead of links_stream_wrapper::id2path, as it's the same, but allows to replace links_stream_wrapper with an other class (based on links_stream_wrapper and sqlfs_stream_wrapper)
...
- using egw_vfs::urlstat instead of links_stream_wrapper::urlstat, to not depend on using links_stream_wrapper
--> required to do versioning on the links"
2010-04-27 07:35:26 +00:00
Ralf Becker
f7ee51f53b
"egw_links: remove links user has no access to from result, if $cache_titles is set"
2010-03-10 12:20:51 +00:00
Ralf Becker
0f2eceefb8
Preseed link title-cache for link-list and link-string widget
...
(Performance improvment, as all titles of an application get queried in
a single query and NOT once for every link)
2010-03-04 17:07:10 +00:00
Ralf Becker
507bad0b92
new registry method edit/edit_id to edit an entry
2010-01-19 22:14:39 +00:00
Christian Binder
86346deefe
fixed empty resultset if num_rows option is not defined, removed some weird indents
2009-12-16 13:10:55 +00:00
Nathan Gray
219ae4d224
Can't use ExecMethod2(), it doesn't pass by reference.
...
Used code to pass options by reference from nextmatch widget so apps can update array if they need.
2009-12-08 17:56:22 +00:00
Ralf Becker
76e43e442c
fixed typo
2009-12-08 08:19:58 +00:00
Nathan Gray
dd1370f97f
Implement Ralf's suggestion of an options array to pass extra query parameters
2009-12-07 21:42:20 +00:00
Ralf Becker
0af8b60e39
"Maximum number of titles to query from an application at once (to NOT trash mysql)"
2009-12-07 11:18:13 +00:00
Nathan Gray
7744508999
API changes to support optional link sub-types
2009-11-19 20:09:30 +00:00
Ralf Becker
656ae5713b
"fixed not working egw_link::set_cache"
2009-09-29 09:58:05 +00:00
Ralf Becker
8fb60be7d7
checking if attachment or attachment dir exists, before trying to delete it, to quieten warning, also improved warning to be precise if file does not exist, is no directory, or permission missing
2009-07-18 09:12:52 +00:00