Commit Graph

781 Commits

Author SHA1 Message Date
Nathan Gray
66bb41b065 Check to see if the value is a string before we try to lowercase it, strtolower() doesn't like arrays. 2008-12-09 16:02:01 +00:00
Nathan Gray
dd749ffa6e Add special handling for query values of 'false' (the string) to convert them to false (boolean) 2008-12-05 21:27:12 +00:00
Ralf Becker
340e369e04 "fixed changed constructor name" 2008-11-27 10:31:19 +00:00
Ralf Becker
d4a01c41f3 "fix not working nextmatch widget in tracker, readonly detection was uncomplete ($readonlys can be an array!)" 2008-11-17 10:41:33 +00:00
Ralf Becker
aa4d4c3d0f "fixed typo prefenting sel_options set in get_rows to be displayed" 2008-11-16 07:20:23 +00:00
Ralf Becker
343ff1d77d "fixed eTemplates garbage collection to work with new session class, and lowed timeout of not used sessions to 30min (was 1h)" 2008-11-13 17:20:53 +00:00
Ralf Becker
33d617aa8f "stop storing rows content in session by using an empty new var $rows in calling the get_rows funktion:
get_rows($value,$rows,$readonlys) instead get_rows($value,$value['rows'],$readonlys)  
because $values['rows'] as reference would be stored in the session, when apps store $query parameter in the session
"
2008-11-13 16:55:03 +00:00
Ralf Becker
d61c1af60f "dont set unneeded extension data" 2008-11-13 16:50:05 +00:00
Ralf Becker
a921812095 "only supply extension data for non-readonly widgets or if it's already set
otherwise lists store >10k unnecessary data in each etemplate-session"
2008-11-13 16:49:44 +00:00
Ralf Becker
d28f6f672c - fixed url recreation for links (use ? for get-params, if no ? in the
link)
- made bo_tracking abstract
- added default return null to bo_tracking::get_config and removed it
  from extensions implementing no config
- fixed signature of get_config($name,$data,$old=null)
2008-11-08 10:37:52 +00:00
Ralf Becker
f713c095b2 "fixed link_widget to link-entry widgets and application type custom fields working again" 2008-10-27 13:26:43 +00:00
Ralf Becker
fa6ab9b7a1 "fixed lost right align in nextmatch sort headers, if they are active" 2008-10-22 07:06:45 +00:00
Ralf Becker
e54f9ee079 Fixed encoding problems in WebDAV and vfs:
- egw_vfs::download_url as not encoding + or ' ' in pathes
- HTTP_WebDAV_Server was urldecoding $_SERVER[PATH_INFO], which is
  wrong, as it is NOT encoded
- HTTP_WebDAV_Server was NOT urlencoding the pathes in PROPFIND
  responses, causing eg. cadaver not to be able to use dirs containing
  + or space
2008-10-21 11:57:26 +00:00
Ralf Becker
a749233461 "removed call to depricated bolink class" 2008-10-21 08:08:56 +00:00
Ralf Becker
273bd722e2 fix for bug #1739: config for CSV export for non-admins is not working.
Reworked it not in the following way:
- numerical limit or total disabling (setting "no"), are only valid for
  non-admins
- addressbook has it's own value, but uses now the global one, if no
  addressbook specific limit is set
2008-10-16 11:17:49 +00:00
Ralf Becker
4520f9e9ce "fix from Regis Leroy to allow to set some extra query parms from the calling application" 2008-10-10 07:58:59 +00:00
Ralf Becker
bb1ed52c7f updating version and dependencies for 1.6 2008-10-07 18:04:59 +00:00
Ralf Becker
9e85c8e343 renamed uietemplate to etemplate, to save unnecessary include, as gtk isnt used in a long time 2008-10-07 09:14:17 +00:00
Stefan Becker
858485ad30 "fixed Bug #1663 'More News' not visible in sitemgr when limit is 1, -> so_sql, is now giving back the numbers of total" 2008-10-07 08:17:09 +00:00
Ralf Becker
071fb06b8a no translation and no word-wrap for vfs (filename) widget 2008-10-07 05:33:27 +00:00
Ralf Becker
0218ffb751 - new vfs-widget to encapsulate common vfs/file related stuff
+ path with clickable components
  + human readable size, mode, ...
  + mime icon with integrated thumbnail creation
- link widget uses now vfs-mime for it's icons
- thumbnail creation is now switched on with size 32px by default, it can
  be switched of by the admin or user, in doing so explicitly
- mime-icons are moved from filemanager to etemplate, as not everyone
  installs filemanager
- filemanager has now 3 display modi:
  + Current directory (with subdirs always on top)
  + Subdirs sorted in
  + Files from subdirs (shows recursive all files and you
    can click on the path components thanks to new vfs widget)
