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

957 Commits

Author SHA1 Message Date
rfc2822
a02b8a1b1e Adapted tests 2014-03-23 13:01:46 +01:00
rfc2822
e2f154c963 Upgrade to HttpComponents 4.3.2, version bump to 0.5.10 2014-03-23 01:12:32 +01:00
rfc2822
e0b21abc35 New settings management
* Account settings are now read/set using AccountSettings
* AccountSettings upgrades old account settings when necessary
* Settings v1: use absolute URLs instead of paths and discard principal path
  (required for future implementation of well-known URIs)
2014-03-16 20:38:53 +01:00
rfc2822
ea94fbee72 Show JB Workaround info when installed from Google Play 2014-03-16 16:07:40 +01:00
rfc2822
e38feed08b Check base URL validity with new URI() instead of new URL() (fixes #184) 2014-03-15 13:39:02 +01:00
rfc2822
e9a4a4f1ef Correct icon sizes to match Android iconography; translations 2014-03-15 12:32:45 +01:00
rfc2822
b1ffdbfa95 Fix a bug that deletes entities remotely even if they have changed remotely (closes #197) 2014-03-14 23:14:32 +01:00
rfc2822
8a02601cfc Version bump to 0.5.9
* GUI changes for read-only collections (new icons)
* require only bind, unbind and write-content privileges
2014-03-09 17:55:16 +01:00
rfc2822
a12942c606 Support for read-only calendars (closes #126)
* relevant RFCs go into the doc/ directory for reference purposes
* read-only calendar collections are set as read-only in Android
* HTTP exception refactoring to mark 4xx HTTP errors as hard sync errors (numAuthExcetions/numParseExceptions) for Android sync manager
* query current-user-privilege-set for resources, detect read-only resources
* show read-only resources as read-only in SelectCollectionsFragment
* minor refactoring (DavProp.*)
2014-03-09 15:12:59 +01:00
Magnus Anderssen
70973dcc0a French translation that compiles 2014-02-27 15:57:01 +01:00
unknown
a511b16211 French translation 2014-02-27 15:57:01 +01:00
xphnx
46fb5df191 Update strings.xml 2014-02-27 15:57:00 +01:00
xphnx
72e31a7330 Update strings.xml 2014-02-27 15:57:00 +01:00
rfc2822
2a6cfc5346 Bump version to 0.5.8.1, ignore VCards without VEVENTs (fixes #178) 2014-02-27 15:56:56 +01:00
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