0caef86d38
Since 2.2.3.1-beta ------------------ bugfix: Search in a member does not find file contents. bugfix: Click on "search everywhere" does not find file contents. bugfix: Groups listed alphabetically in the Administration Panel. bugfix: Monthly view calendar print shows empty calendar. bugfix: Improvements in performance of overview widgets. bugfix: Timeslots are not reclassified reclassifying tasks. bugfix: Cannot delete members if it has objects. bugfix: Member deletion does not clean all related tables. bugfix: Only managers or superior roles can change other user passwords. bugfix: Several missing langs and undefined variables warnings clean. bugfix: Db error when adding two workspaces with the same name. bugfix: Quick add files - all radio buttons can be selected. system: Russian translations updated. Since 2.2.2 ---------------- bugfix: Owner company cannot be classified. bugfix: Task list group by user fix. bugfix: Add pdf and docx files to searchable objects. bugfix: js managers bugfixes. bugfix: Cannot edit/delete mails from deleted accounts. bugfix: Error in tasks reports when ordering by 'order' column. bugfix: Fixes in migration from 1.X of custom properties. usability: Reports can be edited to allow execution in every context. usability: Performance improved in tasks list. usability: Users are filtered by permissions in 'People' dimension when filtering by a workspace. usability: Contacts are filtered in 'People' dimension when filtering by a workspace if they belong to the workspace. system: Portuguese language updated. Since 2.2.1 ---------------- bugfix: logged_user fix when classifying attachments bugfix: go back instead of redirect when editing file properties. bugfix: chmod after mkdir when repository file backend creates directory bugfix: Several template instatiation fixes bugfix: mail classification bugfix bugfix: allow to classify mails in workspaces,tags bugfix: administration/users: 10 users per page fix bugfix: do not use objects in estimated-worked widget, use raw data for better performance bugfix: language fixes bugfix: cannot use assigned_to combo when adding tasks in ie bugfix: ie compatibility fix in calendar toolbars bugfix: enable/disable cron events for calendar export/import when adding/deleting accounts bugfix: html tags in task tooltip description at calendar bugfix: cvs export prints html tags bugfix: users with can_manage_security cannot manage groups bugfix: view week calendar views don't show tasks all days if task starts or ends in another week bugfix: dont show timeslots of other users if cannot see assigned to other's tasks bugfix: ext buttons hechos a lo chancho bugfix: patch if not exists function array_fill_keys (para php < 5.2) bugfix: break large words in task description bugfix: administrator cannot log in to admin panel when asking for credentials bugfix: cannot edit file after uploaded from object picker bugfix: getTimeValue when 12:XX AM bugfix: bugfix in custom reports with boolean conditions on custom properties bugfix: admin users paging fix bugfix: migration companies comments fix Since 2.2.1-rc ---------------- bugfix: Cannot manage plugins if no super admin. bugfix: Reports were not grouping unclassified objects. bugfix: Reports grouping misses a group. bugfix: Fixed findById function in ContentDataObjects. bugfix: Fixed Email plugin installation. bugfix: Fixed translations for dimension names. bugfix: Error with company logo when sending notifications. bugfix: Time report fix when selecting custom dates and listing paused timeslots. bugfix: Fix when getting plugin's javascript translations. Since 2.2 ---------------- bugfix: Calendar monthly view bugs with repeating events. bugfix: Permissions system fix. bugfix: Projects appear in object picker. bugfix: language fixes (en_us, es_la, es_es). bugfix: Error in calendar when user has timezone=0. bugfix: Formatted tasks description and notes content does not shows italics and quotes when viewing. bugfix: Compressing files does not create compressed file in the current context. bugfix: Sometimes can subscribe users with no permissions to the object. bugfix: Activity widget bug with general timeslots. bugfix: Error when selecting default workspace in mail account edition. bugfix: User types are not transalted. bugfix: Prevent double generation of tasks when completing a repetitive task instance (double click on complete link). bugfix: CSV export fixes at Total tasks times report. usability: Create events according the filtered user. usability: Config option to show tab icons. usability: Config option to enable/disable milestones.
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
$NetBSD: patch-aa,v 1.4 2013/03/14 16:33:15 taca Exp $
|
|
|
|
Unofficial patch to avoid iconv(GNU or gnu libc) portability problem.
|
|
(mb-iconv.patch from http://www.fengoffice.com/web/bugs/view.php?id=6)
|
|
|
|
--- environment/classes/encoding/EncodingConverter.class.php.orig 2013-02-06 11:30:10.000000000 +0000
|
|
+++ environment/classes/encoding/EncodingConverter.class.php
|
|
@@ -6,6 +6,16 @@ class EncodingConverter
|
|
var $_last_err_filename;
|
|
var $_last_err_line;
|
|
var $_last_err_func;
|
|
+ private static $gnu_iconv = null;
|
|
+
|
|
+ static function iconv_error($errno, $errstr) {
|
|
+ if (preg_match("/Wrong charset/", $errstr) > 0) {
|
|
+ self::$gnu_iconv = false;
|
|
+ return true;
|
|
+ } else {
|
|
+ return false;
|
|
+ }
|
|
+ }
|
|
|
|
function _handleError($err, $msg, $errfile, $errline, $errcontext) {
|
|
$trace = debug_backtrace();
|
|
@@ -25,6 +35,19 @@ class EncodingConverter
|
|
}
|
|
|
|
function convert($in_enc, $out_enc, $str, $return_original_on_error = true, $ignore_non_compatible = true) {
|
|
+ $mbflag = function_exists("mb_convert_encoding");
|
|
+
|
|
+ if (!$mbflag && is_null(self::$gnu_iconv)) {
|
|
+ $dummy = "a";
|
|
+ $ascii = 'us-ascii';
|
|
+ $func = set_error_handler("self::iconv_error");
|
|
+ $r = iconv($ascii, $ascii . "//ignore", $dummy);
|
|
+ restore_error_handler();
|
|
+ if ($r == $dummy) {
|
|
+ self::$gnu_iconv = true;
|
|
+ }
|
|
+ }
|
|
+
|
|
$this->_last_err = null;
|
|
set_error_handler(array(&$this, '_handleError'));
|
|
|