2008-10-06 17:43:42 +00:00
Ralf Becker
d6693b27ab "formatting" 2008-10-06 10:05:56 +00:00
Ralf Becker
f64c51778b "nextmatch filter- or sort-headers can now made to nextmatch-headers (label only), by making them readonly" 2008-10-05 16:56:37 +00:00
Ralf Becker
0e62b50197 Ok, found thumbnail problem:
- size need to be configured in admin >> site config
--> disable no pref to display thumbnail if admin did not configure size
--> fixed last commit to use configured size for thumbnails
2008-10-04 07:59:43 +00:00
Ralf Becker
62d7b78c45 Removed an (unnecessary) table from the link list and removed direct
html stuff. 
@Nathan: there's a problem with the thumbnail generation
2008-10-04 07:36:26 +00:00
Ralf Becker
a603c8bb2e "correctly quoting the id's in ajax_search, as single quotes otherwise mess up the javascript in the ajax response (eg. caused by single quotes in Wiki Page Names)" 2008-09-24 11:16:26 +00:00
Ralf Becker
a1a3ed0d35 "use egw_db::select instead of self::search in so_sql::not_unique() as it does NOT set this->data" 2008-09-22 16:00:45 +00:00
Ralf Becker
9d9fc41658 "hopefully last fix for Raphaels patch ;-)
if readonlys[__ALL__] is set, also set readonlys[$name] (but only then as for extensions (eg. tabs) $readonlys[$name] can be an array!)"
2008-09-22 09:28:01 +00:00
Nathan Gray
c1e89c5f0a Keep the returned readonly value from the extension 2008-09-19 13:35:29 +00:00
Nathan Gray
7b01f31d7d Readonly parameter is pass-by-reference, can't be an expression 2008-09-17 14:47:47 +00:00
Ralf Becker
74d78f5dbe "1. two patches from Raphael Alla:
- expand onchange before calling extensions pre_process method
- additionl evaluate $readonlys['__ALL__'] in calling extensions pre_process method
2. replaced {} as array-operator in string with []"
2008-09-16 05:41:33 +00:00
Ralf Becker
b195ac76e2 refractured infolog code to create links to custom field link types 2008-09-11 14:57:20 +00:00
Ralf Becker
0f0b5c9639 fixed old "'%1' is NOT allowed ('%2')!" error:
the ajax search now opens the pending eTemplate request and stores the
new allowed id's from this search
2008-08-30 11:17:04 +00:00
Nathan Gray
044cc0f679 Last piece needed for multiple nextmatches / page. 2008-08-21 18:09:20 +00:00
Ralf Becker
037704a801 "php5.1 seems to have a bug: array_slice($parts,$offeset) != array_slice($parts,$offeset,null)" 2008-08-16 07:40:04 +00:00
Klaus Leithoff
ab37be5fba fix for php warning empty haystack ... in line 967 2008-08-08 09:26:36 +00:00
Ralf Becker
e3c60d8243 "only check if $name is a string" 2008-08-01 15:36:31 +00:00
Ralf Becker
3fa1859f70 "- input fields can be now also made readony by specifying the parent ($readonlys['set'] make eg. $readonlys['set[whatever]'] r/o)
- allow extensions to re-enable readonly widgets by setting $cell[readonly] = false "
2008-08-01 15:34:13 +00:00
Ralf Becker
32eb1bafa6 "fix for bug #1643: %t in phone numbers (telephony intergration) does not work" 2008-07-30 11:08:51 +00:00
Ralf Becker
c1c52cf797 reworked the size limitation for displaying email or url again a bit 2008-07-14 06:29:57 +00:00
Nathan Gray
98eb1f18cc Escape ID field as well, in case there's something special in there too 2008-07-02 19:43:50 +00:00
Ralf Becker
70052c8355 fixed SyncML and accounts problem reported by Phillip Herbert <pherbert-at-knauber.de>: update set all but the updated fields to NULL, instead of just updating the given fields 2008-07-02 15:25:54 +00:00
Ralf Becker
b17df8df9b fixed not working imagemap (clickable milestones and bars in ganttchart) for firefox3 and ie, thanks to ae275-at-CAM.AC.UK from the English user list 2008-06-30 14:35:51 +00:00
Klaus Leithoff
7921ef5767 # support for size options in url customfield
# support for size options in url-phone customfield
# support for size options in url-email customfield
# allowing additional parameters to be passed to the link created from the url-email
2008-06-30 14:30:16 +00:00
Ralf Becker
b3b53c2f87 "treat (space separated) words in search as or'ed search for them individually" 2008-06-26 16:08:47 +00:00
Ralf Becker
5679bdd5f6 "allow to overwrite readonly settings of a cell" 2008-06-26 11:38:31 +00:00
Ralf Becker
eb290477dd "get the new url, email or phone cf's working" 2008-06-24 09:56:39 +00:00
Ralf Becker
a4133ab894 "temporary disabled additional nextmatch row on the bottom of the list for php5.2.6, until I find time to fix it" 2008-06-23 06:46:58 +00:00
Ralf Becker
03d9baf5c6 "fixed warning under php5.2.6" 2008-06-22 08:51:38 +00:00
Ralf Becker
f66e2e4004 fixed php5.2.6 problem: unknown type '' 2008-06-22 07:16:40 +00:00