alterm4nn / ChronoZoom

ChronoZoom is an interactive timeline for all of history.
http://www.chronozoom.com
156 stars 125 forks source link

Ability to Export/Import Collections to/from Files #1379

Closed NeilCresswell closed 9 years ago

NeilCresswell commented 9 years ago

Users can now backup their collection to a file on their PC that they can restore from later or share with others.

Exports/Imports include the collection name, colors, background image, timelines, exhibits, content items and tours. Only user information such as editor lists are excluded.

When an export is imported from a file, it is always imported as unpublished, allowing the user a chance to edit the collection further before choosing to publish it.

When an imported collection has the same name as an existing collection, instead of overwriting the existing collection, the import is given a new name, typically the same as the old name but with a "-2" appended. Related to this, user names, super-collection titles and collection paths now all allow hyphens.

Additional work was undertaken so ChronoZoom's Cosmos collection editors now have edit rights to the Cosmos collection using the default URL. (Convenient for obtaining exports of Cosmos.)

The new database seeding mechanism was also replaced so we can now seed new databases with collections saved to files via the Export Collections method.

Previously new CZ databases seeded with a very early version of ChronoZoom's Cosmos collection and AIDS Timeline collection. Now they seed with versions from December 2014, which includes the full introductory tour. (The earlier version only had a working start of the Introductory tour.)