Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server-side deletes don't propagate #70

Open
avram opened this issue Dec 1, 2011 · 5 comments
Open

Server-side deletes don't propagate #70

avram opened this issue Dec 1, 2011 · 5 comments
Assignees
Labels
Milestone

Comments

@avram
Copy link
Owner

avram commented Dec 1, 2011

Maybe we can do a background process that goes through collections and items, looking for updates?

@mlt
Copy link
Contributor

mlt commented Dec 1, 2011

Wouldn't this approach eat resources, e.g. battery at least? Is there a zotero API for "get a list of deleted items since last request"?

@avram
Copy link
Owner Author

avram commented Dec 2, 2011

Unfortunately, the Zotero API isn't really designed for maintaining a complete, synced copy of the database, so it doesn't provide delete records (although that may happen in the future).

Maybe we could trigger a background request for updates whenever an item or collection is viewed? Then we can notify the user that the item (or collection) was deleted remotely and either push it back to the server or delete it locally as well.

@mlt
Copy link
Contributor

mlt commented Dec 2, 2011

I think it is a good idea. This approach can also help with #72 while API is not there.

@avram
Copy link
Owner Author

avram commented Jan 9, 2012

We can use format=keys to do this and some other bits efficiently now.

@avram
Copy link
Owner Author

avram commented Jan 12, 2012

Just for reference, we need server-side deletes of collections to happen as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants