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
Ralf Becker
23c473690e
"removed accidently commited 2. patch"
2008-06-19 16:07:57 +00:00
Ralf Becker
b89e7b46a1
"fixed not working install (segfault) caused by account creation in sitemgr's default_records and the new uid code in addressbook_sql::save() going into an invinit recureing, because so_sql::update calls $this->save() instead of self::save()"
2008-06-18 19:56:26 +00:00
Klaus Leithoff
09abb185f9
# improving of the negated search criteria behavior
2008-06-17 07:28:35 +00:00
Ralf Becker
2b6f25b7f3
added popup size for phone integration and better sanitizing of phone numbers
2008-06-11 07:18:29 +00:00
Ralf Becker
c0ec512113
new widget for urls, email-addresses and phone numbers (displaying them r/o as links like in addressbook)
2008-06-11 06:29:41 +00:00
Ralf Becker
2e77c2a4c6
"a little bit nicer implementation"
2008-06-11 04:20:39 +00:00
Ralf Becker
c57b02c59f
"allow to have more then one nextmatch widget on a page, for nathan and pERP :-)"
2008-06-11 04:05:10 +00:00
Ralf Becker
6b74d6ad88
"switched permanent debug message off again"
2008-06-04 05:26:52 +00:00
Ralf Becker
20fe4703ab
"removed 1.2 compatibility code"
2008-06-03 06:22:35 +00:00
Ralf Becker
c34dc55633
"fixing the fix: only add primary key, if it's NOT an auto id"
2008-05-30 08:20:06 +00:00
Ralf Becker
b6be2fb249
"bugfix: not_unique() method was not working with unique indexes over multiple columns and was not testing the primary keys, with is also unique"
2008-05-28 12:17:06 +00:00
Ralf Becker
ae044a9a08
allow to instanciate the historylog with a given user or 0 for
...
changes by the system itself (eg. async service). bo_tracking passes on
it's user param of the constructor.
2008-05-27 09:25:25 +00:00
Ralf Becker
78dd1cdf03
missed new $no_clone parameter
2008-05-26 08:32:27 +00:00
Ralf Becker
83a250e085
php5 __construct plus old old class-name method calling the new constructor, added non_db_cols to __get() and __set()
2008-05-26 08:27:24 +00:00
Ralf Becker
1f144e4670
"colspan='all' was only working in the first grid of the template"
2008-05-24 08:42:43 +00:00
Ralf Becker
c45e0ee9fe
"- fixed sometimes not working delete of a column (seems to be php5 related, as it was working before)
...
- removed one idention from tables_{current|update}.inc.php
- removed closing ?> tag"
2008-05-24 06:39:05 +00:00
Ralf Becker
6c1dcb430d
"unit was missing for readonly values"
2008-05-20 12:21:53 +00:00
Ralf Becker
b69b8085e6
Fixed some problems with the etag handling, causing an SQL error on
...
merging contacts, as reported by Johannes Gorschlüter from Stylite
2008-05-17 06:44:17 +00:00
Ralf Becker
c74789fc2c
"removed unnecessary instanciation of old bolink class"
2008-05-15 12:41:20 +00:00
Ralf Becker
31f71a54e2
"fixed syntax error reported by uwe.redecker(at)hspl.de"
2008-05-13 05:56:00 +00:00
Ralf Becker
4885518b88
autoloading of addressbook classes
2008-05-10 12:06:15 +00:00
Ralf Becker
d58ddd9999
"allow to insert rows with the auto-id specified"
2008-04-27 20:05:04 +00:00
Ralf Becker
163b795d45
"extra where condition, eg. to check etag on writing"
2008-04-26 07:49:01 +00:00
Ralf Becker
4048c304d7
"using the configured temp directory for uploaded files"
2008-04-24 13:59:47 +00:00
Ralf Becker
f40cfd935d
"using the configured temp directory for uploaded files"
2008-04-24 13:55:12 +00:00
Ralf Becker
0cdfc90f61
"using egw_vfs::mime_icon()"
2008-04-22 20:33:42 +00:00
Stefan Becker
82e4a81bc8
""
2008-04-22 08:42:31 +00:00
Ralf Becker
ea7ea8deb6
modifications for the links via the new vfs/links stream wrapper
2008-04-16 19:53:20 +00:00
Ralf Becker
5fd2d8def8
removed unnecessary instancations and using static methods of html and egw_link class
2008-03-25 16:42:23 +00:00
Ralf Becker
b550aeecf5
"fixed typo"
2008-03-22 09:31:23 +00:00
Ralf Becker
84c1ac74f0
removed unnecessary instanciations
2008-03-21 20:54:28 +00:00
Ralf Becker
add5646e48
fixed a few errors in the etemplate editor
2008-03-20 18:43:11 +00:00
Nathan Gray
186d0ad967
Fix missing readonly parameter reported by randy houlahan, and pass it to the template
2008-03-20 16:18:15 +00:00
Ralf Becker
ef43425f7f
allow to use global db-object (and no clone&set_app), if told so via a separate parameter to the constructor (not by default as the app using so_sql might not be ready for it)
2008-03-13 11:08:54 +00:00
Ralf Becker
694dbc443b
some more php5 and html static fixes
2008-03-10 15:54:21 +00:00
Ralf Becker
6e9829faf6
some more php5 and html static fixes
2008-03-10 15:49:46 +00:00
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