Attachments and Links Import/Export, Database Restore, and Control Cleanup (#451)
* Attachments and Links Import/Export, Database Restore, and Control Cleanup * Attachments can now be exported and imported. On export, attachments are downloaded into a Tar Gzip and securely extracted on import. * Links and Attachments data is now provided within the Levels export. Users must import both the Level data and the Attachment files to restore the levels with attachments. * A database restore option has been added which utilizes the backed up database content. This overwrites all data in the database. * The Control page has been reorganized to align the various functionality better. * Memcached flushing has been added to all relevant data imports. * Error handling has been added to the various import functions. * * Removed getter function for the Attachment constant. * Switched double quotes with single quotes.
Showing
- src/Db.php 14 additions, 0 deletionssrc/Db.php
- src/controllers/AdminController.php 70 additions, 20 deletionssrc/controllers/AdminController.php
- src/controllers/ajax/AdminAjaxController.php 19 additions, 1 deletionsrc/controllers/ajax/AdminAjaxController.php
- src/controllers/importers/BinaryImporterController.php 12 additions, 0 deletionssrc/controllers/importers/BinaryImporterController.php
- src/controllers/modals/ActionModalController.php 23 additions, 3 deletionssrc/controllers/modals/ActionModalController.php
- src/models/Attachment.php 22 additions, 0 deletionssrc/models/Attachment.php
- src/models/Control.php 61 additions, 1 deletionsrc/models/Control.php
- src/models/Level.php 33 additions, 1 deletionsrc/models/Level.php
- src/static/js/admin.js 43 additions, 1 deletionsrc/static/js/admin.js
Please register or sign in to comment