[Commotion-admin] [commotion-client] Extension templating (#26)

Seamus Tuohy notifications at github.com
Wed Apr 16 16:06:40 EDT 2014


Completed extension template loading functionality. 
You can merge this Pull Request by running:

  git pull https://github.com/elationfoundation/commotion-client Extension_Templating

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotion-client/pull/26

-- Commit Summary --

  * added templates for very basic extensions
  * Adding emacs auto-saves to .gitignore
  * Work on extension writing focusing on intro and Qt Designer
  * added some extra functionality to main template.
  * I don't knoiw why I had that half template anyway
  * added extended filled question mark sizes
  * continued writing tutorial through ui creation
  * added creash and error signals to template and tutorial
  * added a basic commotion form stylesheet
  * Prepared main_window for loading extensions
  * Changed custom exit function name to not overwrite default exit function
  * added clean up functions to tutorial files
  * added viewport clean-up and swap functions
  * added clean up functions to welcome page
  * replaced exception log.debug logging with log.exception calls
  * cleaned up exception handling
  * added extension manager core
  * added proper usage of default values to settings loading.
  * Fixed filename to == PEP8
  * added a config file validation object
  * applied a shorter variable for qt logging functions
  * added file management needed for extension management
  * fixed a mis-typed variable
  * Cleaned up documentation
  * started scoping out extension management functionality.
  * Cleaned up validation and file system utils
  * added basic networking validation class
  * completed extension manager
  * cleaned up code to be pep8 compliant-ier
  * hooked extension loader to extension manager
  * fixed incorrect loading of fs_utils
  * cleaned up some markdown
  * moved config_manager to core
  * fixed some weirdness
  * messed up links and did not realize till it was already pushed.
  * changed config_manager to config_editor
  * removed old todo, as it is no longer needed.
  * moved all config files into config directories
  * Added proper checking for QVariant type
  * Changed to .conf naming for configs
  * removed old test extension
  * Moved extension handling to extension manager
  * Added more extension identification functions
  * Added some basic code standards guidance
  * added missing settings import
  * added basic setup.py
  * added loaded config files to data directory
  * added extension config removal
  * Made extension configs live in one unified folder under data
  * removed all logging of exceptions that are raised
  * added cx_freeze build configurations
  * added some style specifications
  * removed empty file
  * removed core and contrib extension differences
  * added a load_all call in the client
  * continued extensive overhaul of extension manager
  * added tests for extension manager load_all fucntion
  * making bundling exe's cleaner
  * modified dependencies to allow bundling
  * cleaned up code. No functional changes
  * Made logging cleaner, and added a debug message.
  * Cleaned up logging
  * added an in-line-todo.
  * added default extension directories
  * changed load_all call to new load_core name
  * added easy linux client cx_freeze compilation and creation
  * fixed logger creation functions
  * fixed some improper logging
  * fixed variable creation order and added needed imports.
  * added the last-ditch log location to gitignore.
  * merged config handling into extension manager
  * added build instructions for executable
  * Created Zipped extension loader
  * removed all current() and currentPath() calls.
  * removed exe directory in favor of auto-built exe.<sys> dirs
  * added a test runner to the project
  * added temporary build and testing objects to gitignore
  * updated the readme's
  * added some missing module __init__ files
  * added a mock extension object for testing.
  * Made Extension Manager use zipped extensions
  * Config properties no longer recursive.
  * Removed mistyped filter
  * fixed dependencies to make install_loaded work
  * Added test for install loaded function
  * added tests for getting an installed extension from a property.
  * Made Readme valuable for this project
  * updated extension manager installing and uninstalling.
  * Replaced load_settings with simpler get_config
  * updated the readme
  * specified a clearer set of test ignores.
  * Added built assets to mock dir for tests
  * added more test functions and fixed code
  * finished extension manager tests
  * removed old config utility.
  * added missing tests value to config checks
  * fix translation and home directory creation errors
  * Fixed pathing issues for changing dirs.
  * Added loggging and changed a warning to a raise
  * removed unneeded type assignment.
  * re-connected the menu-bar to new extensions
  * merged core and global paths
  * Fixed extension  initialization  in client main
  * Created a working mock extension
  * Changed tests to reflect new global path
  * removed assertions for bygone exceptions
  * made extensions fit into the actual main window

-- File Changes --

    M .gitignore (24)
    M Makefile (34)
    M README.md (194)
    D TODO (46)
    A build/README.md (89)
    R build/scripts/build.py (4)
    R build/scripts/compile_ui.py (7)
    A build/scripts/zip_extensions.py (103)
    R commotion_client/GUI/__init__.py (0)
    M commotion_client/GUI/crash_report.py (2)
    M commotion_client/GUI/main_window.py (172)
    M commotion_client/GUI/menu_bar.py (197)
    M commotion_client/GUI/system_tray.py (2)
    A commotion_client/GUI/ui/__init__.py (0)
    A commotion_client/GUI/ui/welcome_page.ui (53)
    A commotion_client/GUI/welcome_page.py (46)
    M commotion_client/assets/commotion_assets.qrc (4)
    A commotion_client/assets/images/question_mark_filled20.png (0)
    A commotion_client/assets/images/question_mark_filled41.png (0)
    A commotion_client/assets/stylesheets/forms.ss (56)
    M commotion_client/commotion_client.py (199)
    D commotion_client/data/extensions/test_ext001.conf (8)
    A commotion_client/extensions/__init__.py (0)
    A commotion_client/extensions/config_editor/__init__.py (0)
    A commotion_client/extensions/config_editor/config_editor.conf (6)
    A commotion_client/extensions/config_editor/main.py (60)
    A commotion_client/extensions/config_editor/test.py (3)
    A commotion_client/extensions/config_editor/ui/__init__.py (0)
    A commotion_client/extensions/config_editor/ui/config_manager.ui (1928)
    A commotion_client/extensions/unit_test_mock/__init__.py (0)
    A commotion_client/extensions/unit_test_mock/main.py (70)
    A commotion_client/extensions/unit_test_mock/test.conf (9)
    A commotion_client/extensions/unit_test_mock/test.py (5)
    A commotion_client/extensions/unit_test_mock/test_bar.py (43)
    A commotion_client/extensions/unit_test_mock/ui/__init__.py (0)
    A commotion_client/extensions/unit_test_mock/ui/test.ui (1928)
    A commotion_client/extensions/unit_test_mock/units.py (0)
    D commotion_client/utils/config.py (126)
    A commotion_client/utils/extension_manager.py (776)
    D commotion_client/utils/fsUtils.py (42)
    A commotion_client/utils/fs_utils.py (147)
    M commotion_client/utils/logger.py (208)
    A commotion_client/utils/settings.py (73)
    A commotion_client/utils/validate.py (342)
    A docs/extensions/extension_template/config.json (9)
    A docs/extensions/extension_template/main.py (53)
    A docs/extensions/extension_template/settings.py (28)
    A docs/extensions/extension_template/task_bar.py (30)
    A docs/extensions/extension_template/test_suite.py (53)
    A docs/extensions/tutorial/images/design/ssid_sketch.png (0)
    A docs/extensions/writing_extensions.md (189)
    A docs/style_standards/README.md (66)
    A docs/style_standards/google_docstring_example.py (223)
    A setup.py (88)
    A tests/__init__.py (0)
    A tests/mock/extensions/unit_test_mock (0)
    A tests/run_tests.py (32)
    A tests/utils/__init__.py (0)
    A tests/utils/extension_manager_tests.py (559)

-- Patch Links --

https://github.com/opentechinstitute/commotion-client/pull/26.patch
https://github.com/opentechinstitute/commotion-client/pull/26.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotion-client/pull/26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140416/b3f37e59/attachment-0001.html>


More information about the Commotion-admin mailing list