Commit Graph

1784 Commits

Author SHA1 Message Date
Ralf Becker
6c406d180c 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:27:53 +00:00
Ralf Becker
d7d02c919f * eTemplate/all apps: limit displayed history to 500 entries 2014-02-20 12:47:40 +00:00
Ralf Becker
dbb22b6f79 restoring value at end of etemplate::show_cell() as it is a reference into content and some widgets (IP-address cf) rely on being able so set content while using multiple widgets with same name relys on it being unchanged 2014-02-20 09:34:36 +00:00
Ralf Becker
9f6d14690e force re-import of etemplates if app-version changes 2014-02-17 14:27:04 +00:00
Ralf Becker
dbdb54abb5 * API: support for mbstring.func_overload=0 (previously we required mbstring.func_overload=7 to correctly support utf-8) 2014-02-04 16:14:46 +00:00
Ralf Becker
3e5701b92a return $arr argument itself, but no reference to it, in all error cases 2014-01-08 09:46:53 +00:00
Ralf Becker
2b9d56c7f0 can NOT use empty($idx) as it is true for 0 too! 2014-01-08 08:58:32 +00:00
Ralf Becker
44ac7db6a5 fixed handling of empty name, not index into array but return full array 2014-01-06 12:54:05 +00:00
Ralf Becker
4a0090d4e3 fix exception in boetemplate::get_array() 2013-11-29 00:15:29 +00:00
Ralf Becker
eca96a4411 fixing PHP fatal error: "Object of class etemplate could not be converted to string", caused by last commit 2013-10-31 08:46:28 +00:00
Ralf Becker
aff5641761 fixed first row with index="0" got displayed wired eg. in file selection popup, caused by empty("0") === true 2013-10-31 08:31:12 +00:00
Ralf Becker
76362d59b8 fixed wrongly disabled tabs 2013-10-25 12:26:18 +00:00
Ralf Becker
b5c0d7030e 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:10 +00:00
Ralf Becker
18ecd65887 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:30:51 +00:00
Ralf Becker
5811c50eac * All apps: new custom-field type IP-Address getting initially set with remote IP address, and allowing to set negativ length for text fields to make them readonly 2013-10-24 17:00:01 +00:00
Ralf Becker
85f0e24557 * PostgreSQL/Addressbook: fixed SQL error when sorting by a custom field 2013-10-24 14:57:00 +00:00
Ralf Becker
086b0e7384 make sure to load all cfs, if "customfield" in in selected columns 2013-10-17 14:08:28 +00:00
Ralf Becker
4b11895060 * 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:53:34 +00:00
Ralf Becker
b958240a94 * 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:14:08 +00:00
Ralf Becker
18838ef606 fixed SQL error caused by so_sql prefixing 0 with table name 2013-08-29 13:28:24 +00:00
Ralf Becker
79a14aed48 * Timesheet/PostgreSQL: fix SQL error when selecting a timerange 2013-08-29 11:04:21 +00:00
Klaus Leithoff
bee200ba2d implement the possibility to return multiple lines on get_message for tracking; allow transformation of --- into horizontal rule on html on get_message 2013-08-20 10:57:35 +00:00
Ralf Becker
8b1cfaf10b * 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:02:46 +00:00
Nathan Gray
766a4a513f Change comment caching to object level instead of class level to prevent revealing restricted comments 2013-08-12 14:41:49 +00:00
Klaus Leithoff
1cb8c3f47c provide contact-id on errormessage on failure of mail-merge 2013-08-07 08:06:39 +00:00
Klaus Leithoff
0f56f12626 alter message on success/failure of multiple message sending via addressbook mail-merge 2013-08-06 13:49:12 +00:00
Ralf Becker
74d668ae07 * PostgreSQL/Addressbook: fix SQL error in addressbook by organisation and department 2013-08-06 12:09:29 +00:00
Klaus Leithoff
47503f4fcd attempt to fix problem of comment-visiblity on multiple assignments of the ticket in question 2013-07-31 10:24:36 +00:00
Ralf Becker
afd4d3d75c 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 09:12:00 +00:00
Ralf Becker
3b0eccb9d4 * eTemplate/all apps: (silently) limit number of links shown to 1000 newest, to not run into memory_limit or max_execution_time and assuming noone will scroll further down anyway 2013-07-26 09:39:14 +00:00
Ralf Becker
acccfe2132 * PostgreSQL/ProjectManager/InfoLog: invalid SQL opening a new entry InfoLog entry
can not "SELECT * FROM table ... GROUP BY *" has to be "SELECT table.* ... FROM table GROUP BY table.*"
2013-07-26 06:57:42 +00:00
Ralf Becker
02917ec5bf 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:48:08 +00:00
Ralf Becker
56bc1768c9 fixed an other SQL error caused by prefixing columns with DISTINCT: id in field-list is ambigous 2013-07-23 09:35:19 +00:00
Ralf Becker
dbd43126c8 * All apps/custom fields: fixed multiple identical rows, if custom fields where set (introduced in last package) 2013-07-23 07:58:51 +00:00
Ralf Becker
60f6ae4e83 * All apps: allow to log user-agent and action of all changes in history-log of entries (enable in Admin >> Site configuration) 2013-07-11 13:11:46 +00:00
Ralf Becker
c02e343a02 make eTemplate widget-type integer an alias for int, to ease backporting templates from trunk 2013-07-11 08:06:05 +00:00
Ralf Becker
46cb5a6e59 fixed wrong bracket causing SQL error: is not unique 2013-07-04 16:42:57 +00:00
Ralf Becker
8fca0d0f61 * PostgreSQL: automatic fix GROUP BY clause to contain all non-aggregate selected columns, to work around SQL errors, caused by this MySQL "optimisation" 2013-07-04 09:32:48 +00:00
Ralf Becker
bb020d37f8 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 17:59:43 +00:00
Ralf Becker
f17e335daa fixed not working multiple value "select-account" or "home-accounts" (rows > 1) custom fields 2013-06-12 14:29:04 +00:00
Nathan Gray
44f3b42a76 Add home-accounts custom fields sub-placeholders 2013-06-10 16:30:32 +00:00
Ralf Becker
a46a9321f3 merged tooltip for label from trunk 2013-06-05 13:55:57 +00:00
Ralf Becker
0d8ba7b81b if we have onclick or tooltip, add it to an extra div around single element of a box 2013-06-05 13:13:47 +00:00
Ralf Becker
943f9b71cd 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:29:58 +00:00
Ralf Becker
ee9f0eacf8 backported "hide_header" r42229 (only class.nextmatch_widget.inc.php) from Trunk 2013-05-28 13:27:34 +00:00
Ralf Becker
d46bd621ae return (protected) array with validation errors instead of just the count 2013-05-25 17:20:11 +00:00
Nathan Gray
6e2df01d29 Change ODS file line break tag from <text:line-break> to </text:p><text:p> so it works in LibreOffice 2013-04-23 14:11:43 +00:00
Ralf Becker
05c68846eb async notifications can NOT use a single static variable as cache, as it will be used for all the different entries notified
--> using a class variable (different per app) and indexing cache be id or entry
2013-03-22 15:07:54 +00:00
Nathan Gray
142583956e Add general placeholder {{link}} is a link to current record 2013-03-20 14:58:27 +00:00
Ralf Becker
10703e36f0 fixed not working link in notifications / subscribtions, if path contains eg. a space
caused by unnecessary appended path=... url parameter breaking WebDAV, added new config to NOT add it, as not setting id causes signature to fail
2013-03-20 09:55:50 +00:00