Commit Graph

53 Commits

Author SHA1 Message Date
ralf
43bb78aeec fix TypeError: array_column(): Argument #1 ($array) must be of type array, null given (0) 2023-07-13 10:23:40 +02:00
nathan
1cffc882fb importexport: Better error message if contact can't be opened for update 2023-07-10 14:54:01 -06:00
nathan
115ca40737 Addressbook: Allow to choose the target addressbook when importing 2023-01-10 14:34:35 -07:00
Ralf Becker
3dd7af4aa5 fix diverse PHP 8.0 TypeErrors and ArgumentCountError in import/export 2021-11-15 14:41:36 +01:00
nathangray
6971292be3 Addressbook: Fix CSV import into specific addressbook was always going into importer's personal addressbook 2021-05-19 09:06:06 -06:00
Ralf Becker
868135775c PHP 8 fixes 2021-03-29 16:47:19 +02:00
nathangray
2185f35bba Partially revert 3dfdcee193 as not needed 2019-03-26 12:00:43 -06:00
nathangray
3dfdcee193 Reset bo object data before each import to fix imports without ID went to the same object 2019-03-26 11:26:41 -06:00
nathangray
dba9a76246 Import/Export - change signature of method that gets options to allow definition-specific values 2018-11-29 09:35:35 -07:00
nathangray
7d14918e49 * Addressbook - fix photos not imported via Import / Export 2018-11-22 09:55:27 -07:00
nathangray
4c162153d6 * Addressbook - add option to import that deletes contacts from addressbook that are not in the import list 2018-11-06 15:15:36 -07:00
Ralf Becker
95ea8445b5 * Addressbook: allow to import or paste S/Mime or PGP public keys via pubkey field into Vfs 2018-05-09 10:05:34 +02:00
Hadi Nategh
7949d8b2fc Fix lots of misspelled words in translations 2018-03-26 16:02:42 +02:00
nathangray
838daeac40 Addressbook - better handling of missing contact type when importing.
If it's missing and there's only the normal type, it'll quietly use that.
2017-10-05 13:23:09 -06:00
nathangray
6b71e997fe Addressbook - make sure import target addressbook is valid, if not use personal addressbook. 2017-09-27 11:34:45 -06:00
nathangray
3100e3407c Remove unreachable break 2017-01-25 10:26:08 -07:00
Ralf Becker
248fde6fef converted addressbook to use new api 2016-04-29 10:41:53 +00:00
Ralf Becker
7ada2354d3 move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields 2016-03-06 13:45:15 +00:00
Nathan Gray
1f46ac0516 Import warning improvements:
- Only warn once about missing contact type
- Do not try to check header if definition says there is no header
2015-01-27 21:20:02 +00:00
Nathan Gray
e7c07d48f6 Add warning for unknown contact type and change it to 'n' (contact). 2014-09-30 15:08:46 +00:00
Nathan Gray
697d1cdbac Implement new special linking fields 2014-06-16 20:16:58 +00:00
Nathan Gray
c3e673b747 Support equal import condition 2014-06-16 16:22:18 +00:00
Nathan Gray
06ab2ffcdc Implement delete import action 2013-04-29 15:32:09 +00:00
Nathan Gray
eb40104d5b Fix birthday import, rename job title column in default definition 2012-10-23 15:15:54 +00:00
Nathan Gray
2b96aff758 Import / Export cleanup:
- Start reducing some duplication by making better use of common CSV import ancestor
- Work towards a universal preview, regardless of file type
2012-10-12 19:50:26 +00:00
Nathan Gray
1610a7523e Report conversion warnings 2012-09-20 16:28:42 +00:00
Nathan Gray
c1e2403ab7 Fix check on existing addressbook 2012-09-18 15:07:31 +00:00
Nathan Gray
b85e5d0889 Some destination addressbook checking - must exist as an addressbook, not just an account or group 2012-09-17 15:47:47 +00:00
Nathan Gray
de8bc4771c Fix bug that ignored 'stop' in import condition, default definition 2012-05-29 14:37:19 +00:00
Nathan Gray
f6a443a917 Add warnings to import plugin 2011-12-15 16:24:47 +00:00
Nathan Gray
27b45f92be Even if not successful, attempts count as row processed 2011-12-13 16:07:49 +00:00
Nathan Gray
867b0f5343 Set currentapp to addressbook so existing categories are properly detected 2011-12-09 17:49:05 +00:00
Nathan Gray
0b5db7ace2 Process birthday when importing 2011-10-25 18:49:14 +00:00
Klaus Leithoff
2b6409d998 * addressbook/csv-import: fix/enable update of account - userdata when accounts are stored with ldap. If the condition is on account_id, we supplement the condition with owner=0 (this is needed to correctly determine the storage engine (ldap/sql) for accounts); we strongly recomment NOT to try to use this for adding accounts: use admin import definitions for that task 2011-09-19 10:15:32 +00:00
Nathan Gray
e15b7304bc Unset empty private, it causes issues trying to find them 2011-08-09 19:14:03 +00:00
Nathan Gray
e6b2c43e26 Fix addressbook missing from CSV goes to accounts 2011-08-08 14:44:53 +00:00
Nathan Gray
d6bf31a1b1 Add ability to specify that imported contacts go to importer's personal addressbook 2011-07-28 23:26:08 +00:00
Nathan Gray
450b380de1 Use static convert from importexport to handle human values, custom fields 2011-05-12 18:01:34 +00:00
Nathan Gray
9d179bb27e Don't parse cat_id twice, it causes duplicate categories 2011-03-21 19:51:43 +00:00
Nathan Gray
8235f32c30 Pass optional parent category ID when creating new sub-categories 2011-03-16 23:30:12 +00:00
Nathan Gray
d67a265beb Import categories when each is in its own column 2011-03-16 23:18:48 +00:00
Nathan Gray
2a2268f4cd Fix bug exposed by importing mixed condition true / false files 2011-03-15 19:12:10 +00:00
Nathan Gray
ca00d4c69a - Improve owner parsing
- Change error message when owner can't be determined.  Most users don't use translations, so just fallback to plugin setting.
2011-03-15 16:20:11 +00:00
Nathan Gray
8c094fd6be Automatically translate owner field from name to id (happens after set translation on field) 2011-03-15 00:02:54 +00:00
Nathan Gray
c907e92398 Fix for import / update search for existing record. If new record key (ex ID) was not set, address search matched all 2011-03-14 20:08:00 +00:00
Nathan Gray
051e11fe09 Automatically handle converting+adding text categories without explicit translation 2011-03-04 16:57:25 +00:00
Klaus Leithoff
0b4c7f3ef6 addressbook: import (import/export integration; if we get countrycodes as countryname, try to translate them -> the rest should be handled by bo classes 2010-10-29 07:29:40 +00:00
Nathan Gray
4c8ca0b2ca - Add option to change addressbook for record on a per-record basis, with fallback to owner
- Add option to not change the addressbook a record is in when updating it
2010-09-23 19:49:07 +00:00
Nathan Gray
b0870c8c80 Make sure n_fn and n_fileas get updated when importing 2010-09-23 15:38:28 +00:00
Ralf Becker
a5b73a08ee quitent debug output if dry-run is set 2010-08-16 14:56:14 +00:00