Ralf Becker
9993be3eed
"make etemplate::_sel_options() public again, as it's used by other widgets (eg. tree_widget), thank to webmaster-at-kmu-tools.de "
2008-03-10 06:50:02 +00:00
Ralf Becker
e6d99f37e9
"but test_import and import_dump is ..."
2008-03-09 15:54:52 +00:00
Ralf Becker
4b60cbf95f
"UPPS compress_array is NOT static"
2008-03-09 15:48:21 +00:00
Ralf Becker
e90a3d3a83
reworked etemplate to have static methods and use the new features of egw_db- & html-class
2008-03-09 14:41:22 +00:00
Ralf Becker
0da675bf6e
made all methods from html class static and removed the unnecessary singleton
2008-03-09 14:35:48 +00:00
Ralf Becker
37c3933e0b
using new egw_link class with static methods
2008-03-08 21:41:59 +00:00
Nathan Gray
09556f8fb0
Preserve ajax_select_widget options across a loop
2008-03-07 17:47:06 +00:00
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
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
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
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
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
Ralf Becker
3938faeb19
"enhanced link widgets 'link' subwidget, to allow to specify the application via the options (value is just the id then)"
2007-10-31 08:16:34 +00:00
Ralf Becker
a696057734
fixed typo reported by Daniel Lüken <lueken-AT-via-ev.de> on the german list
2007-10-30 06:28:40 +00:00
Nathan Gray
c49d305932
If there is a format error on a tab, make sure that tab is visible so user can see the error
2007-10-22 20:24:54 +00:00
Ralf Becker
c0159b5466
"ability to specify account to not show in the select-account widget"
2007-10-19 05:37:23 +00:00
Nathan Gray
a0201fd941
Fix link thumbnailing, accidentally used include() instead of readfile() for cached images
2007-10-15 21:04:40 +00:00
Nathan Gray
073e5fdc81
Fix thumbnailing of linked jpegs
2007-10-15 19:46:47 +00:00
Nathan Gray
d3b838e13a
Fix link thumbnail caching so it actually caches
2007-10-15 19:34:49 +00:00
Nathan Gray
33d8386f27
Add mime type icons and thumbnail previews to link list
2007-10-15 17:29:46 +00:00
Nathan Gray
4bf66e6f89
Add mime type icons and thumbnail previews to link list
2007-10-15 17:27:25 +00:00
Ralf Becker
336784d74e
fixed only partcial csv export in timesheet, get_rows was not using the num_rows parameter
2007-10-07 13:29:24 +00:00
Nathan Gray
b43a9982e3
Ajax select widget fixes:
...
- Remove the need for the user to have access to the eTemplate app
- Fix some settings being lost, and inability to clear the widget
2007-09-26 17:21:36 +00:00
Ralf Becker
3beb483c09
CSV Export for all eTemplate applications using the nextmatch widget to list their entries. The column names, labels and types can be set by the application or get autodetected by eTemplate. Admins can configure an export limit (max. number of entries to export) or disable the functionality completly for non-admins. The charset for the csv export can be configured in the common prefs. Applications can and have to turn the export explicitly off by setting ['nm']['csv_fields']=false. I only made a column-definition for InfoLog, which includes translated column-names.
2007-09-22 14:58:10 +00:00
Ralf Becker
4cdf282644
allow to specify and extra title (tooltip) for the link widget
2007-09-14 10:07:18 +00:00
Ralf Becker
0fbb7ef5f4
"new account template subwidget for the contact widget: allows to select a templated based on some contact data, eg. a form-header based on the organisation unit"
2007-09-13 13:50:48 +00:00
Ralf Becker
0cfe754826
new custom field types:
...
- button to execute javascript
- selectbox values can be read from a file
2007-09-13 12:43:58 +00:00
Ralf Becker
1055642df3
fixed not working autorepeated rows with , added id's to (content of) labels and images
2007-09-06 11:59:35 +00:00
Ralf Becker
f21e357253
fixed not working direct sql-updates (eg. 'etag=etag+1') via so_sql::save's parameter
2007-09-06 11:56:37 +00:00
Ralf Becker
cb5e205d66
"added missing \"None\" label for contact-type"
2007-09-06 11:14:12 +00:00
Cornelius Weiß
372c2b4b28
fix: onchange of date selector was not working
2007-08-28 13:02:33 +00:00
Ralf Becker
ee022cd40d
fixed bug reported by Raphael Alla: registered javascript files get lost if etemplate loops
2007-08-24 06:15:27 +00:00
Ralf Becker
fde08a961d
fixed not working/existing custom fields and widget-types for dates, accounts and cats
2007-08-20 07:51:49 +00:00
Ralf Becker
0714f41b63
docu update for link widget from aleksander.adamowski-AT-olo.org.pl
2007-08-06 13:52:17 +00:00
Ralf Becker
fbeb8318d7
remove not (longer) existing or inaccessible cats
2007-07-23 09:02:51 +00:00
Ralf Becker
9f1df33c74
first version of a tree widget (atm the whole tree need to be supplied, like for select)
2007-07-22 13:23:44 +00:00
Ralf Becker
edc5dc9db5
fixed not working value display of arrays
2007-07-22 13:12:21 +00:00
Ralf Becker
a0ff70602a
fix for bug #1058 : FATAL ERROR: class.customfields_widget.inc.php on line 168
2007-07-16 16:55:13 +00:00
Ralf Becker
2699258f07
fixed double displayed label
2007-07-12 07:53:21 +00:00
Ralf Becker
7e577e22c4
fixed not working type specific customfields in infolog
2007-07-12 07:30:20 +00:00
Ralf Becker
eadc1c7b38
fix for bug #658 : Custom Fields - added user in list comes up as ID (number)
...
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
2224267a7e
"fixed infinit loop in the select-number widget, if start and end value are identical, also fixing the code with should protect from showing more then 100 items in the selectbox"
2007-07-05 07:48:56 +00:00
Ralf Becker
548858e074
"some bugfixes:
...
- two etemplate on one page (eg. infolog under the addressbook view) is working halfway again
- fixed not working vars in onclick on grid-cells
- disabled cells keep there css-class now
Also calling some of the static methods now static, while trying to make process_exec static (which it is not at the moment)"
2007-07-05 04:57:31 +00:00
Ralf Becker
d255c15248
"new so_sql2 class: adding magic __get() and __set() methods, to be able to work more object oriented with so_sql (just a first step)
...
you can now use $so_sql_obj->my_col = 15 instead of $so_sql_obj->data['my_col']=15; (be aware, that does NOT work with var-parameters of functions and probably references)
$so_sql_obj->id alwas references the auto-id, independent of it's name (id is a bad choice of a column-name, because it's a reserved word in some dbms)"
2007-07-05 04:50:53 +00:00
Ralf Becker
c5ac764580
"- bugfix: data_merge was not merging null values (isset instead of array_key_exists)
...
- new update function, which write just the given cols and not the whole row"
2007-07-05 04:46:49 +00:00
Ralf Becker
c28a1babff
"fixed some bugs, wrong function or method names (it was'nt used so far)"
2007-07-05 04:44:18 +00:00
Ralf Becker
dcb8c7c80c
"removed wrong/old constructor "
2007-07-05 04:42:20 +00:00
Ralf Becker
5d9ff65391
- fixed not being able to switch off notification for responsible
...
- new preference for htmlmail with larger fontsize
- new preference for notification of responsible: only when I get assigned or removed
- notifications are now suppressed, if no changes made (according to save_history)
2007-06-21 16:25:08 +00:00
Ralf Becker
1735a53f85
"fixed bug #946 : Nextmatch last ( >| ) button goes to start
...
also fixed number-of-rows selection, which worked only on the 2. go
--> both problems were introduced by the memory saving fix applied after the last RC"
2007-06-21 09:59:53 +00:00
Ralf Becker
e8b71231f3
"fix for problem discovered by José Luis Gordo Romero <jgordor-AT-gmail.com>"
2007-06-20 20:53:54 +00:00
Ralf Becker
9e49e8c50d
History for InfoLog (incl. the ability to disable real deletes) and delete notifications
2007-06-13 21:37:05 +00:00
Ralf Becker
39dd374379
"notifications were not send to assigned users"
2007-06-11 13:43:12 +00:00
Ralf Becker
fc3c7a40ad
bugfixes and some enhancements to support async notifications (infolog)
2007-06-10 08:50:03 +00:00
Ralf Becker
af5804129f
"two fixes for the num_rows in the next-match widget:
...
- use a default of 15 rows, if user&group has no pref set
- use what's stored in the extension data, if value not set (nm-header not shown)"
2007-06-08 08:51:05 +00:00
Ralf Becker
e5dd7f8122
email for the contactform
2007-06-06 08:22:39 +00:00
Ralf Becker
381d421466
email for the contactform
2007-06-06 08:18:45 +00:00
Ralf Becker
86870ce4d7
"modified to use the non-prefered sender-address if the prefered one is not set/existing"
2007-06-03 11:31:01 +00:00
Cornelius Weiß
8afb0cf003
adopt to static function
2007-06-01 11:53:49 +00:00
Ralf Becker
f2fb5fad4b
2007-05-28 21:17:15 +00:00
Ralf Becker
915e5f74f2
"fixed now working saving of column-selection after the memory-saving-fix"
2007-05-26 07:51:17 +00:00
Ralf Becker
77a318ae69
newest ajax-select-widget from Nathan Gray
2007-05-25 22:13:26 +00:00
Ralf Becker
75c797d0f2
fixed exec to save the include_xajax flag too (looping)
2007-05-25 18:13:13 +00:00