1
0
mirror of https://github.com/etesync/android synced 2024-12-24 15:38:09 +00:00
Commit Graph

293 Commits

Author SHA1 Message Date
rfc2822
6c4acad758 Version bump to 0.5.8-alpha
* version bump
* introduction of LocalCalendarTest
* always provide DTEND and not DURATION for all-day events (compatibility)
* ez-vcard 0.9.2
2014-02-09 00:56:00 +01:00
rfc2822
c7fe069b1f Better DTSTART/DTEND handling
* generalized InvalidResourceException for parsing errors
* only iCals with both DtStart and DtEnd/Duration are processed (DtEnd will be derived by iCal4j when not present in .ics)
* all-day events must last at least one day (fixes #166)
* other DtEnd/Duration rewriting + tests
2014-02-08 18:53:31 +01:00
rfc2822
972da39e4a 0.5.7-alpha1: crash bug fix 2014-02-02 19:21:51 +01:00
rfc2822
c5a4958d3a Merge pull request #165 from xphnx/patch-1
Spanish translation
2014-02-02 19:21:02 +01:00
xphnx
a7aec7b4a9 Update and rename strings.xml to strings-es.xml
Spanish translation
2014-01-28 18:47:01 +01:00
rfc2822
ea31f5a621 Fix crash when ROLE/TITLE but no ORG value set (fixes #163) 2014-01-26 12:50:50 +01:00
rfc2822
ea06c4a7a1 Better organization, job title/description handling
* handle VCard structured organization (department), job title/description correctly
* there's still an EZVCard bug: https://code.google.com/p/ez-vcard/issues/detail?id=13
* bump version code
2014-01-25 13:07:33 +01:00
rfc2822
fee6431981 Version bump to 0.5.7
* use VCard ROLE as "department" and TITLE as "job title"
* version bump to 0.5.7
2014-01-25 11:47:36 +01:00
rfc2822
9b992c54ca Fix regression (8a651f135b) causing unnecessary traffic (closes #162, closes #147) 2014-01-25 11:11:48 +01:00
rfc2822
4073880185 Minor changes
* improved logging
* allow installation to internal storage only (informational change, doesn't do anything actually, closes #160)
2014-01-21 23:11:17 +01:00
rfc2822
b3f145f6a8 Minor bug fixes
* work-around for crash when remote ETag is empty (shouldn't happen but happens sometimes)
* fetch multiple contact URLs (not only the first one) from contacts provider (fixes #150)
2014-01-12 20:07:26 +01:00
rfc2822
4f1488ece5 0.5.6α Wage Slave
* support primary (preferred) phone numbers/email addresses
* fix (crash) bug in URI sanitation
* don't set calendar properties not supported by device's Android version
* require already-set remote file name when finding updated records
* version bump to 0.5.6α
2014-01-06 20:03:59 +01:00
rfc2822
4dc65d0144 Version bump to 0.5.5-alpha 2014-01-06 05:48:56 +01:00
rfc2822
43cc5c0e7b Commit after every full record insertion/update (closes #135)
Docs say that TransactionTooLargeException is thrown when the buffer reaches 1 MB. Because we can't know
how large a single insertion/update is and there may be contacts with larger photos, it's only safe to
commit after every insertion/update. If photos exceed ~ 900 kB it would be required to write the photos
to an asset file (maybe I'll do this later, then we can group insertions/updates again).
2014-01-06 05:45:31 +01:00
rfc2822
983214d23b Bug fixes
* optimise URL repairs: don't replace "[", "]", ":" in host names, allowing IP address literals (closes #98)
* SyncManager: minor refactoring
2014-01-06 05:28:28 +01:00
rfc2822
520ec21d9e Use (final) static wherever possible for method signature clarity/performance 2013-12-31 19:13:22 +01:00
rfc2822
e667de8992 Allow vCard4 fields (ANNIVERSARY) in vCard3, too (closes #131). 2013-12-31 16:55:29 +01:00
rfc2822
8be6fdedd9 Minor refactoring
* update target SDK version to API level 19
* less null return values
* explicit Resource generateUID/generateName methods
* use StringUtils when it makes sense
2013-12-31 16:37:31 +01:00
rfc2822
df012efe78 Support for SIP addresses (closes #78)
* support for SIP addresses (always exported as IMPP, imported as IMPP/X-SIP)
* version bump to 0.5.4
2013-12-26 17:23:14 +01:00
rfc2822
558075f1bb Minor improvements
* generalise davdroid.ArrayUtils.partition; tests
* lower multi-get limit to 35
2013-12-25 15:15:23 +01:00
rfc2822
4505a5958d Fetch remote records in chunks of max. 50 to avoid server and memory problems
* performance optimisation
* refactoring
2013-12-24 12:49:23 +01:00
rfc2822
385e7b5e13 Fetch resources for uploading one-by-one to save memory 2013-12-24 12:49:18 +01:00
rfc2822
64068f7007 Refactoring
* Contacts/Event.toEntity() return ByteArrayOutputStream instead of String
* throw DavNoContentException instead of returning null to avoid NullPointerExceptions
* always close input/output streams
* always call consumeContent() for HTTP response entities to avoid memory leaks
2013-12-22 00:58:58 +01:00
rfc2822
f4bb3639e6 throw RecordNotFoundExceptions only when specific records are requested 2013-12-21 20:54:54 +01:00
rfc2822
8a651f135b Refactoring
* add overflow marker "…" to LoggingInputStream
* split the populate() methods
* always close cursors (resolves #120)
* introduce LocalStorageException and its subclass RecordNotFoundException and catch RemoteException earlier
* split synchronize() method into phases
* commit after every added/modified record (obsoletes MAX_UPDATES_BEFORE_COMMIT)
* read contact photos from (high-res) asset instead of the thumbnail blob (resolves #121)
2013-12-20 22:42:18 +01:00
rfc2822
6cfaad35b1 Version bump to 0.5.3-alpha
* add null checks (should fix #117)
* more detailed DAV exceptions for error handling
* better logging (limited to 10 kB per log entry) to avoid memory problems
* DavMultiget creates requests itself (instead of WebDavResource)
2013-12-15 19:50:20 +01:00
rfc2822
ec4fedf04e Version bump to 0.5.2-alpha 2013-12-11 17:08:10 +01:00
rfc2822
d30715f813 avoid NullPointerExceptions when contact data rows with custom types have no LABEL 2013-12-11 15:48:21 +01:00
rfc2822
3af25754c4 Amend EditSchema and VCard fields
* write PRODID with DAVdroid and ez-vcard version to VCards
* remove limit of 1 for contact Web sites in contact EditSchema
* add organization to contact EditSchema
* don't set null values in ORG/ROLE
2013-12-11 15:19:50 +01:00
rfc2822
15e8e20bad More input checks
* check Android's DURATION, RRULE, RDATE, EXRULE, EXDATE values for empty strings before processing
* catch InvalidArgumentException on invalid RRULE values from Android
* add Depth: 0 to REPORT multi-get requests as required by CalDAV/CardDAV RFCs
* fix crash bug on multi-get responses without content (see issue #113)
2013-12-11 14:48:05 +01:00
rfc2822
b35273a6d5 Version bump to 0.5.1; fix crash bug (fixes #108) 2013-12-08 14:00:48 +01:00
rfc2822
33b8aa8e05 Ignore invalid IM addresses (fixes #105), Lombok 1.12.2 2013-12-08 13:31:59 +01:00
rfc2822
eaa080cfe8 Version bump to 0.5
* don't download contact photos from URLs (we only want thumbs anyway)
* always use yyyy-MM-dd for birthdays/anniversaries
2013-12-06 20:47:22 +01:00
rfc2822
8c79c64d75 Add more vCard fields
* support for vCard organization (company / job title)
* support for vCard IMPP addresses (closes #105)
* refactoring
2013-12-06 14:19:00 +01:00
rfc2822
87b71b0b38 VCard 3 support
* switch to ez-vcard instead if iCal4j-vcard
* generate VCard 3 by default (fixes #67)
* support for more phone number/email/address types, including "custom" types
* limit to 1 URL and 1 note (Android limit)
* support for anniversaries
2013-12-04 14:04:18 +01:00
rfc2822
725c815e32 Fix crash bug when ORGANIZER has no URI scheme 2013-12-03 20:34:50 +01:00
rfc2822
1986837be8 Version 0.4.4
* allow to enter account name at the end of account setup (fixes #13)
* advise user to enter email address as account name (closes #24)
* support for iCal TRANSP (availability free/busy field)
* create better UIDs using iCal4j UidGenerator and Settings.Secure.ANDROID_ID
* better ORGANIZER/ATTENDEE support, but there are big Android issues yet
* various improvements and bug fixes
2013-12-01 16:08:36 +01:00
rfc2822
44cf628dd6 Provide DTEND for single-time events and DURATION for recurring events to Android calendar data provider (fixes #60) 2013-11-30 00:50:13 +01:00
rfc2822
3cbfcbee9b CalDAV: ignore collections without VEVENT support (for instance, VTODO collections) 2013-11-30 00:06:16 +01:00
rfc2822
8f7b48748b add DURATION iCal->Android, collection refactoring 2013-11-26 22:20:00 +01:00
rfc2822
4f9bd5bebd version bump to 0.4.3-alpha 2013-11-24 13:21:59 +01:00
rfc2822
0f09881eaf treat 404 on DELETE as success (fixes #94) 2013-11-24 13:20:44 +01:00
rfc2822
759e32b89b support for reminders; better support for recurring events; bug fixes
* use DURATION instead of DTEND when required (fixes #60)
* send VTIMEZONEs along with VEVENTs (fixes #66)
* support for reminders (closes #70)
* bug fixes (UID parsing)
2013-11-24 13:15:31 +01:00
rfc2822
55d9dc4357 security fix: validate certificates and not only host names (thanks Günter) 2013-11-24 03:07:50 +01:00
rfc2822
37ff088b78 version bump to 0.4.2
* imports calendar default time zone on account creation
2013-11-22 15:11:39 +01:00
rfc2822
af698c584b Bug fixes, SDK level 19
* use SDK level 19
* add action to all preference intents (fixes #92)
* use StrictHostnameVerifier instead of HttpsURLConnection.getDefaultHostnameVerifier() (fixes #88)
* use per-WebDavResource instead of static DavHttpClient to enable different settings for different accounts
2013-11-22 15:11:08 +01:00
rfc2822
1fc2679bd4 Bug fixes, refactoring, version bump
* don't manually decode URLs for comparing (because we now always use encoded URLs)
* .ics: VERSION before PRODID
* refactoring: move WebDavResource.httpClient to new singleton DavHttpClient
* close input streams in propfind/multi-get
* version bumpt to 0.4.1
2013-11-17 15:49:10 +01:00
rfc2822
66d6ec34d1 Fix invalid URLs one more time 2013-11-17 13:04:57 +01:00
rfc2822
b802ed07d9 Preserve order in multiget requests (thanks Marten, fixes #65) 2013-11-15 11:21:03 +01:00
rfc2822
6889559fef SNI support (fixes #9); only available for API level >= 17 (Android 4.2+) 2013-11-15 01:05:18 +01:00