Commit Graph

15059 Commits

Author SHA1 Message Date
Ralf Becker
1e5717194b swaped category and contact row in edit: fixes parent get accidently set, if one types return to start contact search 2010-03-16 13:30:25 +00:00
Jörg Lehrke
abfc3f522b Fix duplication by changed event title 2010-03-16 09:26:01 +00:00
Jörg Lehrke
a39a8b8eb8 Improve Infolog GroupDAV 2010-03-16 07:01:36 +00:00
Jörg Lehrke
de36a7d40a Fix Infolog timezone issue again 2010-03-16 07:00:56 +00:00
Jörg Lehrke
e9cdcbcac8 Fix Infolog timezone issue (Bug 8002) 2010-03-15 18:05:33 +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
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
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
89f7d50cec Differentiate GroupDAV collections 2010-03-11 07:30:46 +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
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
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
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
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
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
20aab1b6f2 Handle failures in event2rrule gracefully 2010-03-08 06:54:02 +00:00
Nathan Gray
3a09d2072f Fix for cast from Anthony Messina 2010-03-07 22:09:48 +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
2179ebb521 Fix principal-URL for users 2010-03-07 12:36:12 +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
Jörg Lehrke
99255ecb25 disable GroupDAV debug logs 2010-03-06 23:32:28 +00:00
Jörg Lehrke
a8804a44ef GroupDAV updates 2010-03-06 23:06:43 +00:00
Nathan Gray
79824c2e0c Use cast only for Postgres, as in projectmanager 2010-03-06 15:49:59 +00:00
Ralf Becker
6008620034 automatic updating OBS checkout 2010-03-06 09:31:19 +00:00
Nathan Gray
11183a763d Cast sync_contentid to unsigned int 2010-03-06 02:40:57 +00:00
Nathan Gray
cb5054f2e4 Add an option to keep deleted events, only an admin can purge them 2010-03-05 20:01:44 +00:00
Ralf Becker
a6cc1cfe18 "only update same major version" 2010-03-05 16:21:21 +00:00
Ralf Becker
f455ca37f1 "allow to replace archives in obs checkout" 2010-03-05 15:09:13 +00:00
Ralf Becker
97d3b59999 "sort group-addressbooks and other-user-addressbooks alphabetical" 2010-03-05 14:54:07 +00:00
Jörg Lehrke
d397dcded2 Fix n_fn update issue 2010-03-05 08:28:25 +00:00
Ralf Becker
3eb38935bb caching etemplates using egw_cache class on instance level (instead off old not egw_cached based code on request level), to ease the load on the db 2010-03-05 08:18:46 +00:00
Ralf Becker
96db81c50c dont use IN ( ), if there's only one value, it's slower for MySQL 2010-03-04 17:18:30 +00:00
Ralf Becker
0f2eceefb8 Preseed link title-cache for link-list and link-string widget
(Performance improvment, as all titles of an application get queried in
a single query and NOT once for every link)
2010-03-04 17:07:10 +00:00
Ralf Becker
50ae17055f Create an index over egw_cal_user.cal_user_type and cal_user_id, to speed up calendar queries 2010-03-04 15:39:52 +00:00
Klaus Leithoff
7e34a7c999 pdo statement->execute expects either the prepared statement with already bound parameters OR an array of the vars to be bound. It can NOT handle them MIXED 2010-03-04 12:05:42 +00:00
Nathan Gray
3e33651c5d Change import wizard popup size, shuffle around sidebox menu to have links to import & export dialogs 2010-03-03 19:34:05 +00:00
Nathan Gray
19c710d354 A slightly prettier image for the side of the wizard 2010-03-03 18:16:46 +00:00
Nathan Gray
425e29642c Record how many of which action were done 2010-03-03 16:29:42 +00:00
Nathan Gray
5179365a8c Record how many of which action were done 2010-03-03 16:29:25 +00:00
Nathan Gray
e395a4dfb4 Add support for reporting how many of which action (insert, update) were done when importing 2010-03-03 16:28:45 +00:00