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
3f108b9144
Improve find_event()
2010-03-09 17:03:52 +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
Ralf Becker
f87c13704e
some vfs test code
2010-03-09 14:02:31 +00:00
Ralf Becker
a7c54190d7
removed doublicate definition of /var/lib/egroupware in egroupware-core package
2010-03-09 11:02:54 +00:00
Jörg Lehrke
191d0c7fd5
Fix 'search for series master' issue
2010-03-09 09:28:46 +00:00
Jörg Lehrke
aa90344f91
Fix 'search for series master' issue
2010-03-09 09:28:30 +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
Jörg Lehrke
03250b9e77
Fix Funambol STATUS issue
2010-03-08 13:54:06 +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
Klaus Leithoff
7c1d9fc056
revert change of rev29328, as n_fn issue if fixed in UI now
2010-03-08 08:46:01 +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
Jörg Lehrke
8e3009acfe
Fix principal-URL for users
2010-03-07 15:04:05 +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
01c56eea9e
removed not used non-php server-scripts
2010-03-07 10:29:41 +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
Jörg Lehrke
4306e0305b
Fix principals/users issue
2010-03-06 22:17:30 +00:00
Jörg Lehrke
431dc5848c
cleanup
2010-03-06 21:34:37 +00:00
Jörg Lehrke
e1381f2a95
Fixed typo
2010-03-06 18:56:02 +00:00
Jörg Lehrke
85c2676045
Add new class variable
2010-03-06 18:43:44 +00:00
Jörg Lehrke
a0117727bf
Fix typo
2010-03-06 15:57:33 +00:00
Nathan Gray
79824c2e0c
Use cast only for Postgres, as in projectmanager
2010-03-06 15:49:59 +00:00
Ralf Becker
b78673955a
automatic updating OBS checkout
2010-03-06 09:32:08 +00:00
Ralf Becker
6008620034
automatic updating OBS checkout
2010-03-06 09:31:19 +00:00
Ralf Becker
52e7de7ef0
"re-adding icalsrv and mydms as the are default apps in 1.6"
2010-03-06 09:21:21 +00:00
Ralf Becker
4b3847a069
"some more cleanups and making in similar to EPL version"
2010-03-06 08:48:30 +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
Jörg Lehrke
a2602b1570
Remove unused groupdav_groups
2010-03-05 16:31:23 +00:00
Ralf Becker
a6cc1cfe18
"only update same major version"
2010-03-05 16:21:21 +00:00
Ralf Becker
df16087de0
allow to replace archives in obs checkout
2010-03-05 15:23:37 +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
8207f03cdd
Store InfoLog entries with ower
2010-03-05 14:35:16 +00:00
Jörg Lehrke
8175306dea
Fix GroupDAV entry duplication issue
2010-03-05 12:07:50 +00:00
Ralf Becker
796beca7b1
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-05 10:37:47 +00:00
Jörg Lehrke
a3f27276bd
Fix namespace prefix issue for Apples cfnetwork clients
2010-03-05 09:02:17 +00:00
Jörg Lehrke
d397dcded2
Fix n_fn update issue
2010-03-05 08:28:25 +00:00