Comments (2)
First please notice that I am gonna archive this repository on 17th January 2020. Commenting this issue or opening new issues here on GitHub will then not be possible any more.
The repo including this and all other issues is going to move to https://codeberg.org/BernieO/calcardbackup. Commenting on issues or opening new issues then needs to be done there.
Regarding your issue:
Unfortunately Nextcloud does not support importing contacts in vCard Version 2.1 anymore (I am not sure, if Nextcloud ever did) due to the javascript library Nextcloud is using (which is ical.js): But it looks, like they are working on it:
I assume a client did sync that contact in old v2.1 format to your Nextcloud server. As far as I know, Nextcloud does not convert v2.1 contacts - they are stored as they are in the database.
calcardbackup creates a backup of what is in the database. So if there is a vCard in Version 2.1 stored in the database, calcardbackup will backup that without converting it. Since calcardbackup is meant to be a backup tool and not a converter, I don't think it makes sense to add a converting function.
is it possible to add a feature to check those files before saving them?
Yes, that should be possible. I'll add a check and print a notice, if any vCard 2.1 contacts are found in one of the next versions of calcardbackup (probably v1.1).
Converting is then a different task which needs to be done from a different software (imho it would actually be easiest to import the .vcf-file to a caldav client and let the client then sync the contacts to a server).
I am a bit curious: do you have an idea where these old vCards version 2.1 come from? It is quite amazing that there are still vCard 2.1 contacts around (vCard3.0 (RFC2426) was published in September 1998!). Nextcloud supports vCard-3.0 from the very beginning (as well as ownCloud did before (at least from version 5.0 or even earlier)).
Another question: are the old contacts in v2.1 format displayed in the contacts app of Nextcloud? I did some testing and I managed to store a vCard 2.1 in the database of a testing instance - but Nextclouds' contacts-app complained about an syntax error and was not able to display the vCard 2.1 contact...
from calcardbackup.
is it possible to add a feature to check those files before saving them?
a check for vCard 2.1 is added in commit 66613c96 (only available in the new repository at codeberg.org)
Closing this here. If needed, feel free to reopen this issue at codeberg.org
from calcardbackup.
Related Issues (19)
- Fix PostgrSQL compatibility HOT 4
- Shebang and interop HOT 1
- readlink(1) on non-GNU systems HOT 1
- Nothing is backed up with an empty value for dbtableprefix HOT 2
- problems while backing up address book HOT 4
- Backup can't be encrypted: gpg-agent is not available in this session HOT 1
- Create individual ICS files for calendar entries HOT 4
- doesn't backup "old" calendars HOT 7
- Error when using -r HOT 9
- Setup calcardbackup for a daily CRON job HOT 2
- Backup bookmarks from bookmark app HOT 1
- Synology - ERROR: Nextcloud database is MySQL/MariaDB HOT 5
- busybox readlink does not support '-m' HOT 3
- Make vendor detection (also) working by using http HOT 4
- not compatible with snap installation HOT 2
- Ubuntu 18.04 - ERROR 1045 (28000): Access denied for user HOT 1
- No result and no output HOT 5
- Support multiple instances installation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calcardbackup.