1
0
mirror of https://github.com/etesync/android synced 2024-11-26 18:08:11 +00:00
Commit Graph

331 Commits

Author SHA1 Message Date
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
rfc2822
8e8bc1c772 Merge pull request #74 from oliver/master
fix NumberFormatException when parsing "ff" alpha value into a Byte
2013-11-14 01:41:46 -08:00
Oliver Gerlich
e7e7759f41 fix NumberFormatException when parsing "ff" alpha value into a Byte 2013-11-13 22:09:14 +01:00
rfc2822
1e00ed217f import Apple calendar-color with r,g,b,a (see issue #31) 2013-11-12 22:17:46 +01:00
rfc2822
f8f10be3ba don't decode URI pathes (fixes #58), don't expect GET/POST/PUT on collections 2013-11-12 18:39:05 +01:00
rfc2822
5aa77e51a2 Version bump to 0.3.8 (version code 12) 2013-11-09 12:45:09 +01:00
rfc2822
c1f57a4470 Importing calendar colors from <calendar:color xmlns="http://apple.com/ns/ical/"> element (see #31) 2013-11-09 12:43:21 +01:00
rfc2822
477a3c89f7 avoid NullPointerException (hint from ANR) 2013-11-09 10:54:29 +01:00
rfc2822
ab517bd87d Always append trailing slash to address-book/calendar home set to avoid redirections 2013-11-09 01:36:09 +01:00
rfc2822
c753dcaa8e RoboHydra tests, URL sanitizing
* RoboHydra tests
* intelligent URL sanitizing (fixes #58, fixes #49, see issue #11, should fix #45)
2013-11-09 01:13:38 +01:00
rfc2822
362f0036be refactoring, RoboHydra tests 2013-11-09 01:04:35 +01:00
rfc2822
0626f1ecdc basic WebDAV tests 2013-11-03 01:40:24 +01:00
rfc2822
f85dbe934b Version bump to 0.3.7 (version code 11) 2013-11-02 16:18:17 +01:00