Commit Graph

1521 Commits

Author SHA1 Message Date
Ralf Becker
eb8296ae46 fixed etemplate.inc.php download (happens only if directory is not writable) has zero length. Caused by output buffering and unbuffered php://stdout instead of php://output used 2014-02-28 08:28:07 +00:00
Ralf Becker
7082a10338 * API: support for mbstring.func_overload=0 (previously we required mbstring.func_overload=7 to correctly support utf-8) 2014-02-04 16:15:52 +00:00
Ralf Becker
bfc4ea5eb8 merged eTemplate widget type hidden from Trunk 2014-01-29 17:17:17 +00:00
Ralf Becker
ac315dafe2 fixed wrongly disabled tabs 2013-10-25 12:26:55 +00:00
Ralf Becker
d687a30e6f need to compare short names, as long name generated by prefixing with template-name is not found, because different template name 2013-10-25 11:38:50 +00:00
Ralf Becker
3c5c33dba8 disable tabs independent of using short or full name, eg. $readonlys["tabs"]["test"] = true works as well as $readonlys["tabs"]["app.something.test"] = true 2013-10-25 07:31:15 +00:00
Ralf Becker
acf0d0fc3f * PostgreSQL/Addressbook: fixed SQL error when sorting by a custom field 2013-10-24 14:57:56 +00:00
Ralf Becker
767069a54c make sure to load all cfs, if "customfield" in in selected columns 2013-10-17 14:09:04 +00:00
Ralf Becker
bbacfbf046 * PostgreSQL/ProjectManager: fixed SQL error "pm_id is ambigues" when accessing /apps/projectmanager via filemanager
instead of aliased primary key, we have to use original column incl. table-name as alias is ambigues
2013-10-14 07:54:05 +00:00
Ralf Becker
61003cccca * Timesheet/PostgreSQL: fix SQL error when selecting a timerange 2013-10-04 07:13:07 +00:00
Ralf Becker
f07e86026a * EMail/all apps: fixed notifications caused EMail to loose connection to IMAP server
- temporary switch of user-enviroment as not fully restored and caused email connection of notified user being tried
- bo_tracking::send_notification does not all switching and is save to used without do_notifications
- references to $GLOBALS[egw_info][user] are now removed, because they also stopped correctly switching user enviroments for notifications
2013-09-02 12:19:19 +00:00
Ralf Becker
42a41c6a53 * Addressbook: fixed sql error caused by multiple DISTINCT by backporting whole so_sql class from Trunk/11.1 2013-08-22 12:39:54 +00:00
Ralf Becker
4c70450cad * ProjectManager: fix SQL error if searching for string containing numbers and underscore or percent
skip user-wildcards (*,?) in is_numeric test, but not SQL wildcards, which get escaped and give sql-error
2013-08-14 08:03:09 +00:00
Ralf Becker
c9a9db53aa fixed "PHP Parse error: syntax error, unexpected \ (T_NS_SEPARATOR)" error caused by email validation, also added error_log for these type of parse-errors 2013-07-30 10:15:01 +00:00
Ralf Becker
5101eadd45 * All apps/custom fields: fixed multiple identical rows, if custom fields where set (introduced in last package)
r43160: fixed SQL error introduced by r43149: multiple identical rows
r43177: fixed DISTINCT leading to no data returned (eg. ctag in accounts-addressbook in eSync and CardDAV), DISTINCED added twice and not using so_sql_cf::search if no custom fields defined
2013-07-23 13:54:20 +00:00
Ralf Becker
f34a92e8e0 fixed not working multiple value "select-account" or "home-accounts" (rows > 1) custom fields 2013-06-12 14:30:33 +00:00
Ralf Becker
9650b8560e fixed not working quoting of multiple values specified as array, can not use array walk, as 2. parameter is the key not passed data 2013-05-31 08:30:12 +00:00
Ralf Becker
8fa3bdb88e * eTemplate/all apps: fixed not working display of floating point values in input fields for Chrome or Safarie (browsers supporting html5 input type="number") 2012-10-31 09:20:24 +00:00
Ralf Becker
14f690549c display thumbnail now for images up to 1.6M, which seem to work with our current recommended memory_limit of 128M 2012-10-30 16:48:45 +00:00
Ralf Becker
db79df6318 download etemplate.inc.php distribution file, if webserver has no write rights to setup directory 2012-10-30 14:04:32 +00:00
Klaus Leithoff
a09eb5e389 since we allow ampersand in local-part of the emailaddress, we have to handle this while preprocessing template data 2012-10-23 10:39:30 +00:00
Klaus Leithoff
e41336f71c * Addressbook/API: allow ampersand and plus in local part of emailaddress for email validation 2012-10-23 08:59:20 +00:00
Ralf Becker
b2eba41de0 work around a warning, if database password contains a non-ascii char (eg. German umlaut) 2012-10-23 08:21:20 +00:00
Ralf Becker
c05f1af2e4 * Addressbook/InfoLog/Tracker: added or fixed formatting of certain custom field types in notifications using a single shared method 2012-08-09 13:07:07 +00:00
Ralf Becker
a460298fb9 backported xml-import/export from trunk, as it works a lot better then version in 1.8 2012-07-18 17:51:09 +00:00
Ralf Becker
bf9aaf6545 if dir is not writable, download xet file 2012-07-18 17:49:24 +00:00
Klaus Leithoff
bc0f8b2c57 * Api: use autocomplete=off on all etemplate password fields (not all browsers support that), to avoid filling in wrong passwords while administering 2012-06-06 15:13:19 +00:00
Ralf Becker
55807585af fixed PHP 5.4 Warning: Illegal string offset 2012-05-21 14:09:30 +00:00
Ralf Becker
dcec7b9377 fixed PHP 5.4 Warning: Illegal string offset 2012-05-21 10:59:33 +00:00
Klaus Leithoff
9b423a515f take care of possible commas in n_fn in addressbook.email popup (on-click adding email to opened email-form when clicking on email-link) 2012-05-14 08:29:43 +00:00
Nathan Gray
da90d4901a Add missing part of country code changes (r38733) 2012-05-09 15:38:21 +00:00
Ralf Becker
7014a9bf9e remove trailing whitespace from css in templates 2012-04-05 12:45:00 +00:00
Ralf Becker
915f0f3493 * PHP 5.4: fixes for strict warnings, thought disabling E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas 2012-04-02 07:48:13 +00:00
Ralf Becker
41fd3575c9 * Update to 1.8.004: REQUIRES TO VISIT SETUP for schema updates
- backport of security features from Trunk: support for sha512_crypt password and session-list without access to session-directory
- backport of numerous CalDAV/CardDAV features and fixes from Trunk: multiple addressbooks and calendars, support of resources, request logging
2012-03-31 14:12:25 +00:00
Nathan Gray
95fb2dfaaa Reset namespace for widgets that come later in template 2012-03-30 16:05:29 +00:00
Ralf Becker
2ffb9e3f91 support for parent_id and is_parent, need to be moved to call_get_rows, to also include in initial data 2012-03-30 12:28:07 +00:00
Ralf Becker
a80a42f5c8 disabling permanent debug from widget transformer 2012-03-30 12:21:12 +00:00
Nathan Gray
9d179df719 Avoid warning when input is not an array - caused by no cfs 2012-03-29 22:57:00 +00:00
Nathan Gray
3bce9fccc3 - Add getElementsByType() function
- Handle ids that end in []
2012-03-29 22:55:44 +00:00
Ralf Becker
cedb8e3f6c add this.form.submit() to legacy functions and use regular nextmatch filter-change, if onchange="this.form.submit()" is set, some more changes etemplate_new --> etemplate 2012-03-29 15:10:25 +00:00
Klaus Leithoff
e20f2e9333 do not try to apply decodePath to an array (egw_link::title is handling this correctly if app is VFS_APPNAME and second argument is of type array) 2012-03-29 13:36:28 +00:00
Ralf Becker
ee8fd5b10e found a lot more calls to get_rows missing to set csv_export flag and fixed code in nextmatch dealing with situation if num_rows=-1 got stored in prefs anyway 2012-03-29 12:06:10 +00:00
Ralf Becker
4d95a9b495 * ImportExport/Tracker: timeout left num-rows set to -1, causing nextmatch to try to display full list on next login 2012-03-29 10:43:21 +00:00
Nathan Gray
02769a962e Start on VFS upload 2012-03-28 23:27:18 +00:00
Ralf Becker
f8498ca949 an other little fix to have old etemplate editor work with etemplate2 2012-03-28 16:29:14 +00:00
Ralf Becker
4a08f033e7 renamed etemplate to etemplate_old and etemplate_new to etemplate, thought new etemplate is still disabled in etemplate/inc/class.etemplate.inc.php line 38 2012-03-27 15:45:31 +00:00
Ralf Becker
f9e3fc5aec need to init action_links, as they are stored from previous requests and used in egw_actions to detect we are on first level of menu 2012-03-27 14:02:34 +00:00
Klaus Leithoff
f5c5ef9c29 links to vfs are to display the filename decoded instead of the urlencoded version (which is needed to access the file) 2012-03-27 13:56:22 +00:00
Nathan Gray
282888715b Custom field value is never an array, just a string 2012-03-23 18:43:06 +00:00
Ralf Becker
2e3d740da7 only return modified knowUids not check for deleted ones, if row_id is set 2012-03-23 16:05:06 +00:00