Commit Graph

37 Commits

Author SHA1 Message Date
Felipe Martin 64b53b4be6 Added backup settings on GUI: Name, notes and enable/disable global cache. Tap #13 2014-01-08 23:53:25 +01:00
Felipe Martin 0ed6820d77 Fixed timestamp serializer on python 2.X 2014-01-08 23:52:29 +01:00
Felipe Martin 42671f9764 Backups use/store cache based on the data variable cache.enabled 2014-01-08 13:40:32 +01:00
Felipe Martin 577b10273a Backup data: Fixed not caching exception for Python2.X, data default settings are now stored in a configuration variable.
Fixed serializer for py2/3 compatibility
2014-01-08 13:40:07 +01:00
Felipe Martin c921f97e01 Plugins now store output in cache. Fixes #13 2014-01-07 23:48:29 +01:00
Felipe Martin 4b2f9b7387 Added simple cache and info storage to backup instances using JSON
+ Added custom serializer/deserializer “formats”
+ Using legacy json module
+ Key->Value datastore

Tap #13
2014-01-07 23:47:58 +01:00
Felipe Martin b66f3ac995 Categories hidden when no backup is selected.
Invalid backup can’t be selected.

Tap #12
2014-01-05 18:14:27 +01:00
Felipe Martin a252b0a86e Category page always redirect to first panel.
Fixes #5
2014-01-05 18:09:25 +01:00
Felipe Martin 26b87c1961 Fixed old layout 2014-01-02 23:03:12 +01:00
Felipe Martin 6d20caad42 Merge branch 'feat/gui-core'
* feat/gui-core:
  + BackupManager: Added method get() to easily retrieve a registered backup. + GUI: Refactor all GUI<X> ugly naming. Added error template. + Section component is now easier to use, now with a plugin and template you’re good to go. + iosfu_gui exec (Using it until pypi release) + Device Info plugin now show up stuff!
  Fixed Tabs links if category only have one child
  Improved main menu, showing categories on demand with a drop down of panels. Showing only first panel if that category only have one child.
  Better assertion
  Working on base GUI components loader using a depth-three layout: Category->Panel->Section. Added some fancy error/success messages.
  Added customizable backup working dir to BackupManager
  Base GUI layout with main layout template and letting using choose a backup if it's valid
  Added Sections to GUI
  Simplified GUI API: Now sections are included within the GUIPanel instance, instead of register GUIPanel and GUISection in separate ways. Easy.
  Some code improvements: - __slug__ is now a @property - Reading from binary PList files in another try-except block - Removed print() statements - __slug__ now return the id property of a class, instead of reslugify based in values - Added __slug__ to GUISection (not sure if needed though)
  Plugln library: Fixed files check for the plugin loader
  Added device-info base gui module
  GUI app core WIP
  Changed plugin library internal variables and cleaned import
  Added core GUI components and manager

Conflicts:
	iosfu_gui
2014-01-02 22:42:01 +01:00
Felipe Martin c3a6e8d927 + BackupManager: Added method get() to easily retrieve a registered backup.
+ GUI: Refactor all GUI<X> ugly naming. Added error template.
+ Section component is now easier to use, now with a plugin and template you’re good to go.
+ iosfu_gui exec (Using it until pypi release)
+ Device Info plugin now show up stuff!

First Proof of Concept.
2014-01-02 22:41:21 +01:00
Felipe Martin 26a5b3e355 Fixed Tabs links if category only have one child 2013-11-27 00:21:28 +01:00
Felipe Martin 7dd32c88aa Improved main menu, showing categories on demand with a drop down of panels. Showing only first panel if that category only have one child. 2013-11-26 20:29:46 +01:00
Felipe Martín 8877e2e66a Better assertion 2013-11-26 18:25:53 +01:00
Felipe Martín f084b77405 Working on base GUI components loader using a depth-three layout: Category->Panel->Section.
Added some fancy error/success messages.
2013-11-26 18:11:09 +01:00
Felipe Martín f65e477241 Added customizable backup working dir to BackupManager 2013-11-26 18:09:47 +01:00
Felipe Martín 4c264692fb Base GUI layout with main layout template and letting using choose a backup if it's valid 2013-11-26 16:55:15 +01:00
Felipe Martín 5dda61c441 Added Sections to GUI 2013-11-26 15:22:27 +01:00
Felipe Martín c66cc06154 Simplified GUI API: Now sections are included within the GUIPanel instance, instead of register GUIPanel and GUISection in separate ways. Easy. 2013-11-26 15:14:19 +01:00
Felipe Martín e6ffc2f9b5 Some code improvements:
- __slug__ is now a @property
- Reading from binary PList files in another try-except block
- Removed print() statements
- __slug__ now return the id property of a class, instead of reslugify based in values
- Added __slug__ to GUISection (not sure if needed though)
2013-11-26 15:05:08 +01:00
Felipe Martín c20f0dc316 Plugln library: Fixed files check for the plugin loader 2013-11-26 15:01:49 +01:00
Felipe Martín bbcb3fe088 Added device-info base gui module 2013-11-25 10:50:00 +01:00
Felipe Martín 48591e76b1 GUI app core WIP 2013-11-25 10:49:45 +01:00
Felipe Martín 754f35fc95 Changed plugin library internal variables and cleaned import 2013-11-25 10:47:56 +01:00
Felipe Martín f7a0188966 Added core GUI components and manager 2013-11-25 10:46:09 +01:00
Felipe Martín b63cecafbf Fixed some printing. 2013-11-25 10:45:37 +01:00
Felipe Martin afee9a32c8 Added base.device-info plugin 2013-11-20 23:39:17 +01:00
Felipe Martin 4a575e5ed8 Plugin library code cleanup
BasePlugin: Added some base methods and future use variables:
2013-11-20 23:38:54 +01:00
Felipe Martin cc1c1d9d44 Backup object cleanup.
Added a method to retrieve full path to a file or read handler to manage it.
2013-11-20 20:44:21 +01:00
Felipe Martin 775c30b4b2 Added support for binary plist files 2013-11-20 20:28:30 +01:00
Felipe Martin f025f0f7df iosfu.plugin.library.Library now have discover() and load() methods
Tap #1
2013-11-19 00:44:01 +01:00
Felipe Martin 19ea61e32a Ignoring all backups folders 2013-11-18 23:34:41 +01:00
Felipe Martin a050b7b2f2 Added base file handler functions to Backup object 2013-11-18 23:32:06 +01:00
Felipe Martin a02e694714 Updated server app 2013-11-18 23:00:25 +01:00
Felipe Martin c962e5dc51 Moved base plugin and plugin library to separate modules outside __init__ 2013-11-18 23:00:09 +01:00
Felipe Martin d5cc94e396 Added base backup manager 2013-11-18 22:59:05 +01:00
Felipe Martín 5ffa54866b Initial project structure 2013-11-18 18:42:25 +01:00