Commit Graph

15190 Commits

Author SHA1 Message Date
Nathan Gray
1d4190276c - Update importexport names/classes to reflect changes in importexport 2010-03-22 15:12:01 +00:00
Nathan Gray
6de19f924e - Update importexport names/classes to reflect changes in importexport
- Use new wizard base class to simplify import definition wizard
2010-03-22 15:11:12 +00:00
Nathan Gray
a6887ae908 - Change file/class names to match new naming conventions
- Change spelling of wizzard to wizard
2010-03-22 15:09:26 +00:00
Jörg Lehrke
fcf1de6a1c Cleanup GroupDAV code 2010-03-22 15:04:21 +00:00
Ralf Becker
57adecd8ff fixed after r29540 broken install:
- calling egw_time::getTimezones() not possible during setup time -->
  stalling all installs
- using tz_id=1 for a default is not possible, as that's the first
  regular tz_id on new install --> using '0' now
- added translation for that new calendar setting
2010-03-22 14:20:19 +00:00
Klaus Leithoff
23202744d7 ampersand-at-the-end-of-url fix provided by zorg 2010-03-22 12:11:45 +00:00
Klaus Leithoff
a185cdece2 fix small spelling bug 2010-03-22 11:23:11 +00:00
Ralf Becker
676d76ff7c removed no longer used file, which will crash anyway because of old botimesheet class name 2010-03-21 10:07:02 +00:00
Ralf Becker
5eaee2c6e7 "patch from Lorentz <lorentz(at)friendship-systems.com>" 2010-03-21 10:00:48 +00:00
Ralf Becker
678baad83f "patch from Lorentz <lorentz(at)friendship-systems.com>" 2010-03-21 09:54:42 +00:00
Ralf Becker
71960a6d02 Fixed some more php53 Warnings after latest fix_depricated.php
improvment.
2010-03-21 09:37:52 +00:00
Ralf Becker
40168aca6a "fix to understand and replace ereg(i) with array-subscriptions as parameters (eg. $_REQUEST['something'])" 2010-03-21 09:05:41 +00:00
Hans-Jürgen Tappe
c6886bee7d - Fix a problem with the daylight saving: The static increment could not cope
and another week (without events) is shown.
- Fix the default value to be consistently 2 at both places where specified
- Fix problem with calendar events "search()" function: offset needs to be 0.
- remove numEntries, which does not make sense for the weekN view (will fill up
  the weeks only up to the event which is counted to max.) and seems to be a
  legacy from the list view code.
2010-03-20 20:06:47 +00:00
Ralf Becker
90a3a946f6 restructured accounts::search() code, to handle $param[app] for ldap too, fixed ldap backend to also index array by account_id 2010-03-20 13:24:01 +00:00
Ralf Becker
709b51ad50 Costa Rica holidays 2011-15, thanks to Rafael Chacon <rafael.chacon(at)tecapro.com> 2010-03-20 08:09:40 +00:00
Ralf Becker
4cc9586e39 xajax uses xml to transport the label, therefore we have to replace not only CR, LF (not allowed unencoded in Javascript strings) but also all utf-8 C0 and C1 plus CR and LF 2010-03-19 13:05:20 +00:00
Ralf Becker
761d1c746a new holiday file for Costa Rica, thanks to Rafael Chacon <rafael.chacon(at)tecapro.com> 2010-03-19 08:04:58 +00:00
Ralf Becker
2ec11dd98d updated holidays file for NL, thanks to R. Oosterhoff <r.oosterhoff(at)xs4all.nl> 2010-03-19 08:02:00 +00:00
Ralf Becker
6663a384d3 "updating of changelog in debian.changes or .spec files" 2010-03-18 21:40:49 +00:00
Ralf Becker
09177e4018 automatic updating version number in .dsc and .spec files 2010-03-18 19:39:53 +00:00
Ralf Becker
16707ee82e some apache do NOT allow symbolic PHP constants 2010-03-18 19:39:33 +00:00
Ralf Becker
406e4110c6 "setting memory_limit to 64M" 2010-03-18 12:11:11 +00:00
Ralf Becker
39e2710b24 "fixed infolog loosing links: wrong placed bracket" 2010-03-18 10:00:39 +00:00
Ralf Becker
14f55a35ed "fixed 01.01.1970 problem with empty infolog enddate" 2010-03-18 08:56:51 +00:00
Jörg Lehrke
7f2e37b5eb Configurable timezone for file export of calendar data 2010-03-17 16:57:03 +00:00
Ralf Becker
2978d9ddd2 ability to migrate DB based sqlfs to a filesystem based one using filemanager/cli.php (see usage) 2010-03-17 09:11:28 +00:00
Jörg Lehrke
fc07594746 Fix GroupDAV iterator issue 2010-03-16 20:44:55 +00:00
Ralf Becker
2c790ac879 missing translations 2010-03-16 16:43:36 +00:00
Ralf Becker
b40f14a95e new setup config denying (default) or allowing user names identical to system users (ldap only) 2010-03-16 16:33:28 +00:00
Ralf Becker
7489a9cfb4 "do NOT mark untranslated phrases with an asterisk (as EGw does it by default since some versions)" 2010-03-16 16:18:41 +00:00
Ralf Becker
6c7e9b0062 fixed regular expression to NOT "eat" 8 and , from merge print replacements 2010-03-16 13:38:20 +00:00
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