Commit Graph

983 Commits

Author SHA1 Message Date
Ralf Becker
60a65bb560 Added an id tag to templates, contact and infolog widget
New js_pseudo_function to fetch the styles of a template:
template::styles('template.name')
2008-03-05 18:38:46 +00:00
Ralf Becker
c1647bfcbf added a get-parameter "empty_post=1" if process_exec redirects to the app, because the _POST array is completly empty. That happens if post_max_size <= max_upload_size and is neccessary to give an adequte error-message about the failed upload in filemanager. 2008-03-04 16:56:19 +00:00
Ralf Becker
233875a181 "using ungreeded search for egw::lang()" 2008-03-03 05:47:12 +00:00
Klaus Leithoff
5f9104250b fix for the optgroupfeature, which messed up some callback checking (validation) of the selected values.
This is since the assumption of being an array as value of the selectkey is a sufficient marker to recognize an optgroup 
does not always match for optgroups only. Projectmember roles dialog employs select options with label/title arrays as value
2008-02-27 15:48:52 +00:00
Klaus Leithoff
d349ffed88 ouch, forgot a closing bracket, ... 2008-02-14 07:46:18 +00:00
Klaus Leithoff
ee3377d1f2 small bugfix for a bug/phpwarning (empty haystack...) appearing occasionally while building up templates 2008-02-14 07:40:16 +00:00
Ralf Becker
ea2c699f5c allow the link-query method of an app to set further attributes of the option used to display the entry, eg. a title (tooltip) of a certain entry: instead of id => title pairs, you return eg id => array(label=>title,title=>tooltip) like for html::select or the select widget 2008-02-07 02:54:11 +00:00
Klaus Leithoff
09612e4f58 documented the feature (week+dow) accordingly 2008-02-05 15:41:41 +00:00
Klaus Leithoff
20fccf9bf6 prepare the date widget to output a very long dateformat (week + dow) 2008-02-05 15:34:07 +00:00
Nathan Gray
f733365165 Don't replace classname when user arrows through the list 2008-02-04 21:55:13 +00:00
Nathan Gray
85701b40af Added tab support so users can press tab and select the current (or first) row - thanks ot Raphael Alla for the patch
Added up / down arrow support so users no longer need to use the mouse.  Tested on Mac Firefox, Safari and IE6
2008-02-04 21:49:50 +00:00
Christian Binder
5b699573e4 enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications 2008-01-30 18:58:00 +00:00
Ralf Becker
3f3954440d "fix for optgroup's, eg. used in addressbook now" 2008-01-26 01:24:42 +00:00
Ralf Becker
ced6adf23f reworked and generalised Klaus new custom field header feature, to use it in the addressbook too, easy to addapt for the other apps now, only requires the get_rows/search method to understand filter and order_by with cfs 2008-01-19 05:36:20 +00:00
Ralf Becker
1d54ae791c ability to specify a comma-sep. list of cat_ids as row-class, to color the rows by the color of the cat, first match used 2008-01-19 05:34:14 +00:00
Nathan Gray
835bf3050d Patches from John Trudel to make Ajax Select Widget work in Internet Explorer 2008-01-09 20:54:10 +00:00
Nathan Gray
986bd37196 Patches from John Trudel to make Ajax Select Widget work in Internet Explorer 2008-01-09 20:47:50 +00:00
Ralf Becker
e40d73091b new time-since sub-widget 2008-01-09 01:57:45 +00:00
Ralf Becker
21465c8c93 some more js pseudo functions and docu 2008-01-09 01:56:42 +00:00
Oscar Manuel Gómez Senovilla
71fbe90a15 tracer #1370 for farsi 2007-12-22 10:28:44 +00:00
Ralf Becker
4d4d66ea9c Allow 00:00 times or 0h in date-(time|hour)only widgets, by differing
between 0 and ''/null
2007-12-20 03:08:07 +00:00
Ralf Becker
18790b1362 ability to specifiy a suffix for select-numbers, to eg. add "h" to the label of each option 2007-12-16 23:13:32 +00:00
Klaus Leithoff
e72c783fd4 pre_process_cf_header -> created by Ralf Becker!!!
function to display the customfields in a nextmatch table-header with the functionality of sorting and selecting
by customfields. Of cource you need to adapt the source of your get_rows or search functionality to do the
actual sorting and selecting. We try to do some additional documentation in codecorner
You can pass the allowed/wanted fields to the header by passing an array of the wanted fields to the widget
through the options parameter (see the eTemplate editor for fields/cells). This array is passed on through
$cell['size']. By now the array passed through is only working, if it is the only entry in the optionsparameter.
The allowed fields array assumes an numerical indexed array of (an) array(s) with ['name'] tag(s) set.
The name provided assumes a preceding #. (e.g.: $allowed_fields[x]['name']='#MyCustomField')
2007-12-13 15:36:44 +00:00
Nathan Gray
f7b93b3d10 Added how to completely hide a column from nextmatch 2007-12-11 22:29:05 +00:00
Christian Binder
bfff821e18 notification-app is now ready for non-eGW users as sender and recipients. deleted the old-style sending part from bo_tracking. this is not needed anymore. 2007-12-10 08:26:29 +00:00
Ralf Becker
cbf94ab243 mark required input fields visually (darker border and light yellow background) 2007-12-09 08:11:55 +00:00
Ralf Becker
e13da61106 "fixed single field display of customfields, was creating an extra grid and array level in the result" 2007-12-07 07:52:14 +00:00
Ralf Becker
03f786390d "fix to display readonly link-entry without id empty (showed text search)" 2007-12-06 22:17:08 +00:00
Christian Binder
15e9c36ca6 removed option for sending html mails or not cause this is decided now by the notification backends (as discussed on the list) 2007-12-05 09:05:57 +00:00
José Luis Gordo Romero
e74c6debaa Reverting the not working (sorry) fix till notifications gets updated to recieve non-accounts in the sender 2007-12-04 17:35:17 +00:00
José Luis Gordo Romero
f7255ea33c Fix sender in bo_tracking (was using this->user not ->get_sender) 2007-12-04 05:12:20 +00:00
Ralf Becker
33b2504316 "Added code to convert timestamps to so_sql.
If you want to use it, you only need to set the timestamps to be converted from user to servertime in so_sql::timestamps AND dont reimplemnt db2data/data2db (or call the default implementation)"
2007-12-04 01:13:53 +00:00
Christian Binder
18cfa84d00 make tracking class aware of possibly missing notification app. if notification app is missing, send a mail, like we did it the old-style before. this behaviour gets changed if notification app is ready for sending notifications to external users. 2007-11-29 18:38:17 +00:00
Ralf Becker
510d1e786e "marking auto columns automatic as primary key and not null" 2007-11-29 06:50:25 +00:00
Ralf Becker
fb9d6db5be "fixed so_sql::get_rows to return an empty array() instead of array(false) if nothing found" 2007-11-27 21:24:50 +00:00
José Luis Gordo Romero
b675c2b65b Fix regresion introduced by r24154 (the send object is newly created for ever
mail, til this get fixed in PHPMailer)
2007-11-27 15:05:14 +00:00
Klaus Leithoff
2a498cae0a Merge of Ralfs customfield commit, with the customfield changes for 1.4: to display only fields with values in listview and to have an info icon to
identify which customfield is displayed (onmouseover), a click on the icon of the customfield opens the description of that field as 
alertbox. Also added the possibility to set an textfield/textarea to readonly with the option readonly=readonly, so users may not be able to change 
values of e.g.: external keys
2007-11-27 15:03:54 +00:00
José Luis Gordo Romero
43d3ee1cf3 Little change to allow mixed (ascii & html) widget, all controll by htmlarea
parameters
2007-11-27 05:49:25 +00:00
Ralf Becker
1258b12e91 "small improvment of the last commit:
- also lookup the custom fields from the app mentioned in the template, if there no cfs for the current app, eg. sitemgr contactform
- forward the needed attribute to the cf
- alignment (no spacing, padding) if there are no labels"
2007-11-26 17:35:29 +00:00
José Luis Gordo Romero
3d9111ff69 Fix notify_current_user action in send_notifications (set by pref in botracker) 2007-11-25 08:14:50 +00:00
Ralf Becker
d623adab6a "allow cancel buttons (no validation) to be named eg. button[cancel], instead only cancel" 2007-11-24 18:59:46 +00:00
Christian Binder
c03db413c3 let the backend at the very end enclose HTML-messages in <html> and <body> tags and not get_body. We do not want to lock out further html. 2007-11-24 14:45:03 +00:00
Christian Binder
5a7319417e get tracker (and infolog) notifications working again with HTML-formatted messages as implemented before. 2007-11-24 14:01:27 +00:00
Christian Binder
bcec4c6dbc fixed bug in new notifications: wrong function name and signature of get_body 2007-11-24 11:31:04 +00:00
Ralf Becker
93457ceac4 "- new cf type \"custom fields without label\"
- ability to specify a single custom field (name = #fieldname)
- show  the cf's in the eTemplate editor too"
2007-11-22 20:08:58 +00:00
Christian Binder
e72ec7185e Extended notification-app and egwpopup. Added winpopup-backend and email-backend. PHP5.1+ is now mandatory in trunk. For more infos look at the egw-developers list. 2007-11-22 08:29:16 +00:00
Ralf Becker
a453c389e5 "new widget to display a clickable email address:
- if the regular value is empty the value of options is used
- the link either opens fmail or is a mailto-link
- complete email addess is shown as tooltip
- \"Ralf Becker <ralf@egroupware.org>\" displays \"Ralf Becker\" with \"ralf@egroupware.org as tooltip"
2007-11-22 00:46:54 +00:00
Ralf Becker
b0677b31e3 "fixed not working return value for a single selection" 2007-11-17 13:50:51 +00:00
Pim Snel
fab981c160 prevent compile error in translation tools when searching new phrases 2007-11-12 01:05:11 +00:00
Oscar Manuel Gómez Senovilla
6c0db1110b catalan updates for trunk 2007-11-10 23:22:17 +00:00