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

Warn, then delete file attachments when changing group settings #48

Open
fcheslack opened this issue Jan 7, 2019 · 2 comments
Open
Assignees

Comments

@fcheslack
Copy link
Member

To avoid orphan attachment items that would no longer be possible to create with the new group settings, before a setting change that disables files is applied the user should be asked for confirmation, then all attachment items should be batch deleted on the page before the setting change finally goes through.

https://forums.zotero.org/discussion/75310/option-to-purge-group-library-data

@dstillman
Copy link
Member

As noted in zotero/dataserver#30 (comment), the best way to find these currently is to do a search for ?itemType=attachment and then look for .data.linkMode being imported_url or imported_file.

@ntnsndr
Copy link

ntnsndr commented Feb 5, 2019

Thanks for doing this. Stuff from group libraries is really clogging up my hard drive. I just turned off syncing of Group files. Two questions:

  • When will this update appear in a release?
  • When it does, will I have to do anything further, or will it automatically remove the orphaned files?

Thanks for all your good work.

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

No branches or pull requests

3 participants