Commit Graph

15480 Commits

Author SHA1 Message Date
Jörg Lehrke
c53c27d9d4 Fix CLASS:PRIVATE issue 2010-03-15 17:22:19 +00:00
Jörg Lehrke
ecc20f62f0 Fix Funambol SIF enconding 2010-03-15 17:21:50 +00:00
Jörg Lehrke
8b5dfcb926 Fix CLASS:PRIVATE issue 2010-03-15 17:18:17 +00:00
Jörg Lehrke
28383ae67d Fix Funambol SIF enconding 2010-03-15 17:17:42 +00:00
Klaus Leithoff
d9c39caf7e removing possible CR/LF from content for ajax search result javascript, as it breaks the options 2010-03-15 17:17:33 +00:00
Klaus Leithoff
1cc999ac8f removing possible CR/LF from content for ajax search result javascript, as it breaks the options 2010-03-15 15:31:41 +00:00
Jörg Lehrke
9c37b555ec Use iterator approach in GroupDAV; fix various issues 2010-03-15 10:51:43 +00:00
Jörg Lehrke
9590be51b7 Handle multi-line error messages gracefully 2010-03-15 10:51:24 +00:00
Jörg Lehrke
7220d96847 Use iterator approach in GroupDAV; fix various issues 2010-03-15 09:55:16 +00:00
Jörg Lehrke
8165ec94e8 Handle multi-line error messages gracefully 2010-03-15 09:53:25 +00:00
Ralf Becker
9f3e658b1c Do NOT store "System/Localtime" as server_timezone, as it is no valid timezone 2010-03-15 07:53:12 +00:00
Ralf Becker
7f3651e3f2 Do NOT store "System/Localtime" as server_timezone, as it is no valid timezone 2010-03-15 07:51:38 +00:00
Jörg Lehrke
abd19f0f27 Differentiate GroupDAV collections 2010-03-11 07:45:57 +00:00
Jörg Lehrke
89f7d50cec Differentiate GroupDAV collections 2010-03-11 07:30:46 +00:00
Ralf Becker
0ec9d18b23 "adding fields for (max. 10) single category names" 2010-03-10 18:07:12 +00:00
Ralf Becker
ca3f3b463f "adding fields for (max. 10) single category names" 2010-03-10 18:05:44 +00:00
Nathan Gray
54b4454d51 Add some base classes to make it easier for other applications to implement importing CSVs
To use them, you need to create two files in the app/importexport directory, 'class.import_appname_csv.inc.php' and 'class.wizzard_import_appname_csv.inc.php'.
The minimum required files are shown below, but they can be modified as needed to override the basics and add capabilities.


class.import_appname_csv.inc.php:
<?php

        require_once(EGW_INCLUDE_ROOT. '/importexport/inc/class.basic_import_csv.inc.php');

        class import_appname_csv extends basic_import_csv {

                protected function import_record(&$record, &$import_csv) {
			// Handle one record here.  Handle conditions and call action() as appropriate.
			// See basic_import_csv.
                }

                protected function action($action, Array $record, $record_num = 0) {
			// Take the given action (none, insert, delete, update) etc.  as understood for your app.
			// See basic_import_csv.
                }
        }
?>

class.wizzard_import_appname_csv.inc.php:
<?php

        require_once(EGW_INCLUDE_ROOT . '/appname/importexport/class.import_appname_csv.inc.php');
        require_once(EGW_INCLUDE_ROOT . '/importexport/inc/class.wizzard_basic_import_csv.inc.php');

        class wizzard_import_appname_csv extends wizzard_basic_import_csv {
		public function __construct() {
			$this->mapping_fields = array(
				// List of destination fields available in appname
				'field' => lang('name')
			);
			$this->conditions = array(
				// List of conditions supported by import_appname_csv
				'field' => lang('name')
			);
			$this->actions = array(
				// List of actions supported by import_appname_csv
				'field' => lang('name')
			);
		}
        }
?>
2010-03-10 16:31:25 +00:00
Ralf Becker
c63eea32f6 "egw_links: remove links user has no access to from result, if $cache_titles is set" 2010-03-10 12:22:33 +00:00
Ralf Becker
f7ee51f53b "egw_links: remove links user has no access to from result, if $cache_titles is set" 2010-03-10 12:20:51 +00:00
Jörg Lehrke
871635002a Improve find_event() 2010-03-09 17:03:41 +00:00
Jörg Lehrke
1162445002 Improve find_event() 2010-03-09 17:03:33 +00:00
Nathan Gray
f85abe96f8 Fix popup size for new definitions 2010-03-09 16:26:17 +00:00
Jörg Lehrke
191d0c7fd5 Fix 'search for series master' issue 2010-03-09 09:28:46 +00:00
Jörg Lehrke
6f68c0a41b Fix 'search for series master' issue 2010-03-09 09:28:23 +00:00
Ralf Becker
7608a38aa3 "fixed handling of linebreaks from text and rich text fields for xml based formats (Open Office and MS Office)" 2010-03-08 21:57:41 +00:00
Ralf Becker
bb580029c1 "fixed handling of linebreaks from text and rich text fields for xml based formats (Open Office and MS Office)" 2010-03-08 21:56:05 +00:00
Ralf Becker
efe7eabe52 "only use posix_getpwnam to check for existing system user, if it's available (otherwise no more accounts can be created)" 2010-03-08 21:09:00 +00:00
Ralf Becker
1a5245e101 "only use posix_getpwnam to check for existing system user, if it's available (otherwise no more accounts can be created)" 2010-03-08 21:08:16 +00:00
Nathan Gray
0a75258cda Make infolog entries available to delegates even if the entry is private. 2010-03-08 16:07:40 +00:00
Jörg Lehrke
0978663ada Fix Funambol STATUS issue 2010-03-08 13:54:13 +00:00
Jörg Lehrke
1b301569e1 Fix Funambol STATUS issue 2010-03-08 13:53:57 +00:00
Ralf Becker
26093851cf "replace all control chars (C0+C1) but CR, LF and TAB (eg. vertical tabulators) with space as they are not allowed in xml" 2010-03-08 11:35:36 +00:00
Klaus Leithoff
5ea61e1cc1 changing the condition for n_fn adaption. change of given name and family name seems not to be sufficient 2010-03-08 11:34:38 +00:00
Ralf Becker
3f8da06a9e "replace all control chars (C0+C1) but CR, LF and TAB (eg. vertical tabulators) with space as they are not allowed in xml" 2010-03-08 11:34:22 +00:00
Klaus Leithoff
2595f62573 changing the condition for n_fn adaption. change of given name and family name seems not to be sufficient 2010-03-08 11:14:49 +00:00
Jörg Lehrke
0c5a5b0362 Handle failures in event2rrule gracefully 2010-03-08 06:54:10 +00:00
Jörg Lehrke
20aab1b6f2 Handle failures in event2rrule gracefully 2010-03-08 06:54:02 +00:00
Jörg Lehrke
031296bf0b TZ support for tracking 2010-03-08 06:28:45 +00:00
Nathan Gray
3a09d2072f Fix for cast from Anthony Messina 2010-03-07 22:09:48 +00:00
Jörg Lehrke
a69887122e Apply Calendar SyncML and GroupDAV changes 2010-03-07 22:07:34 +00:00
Jörg Lehrke
3bd935a541 Apply InfoLog SyncML and GroupDAV changes 2010-03-07 15:47:00 +00:00
Ralf Becker
3d482fbcef Backported r29080 (Last Modified sort header), r29431 (translation and
fixes), r29141 (Skip notification check box) and r29433 (fixes) to 9.2
2010-03-07 14:50:24 +00:00
Ralf Becker
83b60b81fc Fixed r29141: "Add a checkbox to allow user to prevent notification of
changes to a ticket", to NOT prevent history logging, if checked
2010-03-07 14:45:12 +00:00
Jörg Lehrke
f499955670 Apply Addressbook SyncML and GroupDAV changes 2010-03-07 12:48:10 +00:00
Jörg Lehrke
2179ebb521 Fix principal-URL for users 2010-03-07 12:36:12 +00:00
Jörg Lehrke
7bb92a86af Fix principal-URL for users 2010-03-07 12:35:20 +00:00
Jörg Lehrke
f187b1e31f New GroupDAV base classes 2010-03-07 12:23:19 +00:00
Jörg Lehrke
86039be423 New SyncML base classes 2010-03-07 12:21:40 +00:00
Ralf Becker
f7f54b0e1c remove not used non-php server scripts 2010-03-07 10:23:08 +00:00
Ralf Becker
e785b8bb03 remove now unused groupdav_groups class 2010-03-07 07:04:33 +00:00