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

13 Commits

Author SHA1 Message Date
Tal Hacohen
8c9ec3bcc7 Replace all etesync links to open in the webview activity. 2017-03-06 17:54:18 +01:00
Tal Hacohen
c041ddb690 Add webview activity to handle etesync link. 2017-03-06 17:54:17 +01:00
Tom Hacohen
4fcc29c1d3 Rename Usage Guide to User Guide. 2017-03-02 13:47:32 +00:00
Tom Hacohen
6fdf2c3d1a Remove unused resources (mainly strings). 2017-03-02 11:31:35 +00:00
Tom Hacohen
14fb5ffae8 Change username login field to 'email'. 2017-03-02 11:22:03 +00:00
Tom Hacohen
cf9ee98ead Sync interval setting: use the same string for current as selector.
Before this commit the texts were different, and odd.
For example, the text in the selector would be:
Every 4 hours
and the text in the preview would be:
Every 240 minutes
2017-03-01 18:18:10 +00:00
Tom Hacohen
ae99a0f53a Change exceptions inheriting from HttpException to accept "Response"
This follows the previous change and puts more information in the
exceptions (like parts of the http request and response) for better
debugging. This also moves the handling of "retry after" to the
exception itself instead of outside.
Also improved the text of one of the exception invocations.
2017-03-01 00:24:19 +00:00
Tom Hacohen
571c585292 HttpException: add a way to override response error message.
Before this change exceptions would print the message of the error code.
For example, for 500 they would print "Internal Server Error".
With this change we can now override this message with something more
sensible we got from the serer, for example "User is inactive."
2017-03-01 00:24:18 +00:00
Tom Hacohen
ba789da797 Add a UserInactive exception for when the user is no longer active
This is a possible error message we get when we get error code 403
(permission denied) from the server. We then handle it explicitly by
sending the user to the dashboard.
2017-02-28 23:58:47 +00:00
Tom Hacohen
8e7d363128 Refactor notifications to launch a notification handler
With this change we no can launch external urls. For all I know this
doesn't work without this trick (an intent in the middle).

I also applied a transparent theme to the activity to avoid seeing the
launched activity briefly before opening external urls.

This is based on my experience working on "Share To Clipboard".
2017-02-28 23:26:19 +00:00
Tom Hacohen
d918622ba2 Fix issue with only one of the notifications being clickable. 2017-02-28 23:23:03 +00:00
Tom Hacohen
5d712c72d0 Add links to the usage guide. 2017-02-28 17:43:03 +00:00
Tom Hacohen
abc15f01d8 Rename the Android package to EteSync
I was trying to avoid it, and keep it as davdroid both for attribution,
and making it easy to cherry-pick fixes from DAVdroid.
However, it seems to be causing clashes with the davdroid app, although
every piece of documentation claims otherwise.[1]

At least it seems like cherry-picks can still be achieved using:

git cherry-pick -s recursive -X find-renames=30 COMMIT

1. https://developer.android.com/studio/build/application-id.html
(one such doc)
2017-02-27 13:23:24 +00:00