Tom Hacohen
0cd57851ad
Journal model: call the postLoad callback on fetch too.
...
It's really annoying that it doesn't do it automatically as it should,
in the meanwhile, add this workaround.
I reported it to upstream:
https://github.com/requery/requery/issues/487
2017-03-24 13:57:25 +00:00
Tom Hacohen
415d5d5447
Clear journal cache on account deletion (fix account re-add issue)
...
Clearing the cache is a good idea regardless, though because of the
unique constraints in the cache on the journal name, this was causing
issues when deleting an account and then adding it back.
2017-03-24 13:57:25 +00:00
Tom Hacohen
f984b76ec6
Add import from vCard (vcf)/iCal (ics)
...
This commit adds a basic UI for importing contacts and calendars from a
file.
2017-03-24 13:57:25 +00:00
Tom Hacohen
24b170a170
View collection activity: only create fragment on first load.
2017-03-24 12:49:19 +00:00
Tom Hacohen
231684e0d4
Local event/contact: Add a way to add/update as dirty
2017-03-24 12:49:11 +00:00
Tom Hacohen
d98d58360e
LocalCalendar: Add a function to get calendar by name.
2017-03-23 16:42:54 +00:00
Tom Hacohen
ec39aceb1a
Mark CollectionInfo id as deprecated.
...
This is now implemented in the ORM and not the collection info itself.
2017-03-23 15:38:08 +00:00
Tom Hacohen
e9428c6ec7
Sync manager: Fix log messages to be the state strings and not int ids.
2017-03-12 17:08:03 +00:00
Tom Hacohen
4603cc960e
Update changelog.
2017-03-10 18:16:13 +00:00
Tom Hacohen
7afb086c76
Debug activity: Show the number of entries per journal.
2017-03-10 17:15:09 +00:00
Tom Hacohen
ced3d7283d
Remove change journal from main page.
2017-03-10 17:15:09 +00:00
Tom Hacohen
b0b5891e40
Add a collection view activity and move the journal viewer there
2017-03-10 17:15:09 +00:00
Tom Hacohen
3d217f47af
Webview: Only load pages from a whilelist, not all.
...
This was causing issues with the dashboard page because of stripe.
The best mitigation at the moment, is to only load pages from a whitelist.
2017-03-10 14:38:08 +00:00
Tom Hacohen
e4043642db
Suppress XSS warning.
...
We are only loading external websites, no use controlled data.
2017-03-10 14:36:53 +00:00
Tom Hacohen
838cc2a79d
Merge contacts/calendars collection handling
...
This also removes the "stats" from the edit collection screen.
2017-03-10 14:19:17 +00:00
Tom Hacohen
3530821ddd
JournalViewer: add an activity to view the journal.
...
It's very raw and hacky at the moment, it's just a preview release so
people could see their data is saved, and can look at it in its raw
form until we implement a nicer view.
2017-03-09 22:25:45 +00:00
Tom Hacohen
42a644cabb
EntryEntity: make content a SyncEntry instead of a string.
...
It was always of this type, this change just makes it so it's
automatically converted instead of manually.
2017-03-09 22:17:22 +00:00
Tom Hacohen
cee9576155
JournalModel: persist collection info inside the model instead of sqlite
...
This change moves the collection info away from raw sqlite in favour of
the requery ORM.
2017-03-09 22:15:08 +00:00
Tom Hacohen
bd5beaaf91
Move SyncEntry to the models package.
...
This unties it from the sync manager, and will let us better reuse it.
2017-03-09 22:15:08 +00:00
Tom Hacohen
a794ee35cf
Remove a mention of davdroid from log.
2017-03-09 22:15:08 +00:00
Tom Hacohen
36a8edfb5d
Bump version.
2017-03-09 22:15:08 +00:00
Tom Hacohen
431c54ab91
Show the number of journal entries on the collection detail screens.
2017-03-09 22:15:02 +00:00
Tom Hacohen
29fd177a95
Cache journals locally.
...
This is useful both as an anti-tampering mechanism, and will be used
later when interacting with the journal is implemented.
2017-03-09 22:14:22 +00:00
Tom Hacohen
afcb00e4f1
Account screen: Use translatable strings for the titles
2017-03-09 16:57:00 +00:00
Tom Hacohen
b9b930939f
Allow renaming collections.
...
I mistakingly disallowed it when I added the edit collection ability.
There is no problem with changing the display name.
2017-03-09 16:57:00 +00:00
Tom Hacohen
4c7ae90b36
Encryption setup page: add a note about why we are asking for an additional password.
2017-03-08 18:46:12 +00:00
Tom Hacohen
83fde4b81d
Use DEBUG_REMOTE_URL to also override the webUri.
...
Before this commit it was only used to override the api endpoint,
not it's also used to override the weburl. This is needed since we now
load the etesync website inside the app and not in an external web
browser.
2017-03-08 17:27:48 +00:00
Tom Hacohen
baff2e886c
Traslation: make log authority untranslatable.
2017-03-08 17:15:50 +00:00
Tom Hacohen
f84bd386f1
Create collection: only update url after pushed to server.
...
Without this change, if the putting on server of a new collection fails,
the url would already be updated, and since having a url indicates it
exists on the server, trying to save it later would result in a 404.
2017-03-08 17:11:49 +00:00
Tom Hacohen
32df64000f
Add stats to the collection edit page.
2017-03-08 17:11:48 +00:00
Tom Hacohen
7bb57c15a9
Add an edit collection page.
2017-03-08 17:11:48 +00:00
Tom Hacohen
ce3483cee2
Create collection: update collection if already exists (info.url is set).
2017-03-08 17:11:48 +00:00
Tom Hacohen
e7138842c8
Journal manager: Add a way to update a journal.
2017-03-08 17:11:48 +00:00
Tom Hacohen
1b3a4bf318
Add a way to count calendar events/contacts.
2017-03-08 17:11:48 +00:00
Tom Hacohen
4a196102a1
Collection info: serialize url, but not to json.
2017-03-08 17:11:48 +00:00
Tom Hacohen
c6fbecc0ff
Strings-de: Fix malformed closer.
2017-03-08 11:17:28 +00:00
Tom Hacohen
9e8cfa77fa
Remove another unused string.
2017-03-08 10:16:17 +00:00
Tom Hacohen
366a69ab1f
Add a contributors file.
2017-03-08 10:16:17 +00:00
Larson Maerz
f785ed77cd
Update German translation.
2017-03-08 10:16:17 +00:00
Tom Hacohen
64be5a278d
Merge: Open EteSync links in WebView instead of the default browser
...
It's nicer to have the EteSync links opened inside the app for a more native
feel until we implement the respective pages natively inside the app.
2017-03-06 17:04:41 +00:00
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
57810cd5f5
Bump version.
2017-03-02 13:56:31 +00:00
Tom Hacohen
fbe5b97aee
Update Changelog.
2017-03-02 13:56:07 +00:00
Tom Hacohen
4fcc29c1d3
Rename Usage Guide to User Guide.
2017-03-02 13:47:32 +00:00
Tom Hacohen
9ef2ea2d54
Add a "Coming soon" section for the Change Journal
...
Adding this because users were asking about the history feature. While
the history is maintained, there's currently no GUI to explore it, so
I've added this stub to make it more obvious that it's not there yet.
2017-03-02 12:32:03 +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
17216ede25
Add "Get it on" badges to readme
2017-03-01 00:38:58 +00:00