fanforce-plugin-factory 0.41.0 → 1.6.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.ruby-version +1 -0
- data/.yardopts +5 -0
- data/.yardopts.rb +1 -0
- data/Gemfile +9 -0
- data/README.md +40 -75
- data/Rakefile +61 -4
- data/fanforce-plugin-factory.gemspec +21 -21
- data/lib/fanforce/plugin_factory.rb +16 -58
- data/lib/fanforce/plugin_factory/Rakefile +51 -0
- data/lib/fanforce/plugin_factory/Routes.rb +33 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_bootstrap.scss +2 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_common.scss +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_directives.scss +7 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_font-awesome.scss +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_ui-select.scss +3 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common → asset_framework/plugin_factory/bootstrap}/_bootstrap-overrides.scss +2 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/bootstrap/css → asset_framework/plugin_factory/bootstrap}/bootstrap.css +2 -2
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/bootstrap/js → asset_framework/plugin_factory/bootstrap}/bootstrap.js +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/bootstrap.min.css +7 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/bootstrap/js → asset_framework/plugin_factory/bootstrap}/bootstrap.min.js +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/glyphicons-halflings-regular.svg +229 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib → asset_framework/plugin_factory}/common/_mixins.scss +2 -1
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives.coffee +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/error/_error.scss +6 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-error → asset_framework/plugin_factory/directives/error}/arrow-left.png +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-error → asset_framework/plugin_factory/directives/error}/icon-error.png +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/initiative-footer/_initiative-footer.coffee +16 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/_module-add-initiative-footer.scss → asset_framework/plugin_factory/directives/initiative-footer/_initiative-footer.scss} +4 -1
- data/lib/fanforce/plugin_factory/{assets/lib/common/_module-initiative-searcher.scss → asset_framework/plugin_factory/directives/initiative-searcher/_initiative-searcher.scss} +14 -13
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-initiative-searcher → asset_framework/plugin_factory/directives/initiative-searcher}/icon-search.png +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-initiative-searcher → asset_framework/plugin_factory/directives/initiative-searcher}/spinner.gif +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-initiative-searcher → asset_framework/plugin_factory/directives/initiative-searcher}/sprite-arrows.png +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/loading/_loading.coffee +4 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/loading/_loading.scss +4 -0
- data/lib/fanforce/plugin_factory/{assets/js/add_source_popup.js → asset_framework/plugin_factory/directives/saving-to-server/_saving-to-server.coffee} +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/saving-to-server/_saving-to-server.scss +6 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-saving-initiative → asset_framework/plugin_factory/directives/saving-to-server}/spinner.gif +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/start-arrow/_start-arrow.coffee +8 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/_module-start-here.scss → asset_framework/plugin_factory/directives/start-arrow/_start-arrow.scss} +5 -4
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-start-here → asset_framework/plugin_factory/directives/start-arrow}/arrow.png +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/_module-video-thumbnail.scss → asset_framework/plugin_factory/directives/video-thumbnail/_video-thumbnail.scss} +4 -4
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-video-thumbnail → asset_framework/plugin_factory/directives/video-thumbnail}/icon-play.png +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/font-awesome.coffee +1 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/FontAwesome.otf +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/css → asset_framework/plugin_factory/font-awesome}/font-awesome.css +2 -2
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/css → asset_framework/plugin_factory/font-awesome}/font-awesome.min.css +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/fontawesome-webfont.eot +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/fontawesome-webfont.svg +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/fontawesome-webfont.ttf +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/fontawesome-webfont.woff +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/lib.coffee +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/lib/ng-focus-blur.js +68 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/lib/ng-visible.js +7 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select.coffee +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/select.css +171 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/select.js +1281 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/select_override.scss +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/selectize.default.css +443 -0
- data/lib/fanforce/plugin_factory/cli.rb +5 -0
- data/lib/fanforce/plugin_factory/cli/lib/bitbucket.rb +77 -0
- data/lib/fanforce/plugin_factory/cli/lib/bundler.rb +21 -0
- data/lib/fanforce/plugin_factory/cli/lib/env.rb +96 -0
- data/lib/fanforce/plugin_factory/cli/lib/git.rb +59 -0
- data/lib/fanforce/plugin_factory/cli/lib/heroku.rb +94 -0
- data/lib/fanforce/plugin_factory/cli/lib/iron.rb +71 -0
- data/lib/fanforce/plugin_factory/cli/lib/pow.rb +46 -0
- data/lib/fanforce/plugin_factory/cli/lib/scaffolding.rb +74 -0
- data/lib/fanforce/plugin_factory/cli/lib/scaffolding_file.rb +510 -0
- data/lib/fanforce/plugin_factory/cli/lib/uranium.rb +77 -0
- data/lib/fanforce/plugin_factory/cli/lib/utils.rb +57 -0
- data/lib/fanforce/plugin_factory/cli/scripts/config.rb +9 -0
- data/lib/fanforce/plugin_factory/cli/scripts/create.rb +64 -0
- data/lib/fanforce/plugin_factory/cli/scripts/destroy.rb +61 -0
- data/lib/fanforce/plugin_factory/cli/scripts/diff.rb +156 -0
- data/lib/fanforce/plugin_factory/cli/scripts/push.rb +88 -0
- data/lib/fanforce/plugin_factory/cli/scripts/restart.rb +41 -0
- data/lib/fanforce/plugin_factory/cli/scripts/setup.rb +70 -0
- data/lib/fanforce/plugin_factory/cli/scripts/update.rb +132 -0
- data/lib/fanforce/plugin_factory/cli_directory_of_plugins.rb +51 -0
- data/lib/fanforce/plugin_factory/cli_single_plugin.rb +52 -0
- data/lib/fanforce/plugin_factory/controllers/base_controller.rb +15 -0
- data/lib/fanforce/plugin_factory/core_config.rb +94 -0
- data/lib/fanforce/plugin_factory/directive_views/initiative-footer.haml +8 -0
- data/lib/fanforce/plugin_factory/load.rb +7 -0
- data/lib/fanforce/plugin_factory/load_iron_worker.rb +2 -0
- data/lib/fanforce/plugin_factory/load_sprockets.rb +2 -0
- data/lib/fanforce/plugin_factory/plugin.rb +60 -0
- data/lib/fanforce/plugin_factory/scaffolding/._.gitignore.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/._Gemfile.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/._Rakefile.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/._config.json.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/._config.ru.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/._favicon.ico.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/._robots.txt.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/.gitignore +27 -0
- data/lib/fanforce/plugin_factory/scaffolding/Gemfile +9 -0
- data/lib/fanforce/plugin_factory/scaffolding/Rakefile +7 -0
- data/lib/fanforce/plugin_factory/scaffolding/Routes.rb +67 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/._fembedded.scss.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/._promotional.scss.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/._visitor.scss.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/fembedded.scss +24 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/promotional.scss +33 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/visitor.scss +61 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/._icon-16.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/._icon-32.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/._icon-42.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/._marketplace.png.registry +1 -0
- data/lib/fanforce/plugin_factory/{assets → scaffolding/assets}/img/icon-16.png +0 -0
- data/lib/fanforce/plugin_factory/{assets → scaffolding/assets}/img/icon-32.png +0 -0
- data/lib/fanforce/plugin_factory/{assets → scaffolding/assets}/img/icon-42.png +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/marketplace.png +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/promotional/._fanforce_bg.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/promotional/._icon-42.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/promotional/._icon-plus.png.registry +1 -0
- data/lib/fanforce/plugin_factory/{assets/lib → scaffolding/assets/img}/promotional/fanforce_bg.png +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib → scaffolding/assets/img}/promotional/icon-42.png +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/promotional/icon-plus.png +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/._fembedded-app.coffee.registry +5 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/._fembedded.js.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/._promotional.js.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/fembedded-app.coffee +11 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/fembedded.js +12 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/._cookie.coffee.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/._filters.coffee.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/._utils.coffee.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/cookie.coffee +24 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/filters.coffee +9 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/utils.coffee +40 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/promotional.js +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/config.json +24 -0
- data/lib/fanforce/plugin_factory/scaffolding/config.ru +8 -0
- data/lib/fanforce/plugin_factory/{public → scaffolding}/favicon.ico +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._fembedded.haml.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._promotional.haml.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._visitor.haml.registry +6 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/fembedded.haml +26 -0
- data/lib/fanforce/plugin_factory/{layouts → scaffolding/layouts}/promotional.haml +6 -6
- data/lib/fanforce/plugin_factory/{layouts/engage.haml → scaffolding/layouts/visitor.haml} +10 -7
- data/lib/fanforce/plugin_factory/scaffolding/robots.txt +7 -0
- data/lib/fanforce/plugin_factory/scaffolding/views/._index.haml.registry +3 -0
- data/lib/fanforce/plugin_factory/{views → scaffolding/views}/index.haml +13 -7
- data/lib/fanforce/plugin_factory/sinatra/_load.rb +87 -0
- data/lib/fanforce/plugin_factory/sinatra/error_handling.rb +48 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_behavior.rb +19 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_broadcaster.rb +7 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_connector.rb +11 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_identifier.rb +3 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_js_widget.rb +8 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/plugin.rb +50 -0
- data/lib/fanforce/plugin_factory/sinatra/helpers/assets.rb +23 -0
- data/lib/fanforce/plugin_factory/sinatra/helpers/css_frameworks.rb +70 -0
- data/lib/fanforce/plugin_factory/sinatra/helpers/fanforce.rb +18 -0
- data/lib/fanforce/plugin_factory/{config → sinatra}/helpers/json.rb +2 -2
- data/lib/fanforce/plugin_factory/sinatra/helpers/ractive.rb +45 -0
- data/lib/fanforce/plugin_factory/sprockets/compiler.rb +5 -11
- data/lib/fanforce/plugin_factory/sprockets/hacks.rb +2 -2
- data/lib/fanforce/plugin_factory/version.rb +2 -2
- metadata +201 -195
- data/.rbenv-gemsets +0 -1
- data/.rbenv-version +0 -1
- data/lib/fanforce/plugin_factory.rake +0 -72
- data/lib/fanforce/plugin_factory/_init_sinatra.rb +0 -54
- data/lib/fanforce/plugin_factory/assets/css/add_edit_initiative.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/add_source.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/convert_pending_initiative.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/engage.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/new_message.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/promotional.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/source_details.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/js/add_edit_initiative.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/add_source.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/convert_pending_initiative.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/engage.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/new_message.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/promotional.js +0 -2
- data/lib/fanforce/plugin_factory/assets/js/source_details.js +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/_module-error.scss +0 -11
- data/lib/fanforce/plugin_factory/assets/lib/common/_module-page-loading.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/lib/common/_module-saving-initiative.scss +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/common/_tags.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/lib/common/_variables.scss +0 -27
- data/lib/fanforce/plugin_factory/assets/lib/common/broadcaster-divider-arrow.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/icons/dropdown-arrow.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/icons/initiative.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_add_edit_initiative.scss +0 -27
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_add_source.scss +0 -18
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_convert_pending_initiative.scss +0 -27
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_engage.scss +0 -78
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_new_message.scss +0 -24
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_promotional.scss +0 -27
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_source_details.scss +0 -17
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/add_edit_initiative.js +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/add_source.js +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/convert_pending_initiative.js +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/engage.js +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/new_message.js +0 -5
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/promotional.js +0 -1
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/source_details.js +0 -5
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-behavior.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-broadcaster.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-data-connector.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-data-processor.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-identifier.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap-datepicker/datepicker.css +0 -7
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap-datepicker/datepicker.js +0 -454
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap-timepicker/timepicker.css +0 -82
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap-timepicker/timepicker.js +0 -803
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/css/bootstrap.min.css +0 -7
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/img/glyphicons-halflings-regular.eot +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/img/glyphicons-halflings-regular.svg +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/img/glyphicons-halflings-regular.ttf +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/img/glyphicons-halflings-regular.woff +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/_chosen_override.scss +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/chosen-sprite.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/chosen-sprite@2x.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/chosen.jquery.js +0 -1166
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/chosen.scss +0 -434
- data/lib/fanforce/plugin_factory/assets/lib/vendors/jquery/jquery-1.10.2.js +0 -9789
- data/lib/fanforce/plugin_factory/assets/lib/vendors/jquery/jquery.inputHint.js +0 -154
- data/lib/fanforce/plugin_factory/assets/lib/vendors/jquery/jquery.tmpl.debug.js +0 -484
- data/lib/fanforce/plugin_factory/assets/lib/vendors/knockout/knockout.custom-handlers.coffee +0 -155
- data/lib/fanforce/plugin_factory/assets/lib/vendors/knockout/knockout.debug.js +0 -4469
- data/lib/fanforce/plugin_factory/assets/lib/vendors/knockout/knockout.min.js +0 -96
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/_select2_override.scss +0 -47
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2-spinner.gif +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2.scss +0 -617
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2_modified.js +0 -3225
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2x2.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/underscore/underscore.debug.js +0 -999
- data/lib/fanforce/plugin_factory/config/_error_handling.rb +0 -27
- data/lib/fanforce/plugin_factory/config/core_config.rb +0 -92
- data/lib/fanforce/plugin_factory/config/helpers/assets.rb +0 -72
- data/lib/fanforce/plugin_factory/config/helpers/fanforce.rb +0 -19
- data/lib/fanforce/plugin_factory/layouts/add_edit_initiative.haml +0 -19
- data/lib/fanforce/plugin_factory/layouts/add_source.haml +0 -19
- data/lib/fanforce/plugin_factory/layouts/convert_pending_initiative.haml +0 -19
- data/lib/fanforce/plugin_factory/layouts/new_message.haml +0 -19
- data/lib/fanforce/plugin_factory/layouts/source_details.haml +0 -19
- data/lib/fanforce/plugin_factory/public/robots.txt +0 -2
- data/lib/fanforce/plugin_factory/routes.rb +0 -48
- data/lib/fanforce/plugin_factory/routes_behavior.rb +0 -34
- data/lib/fanforce/plugin_factory/routes_broadcaster.rb +0 -9
- data/lib/fanforce/plugin_factory/routes_data_connector.rb +0 -21
- data/lib/fanforce/plugin_factory/routes_identifier.rb +0 -3
- data/lib/fanforce/plugin_factory/views/add_initiative.haml +0 -1
- data/lib/fanforce/plugin_factory/views/add_source.haml +0 -1
- data/lib/fanforce/plugin_factory/views/close_popup.haml +0 -8
- data/lib/fanforce/plugin_factory/views/convert_pending_initiative.haml +0 -1
- data/lib/fanforce/plugin_factory/views/edit_initiative.haml +0 -1
- data/lib/fanforce/plugin_factory/views/engage.haml +0 -1
- data/lib/fanforce/plugin_factory/views/new_message.haml +0 -1
- data/lib/fanforce/plugin_factory/views/source_details.haml +0 -1
- data/lib/fanforce/plugin_factory/views/widget_tmpls.haml +0 -1
- data/lib/fanforce/plugin_factory_workers.rb +0 -2
data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/select_override.scss
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.selectize-input { padding: 5px 8px; }
|
data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/selectize.default.css
ADDED
@@ -0,0 +1,443 @@
|
|
1
|
+
/**
|
2
|
+
* selectize.default.css (v0.8.5) - Default Theme
|
3
|
+
* Copyright (c) 2013 Brian Reavis & contributors
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
6
|
+
* file except in compliance with the License. You may obtain a copy of the License at:
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
*
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
10
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
11
|
+
* ANY KIND, either express or implied. See the License for the specific language
|
12
|
+
* governing permissions and limitations under the License.
|
13
|
+
*
|
14
|
+
* @author Brian Reavis <brian@thirdroute.com>
|
15
|
+
*/
|
16
|
+
|
17
|
+
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
|
18
|
+
background: #f2f2f2 !important;
|
19
|
+
background: rgba(0, 0, 0, 0.06) !important;
|
20
|
+
border: 0 none !important;
|
21
|
+
visibility: visible !important;
|
22
|
+
-webkit-box-shadow: inset 0 0 12px 4px #ffffff;
|
23
|
+
box-shadow: inset 0 0 12px 4px #ffffff;
|
24
|
+
}
|
25
|
+
|
26
|
+
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
|
27
|
+
content: '!';
|
28
|
+
visibility: hidden;
|
29
|
+
}
|
30
|
+
|
31
|
+
.selectize-control.plugin-drag_drop .ui-sortable-helper {
|
32
|
+
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
33
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
34
|
+
}
|
35
|
+
|
36
|
+
.selectize-dropdown-header {
|
37
|
+
position: relative;
|
38
|
+
padding: 5px 8px;
|
39
|
+
background: #f8f8f8;
|
40
|
+
border-bottom: 1px solid #d0d0d0;
|
41
|
+
-webkit-border-radius: 3px 3px 0 0;
|
42
|
+
-moz-border-radius: 3px 3px 0 0;
|
43
|
+
border-radius: 3px 3px 0 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
.selectize-dropdown-header-close {
|
47
|
+
position: absolute;
|
48
|
+
top: 50%;
|
49
|
+
right: 8px;
|
50
|
+
margin-top: -12px;
|
51
|
+
font-size: 20px !important;
|
52
|
+
line-height: 20px;
|
53
|
+
color: #303030;
|
54
|
+
opacity: 0.4;
|
55
|
+
}
|
56
|
+
|
57
|
+
.selectize-dropdown-header-close:hover {
|
58
|
+
color: #000000;
|
59
|
+
}
|
60
|
+
|
61
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup {
|
62
|
+
float: left;
|
63
|
+
border-top: 0 none;
|
64
|
+
border-right: 1px solid #f2f2f2;
|
65
|
+
-webkit-box-sizing: border-box;
|
66
|
+
-moz-box-sizing: border-box;
|
67
|
+
box-sizing: border-box;
|
68
|
+
}
|
69
|
+
|
70
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
|
71
|
+
border-right: 0 none;
|
72
|
+
}
|
73
|
+
|
74
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup:before {
|
75
|
+
display: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup-header {
|
79
|
+
border-top: 0 none;
|
80
|
+
}
|
81
|
+
|
82
|
+
.selectize-control.plugin-remove_button [data-value] {
|
83
|
+
position: relative;
|
84
|
+
padding-right: 24px !important;
|
85
|
+
}
|
86
|
+
|
87
|
+
.selectize-control.plugin-remove_button [data-value] .remove {
|
88
|
+
position: absolute;
|
89
|
+
top: 0;
|
90
|
+
right: 0;
|
91
|
+
bottom: 0;
|
92
|
+
display: inline-block;
|
93
|
+
width: 17px;
|
94
|
+
padding: 2px 0 0 0;
|
95
|
+
font-size: 12px;
|
96
|
+
font-weight: bold;
|
97
|
+
color: inherit;
|
98
|
+
text-align: center;
|
99
|
+
text-decoration: none;
|
100
|
+
vertical-align: middle;
|
101
|
+
border-left: 1px solid #0073bb;
|
102
|
+
-webkit-border-radius: 0 2px 2px 0;
|
103
|
+
-moz-border-radius: 0 2px 2px 0;
|
104
|
+
border-radius: 0 2px 2px 0;
|
105
|
+
-webkit-box-sizing: border-box;
|
106
|
+
-moz-box-sizing: border-box;
|
107
|
+
box-sizing: border-box;
|
108
|
+
}
|
109
|
+
|
110
|
+
.selectize-control.plugin-remove_button [data-value] .remove:hover {
|
111
|
+
background: rgba(0, 0, 0, 0.05);
|
112
|
+
}
|
113
|
+
|
114
|
+
.selectize-control.plugin-remove_button [data-value].active .remove {
|
115
|
+
border-left-color: #00578d;
|
116
|
+
}
|
117
|
+
|
118
|
+
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
|
119
|
+
background: none;
|
120
|
+
}
|
121
|
+
|
122
|
+
.selectize-control.plugin-remove_button .disabled [data-value] .remove {
|
123
|
+
border-left-color: #aaaaaa;
|
124
|
+
}
|
125
|
+
|
126
|
+
.selectize-control {
|
127
|
+
position: relative;
|
128
|
+
}
|
129
|
+
|
130
|
+
.selectize-dropdown,
|
131
|
+
.selectize-input,
|
132
|
+
.selectize-input input {
|
133
|
+
font-family: inherit;
|
134
|
+
font-size: 13px;
|
135
|
+
-webkit-font-smoothing: inherit;
|
136
|
+
line-height: 18px;
|
137
|
+
color: #303030;
|
138
|
+
}
|
139
|
+
|
140
|
+
.selectize-input,
|
141
|
+
.selectize-control.single .selectize-input.input-active {
|
142
|
+
display: inline-block;
|
143
|
+
cursor: text;
|
144
|
+
background: #ffffff;
|
145
|
+
}
|
146
|
+
|
147
|
+
.selectize-input {
|
148
|
+
position: relative;
|
149
|
+
z-index: 1;
|
150
|
+
display: inline-block;
|
151
|
+
width: 100%;
|
152
|
+
padding: 8px 8px;
|
153
|
+
overflow: hidden;
|
154
|
+
border: 1px solid #d0d0d0;
|
155
|
+
-webkit-border-radius: 3px;
|
156
|
+
-moz-border-radius: 3px;
|
157
|
+
border-radius: 3px;
|
158
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
|
159
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
|
160
|
+
-webkit-box-sizing: border-box;
|
161
|
+
-moz-box-sizing: border-box;
|
162
|
+
box-sizing: border-box;
|
163
|
+
}
|
164
|
+
|
165
|
+
.selectize-control.multi .selectize-input.has-items {
|
166
|
+
padding: 5px 8px 2px;
|
167
|
+
}
|
168
|
+
|
169
|
+
.selectize-input.full {
|
170
|
+
background-color: #ffffff;
|
171
|
+
}
|
172
|
+
|
173
|
+
.selectize-input.disabled,
|
174
|
+
.selectize-input.disabled * {
|
175
|
+
cursor: default !important;
|
176
|
+
}
|
177
|
+
|
178
|
+
.selectize-input.focus {
|
179
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
|
180
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
|
181
|
+
}
|
182
|
+
|
183
|
+
.selectize-input.dropdown-active {
|
184
|
+
-webkit-border-radius: 3px 3px 0 0;
|
185
|
+
-moz-border-radius: 3px 3px 0 0;
|
186
|
+
border-radius: 3px 3px 0 0;
|
187
|
+
}
|
188
|
+
|
189
|
+
.selectize-input > * {
|
190
|
+
display: -moz-inline-stack;
|
191
|
+
display: inline-block;
|
192
|
+
*display: inline;
|
193
|
+
vertical-align: baseline;
|
194
|
+
zoom: 1;
|
195
|
+
}
|
196
|
+
|
197
|
+
.selectize-control.multi .selectize-input > div {
|
198
|
+
padding: 2px 6px;
|
199
|
+
margin: 0 3px 3px 0;
|
200
|
+
color: #ffffff;
|
201
|
+
cursor: pointer;
|
202
|
+
background: #1da7ee;
|
203
|
+
border: 1px solid #0073bb;
|
204
|
+
}
|
205
|
+
|
206
|
+
.selectize-control.multi .selectize-input > div.active {
|
207
|
+
color: #ffffff;
|
208
|
+
background: #92c836;
|
209
|
+
border: 1px solid #00578d;
|
210
|
+
}
|
211
|
+
|
212
|
+
.selectize-control.multi .selectize-input.disabled > div,
|
213
|
+
.selectize-control.multi .selectize-input.disabled > div.active {
|
214
|
+
color: #ffffff;
|
215
|
+
background: #d2d2d2;
|
216
|
+
border: 1px solid #aaaaaa;
|
217
|
+
}
|
218
|
+
|
219
|
+
.selectize-input > input {
|
220
|
+
max-width: 100% !important;
|
221
|
+
max-height: none !important;
|
222
|
+
min-height: 0 !important;
|
223
|
+
padding: 0 !important;
|
224
|
+
margin: 0 1px !important;
|
225
|
+
line-height: inherit !important;
|
226
|
+
text-indent: 0 !important;
|
227
|
+
background: none !important;
|
228
|
+
border: 0 none !important;
|
229
|
+
-webkit-box-shadow: none !important;
|
230
|
+
box-shadow: none !important;
|
231
|
+
-webkit-user-select: auto !important;
|
232
|
+
}
|
233
|
+
|
234
|
+
.selectize-input > input:focus {
|
235
|
+
outline: none !important;
|
236
|
+
}
|
237
|
+
|
238
|
+
.selectize-input::after {
|
239
|
+
display: block;
|
240
|
+
clear: left;
|
241
|
+
content: ' ';
|
242
|
+
}
|
243
|
+
|
244
|
+
.selectize-input.dropdown-active::before {
|
245
|
+
position: absolute;
|
246
|
+
right: 0;
|
247
|
+
bottom: 0;
|
248
|
+
left: 0;
|
249
|
+
display: block;
|
250
|
+
height: 1px;
|
251
|
+
background: #f0f0f0;
|
252
|
+
content: ' ';
|
253
|
+
}
|
254
|
+
|
255
|
+
.selectize-dropdown {
|
256
|
+
position: absolute;
|
257
|
+
z-index: 10;
|
258
|
+
margin: -1px 0 0 0;
|
259
|
+
background: #ffffff;
|
260
|
+
border: 1px solid #d0d0d0;
|
261
|
+
border-top: 0 none;
|
262
|
+
-webkit-border-radius: 0 0 3px 3px;
|
263
|
+
-moz-border-radius: 0 0 3px 3px;
|
264
|
+
border-radius: 0 0 3px 3px;
|
265
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
266
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
267
|
+
-webkit-box-sizing: border-box;
|
268
|
+
-moz-box-sizing: border-box;
|
269
|
+
box-sizing: border-box;
|
270
|
+
}
|
271
|
+
|
272
|
+
.selectize-dropdown [data-selectable] {
|
273
|
+
overflow: hidden;
|
274
|
+
cursor: pointer;
|
275
|
+
}
|
276
|
+
|
277
|
+
.selectize-dropdown [data-selectable] .highlight {
|
278
|
+
background: rgba(125, 168, 208, 0.2);
|
279
|
+
-webkit-border-radius: 1px;
|
280
|
+
-moz-border-radius: 1px;
|
281
|
+
border-radius: 1px;
|
282
|
+
}
|
283
|
+
|
284
|
+
.selectize-dropdown [data-selectable],
|
285
|
+
.selectize-dropdown .optgroup-header,
|
286
|
+
.selectize-dropdown .ui-select-footer {
|
287
|
+
padding: 5px 8px;
|
288
|
+
}
|
289
|
+
|
290
|
+
.selectize-dropdown .optgroup:first-child .optgroup-header {
|
291
|
+
border-top: 0 none;
|
292
|
+
}
|
293
|
+
|
294
|
+
.selectize-dropdown .optgroup-header {
|
295
|
+
color: #303030;
|
296
|
+
cursor: default;
|
297
|
+
background: #ffffff;
|
298
|
+
}
|
299
|
+
|
300
|
+
.selectize-dropdown .active {
|
301
|
+
color: #495c68;
|
302
|
+
background-color: #f5fafd;
|
303
|
+
}
|
304
|
+
|
305
|
+
.selectize-dropdown .active.create {
|
306
|
+
color: #495c68;
|
307
|
+
}
|
308
|
+
|
309
|
+
.selectize-dropdown .create {
|
310
|
+
color: rgba(48, 48, 48, 0.5);
|
311
|
+
}
|
312
|
+
|
313
|
+
.selectize-dropdown-content {
|
314
|
+
max-height: 200px;
|
315
|
+
overflow-x: hidden;
|
316
|
+
overflow-y: auto;
|
317
|
+
}
|
318
|
+
|
319
|
+
.selectize-control.single .selectize-input,
|
320
|
+
.selectize-control.single .selectize-input input {
|
321
|
+
cursor: pointer;
|
322
|
+
}
|
323
|
+
|
324
|
+
.selectize-control.single .selectize-input.input-active,
|
325
|
+
.selectize-control.single .selectize-input.input-active input {
|
326
|
+
cursor: text;
|
327
|
+
}
|
328
|
+
|
329
|
+
.selectize-control.single .selectize-input:after {
|
330
|
+
position: absolute;
|
331
|
+
top: 50%;
|
332
|
+
right: 15px;
|
333
|
+
display: block;
|
334
|
+
width: 0;
|
335
|
+
height: 0;
|
336
|
+
margin-top: -3px;
|
337
|
+
border-color: #808080 transparent transparent transparent;
|
338
|
+
border-style: solid;
|
339
|
+
border-width: 5px 5px 0 5px;
|
340
|
+
content: ' ';
|
341
|
+
}
|
342
|
+
|
343
|
+
.selectize-control.single .selectize-input.dropdown-active:after {
|
344
|
+
margin-top: -4px;
|
345
|
+
border-color: transparent transparent #808080 transparent;
|
346
|
+
border-width: 0 5px 5px 5px;
|
347
|
+
}
|
348
|
+
|
349
|
+
.selectize-control.rtl.single .selectize-input:after {
|
350
|
+
right: auto;
|
351
|
+
left: 15px;
|
352
|
+
}
|
353
|
+
|
354
|
+
.selectize-control.rtl .selectize-input > input {
|
355
|
+
margin: 0 4px 0 -2px !important;
|
356
|
+
}
|
357
|
+
|
358
|
+
.selectize-control .selectize-input.disabled {
|
359
|
+
background-color: #fafafa;
|
360
|
+
opacity: 0.5;
|
361
|
+
}
|
362
|
+
|
363
|
+
.selectize-control.multi .selectize-input.has-items {
|
364
|
+
padding-right: 5px;
|
365
|
+
padding-left: 5px;
|
366
|
+
}
|
367
|
+
|
368
|
+
.selectize-control.multi .selectize-input.disabled [data-value] {
|
369
|
+
color: #999;
|
370
|
+
text-shadow: none;
|
371
|
+
background: none;
|
372
|
+
-webkit-box-shadow: none;
|
373
|
+
box-shadow: none;
|
374
|
+
}
|
375
|
+
|
376
|
+
.selectize-control.multi .selectize-input.disabled [data-value],
|
377
|
+
.selectize-control.multi .selectize-input.disabled [data-value] .remove {
|
378
|
+
border-color: #e6e6e6;
|
379
|
+
}
|
380
|
+
|
381
|
+
.selectize-control.multi .selectize-input.disabled [data-value] .remove {
|
382
|
+
background: none;
|
383
|
+
}
|
384
|
+
|
385
|
+
.selectize-control.multi .selectize-input [data-value] {
|
386
|
+
text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
|
387
|
+
background-color: #1b9dec;
|
388
|
+
background-image: -moz-linear-gradient(top, #1da7ee, #178ee9);
|
389
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1da7ee), to(#178ee9));
|
390
|
+
background-image: -webkit-linear-gradient(top, #1da7ee, #178ee9);
|
391
|
+
background-image: -o-linear-gradient(top, #1da7ee, #178ee9);
|
392
|
+
background-image: linear-gradient(to bottom, #1da7ee, #178ee9);
|
393
|
+
background-repeat: repeat-x;
|
394
|
+
-webkit-border-radius: 3px;
|
395
|
+
-moz-border-radius: 3px;
|
396
|
+
border-radius: 3px;
|
397
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1da7ee', endColorstr='#ff178ee9', GradientType=0);
|
398
|
+
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
|
399
|
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
|
400
|
+
}
|
401
|
+
|
402
|
+
.selectize-control.multi .selectize-input [data-value].active {
|
403
|
+
background-color: #0085d4;
|
404
|
+
background-image: -moz-linear-gradient(top, #008fd8, #0075cf);
|
405
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#008fd8), to(#0075cf));
|
406
|
+
background-image: -webkit-linear-gradient(top, #008fd8, #0075cf);
|
407
|
+
background-image: -o-linear-gradient(top, #008fd8, #0075cf);
|
408
|
+
background-image: linear-gradient(to bottom, #008fd8, #0075cf);
|
409
|
+
background-repeat: repeat-x;
|
410
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff008fd8', endColorstr='#ff0075cf', GradientType=0);
|
411
|
+
}
|
412
|
+
|
413
|
+
.selectize-control.single .selectize-input {
|
414
|
+
background-color: #f9f9f9;
|
415
|
+
background-image: -moz-linear-gradient(top, #fefefe, #f2f2f2);
|
416
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fefefe), to(#f2f2f2));
|
417
|
+
background-image: -webkit-linear-gradient(top, #fefefe, #f2f2f2);
|
418
|
+
background-image: -o-linear-gradient(top, #fefefe, #f2f2f2);
|
419
|
+
background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);
|
420
|
+
background-repeat: repeat-x;
|
421
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe', endColorstr='#fff2f2f2', GradientType=0);
|
422
|
+
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
423
|
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
424
|
+
}
|
425
|
+
|
426
|
+
.selectize-control.single .selectize-input,
|
427
|
+
.selectize-dropdown.single {
|
428
|
+
border-color: #b8b8b8;
|
429
|
+
}
|
430
|
+
|
431
|
+
.selectize-dropdown .optgroup-header {
|
432
|
+
padding-top: 7px;
|
433
|
+
font-size: 0.85em;
|
434
|
+
font-weight: bold;
|
435
|
+
}
|
436
|
+
|
437
|
+
.selectize-dropdown .optgroup {
|
438
|
+
border-top: 1px solid #f0f0f0;
|
439
|
+
}
|
440
|
+
|
441
|
+
.selectize-dropdown .optgroup:first-child {
|
442
|
+
border-top: 0 none;
|
443
|
+
}
|