locomotive_cms 1.0.0.beta.2 → 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +32 -45
- data/README.textile +48 -11
- data/{public/images/admin → app/assets/images/locomotive}/background/body.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/background/light.png +0 -0
- data/app/assets/images/locomotive/datepicker/ui-widget-content-top.png +0 -0
- data/app/assets/images/locomotive/datepicker/ui-widget-left-icon.png +0 -0
- data/app/assets/images/locomotive/datepicker/ui-widget-right-icon.png +0 -0
- data/app/assets/images/locomotive/form/error-arrow.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/form/folded-arrow-off.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/form/folded-arrow-on.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/form/icons/drag.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/form/icons/edit.png +0 -0
- data/app/assets/images/locomotive/form/icons/error.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/form/icons/spinner.gif +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/form/icons/trash.png +0 -0
- data/app/assets/images/locomotive/form/input-sep.png +0 -0
- data/app/assets/images/locomotive/form/pen.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/form/spinner.gif +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/icons/actions.png +0 -0
- data/app/assets/images/locomotive/icons/asset_add.png +0 -0
- data/app/assets/images/locomotive/icons/asset_switch.png +0 -0
- data/app/assets/images/locomotive/icons/flags/de.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/icons/flags/en.png +0 -0
- data/app/assets/images/locomotive/icons/flags/es.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/icons/flags/fr.png +0 -0
- data/app/assets/images/locomotive/icons/flags/it.png +0 -0
- data/app/assets/images/locomotive/icons/flags/nl.png +0 -0
- data/app/assets/images/locomotive/icons/flags/no.png +0 -0
- data/app/assets/images/locomotive/icons/flags/pt-BR.png +0 -0
- data/app/assets/images/locomotive/icons/flags/ru.png +0 -0
- data/app/assets/images/locomotive/icons/membership_edit.png +0 -0
- data/app/assets/images/locomotive/icons/membership_lock.png +0 -0
- data/app/assets/images/locomotive/inline_editor/back.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/list/empty.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/list/icons/cross.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/list/icons/drag.png +0 -0
- data/app/assets/images/locomotive/list/icons/move.png +0 -0
- data/app/assets/images/locomotive/list/icons/move_off.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/list/icons/node_closed.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/list/icons/node_open.png +0 -0
- data/app/assets/images/locomotive/list/icons/pencil.png +0 -0
- data/app/assets/images/locomotive/list/icons/pencil_off.png +0 -0
- data/app/assets/images/locomotive/list/icons/popup.png +0 -0
- data/app/assets/images/locomotive/list/icons/popup_off.png +0 -0
- data/app/assets/images/locomotive/list/icons/redirect.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/list/icons/states.png +0 -0
- data/app/assets/images/locomotive/list/icons/template.png +0 -0
- data/app/assets/images/locomotive/list/icons/toggle.png +0 -0
- data/app/assets/images/locomotive/list/icons/toggle_off.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/list/icons/trash.png +0 -0
- data/app/assets/images/locomotive/list/icons/trash_off.png +0 -0
- data/app/assets/images/locomotive/list/item-left.png +0 -0
- data/app/assets/images/locomotive/menu/icons.png +0 -0
- data/{public/images/admin/menu/icons → app/assets/images/locomotive/menu/popup}/add.png +0 -0
- data/app/assets/images/locomotive/menu/popup/bottom-right-corner.png +0 -0
- data/{public/images/admin/menu/icons → app/assets/images/locomotive/menu/popup}/bullet.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/nocoffee.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/plugins/selectmenu/arrow.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/plugins/selectmenu/background.png +0 -0
- data/app/assets/images/locomotive/plugins/sites_picker_entry_bg.png +0 -0
- data/app/assets/images/locomotive/plugins/sites_picker_top_arrow.png +0 -0
- data/{public/images/admin → app/assets/images/locomotive}/rails.png +0 -0
- data/{public/images/admin/box → app/assets/images/locomotive/simple}/light_bg.png +0 -0
- data/{public/images/admin/box → app/assets/images/locomotive/simple}/wrapper_bg.png +0 -0
- data/app/assets/javascripts/locomotive.js +25 -0
- data/app/assets/javascripts/locomotive/aloha.js.coffee +2 -0
- data/app/assets/javascripts/locomotive/application.js.coffee +12 -0
- data/app/assets/javascripts/locomotive/inline_editor.js.coffee +21 -0
- data/app/assets/javascripts/locomotive/models/account.js.coffee +11 -0
- data/app/assets/javascripts/locomotive/models/content_asset.js.coffee +20 -0
- data/app/assets/javascripts/locomotive/models/content_entry.js.coffee +61 -0
- data/app/assets/javascripts/locomotive/models/content_type.js.coffee +23 -0
- data/app/assets/javascripts/locomotive/models/custom_field.js.coffee +38 -0
- data/app/assets/javascripts/locomotive/models/custom_field_select_option.js.coffee +13 -0
- data/app/assets/javascripts/locomotive/models/domain.js.coffee +3 -0
- data/app/assets/javascripts/locomotive/models/editable_element.js.coffee +22 -0
- data/app/assets/javascripts/locomotive/models/membership.js.coffee +13 -0
- data/app/assets/javascripts/locomotive/models/page.js.coffee +27 -0
- data/app/assets/javascripts/locomotive/models/site.js.coffee +33 -0
- data/app/assets/javascripts/locomotive/models/snippet.js.coffee +11 -0
- data/app/assets/javascripts/locomotive/models/theme_asset.js.coffee +11 -0
- data/app/assets/javascripts/locomotive/not_logged_in.js.coffee +1 -0
- data/app/assets/javascripts/locomotive/utils/aloha_settings.js.coffee +32 -0
- data/app/assets/javascripts/locomotive/utils/core_ext.js +73 -0
- data/app/assets/javascripts/locomotive/utils/growl.js +14 -0
- data/app/assets/javascripts/locomotive/utils/handlebar_helpers.js.coffee +9 -0
- data/app/assets/javascripts/locomotive/utils/tinymce_settings.js.coffee +48 -0
- data/app/assets/javascripts/locomotive/views/application_view.js.coffee +85 -0
- data/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee +30 -0
- data/app/assets/javascripts/locomotive/views/content_assets/picker_view.js.coffee +55 -0
- data/app/assets/javascripts/locomotive/views/content_entries/_form_view.js.coffee +108 -0
- data/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee +79 -0
- data/app/assets/javascripts/locomotive/views/content_entries/edit_view.js.coffee +9 -0
- data/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee +36 -0
- data/app/assets/javascripts/locomotive/views/content_entries/new_view.js.coffee +8 -0
- data/app/assets/javascripts/locomotive/views/content_types/_form_view.js.coffee +85 -0
- data/app/assets/javascripts/locomotive/views/content_types/custom_field_entry_view.js.coffee +95 -0
- data/app/assets/javascripts/locomotive/views/content_types/custom_fields_view.coffee +94 -0
- data/app/assets/javascripts/locomotive/views/content_types/edit_view.coffee +15 -0
- data/app/assets/javascripts/locomotive/views/content_types/new_view.js.coffee +11 -0
- data/app/assets/javascripts/locomotive/views/content_types/select_options_view.js.coffee +85 -0
- data/app/assets/javascripts/locomotive/views/current_site/edit_view.js.coffee +84 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/edit_all_view.js.coffee +79 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/file_view.js.coffee +73 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/long_text_view.js.coffee +8 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/short_text_view.js.coffee +29 -0
- data/app/assets/javascripts/locomotive/views/inline_editor/application_view.js.coffee +96 -0
- data/app/assets/javascripts/locomotive/views/inline_editor/toolbar_view.js.coffee +137 -0
- data/app/assets/javascripts/locomotive/views/my_account/edit_view.js.coffee +24 -0
- data/app/assets/javascripts/locomotive/views/pages/_form_view.js.coffee +130 -0
- data/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee +25 -0
- data/app/assets/javascripts/locomotive/views/pages/index_view.js.coffee +11 -0
- data/app/assets/javascripts/locomotive/views/pages/list_view.js.coffee +40 -0
- data/app/assets/javascripts/locomotive/views/pages/new_view.js.coffee +8 -0
- data/app/assets/javascripts/locomotive/views/shared/asset_picker_view.js.coffee +99 -0
- data/app/assets/javascripts/locomotive/views/shared/fields/file_view.js.coffee +88 -0
- data/app/assets/javascripts/locomotive/views/shared/fields/has_many_view.js.coffee +122 -0
- data/app/assets/javascripts/locomotive/views/shared/fields/many_to_many_view.js.coffee +132 -0
- data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +112 -0
- data/app/assets/javascripts/locomotive/views/shared/list_item_view.js.coffee +22 -0
- data/app/assets/javascripts/locomotive/views/shared/list_view.js.coffee +53 -0
- data/app/assets/javascripts/locomotive/views/sites/domain_entry_view.js.coffee +26 -0
- data/app/assets/javascripts/locomotive/views/sites/domains_view.js.coffee +84 -0
- data/app/assets/javascripts/locomotive/views/sites/membership_entry_view.js.coffee +31 -0
- data/app/assets/javascripts/locomotive/views/sites/memberships_view.js.coffee +41 -0
- data/app/assets/javascripts/locomotive/views/sites/new_view.js.coffee +43 -0
- data/app/assets/javascripts/locomotive/views/snippets/_form_view.js.coffee +60 -0
- data/app/assets/javascripts/locomotive/views/snippets/edit_view.js.coffee +6 -0
- data/app/assets/javascripts/locomotive/views/snippets/list_item_view.js.coffee +8 -0
- data/app/assets/javascripts/locomotive/views/snippets/list_view.js.coffee +17 -0
- data/app/assets/javascripts/locomotive/views/snippets/new_view.js.coffee +8 -0
- data/app/assets/javascripts/locomotive/views/theme_assets/_form_view.js.coffee +104 -0
- data/app/assets/javascripts/locomotive/views/theme_assets/edit_view.js.coffee +16 -0
- data/app/assets/javascripts/locomotive/views/theme_assets/image_picker_view.js.coffee +40 -0
- data/app/assets/javascripts/locomotive/views/theme_assets/index_view.js.coffee +83 -0
- data/app/assets/javascripts/locomotive/views/theme_assets/list_item_view.js.coffee +8 -0
- data/app/assets/javascripts/locomotive/views/theme_assets/list_view.js.coffee +17 -0
- data/app/assets/javascripts/locomotive/views/theme_assets/new_view.js.coffee +8 -0
- data/app/assets/javascripts/tinymce/plugins/jqueryinlinepopups/editor_plugin.js +240 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/editor_plugin.js +75 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/content.css +0 -0
- data/app/assets/javascripts/tinymce/themes/advanced/skins/locomotive/dialog.css.scss +78 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/butt2.png +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/button-bg.png +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/buttons.png +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/down_arrow.gif +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/fade-butt.png +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/icons.png +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/items.gif +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/menu-arrow.png +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/menu-check.png +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/progress.gif +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/tabs.gif +0 -0
- data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/toolbarbg.png +0 -0
- data/app/assets/javascripts/tinymce/themes/advanced/skins/locomotive/ui.css +1018 -0
- data/app/assets/stylesheets/locomotive.css +15 -0
- data/app/assets/stylesheets/locomotive/backoffice/_box.css.scss +167 -0
- data/app/assets/stylesheets/locomotive/backoffice/_buttons.css.scss +155 -0
- data/app/assets/stylesheets/locomotive/backoffice/application.css.scss +321 -0
- data/app/assets/stylesheets/locomotive/backoffice/codemirror_changes.css.scss +16 -0
- data/app/assets/stylesheets/locomotive/backoffice/content_assets.css.scss +129 -0
- data/app/assets/stylesheets/locomotive/backoffice/datepicker.css.scss +169 -0
- data/app/assets/stylesheets/locomotive/backoffice/dialog_changes.css.scss +135 -0
- data/app/assets/stylesheets/locomotive/backoffice/editable_elements.css.scss +71 -0
- data/app/assets/stylesheets/locomotive/backoffice/formtastic_changes.css.css +0 -0
- data/app/assets/stylesheets/locomotive/backoffice/formtastic_changes.css.scss +787 -0
- data/app/assets/stylesheets/locomotive/backoffice/layout.css.scss +204 -0
- data/app/assets/stylesheets/locomotive/backoffice/menu.css +8 -0
- data/app/assets/stylesheets/locomotive/backoffice/menu/_colors.css.scss +124 -0
- data/app/assets/stylesheets/locomotive/backoffice/menu/_helpers.css.scss +6 -0
- data/app/assets/stylesheets/locomotive/backoffice/menu/_icons.css.scss +30 -0
- data/app/assets/stylesheets/locomotive/backoffice/menu/default.css.scss +67 -0
- data/app/assets/stylesheets/locomotive/backoffice/menu/main.css.scss +127 -0
- data/app/assets/stylesheets/locomotive/backoffice/menu/sub.css.scss +284 -0
- data/app/assets/stylesheets/locomotive/backoffice/sites_picker.css.scss +12 -0
- data/app/assets/stylesheets/locomotive/inline_editor.css +9 -0
- data/app/assets/stylesheets/locomotive/inline_editor/_buttons.css.scss +70 -0
- data/app/assets/stylesheets/locomotive/inline_editor/layout.css.scss +21 -0
- data/app/assets/stylesheets/locomotive/inline_editor/toolbar.css.scss +115 -0
- data/app/assets/stylesheets/locomotive/not_logged_in.css +7 -0
- data/app/assets/stylesheets/locomotive/not_logged_in/installation.css.scss +62 -0
- data/app/assets/stylesheets/locomotive/not_logged_in/layout.css.scss +176 -0
- data/app/assets/stylesheets/locomotive/shared/_helpers.css.scss +57 -0
- data/app/assets/stylesheets/locomotive/shared/_picker.css.scss +73 -0
- data/app/assets/stylesheets/locomotive/shared/content_locale_picker.css.scss +82 -0
- data/app/assets/stylesheets/locomotive/shared/growl.css.scss +29 -0
- data/app/cells/locomotive/content_locale_picker/show.html.haml +7 -0
- data/app/cells/locomotive/content_locale_picker_cell.rb +17 -0
- data/app/cells/locomotive/global_actions/show.html.haml +12 -0
- data/app/cells/locomotive/global_actions_cell.rb +36 -0
- data/app/cells/locomotive/main_menu/show.html.haml +13 -0
- data/app/cells/locomotive/main_menu_cell.rb +12 -0
- data/app/cells/locomotive/menu/show.html.haml +1 -0
- data/app/cells/locomotive/menu_cell.rb +102 -0
- data/app/cells/locomotive/settings_menu_cell.rb +13 -0
- data/app/cells/locomotive/sub_menu/show.html.haml +4 -0
- data/app/cells/locomotive/sub_menu_cell.rb +13 -0
- data/app/controllers/locomotive/accounts_controller.rb +18 -0
- data/app/controllers/locomotive/api/base_controller.rb +43 -0
- data/app/controllers/locomotive/api/content_assets_controller.rb +23 -0
- data/app/controllers/locomotive/api/content_entries_controller.rb +37 -0
- data/app/controllers/locomotive/api/content_types_controller.rb +23 -0
- data/app/controllers/locomotive/api/current_site_controller.rb +11 -0
- data/app/controllers/locomotive/api/pages_controller.rb +25 -0
- data/app/controllers/locomotive/api/snippets_controller.rb +24 -0
- data/app/controllers/locomotive/api/theme_assets_controller.rb +23 -0
- data/app/controllers/locomotive/api/tokens_controller.rb +27 -0
- data/app/controllers/locomotive/base_controller.rb +61 -0
- data/app/controllers/locomotive/content_assets_controller.rb +23 -0
- data/app/controllers/locomotive/content_entries_controller.rb +71 -0
- data/app/controllers/locomotive/content_types_controller.rb +40 -0
- data/app/controllers/locomotive/current_site_controller.rb +44 -0
- data/app/controllers/locomotive/installation_controller.rb +72 -0
- data/app/controllers/locomotive/memberships_controller.rb +29 -0
- data/app/controllers/locomotive/my_account_controller.rb +24 -0
- data/app/controllers/locomotive/pages_controller.rb +62 -0
- data/app/controllers/locomotive/passwords_controller.rb +13 -0
- data/app/controllers/locomotive/public/base_controller.rb +20 -0
- data/app/controllers/locomotive/public/content_entries_controller.rb +50 -0
- data/app/controllers/locomotive/public/pages_controller.rb +48 -0
- data/app/controllers/locomotive/public/robots_controller.rb +16 -0
- data/app/controllers/locomotive/public/sitemaps_controller.rb +14 -0
- data/app/controllers/locomotive/sessions_controller.rb +29 -0
- data/app/controllers/locomotive/sites_controller.rb +33 -0
- data/app/controllers/locomotive/snippets_controller.rb +40 -0
- data/app/controllers/locomotive/theme_assets_controller.rb +52 -0
- data/app/helpers/locomotive/accounts_helper.rb +13 -0
- data/app/helpers/locomotive/base_helper.rb +124 -0
- data/app/helpers/locomotive/content_entries_helper.rb +15 -0
- data/app/helpers/locomotive/content_types_helper.rb +68 -0
- data/app/helpers/locomotive/custom_fields_helper.rb +70 -0
- data/app/helpers/locomotive/installation_helper.rb +9 -0
- data/app/helpers/locomotive/pages_helper.rb +54 -0
- data/app/helpers/locomotive/sites_helper.rb +15 -0
- data/app/helpers/locomotive/theme_assets_helper.rb +30 -0
- data/app/inputs/locomotive/code_input.rb +29 -0
- data/app/inputs/locomotive/empty_input.rb +35 -0
- data/app/inputs/locomotive/file_input.rb +45 -0
- data/app/inputs/locomotive/locale_input.rb +39 -0
- data/app/inputs/locomotive/locales_input.rb +59 -0
- data/app/inputs/locomotive/rte_input.rb +13 -0
- data/app/inputs/locomotive/small_code_input.rb +22 -0
- data/app/inputs/locomotive/subdomain_input.rb +22 -0
- data/app/inputs/locomotive/toggle_input.rb +13 -0
- data/app/mailers/locomotive/devise_mailer.rb +10 -0
- data/app/mailers/locomotive/notifications.rb +15 -0
- data/app/middlewares/locomotive/inline_editor_middleware.rb +24 -0
- data/app/models/locomotive/ability.rb +81 -0
- data/app/models/locomotive/account.rb +97 -0
- data/app/models/locomotive/content_asset.rb +45 -0
- data/app/models/locomotive/content_entry.rb +146 -0
- data/app/models/locomotive/content_type.rb +241 -0
- data/app/models/locomotive/editable_element.rb +29 -0
- data/app/models/locomotive/editable_file.rb +17 -0
- data/app/models/locomotive/editable_long_text.rb +9 -0
- data/app/models/locomotive/editable_short_text.rb +21 -0
- data/app/models/locomotive/extensions/asset/types.rb +31 -0
- data/app/models/locomotive/extensions/asset/vignette.rb +19 -0
- data/app/models/locomotive/extensions/content_type/item_template.rb +49 -0
- data/app/models/locomotive/extensions/page/editable_elements.rb +119 -0
- data/app/models/locomotive/extensions/page/listed.rb +17 -0
- data/app/models/locomotive/extensions/page/parse.rb +112 -0
- data/app/models/locomotive/extensions/page/redirect.rb +23 -0
- data/app/models/locomotive/extensions/page/render.rb +13 -0
- data/app/models/locomotive/extensions/page/templatized.rb +95 -0
- data/app/models/locomotive/extensions/page/tree.rb +112 -0
- data/app/models/locomotive/extensions/shared/seo.rb +16 -0
- data/app/models/locomotive/extensions/site/first_installation.rb +20 -0
- data/app/models/locomotive/extensions/site/locales.rb +66 -0
- data/app/models/locomotive/extensions/site/subdomain_domains.rb +86 -0
- data/app/models/locomotive/membership.rb +79 -0
- data/app/models/locomotive/page.rb +124 -0
- data/app/models/locomotive/site.rb +82 -0
- data/app/models/locomotive/snippet.rb +76 -0
- data/app/models/locomotive/theme_asset.rb +178 -0
- data/app/presenters/locomotive/account_presenter.rb +11 -0
- data/app/presenters/locomotive/base_presenter.rb +46 -0
- data/app/presenters/locomotive/content_asset_presenter.rb +36 -0
- data/app/presenters/locomotive/content_entry_presenter.rb +53 -0
- data/app/presenters/locomotive/content_type_presenter.rb +19 -0
- data/app/presenters/locomotive/editable_element_presenter.rb +28 -0
- data/app/presenters/locomotive/editable_file_presenter.rb +15 -0
- data/app/presenters/locomotive/editable_long_text_presenter.rb +5 -0
- data/app/presenters/locomotive/editable_short_text_presenter.rb +11 -0
- data/app/presenters/locomotive/membership_presenter.rb +33 -0
- data/app/presenters/locomotive/page_presenter.rb +34 -0
- data/app/presenters/locomotive/site_presenter.rb +19 -0
- data/app/presenters/locomotive/snippet_presenter.rb +20 -0
- data/app/presenters/locomotive/theme_asset_presenter.rb +44 -0
- data/app/uploaders/locomotive/content_asset_uploader.rb +13 -0
- data/app/uploaders/locomotive/editable_file_uploader.rb +11 -0
- data/app/uploaders/locomotive/theme_asset_uploader.rb +28 -0
- data/app/uploaders/locomotive/theme_uploader.rb +19 -0
- data/app/views/locomotive/accounts/new.html.haml +21 -0
- data/app/views/locomotive/content_assets/_asset.html.haml +5 -0
- data/app/views/locomotive/content_assets/_picker.html.haml +33 -0
- data/app/views/locomotive/content_entries/_form.html.haml +21 -0
- data/app/views/locomotive/content_entries/_list.html.haml +15 -0
- data/app/views/locomotive/content_entries/edit.html.haml +21 -0
- data/app/views/locomotive/content_entries/index.html.haml +32 -0
- data/app/views/locomotive/content_entries/new.html.haml +19 -0
- data/app/views/locomotive/content_types/_form.html.haml +39 -0
- data/app/views/locomotive/content_types/edit.html.haml +19 -0
- data/app/views/locomotive/content_types/new.html.haml +15 -0
- data/app/views/locomotive/current_site/_form.html.haml +36 -0
- data/app/views/locomotive/current_site/edit.html.haml +16 -0
- data/app/views/locomotive/custom_fields/_form.html.haml +75 -0
- data/app/views/locomotive/custom_fields/types/_belongs_to.html.haml +5 -0
- data/app/views/locomotive/custom_fields/types/_boolean.html.haml +4 -0
- data/app/views/locomotive/custom_fields/types/_date.html.haml +5 -0
- data/app/views/locomotive/custom_fields/types/_file.html.haml +4 -0
- data/app/views/locomotive/custom_fields/types/_has_many.html.haml +70 -0
- data/app/views/locomotive/custom_fields/types/_many_to_many.html.haml +41 -0
- data/app/views/locomotive/custom_fields/types/_select.html.haml +5 -0
- data/app/views/locomotive/custom_fields/types/_string.html.haml +4 -0
- data/app/views/locomotive/custom_fields/types/_text.html.haml +5 -0
- data/app/views/locomotive/devise_mailer/reset_password_instructions.html.haml +12 -0
- data/app/views/locomotive/errors/404.html.haml +7 -0
- data/app/views/locomotive/errors/500.html.haml +7 -0
- data/app/views/{admin → locomotive}/errors/no_page.html.haml +0 -0
- data/app/views/{admin → locomotive}/errors/no_site.html.haml +0 -0
- data/app/views/locomotive/installation/step_1.html.haml +23 -0
- data/app/views/locomotive/installation/step_2.html.haml +24 -0
- data/app/views/locomotive/layouts/application.html.haml +34 -0
- data/app/views/{admin → locomotive}/layouts/error.html.haml +0 -0
- data/app/views/locomotive/layouts/not_logged_in.html.haml +18 -0
- data/app/views/locomotive/mailer/confirmation_instructions.html.haml +8 -0
- data/app/views/locomotive/mailer/reset_password_instructions.html.haml +12 -0
- data/app/views/locomotive/mailer/unlock_instructions.html.haml +10 -0
- data/app/views/locomotive/memberships/new.html.haml +14 -0
- data/app/views/locomotive/my_account/edit.html.haml +40 -0
- data/app/views/locomotive/notifications/new_content_entry.html.haml +22 -0
- data/app/views/locomotive/pages/_editable_elements.html.haml +52 -0
- data/app/views/locomotive/pages/_form.html.haml +51 -0
- data/app/views/locomotive/pages/_page.html.haml +30 -0
- data/app/views/locomotive/pages/edit.html.haml +18 -0
- data/app/views/locomotive/pages/index.html.haml +19 -0
- data/app/views/locomotive/pages/new.html.haml +15 -0
- data/app/views/locomotive/passwords/edit.html.haml +18 -0
- data/app/views/locomotive/passwords/new.html.haml +17 -0
- data/app/views/locomotive/public/pages/show_toolbar.html.haml +60 -0
- data/app/views/locomotive/public/sitemaps/show.xml.builder +29 -0
- data/app/views/locomotive/sessions/new.html.haml +17 -0
- data/app/views/locomotive/shared/_footer.html.haml +2 -0
- data/app/views/locomotive/shared/_form_actions.html.haml +14 -0
- data/app/views/locomotive/shared/_head.html.haml +35 -0
- data/app/views/locomotive/shared/_header.html.haml +10 -0
- data/app/views/locomotive/shared/_locale_picker_link.html.haml +7 -0
- data/app/views/locomotive/shared/_main_app_head.html.haml +1 -0
- data/app/views/locomotive/shared/_site_picker.html.haml +10 -0
- data/app/views/locomotive/shared/actions/_contents.html.haml +5 -0
- data/app/views/locomotive/shared/menu/_contents.html.haml +40 -0
- data/app/views/locomotive/sites/_domains.html.haml +22 -0
- data/app/views/locomotive/sites/_form.html.haml +12 -0
- data/app/views/locomotive/sites/_memberships.html.haml +25 -0
- data/app/views/locomotive/sites/new.html.haml +12 -0
- data/app/views/locomotive/snippets/_form.html.haml +13 -0
- data/app/views/locomotive/snippets/_snippet.html.haml +8 -0
- data/app/views/locomotive/snippets/edit.html.haml +18 -0
- data/app/views/locomotive/snippets/new.html.haml +15 -0
- data/app/views/locomotive/theme_assets/_asset.html.haml +11 -0
- data/app/views/locomotive/theme_assets/_form.html.haml +31 -0
- data/app/views/locomotive/theme_assets/_list.html.haml +7 -0
- data/app/views/locomotive/theme_assets/_picker.html.haml +25 -0
- data/app/views/locomotive/theme_assets/edit.html.haml +21 -0
- data/app/views/locomotive/theme_assets/index.html.haml +50 -0
- data/app/views/locomotive/theme_assets/new.html.haml +12 -0
- data/config/cucumber.yml +8 -2
- data/config/initializers/devise.rb +10 -135
- data/config/initializers/formtastic.rb +2 -3
- data/config/initializers/haml.rb +1 -1
- data/config/initializers/locomotive_loaded_first.rb +19 -0
- data/config/locales/admin_ui.de.yml +310 -0
- data/config/locales/admin_ui.en.yml +308 -0
- data/config/locales/admin_ui.es.yml +292 -0
- data/config/locales/admin_ui.fr.yml +278 -0
- data/config/locales/admin_ui.it.yml +291 -0
- data/config/locales/admin_ui.nl.yml +276 -0
- data/config/locales/admin_ui.no.yml +295 -0
- data/config/locales/admin_ui.pt-BR.yml +270 -0
- data/config/locales/admin_ui.ru.yml +292 -0
- data/config/locales/carrierwave.de.yml +4 -0
- data/config/locales/{carrierwave_en.yml → carrierwave.en.yml} +0 -0
- data/config/locales/carrierwave.es.yml +4 -0
- data/config/locales/{carrierwave_fr.yml → carrierwave.fr.yml} +0 -0
- data/config/locales/carrierwave.it.yml +4 -0
- data/config/locales/carrierwave.nl.yml +4 -0
- data/config/locales/carrierwave.no.yml +4 -0
- data/config/locales/carrierwave.pt-BR.yml +4 -0
- data/config/locales/carrierwave.ru.yml +4 -0
- data/config/locales/default.de.yml +233 -0
- data/config/locales/default.en.yml +36 -0
- data/config/locales/default.es.yml +216 -0
- data/config/locales/default.fr.yml +206 -0
- data/config/locales/default.it.yml +243 -0
- data/config/locales/default.nl.yml +170 -0
- data/config/locales/default.no.yml +271 -0
- data/config/locales/default.pt-BR.yml +211 -0
- data/config/locales/default.ru.yml +281 -0
- data/config/locales/devise.de.yml +62 -0
- data/config/locales/devise.en.yml +11 -10
- data/config/locales/devise.es.yml +63 -0
- data/config/locales/devise.fr.yml +8 -8
- data/config/locales/devise.it.yml +63 -0
- data/config/locales/devise.nl.yml +63 -0
- data/config/locales/devise.no.yml +63 -0
- data/config/locales/devise.pt-BR.yml +61 -0
- data/config/locales/devise.ru.yml +63 -0
- data/config/locales/flash.de.yml +106 -0
- data/config/locales/flash.en.yml +11 -21
- data/config/locales/flash.es.yml +106 -0
- data/config/locales/flash.fr.yml +5 -15
- data/config/locales/flash.it.yml +106 -0
- data/config/locales/flash.nl.yml +106 -0
- data/config/locales/flash.no.yml +106 -0
- data/config/locales/flash.pt-BR.yml +106 -0
- data/config/locales/flash.ru.yml +106 -0
- data/config/locales/formtastic.de.yml +97 -0
- data/config/locales/formtastic.en.yml +109 -0
- data/config/locales/formtastic.es.yml +84 -0
- data/config/locales/formtastic.fr.yml +99 -0
- data/config/locales/formtastic.it.yml +99 -0
- data/config/locales/formtastic.nl.yml +85 -0
- data/config/locales/formtastic.no.yml +99 -0
- data/config/locales/formtastic.pt-BR.yml +70 -0
- data/config/locales/formtastic.ru.yml +99 -0
- data/config/routes.rb +71 -40
- data/lib/generators/locomotive/install/install_generator.rb +12 -11
- data/lib/generators/locomotive/install/templates/README +4 -5
- data/lib/generators/locomotive/install/templates/carrierwave.rb +25 -0
- data/lib/generators/locomotive/install/templates/dragonfly.rb +22 -0
- data/lib/generators/locomotive/install/templates/locomotive.rb +48 -26
- data/lib/generators/locomotive/install/templates/mongoid.yml +34 -0
- data/lib/locomotive.rb +87 -16
- data/lib/locomotive/action_controller.rb +5 -0
- data/lib/locomotive/action_controller/locale_helpers.rb +61 -0
- data/lib/locomotive/action_controller/public_responder.rb +17 -0
- data/lib/locomotive/action_controller/responder.rb +65 -0
- data/lib/locomotive/action_controller/section_helpers.rb +29 -0
- data/lib/locomotive/action_controller/url_helpers.rb +37 -0
- data/lib/locomotive/carrierwave.rb +1 -1
- data/lib/locomotive/carrierwave/asset.rb +66 -0
- data/lib/locomotive/carrierwave/patches.rb +15 -43
- data/lib/locomotive/configuration.rb +62 -12
- data/lib/locomotive/core_ext.rb +28 -30
- data/lib/locomotive/custom_fields.rb +24 -1
- data/lib/locomotive/dependencies.rb +30 -0
- data/lib/locomotive/devise.rb +1 -0
- data/lib/locomotive/dragonfly.rb +36 -0
- data/lib/locomotive/engine.rb +27 -25
- data/lib/locomotive/formtastic.rb +13 -0
- data/lib/locomotive/httparty/patches.rb +18 -18
- data/lib/locomotive/httparty/webservice.rb +7 -1
- data/lib/locomotive/kaminari.rb +35 -0
- data/lib/locomotive/liquid.rb +1 -0
- data/lib/locomotive/liquid/drops/base.rb +4 -14
- data/lib/locomotive/liquid/drops/content_entry.rb +62 -0
- data/lib/locomotive/liquid/drops/content_types.rb +48 -0
- data/lib/locomotive/liquid/drops/page.rb +23 -5
- data/lib/locomotive/liquid/drops/proxy_collection.rb +56 -0
- data/lib/locomotive/liquid/drops/site.rb +6 -2
- data/lib/locomotive/liquid/filters/date.rb +16 -11
- data/lib/locomotive/liquid/filters/html.rb +49 -15
- data/lib/locomotive/liquid/filters/misc.rb +12 -0
- data/lib/locomotive/liquid/filters/resize.rb +16 -0
- data/lib/locomotive/liquid/tags/editable.rb +2 -1
- data/lib/locomotive/liquid/tags/editable/base.rb +33 -11
- data/lib/locomotive/liquid/tags/editable/content.rb +49 -0
- data/lib/locomotive/liquid/tags/inherited_block.rb +1 -1
- data/lib/locomotive/liquid/tags/inline_editor.rb +20 -37
- data/lib/locomotive/liquid/tags/locale_switcher.rb +75 -0
- data/lib/locomotive/liquid/tags/nav.rb +50 -23
- data/lib/locomotive/liquid/tags/paginate.rb +9 -5
- data/lib/locomotive/liquid/tags/seo.rb +72 -0
- data/lib/locomotive/liquid/tags/snippet.rb +9 -4
- data/lib/locomotive/liquid/tags/with_scope.rb +6 -6
- data/lib/locomotive/logger.rb +2 -2
- data/lib/locomotive/middlewares.rb +3 -1
- data/lib/locomotive/middlewares/cache.rb +27 -0
- data/lib/locomotive/middlewares/fonts.rb +13 -7
- data/lib/locomotive/middlewares/seo_trailing_slash.rb +24 -0
- data/lib/locomotive/mongoid.rb +1 -1
- data/lib/locomotive/mongoid/document.rb +0 -1
- data/lib/locomotive/mongoid/patches.rb +43 -78
- data/lib/locomotive/render.rb +95 -78
- data/lib/locomotive/routing/default_constraint.rb +8 -4
- data/lib/locomotive/routing/site_dispatcher.rb +24 -19
- data/lib/locomotive/session_store.rb +8 -1
- data/lib/locomotive/version.rb +1 -1
- data/lib/tasks/cucumber.rake +16 -3
- data/lib/tasks/locomotive.rake +242 -0
- data/public/favicon.ico +0 -0
- data/vendor/assets/javascripts/locomotive/ICanHandlebarz.js +88 -0
- data/vendor/assets/javascripts/locomotive/backbone.modelbinding.js +556 -0
- data/vendor/assets/javascripts/locomotive/backbone.sync.js +113 -0
- data/{public/javascripts/admin/plugins/cookie.js → vendor/assets/javascripts/locomotive/cookies.js} +0 -0
- data/vendor/assets/javascripts/locomotive/datepicker_fr.js +16 -0
- data/vendor/assets/javascripts/locomotive/editable_field.js +50 -0
- data/{public/javascripts/admin/plugins → vendor/assets/javascripts/locomotive}/growl.js +0 -0
- data/vendor/assets/javascripts/locomotive/handlebars.js +1493 -0
- data/vendor/assets/javascripts/locomotive/liquid_mode.js +42 -0
- data/vendor/assets/javascripts/locomotive/menu_toggler.js +33 -0
- data/vendor/assets/javascripts/locomotive/resize.js +9 -0
- data/vendor/assets/javascripts/locomotive/slugify.js +31 -0
- data/vendor/assets/javascripts/locomotive/smartupdater.js +296 -0
- data/vendor/assets/javascripts/locomotive/subscribe.js +367 -0
- data/vendor/assets/javascripts/locomotive/toggle.js +142 -0
- data/vendor/assets/javascripts/locomotive/vendor.js +1 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/blueprint/ie.css +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/blueprint/print.css +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/blueprint/screen.css +0 -0
- data/vendor/assets/stylesheets/locomotive/jquery.css +3 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_222222_256x240.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_454545_256x240.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_888888_256x240.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_ffffff_256x240.png +0 -0
- data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/ui.css +0 -0
- data/vendor/assets/stylesheets/locomotive/liquid_mode.css +9 -0
- data/vendor/assets/stylesheets/locomotive/toggle.css.scss +52 -0
- metadata +782 -1678
- data/app/controllers/admin/accounts_controller.rb +0 -18
- data/app/controllers/admin/api_contents_controller.rb +0 -39
- data/app/controllers/admin/asset_collections_controller.rb +0 -25
- data/app/controllers/admin/assets_controller.rb +0 -30
- data/app/controllers/admin/base_controller.rb +0 -56
- data/app/controllers/admin/content_types_controller.rb +0 -11
- data/app/controllers/admin/contents_controller.rb +0 -45
- data/app/controllers/admin/cross_domain_sessions_controller.rb +0 -37
- data/app/controllers/admin/current_sites_controller.rb +0 -33
- data/app/controllers/admin/custom_fields_controller.rb +0 -39
- data/app/controllers/admin/images_controller.rb +0 -51
- data/app/controllers/admin/imports_controller.rb +0 -45
- data/app/controllers/admin/installation_controller.rb +0 -79
- data/app/controllers/admin/memberships_controller.rb +0 -26
- data/app/controllers/admin/my_accounts_controller.rb +0 -23
- data/app/controllers/admin/pages_controller.rb +0 -42
- data/app/controllers/admin/passwords_controller.rb +0 -13
- data/app/controllers/admin/rendering_controller.rb +0 -15
- data/app/controllers/admin/sessions_controller.rb +0 -19
- data/app/controllers/admin/sitemaps_controller.rb +0 -16
- data/app/controllers/admin/sites_controller.rb +0 -32
- data/app/controllers/admin/snippets_controller.rb +0 -15
- data/app/controllers/admin/theme_assets_controller.rb +0 -50
- data/app/controllers/application_controller.rb +0 -11
- data/app/helpers/admin/accounts_helper.rb +0 -8
- data/app/helpers/admin/assets_helper.rb +0 -15
- data/app/helpers/admin/base_helper.rb +0 -54
- data/app/helpers/admin/box_helper.rb +0 -21
- data/app/helpers/admin/custom_fields_helper.rb +0 -36
- data/app/helpers/admin/pages_helper.rb +0 -51
- data/app/helpers/admin/sites_helper.rb +0 -24
- data/app/models/account.rb +0 -63
- data/app/models/asset.rb +0 -43
- data/app/models/asset_collection.rb +0 -81
- data/app/models/content_instance.rb +0 -95
- data/app/models/content_type.rb +0 -114
- data/app/models/editable_element.rb +0 -21
- data/app/models/editable_file.rb +0 -9
- data/app/models/editable_long_text.rb +0 -3
- data/app/models/editable_short_text.rb +0 -12
- data/app/models/extensions/asset/vignette.rb +0 -42
- data/app/models/extensions/page/editable_elements.rb +0 -111
- data/app/models/extensions/page/parse.rb +0 -107
- data/app/models/extensions/page/redirect.rb +0 -25
- data/app/models/extensions/page/render.rb +0 -13
- data/app/models/extensions/page/templatized.rb +0 -32
- data/app/models/extensions/page/tree.rb +0 -156
- data/app/models/membership.rb +0 -39
- data/app/models/page.rb +0 -104
- data/app/models/site.rb +0 -112
- data/app/models/snippet.rb +0 -64
- data/app/models/theme_asset.rb +0 -138
- data/app/uploaders/asset_uploader.rb +0 -73
- data/app/uploaders/editable_file_uploader.rb +0 -11
- data/app/uploaders/theme_asset_uploader.rb +0 -32
- data/app/uploaders/theme_uploader.rb +0 -19
- data/app/views/admin/accounts/new.html.haml +0 -22
- data/app/views/admin/asset_collections/_asset.html.haml +0 -7
- data/app/views/admin/asset_collections/edit.html.haml +0 -33
- data/app/views/admin/asset_collections/index.html.haml +0 -8
- data/app/views/admin/asset_collections/new.html.haml +0 -17
- data/app/views/admin/assets/_form.html.haml +0 -17
- data/app/views/admin/assets/edit.html.haml +0 -15
- data/app/views/admin/assets/new.html.haml +0 -12
- data/app/views/admin/content_types/_form.html.haml +0 -22
- data/app/views/admin/content_types/edit.html.haml +0 -18
- data/app/views/admin/content_types/new.html.haml +0 -17
- data/app/views/admin/contents/_form.html.haml +0 -5
- data/app/views/admin/contents/_list.html.haml +0 -15
- data/app/views/admin/contents/edit.html.haml +0 -16
- data/app/views/admin/contents/index.html.haml +0 -27
- data/app/views/admin/contents/new.html.haml +0 -15
- data/app/views/admin/cross_domain_sessions/new.html.haml +0 -14
- data/app/views/admin/current_sites/_form.html.haml +0 -50
- data/app/views/admin/current_sites/edit.html.haml +0 -16
- data/app/views/admin/custom_fields/_custom_form.html.haml +0 -31
- data/app/views/admin/custom_fields/_edit_field.html.haml +0 -10
- data/app/views/admin/custom_fields/_index.html.haml +0 -61
- data/app/views/admin/custom_fields/edit_category.html.haml +0 -43
- data/app/views/admin/errors/404.html.haml +0 -7
- data/app/views/admin/errors/500.html.haml +0 -7
- data/app/views/admin/imports/new.html.haml +0 -32
- data/app/views/admin/imports/show.html.haml +0 -19
- data/app/views/admin/installation/step_1.html.haml +0 -24
- data/app/views/admin/installation/step_2.html.haml +0 -26
- data/app/views/admin/installation/step_3.html.haml +0 -23
- data/app/views/admin/layouts/application.html.haml +0 -27
- data/app/views/admin/layouts/box.html.haml +0 -21
- data/app/views/admin/mailer/confirmation_instructions.html.haml +0 -8
- data/app/views/admin/mailer/reset_password_instructions.html.haml +0 -12
- data/app/views/admin/mailer/unlock_instructions.html.haml +0 -10
- data/app/views/admin/memberships/new.html.haml +0 -15
- data/app/views/admin/my_accounts/edit.html.haml +0 -46
- data/app/views/admin/pages/_editable_elements.html.haml +0 -35
- data/app/views/admin/pages/_form.html.haml +0 -38
- data/app/views/admin/pages/_page.html.haml +0 -18
- data/app/views/admin/pages/edit.html.haml +0 -15
- data/app/views/admin/pages/index.html.haml +0 -18
- data/app/views/admin/pages/new.html.haml +0 -12
- data/app/views/admin/passwords/edit.html.haml +0 -18
- data/app/views/admin/passwords/new.html.haml +0 -17
- data/app/views/admin/sessions/new.html.haml +0 -17
- data/app/views/admin/shared/_footer.html.haml +0 -2
- data/app/views/admin/shared/_form_actions.html.haml +0 -15
- data/app/views/admin/shared/_head.html.haml +0 -17
- data/app/views/admin/shared/_header.html.haml +0 -15
- data/app/views/admin/shared/_menu.html.haml +0 -5
- data/app/views/admin/shared/menu/_assets.html.haml +0 -7
- data/app/views/admin/shared/menu/_contents.html.haml +0 -27
- data/app/views/admin/shared/menu/_settings.html.haml +0 -5
- data/app/views/admin/sitemaps/show.xml.builder +0 -28
- data/app/views/admin/sites/_form.html.haml +0 -35
- data/app/views/admin/sites/new.html.haml +0 -12
- data/app/views/admin/snippets/_form.html.haml +0 -14
- data/app/views/admin/snippets/_snippet.html.haml +0 -8
- data/app/views/admin/snippets/edit.html.haml +0 -15
- data/app/views/admin/snippets/new.html.haml +0 -12
- data/app/views/admin/theme_assets/_asset.html.haml +0 -13
- data/app/views/admin/theme_assets/_form.html.haml +0 -37
- data/app/views/admin/theme_assets/edit.html.haml +0 -15
- data/app/views/admin/theme_assets/images.html.haml +0 -15
- data/app/views/admin/theme_assets/index.html.haml +0 -51
- data/app/views/admin/theme_assets/new.html.haml +0 -12
- data/config/application.rb +0 -50
- data/config/assets.yml +0 -97
- data/config/boot.rb +0 -6
- data/config/environment.rb +0 -5
- data/config/environments/development.rb +0 -30
- data/config/environments/production.rb +0 -48
- data/config/environments/test.rb +0 -35
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/carrierwave.rb +0 -17
- data/config/initializers/inflections.rb +0 -15
- data/config/initializers/locomotive.rb +0 -42
- data/config/initializers/mime_types.rb +0 -5
- data/config/initializers/rspec_generator.rb +0 -8
- data/config/initializers/secret_token.rb +0 -7
- data/config/locales/admin_ui_en.yml +0 -355
- data/config/locales/admin_ui_fr.yml +0 -354
- data/config/locales/default_en.yml +0 -32
- data/config/locales/default_fr.yml +0 -197
- data/config/mongoid.yml +0 -32
- data/lib/locomotive/admin_responder.rb +0 -28
- data/lib/locomotive/delayed_job.rb +0 -47
- data/lib/locomotive/heroku.rb +0 -61
- data/lib/locomotive/heroku/custom_domain.rb +0 -52
- data/lib/locomotive/import.rb +0 -9
- data/lib/locomotive/import/asset_collections.rb +0 -85
- data/lib/locomotive/import/assets.rb +0 -82
- data/lib/locomotive/import/base.rb +0 -46
- data/lib/locomotive/import/content_types.rb +0 -120
- data/lib/locomotive/import/job.rb +0 -168
- data/lib/locomotive/import/logger.rb +0 -13
- data/lib/locomotive/import/pages.rb +0 -188
- data/lib/locomotive/import/site.rb +0 -15
- data/lib/locomotive/import/snippets.rb +0 -21
- data/lib/locomotive/inherited_resources.rb +0 -47
- data/lib/locomotive/liquid/drops/asset.rb +0 -21
- data/lib/locomotive/liquid/drops/asset_collections.rb +0 -54
- data/lib/locomotive/liquid/drops/content.rb +0 -21
- data/lib/locomotive/liquid/drops/contents.rb +0 -66
- data/lib/locomotive/misc_form_builder.rb +0 -42
- data/lib/locomotive/railties/tasks.rake +0 -16
- data/lib/tasks/rspec.rake +0 -69
- data/public/images/admin/background/footer.png +0 -0
- data/public/images/admin/box/bottom_panel_bg.png +0 -0
- data/public/images/admin/box/buttons/left_bg.png +0 -0
- data/public/images/admin/box/buttons/right_bg.png +0 -0
- data/public/images/admin/box/content_panel_bg.png +0 -0
- data/public/images/admin/box/input_bg.png +0 -0
- data/public/images/admin/box/top_panel_bg.png +0 -0
- data/public/images/admin/buttons/action-left.png +0 -0
- data/public/images/admin/buttons/action-right.png +0 -0
- data/public/images/admin/buttons/add-left.png +0 -0
- data/public/images/admin/buttons/add-right.png +0 -0
- data/public/images/admin/buttons/dark-gray-bg.png +0 -0
- data/public/images/admin/buttons/dark-gray-left.png +0 -0
- data/public/images/admin/buttons/dark-gray-right.png +0 -0
- data/public/images/admin/buttons/emboss-left.png +0 -0
- data/public/images/admin/buttons/emboss-right.png +0 -0
- data/public/images/admin/buttons/gray-left.png +0 -0
- data/public/images/admin/buttons/gray-right.png +0 -0
- data/public/images/admin/buttons/light-gray-left.png +0 -0
- data/public/images/admin/buttons/light-gray-right.png +0 -0
- data/public/images/admin/buttons/search.png +0 -0
- data/public/images/admin/buttons/transparent-left.png +0 -0
- data/public/images/admin/buttons/transparent-right.png +0 -0
- data/public/images/admin/form/big_item-popup.png +0 -0
- data/public/images/admin/form/big_item.png +0 -0
- data/public/images/admin/form/error-arrow.png +0 -0
- data/public/images/admin/form/field.png +0 -0
- data/public/images/admin/form/folded.png +0 -0
- data/public/images/admin/form/footer-popup.png +0 -0
- data/public/images/admin/form/footer.png +0 -0
- data/public/images/admin/form/growl-error.png +0 -0
- data/public/images/admin/form/growl-notice.png +0 -0
- data/public/images/admin/form/header-first-on.png +0 -0
- data/public/images/admin/form/header-left-on.png +0 -0
- data/public/images/admin/form/header-on.png +0 -0
- data/public/images/admin/form/header-popup.png +0 -0
- data/public/images/admin/form/header-right-on.png +0 -0
- data/public/images/admin/form/header.png +0 -0
- data/public/images/admin/form/item-popup.png +0 -0
- data/public/images/admin/form/item.png +0 -0
- data/public/images/admin/form/pen.png +0 -0
- data/public/images/admin/icons/filetype/medium/AC3.png +0 -0
- data/public/images/admin/icons/filetype/medium/ACE.png +0 -0
- data/public/images/admin/icons/filetype/medium/ADE.png +0 -0
- data/public/images/admin/icons/filetype/medium/ADP.png +0 -0
- data/public/images/admin/icons/filetype/medium/AI.png +0 -0
- data/public/images/admin/icons/filetype/medium/AIFF.png +0 -0
- data/public/images/admin/icons/filetype/medium/AU.png +0 -0
- data/public/images/admin/icons/filetype/medium/AVI.png +0 -0
- data/public/images/admin/icons/filetype/medium/BAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/BIN.png +0 -0
- data/public/images/admin/icons/filetype/medium/BMP.png +0 -0
- data/public/images/admin/icons/filetype/medium/BUP.png +0 -0
- data/public/images/admin/icons/filetype/medium/CAB.png +0 -0
- data/public/images/admin/icons/filetype/medium/CAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/CHM.png +0 -0
- data/public/images/admin/icons/filetype/medium/CSS.png +0 -0
- data/public/images/admin/icons/filetype/medium/CUE.png +0 -0
- data/public/images/admin/icons/filetype/medium/DAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/DCR.png +0 -0
- data/public/images/admin/icons/filetype/medium/DER.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIC.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIVX.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIZ.png +0 -0
- data/public/images/admin/icons/filetype/medium/DLL.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOC.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOCX.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOS.png +0 -0
- data/public/images/admin/icons/filetype/medium/DVD.png +0 -0
- data/public/images/admin/icons/filetype/medium/DWG.png +0 -0
- data/public/images/admin/icons/filetype/medium/DWT.png +0 -0
- data/public/images/admin/icons/filetype/medium/EMF.png +0 -0
- data/public/images/admin/icons/filetype/medium/EXC.png +0 -0
- data/public/images/admin/icons/filetype/medium/FON.png +0 -0
- data/public/images/admin/icons/filetype/medium/GIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/HLP.png +0 -0
- data/public/images/admin/icons/filetype/medium/HTML.png +0 -0
- data/public/images/admin/icons/filetype/medium/IFO.png +0 -0
- data/public/images/admin/icons/filetype/medium/INF.png +0 -0
- data/public/images/admin/icons/filetype/medium/INI.png +0 -0
- data/public/images/admin/icons/filetype/medium/INS.png +0 -0
- data/public/images/admin/icons/filetype/medium/IP.png +0 -0
- data/public/images/admin/icons/filetype/medium/ISO.png +0 -0
- data/public/images/admin/icons/filetype/medium/ISP.png +0 -0
- data/public/images/admin/icons/filetype/medium/JAVA.png +0 -0
- data/public/images/admin/icons/filetype/medium/JFIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/JPEG.png +0 -0
- data/public/images/admin/icons/filetype/medium/JPG.png +0 -0
- data/public/images/admin/icons/filetype/medium/LOG.png +0 -0
- data/public/images/admin/icons/filetype/medium/M4A.png +0 -0
- data/public/images/admin/icons/filetype/medium/MID.png +0 -0
- data/public/images/admin/icons/filetype/medium/MMF.png +0 -0
- data/public/images/admin/icons/filetype/medium/MMM.png +0 -0
- data/public/images/admin/icons/filetype/medium/MOV.png +0 -0
- data/public/images/admin/icons/filetype/medium/MOVIE.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP2.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP2V.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP3.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP4.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPE.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPEG.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPG.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPV2.png +0 -0
- data/public/images/admin/icons/filetype/medium/NFO.png +0 -0
- data/public/images/admin/icons/filetype/medium/PDD.png +0 -0
- data/public/images/admin/icons/filetype/medium/PDF.png +0 -0
- data/public/images/admin/icons/filetype/medium/PHP.png +0 -0
- data/public/images/admin/icons/filetype/medium/PNG.png +0 -0
- data/public/images/admin/icons/filetype/medium/PPT.png +0 -0
- data/public/images/admin/icons/filetype/medium/PPTX.png +0 -0
- data/public/images/admin/icons/filetype/medium/PSD.png +0 -0
- data/public/images/admin/icons/filetype/medium/RAR.png +0 -0
- data/public/images/admin/icons/filetype/medium/REG.png +0 -0
- data/public/images/admin/icons/filetype/medium/RTF.png +0 -0
- data/public/images/admin/icons/filetype/medium/SCP.png +0 -0
- data/public/images/admin/icons/filetype/medium/THEME.png +0 -0
- data/public/images/admin/icons/filetype/medium/TIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TIFF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TLB.png +0 -0
- data/public/images/admin/icons/filetype/medium/TTF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TXT.png +0 -0
- data/public/images/admin/icons/filetype/medium/Thumbs.db +0 -0
- data/public/images/admin/icons/filetype/medium/UIS.png +0 -0
- data/public/images/admin/icons/filetype/medium/URL.png +0 -0
- data/public/images/admin/icons/filetype/medium/VBS.png +0 -0
- data/public/images/admin/icons/filetype/medium/VCR.png +0 -0
- data/public/images/admin/icons/filetype/medium/VOB.png +0 -0
- data/public/images/admin/icons/filetype/medium/WAV.png +0 -0
- data/public/images/admin/icons/filetype/medium/WBA.png +0 -0
- data/public/images/admin/icons/filetype/medium/WMA.png +0 -0
- data/public/images/admin/icons/filetype/medium/WMV.png +0 -0
- data/public/images/admin/icons/filetype/medium/WPL.png +0 -0
- data/public/images/admin/icons/filetype/medium/WRI.png +0 -0
- data/public/images/admin/icons/filetype/medium/WTX.png +0 -0
- data/public/images/admin/icons/filetype/medium/XLS.png +0 -0
- data/public/images/admin/icons/filetype/medium/XLSX.png +0 -0
- data/public/images/admin/icons/filetype/medium/XML.png +0 -0
- data/public/images/admin/icons/filetype/medium/XSL.png +0 -0
- data/public/images/admin/icons/filetype/medium/ZAP.png +0 -0
- data/public/images/admin/icons/filetype/medium/ZIP.png +0 -0
- data/public/images/admin/icons/filetype/medium/unknown.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AC3.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ACE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ADE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ADP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AIFF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AU.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AVI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BIN.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BMP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BUP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CAB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CHM.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CSS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CUE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DCR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DER.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIVX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIZ.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DLL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOCX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DVD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DWG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DWT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/EMF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/EXC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/FON.png +0 -0
- data/public/images/admin/icons/filetype/thumb/GIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/HLP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/HTML.png +0 -0
- data/public/images/admin/icons/filetype/thumb/IFO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/IP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ISO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ISP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JAVA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JFIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JPEG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JPG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/LOG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/M4A.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MID.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MMF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MMM.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MOV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MOVIE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP2.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP2V.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP3.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP4.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPEG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPV2.png +0 -0
- data/public/images/admin/icons/filetype/thumb/NFO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PDD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PDF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PHP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PNG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PPT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PPTX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PSD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/RAR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/REG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/RTF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/SCP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/THEME.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TIFF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TLB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TTF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TXT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/UIS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/URL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VBS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VCR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VOB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WAV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WBA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WMA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WMV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WPL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WRI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WTX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XLS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XLSX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XML.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XSL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ZAP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ZIP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/unknown.png +0 -0
- data/public/images/admin/inline_editor/action-left.png +0 -0
- data/public/images/admin/inline_editor/action-right.png +0 -0
- data/public/images/admin/inline_editor/bg.png +0 -0
- data/public/images/admin/inline_editor/drawer.png +0 -0
- data/public/images/admin/list/item-left.png +0 -0
- data/public/images/admin/list/item-right.png +0 -0
- data/public/images/admin/list/item.png +0 -0
- data/public/images/admin/list/none-small.png +0 -0
- data/public/images/admin/list/none.png +0 -0
- data/public/images/admin/list/thumb.png +0 -0
- data/public/images/admin/menu/arrow.png +0 -0
- data/public/images/admin/menu/blue-bg.png +0 -0
- data/public/images/admin/menu/blue-border.png +0 -0
- data/public/images/admin/menu/gray-bg.png +0 -0
- data/public/images/admin/menu/gray-border.png +0 -0
- data/public/images/admin/menu/green-bg.png +0 -0
- data/public/images/admin/menu/green-border.png +0 -0
- data/public/images/admin/menu/icons/assets.png +0 -0
- data/public/images/admin/menu/icons/folder.png +0 -0
- data/public/images/admin/menu/icons/settings.png +0 -0
- data/public/images/admin/menu/left.png +0 -0
- data/public/images/admin/menu/popup-body.png +0 -0
- data/public/images/admin/menu/popup-footer.png +0 -0
- data/public/images/admin/menu/popup-header.png +0 -0
- data/public/images/admin/menu/right.png +0 -0
- data/public/images/admin/menu/shadow.png +0 -0
- data/public/images/admin/menu/top-left.png +0 -0
- data/public/images/admin/menu/top.png +0 -0
- data/public/images/admin/plugins/fancybox/blank.gif +0 -0
- data/public/images/admin/plugins/fancybox/fancy_close.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_loading.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_nav_left.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_nav_right.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_e.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_n.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_ne.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_nw.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_s.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_se.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_sw.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_w.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_left.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_main.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_over.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_right.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox-x.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox-y.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox.png +0 -0
- data/public/images/admin/plugins/toggle_handle-bg.png +0 -0
- data/public/images/admin/plugins/toggle_handle_left-bg.png +0 -0
- data/public/images/admin/plugins/toggle_handle_right-bg.png +0 -0
- data/public/images/admin/plugins/toggle_shadow-bg.png +0 -0
- data/public/javascripts/admin/account.js +0 -5
- data/public/javascripts/admin/aloha/VERSION.txt +0 -2
- data/public/javascripts/admin/aloha/aloha-nodeps.js +0 -192
- data/public/javascripts/admin/aloha/aloha.js +0 -334
- data/public/javascripts/admin/aloha/css/aloha.css +0 -469
- data/public/javascripts/admin/aloha/deps/MIT-LICENSE.txt +0 -20
- data/public/javascripts/admin/aloha/deps/extjs/resources/charts.swf +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/css/ext-all.css +0 -6795
- data/public/javascripts/admin/aloha/deps/extjs/resources/css/xtheme-gray.css +0 -1654
- data/public/javascripts/admin/aloha/deps/extjs/resources/expressinstall.swf +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/corners-blue.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/corners.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/l-blue.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/l.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/r-blue.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/r.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/tb-blue.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/tb.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/arrow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/btn.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-cs.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-lr.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-tb.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-b-noline.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-b.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-bo.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-noline.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-o.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-add.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-no.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-yes.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/editor/tb-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/checkbox.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/clear-trigger.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/clear-trigger.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/date-trigger.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/date-trigger.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/error-tip-corners.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/exclamation.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/radio.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/search-trigger.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/search-trigger.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/text-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-square.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-square.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-tpl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/gradient-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/arrow-left-white.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/arrow-right-white.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/col-move-bottom.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/col-move-top.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/columns.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/dirty.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/done.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/drop-no.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/drop-yes.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/footer-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-blue-hd.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-blue-split.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-hrow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-loading.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-split.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-vista-hd.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hd-btn.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hrow-over.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hrow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-sel-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-by.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-collapse.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-expand-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-expand.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hd-pop.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-asc.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-desc.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/invalid_line.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/loading.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/mso-hd.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/nowait.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-first-disabled.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-first.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-last-disabled.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-last.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-next-disabled.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-next.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-prev-disabled.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-prev.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/pick-button.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/refresh.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-check-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-expand-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-over.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-sel.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort-hd.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort_asc.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort_desc.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/wait.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/collapse.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/expand.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/gradient-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-bottom.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-left.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-right.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-top.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/ns-collapse.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/ns-expand.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-close.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-title-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-title-light-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/stick.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/stuck.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/tab-close-on.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/tab-close.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/checked.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/group-checked.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/item-over.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/menu-parent.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/menu.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/unchecked.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/corners-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/left-right.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/light-hd.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tool-sprite-tpl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tool-sprites.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tools-sprites-trans.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/top-bottom.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/top-bottom.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-corners-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-left-right.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-top-bottom.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/progress/progress-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/close.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/tip-anchor-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/tip-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/s.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow-c.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow-lr.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/blue-loading.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/calendar.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/glass-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/hd-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/large-loading.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/left-btn.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/loading-balls.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/right-btn.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/warning.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/e-handle-dark.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/e-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/ne-handle-dark.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/ne-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/nw-handle-dark.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/nw-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/s-handle-dark.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/s-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/se-handle-dark.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/se-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/square.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/sw-handle-dark.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/sw-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-bg.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-thumb.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-v-bg.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-v-thumb.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroll-left.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroll-right.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroller-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-left-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-left-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-right-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-right-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-close.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-btm-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tabs-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow-light.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-over-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/gray-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/more.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-btn-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-btn-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-sep.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/arrows.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-add.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-between.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-no.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-over.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-under.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-yes.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus-nl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus-nl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-line.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-minus-nl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-minus.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-plus-nl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-plus.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/folder-open.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/folder.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/leaf.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/loading.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/s.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-error.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-info.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-question.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-warning.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-corners.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-corners.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-right.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-right.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/right-corners.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/right-corners.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/top-bottom.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/top-bottom.psd +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn-arrow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-cs.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-lr.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-tb.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/s-arrow-bo.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/s-arrow-o.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/clear-trigger.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/date-trigger.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/search-trigger.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/trigger-square.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/trigger.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/gradient-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/col-move-bottom.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/col-move-top.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hd-btn.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over2.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow2.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg2.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-sel-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-collapse.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-expand-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-expand.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-first.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-last.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-next.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-prev.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/refresh.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/row-expand-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/sort_asc.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/sort_desc.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/group-checked.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/item-over-disabled.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/item-over.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/menu-parent.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/corners-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/left-right.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/light-hd.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tool-sprite-tpl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tool-sprites.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tools-sprites-trans.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/top-bottom.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/top-bottom.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-corners-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-left-right.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-top-bottom.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/progress/progress-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/close.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/tip-anchor-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/tip-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/s.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/hd-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/left-btn.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/right-btn.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/e-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/ne-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/nw-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/s-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/se-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/square.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/sw-handle.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/slider/slider-thumb.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/slider/slider-v-thumb.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroll-left.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroll-right.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroller-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-left-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-left-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-right-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-right-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-close.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-btm-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tabs-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow-light.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-over-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/gray-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/more.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/tb-bg.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/tb-btn-sprite.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/arrows.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus-nl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus-nl.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-error.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-info.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-question.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-warning.gif +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-corners.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-corners.pspimage +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-right.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/right-corners.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/top-bottom.png +0 -0
- data/public/javascripts/admin/aloha/deps/extjs/resources/resources.jsb +0 -507
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/css/prettyPhoto.css +0 -386
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnNext.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnPrevious.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/contentPattern.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/loader.gif +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/sprite.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/btnNext.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/btnPrevious.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/contentPattern.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/loader.gif +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/sprite.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/btnNext.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/btnPrevious.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternBottom.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternLeft.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternRight.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternTop.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/loader.gif +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/sprite.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/btnNext.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/btnPrevious.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/loader.gif +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/sprite.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/btnNext.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/btnPrevious.png +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/loader.gif +0 -0
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/sprite.png +0 -0
- data/public/javascripts/admin/aloha/i18n/de.dict +0 -7
- data/public/javascripts/admin/aloha/i18n/en.dict +0 -7
- data/public/javascripts/admin/aloha/i18n/eo.dict +0 -5
- data/public/javascripts/admin/aloha/i18n/fi.dict +0 -5
- data/public/javascripts/admin/aloha/i18n/fr.dict +0 -5
- data/public/javascripts/admin/aloha/i18n/it.dict +0 -5
- data/public/javascripts/admin/aloha/i18n/pl.dict +0 -5
- data/public/javascripts/admin/aloha/i18n/ru.dict +0 -5
- data/public/javascripts/admin/aloha/images/base.gif +0 -0
- data/public/javascripts/admin/aloha/images/base.png +0 -0
- data/public/javascripts/admin/aloha/images/base_big.png +0 -0
- data/public/javascripts/admin/aloha/images/base_multi.png +0 -0
- data/public/javascripts/admin/aloha/images/fade_in.png +0 -0
- data/public/javascripts/admin/aloha/images/fade_out.png +0 -0
- data/public/javascripts/admin/aloha/images/gentics_logo.png +0 -0
- data/public/javascripts/admin/aloha/images/grabhandle.png +0 -0
- data/public/javascripts/admin/aloha/images/maximize.png +0 -0
- data/public/javascripts/admin/aloha/images/multisplit-close.gif +0 -0
- data/public/javascripts/admin/aloha/images/multisplit-open.gif +0 -0
- data/public/javascripts/admin/aloha/images/multisplit_base.jpg +0 -0
- data/public/javascripts/admin/aloha/images/pin.png +0 -0
- data/public/javascripts/admin/aloha/images/removeformat.png +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/examples/triSports.css +0 -86
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/examples/triSports.html +0 -44
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/de.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/en.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/fr.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/plugin.js +0 -1
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/product.js +0 -1
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/2xu-wetsuit.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/asics-noosa.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/fivefingers-kso.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/kuota-kueen-k.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/mizuno-wave-musha2.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/product.css +0 -69
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/product_button.gif +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/simplon-mrt.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/trek-fuel-ex.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/trisports.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/zoggs-predator.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/de.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/en.dict +0 -3
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/fi.dict +0 -3
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/fr.dict +0 -3
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/it.dict +0 -3
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/examples/AlohaAbbr.css +0 -48
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/examples/AlohaAbbr.html +0 -69
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/i18n/de.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/i18n/en.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/de.dict +0 -30
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/en.dict +0 -30
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/eo.dict +0 -29
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fi.dict +0 -30
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fr.dict +0 -30
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/it.dict +0 -30
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/pl.dict +0 -30
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/ru.dict +0 -30
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/css/HighlightEditables.css +0 -14
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/LinkList.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/css/Link.css +0 -15
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/delicious.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/de.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/en.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/fr.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/pl.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/ru.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/css/LinkChecker.css +0 -14
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/examples/AlohaLinkChecker.css +0 -49
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/examples/AlohaLinkChecker.html +0 -82
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/i18n/en.dict +0 -27
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/proxy.php +0 -235
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/de.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/en.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/eo.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fi.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fr.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/it.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/ru.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Paste/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Paste/wordpastehandler.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/i18n/de.dict +0 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/i18n/en.dict +0 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/plugin.js +0 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/de.dict +0 -14
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/en.dict +0 -14
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/eo.dict +0 -12
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fi.dict +0 -12
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fr.dict +0 -12
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/it.dict +0 -12
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/pl.dict +0 -12
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/ru.dict +0 -12
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/down.cur +0 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/left.cur +0 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/table.css +0 -112
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_green.png +0 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_red.png +0 -0
- data/public/javascripts/admin/application.js +0 -134
- data/public/javascripts/admin/asset_collections.js +0 -55
- data/public/javascripts/admin/assets.js +0 -5
- data/public/javascripts/admin/content_types.js +0 -16
- data/public/javascripts/admin/contents.js +0 -24
- data/public/javascripts/admin/custom_fields.js +0 -155
- data/public/javascripts/admin/custom_fields/category.js +0 -101
- data/public/javascripts/admin/editable_elements.js +0 -30
- data/public/javascripts/admin/import.js +0 -32
- data/public/javascripts/admin/inline_editor.js +0 -64
- data/public/javascripts/admin/inline_editor_toolbar.js +0 -170
- data/public/javascripts/admin/jquery.js +0 -154
- data/public/javascripts/admin/jquery.ui.js +0 -404
- data/public/javascripts/admin/locales/datepicker_fr.js +0 -18
- data/public/javascripts/admin/pages.js +0 -104
- data/public/javascripts/admin/plugins/codemirror/codemirror.js +0 -469
- data/public/javascripts/admin/plugins/codemirror/editor.js +0 -1465
- data/public/javascripts/admin/plugins/codemirror/highlight.js +0 -68
- data/public/javascripts/admin/plugins/codemirror/mirrorframe.js +0 -81
- data/public/javascripts/admin/plugins/codemirror/parsecss.js +0 -155
- data/public/javascripts/admin/plugins/codemirror/parsedummy.js +0 -32
- data/public/javascripts/admin/plugins/codemirror/parsehtmlmixed.js +0 -74
- data/public/javascripts/admin/plugins/codemirror/parsejavascript.js +0 -352
- data/public/javascripts/admin/plugins/codemirror/parseliquid.js +0 -409
- data/public/javascripts/admin/plugins/codemirror/parsesparql.js +0 -162
- data/public/javascripts/admin/plugins/codemirror/parsexml.js +0 -286
- data/public/javascripts/admin/plugins/codemirror/select.js +0 -619
- data/public/javascripts/admin/plugins/codemirror/stringstream.js +0 -140
- data/public/javascripts/admin/plugins/codemirror/tokenize.js +0 -57
- data/public/javascripts/admin/plugins/codemirror/tokenizejavascript.js +0 -174
- data/public/javascripts/admin/plugins/codemirror/undo.js +0 -410
- data/public/javascripts/admin/plugins/codemirror/util.js +0 -130
- data/public/javascripts/admin/plugins/fancybox.js +0 -1077
- data/public/javascripts/admin/plugins/imagepicker.js +0 -81
- data/public/javascripts/admin/plugins/json2.js +0 -478
- data/public/javascripts/admin/plugins/plupload/gears_init.js +0 -86
- data/public/javascripts/admin/plugins/plupload/jquery.plupload.queue.min.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.browserplus.min.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.flash.min.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.flash.swf +0 -0
- data/public/javascripts/admin/plugins/plupload/plupload.full.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.gears.min.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.html4.min.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.html5.min.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.silverlight.min.js +0 -1
- data/public/javascripts/admin/plugins/plupload/plupload.silverlight.xap +0 -0
- data/public/javascripts/admin/plugins/plupload/src/flash.js +0 -298
- data/public/javascripts/admin/plugins/plupload/src/plupload.js +0 -1333
- data/public/javascripts/admin/plugins/scrollTo.js +0 -11
- data/public/javascripts/admin/plugins/selectmenu.js +0 -527
- data/public/javascripts/admin/plugins/shortcut.js +0 -56
- data/public/javascripts/admin/plugins/smartupdater.js +0 -155
- data/public/javascripts/admin/plugins/subscribe.js +0 -367
- data/public/javascripts/admin/plugins/tiny_mce/langs/en.js +0 -170
- data/public/javascripts/admin/plugins/tiny_mce/langs/fr.js +0 -154
- data/public/javascripts/admin/plugins/tiny_mce/license.txt +0 -504
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/css/advhr.css +0 -5
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/editor_plugin_src.js +0 -57
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/js/rule.js +0 -43
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/langs/en_dlg.js +0 -5
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/rule.htm +0 -57
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/css/advlink.css +0 -8
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/editor_plugin_src.js +0 -61
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/js/advlink.js +0 -528
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/langs/en_dlg.js +0 -52
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/link.htm +0 -333
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advlist/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/advlist/editor_plugin_src.js +0 -154
- data/public/javascripts/admin/plugins/tiny_mce/plugins/autoresize/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/autoresize/editor_plugin_src.js +0 -119
- data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/editor_plugin_src.js +0 -422
- data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/langs/en.js +0 -4
- data/public/javascripts/admin/plugins/tiny_mce/plugins/bbcode/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/bbcode/editor_plugin_src.js +0 -120
- data/public/javascripts/admin/plugins/tiny_mce/plugins/contextmenu/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/contextmenu/editor_plugin_src.js +0 -147
- data/public/javascripts/admin/plugins/tiny_mce/plugins/directionality/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/directionality/editor_plugin_src.js +0 -82
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/editor_plugin_src.js +0 -43
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/emotions.htm +0 -40
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/js/emotions.js +0 -22
- data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/langs/en_dlg.js +0 -20
- data/public/javascripts/admin/plugins/tiny_mce/plugins/example/dialog.htm +0 -22
- data/public/javascripts/admin/plugins/tiny_mce/plugins/example/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/example/editor_plugin_src.js +0 -84
- data/public/javascripts/admin/plugins/tiny_mce/plugins/example/img/example.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/example/js/dialog.js +0 -19
- data/public/javascripts/admin/plugins/tiny_mce/plugins/example/langs/en.js +0 -3
- data/public/javascripts/admin/plugins/tiny_mce/plugins/example/langs/en_dlg.js +0 -3
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/css/fullpage.css +0 -182
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/editor_plugin_src.js +0 -153
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/fullpage.htm +0 -571
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/js/fullpage.js +0 -471
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/langs/en_dlg.js +0 -85
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/editor_plugin_src.js +0 -151
- data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -109
- data/public/javascripts/admin/plugins/tiny_mce/plugins/iespell/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/iespell/editor_plugin_src.js +0 -54
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +0 -635
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -90
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/locomotive/window.css +0 -72
- data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/template.htm +0 -387
- data/public/javascripts/admin/plugins/tiny_mce/plugins/insertdatetime/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +0 -83
- data/public/javascripts/admin/plugins/tiny_mce/plugins/layer/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/layer/editor_plugin_src.js +0 -212
- data/public/javascripts/admin/plugins/tiny_mce/plugins/legacyoutput/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +0 -136
- data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/css/locoimage.css +0 -110
- data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/editor_plugin_src.js +0 -46
- data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/image.htm +0 -62
- data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/img/sample.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/js/image.js +0 -172
- data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/langs/en_dlg.js +0 -9
- data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/langs/fr_dlg.js +0 -9
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/css/content.css +0 -6
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/css/media.css +0 -16
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/editor_plugin_src.js +0 -414
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/flash.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/flv_player.swf +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/quicktime.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/realmedia.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/shockwave.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/trans.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/js/embed.js +0 -73
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/js/media.js +0 -630
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/langs/en_dlg.js +0 -103
- data/public/javascripts/admin/plugins/tiny_mce/plugins/media/media.htm +0 -817
- data/public/javascripts/admin/plugins/tiny_mce/plugins/nonbreaking/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +0 -53
- data/public/javascripts/admin/plugins/tiny_mce/plugins/noneditable/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/noneditable/editor_plugin_src.js +0 -90
- data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/css/content.css +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/editor_plugin_src.js +0 -77
- data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/editor_plugin_src.js +0 -940
- data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/js/pastetext.js +0 -36
- data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/js/pasteword.js +0 -51
- data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/langs/en_dlg.js +0 -5
- data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/pastetext.htm +0 -27
- data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/pasteword.htm +0 -21
- data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/editor_plugin_src.js +0 -53
- data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/example.html +0 -28
- data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/jscripts/embed.js +0 -73
- data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/preview.html +0 -17
- data/public/javascripts/admin/plugins/tiny_mce/plugins/print/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/print/editor_plugin_src.js +0 -34
- data/public/javascripts/admin/plugins/tiny_mce/plugins/save/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/save/editor_plugin_src.js +0 -101
- data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/css/searchreplace.css +0 -6
- data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/editor_plugin_src.js +0 -57
- data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/js/searchreplace.js +0 -130
- data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/langs/en_dlg.js +0 -16
- data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/searchreplace.htm +0 -99
- data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/css/content.css +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/editor_plugin_src.js +0 -417
- data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/plugins/style/css/props.css +0 -13
- data/public/javascripts/admin/plugins/tiny_mce/plugins/style/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/style/editor_plugin_src.js +0 -55
- data/public/javascripts/admin/plugins/tiny_mce/plugins/style/js/props.js +0 -641
- data/public/javascripts/admin/plugins/tiny_mce/plugins/style/langs/en_dlg.js +0 -63
- data/public/javascripts/admin/plugins/tiny_mce/plugins/style/props.htm +0 -723
- data/public/javascripts/admin/plugins/tiny_mce/plugins/tabfocus/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/tabfocus/editor_plugin_src.js +0 -112
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/cell.htm +0 -178
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/cell.css +0 -17
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/row.css +0 -25
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/table.css +0 -13
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/editor_plugin_src.js +0 -1125
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/cell.js +0 -286
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/merge_cells.js +0 -27
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/row.js +0 -237
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/table.js +0 -449
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/langs/en_dlg.js +0 -74
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/merge_cells.htm +0 -32
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/row.htm +0 -155
- data/public/javascripts/admin/plugins/tiny_mce/plugins/table/table.htm +0 -187
- data/public/javascripts/admin/plugins/tiny_mce/plugins/template/blank.htm +0 -12
- data/public/javascripts/admin/plugins/tiny_mce/plugins/template/css/template.css +0 -23
- data/public/javascripts/admin/plugins/tiny_mce/plugins/template/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/template/editor_plugin_src.js +0 -159
- data/public/javascripts/admin/plugins/tiny_mce/plugins/template/js/template.js +0 -106
- data/public/javascripts/admin/plugins/tiny_mce/plugins/template/langs/en_dlg.js +0 -15
- data/public/javascripts/admin/plugins/tiny_mce/plugins/template/template.htm +0 -31
- data/public/javascripts/admin/plugins/tiny_mce/plugins/visualchars/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/visualchars/editor_plugin_src.js +0 -76
- data/public/javascripts/admin/plugins/tiny_mce/plugins/wordcount/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/wordcount/editor_plugin_src.js +0 -98
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/abbr.htm +0 -141
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/acronym.htm +0 -141
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/attributes.htm +0 -148
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/cite.htm +0 -141
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/css/attributes.css +0 -11
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/css/popup.css +0 -9
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/del.htm +0 -161
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -144
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/ins.htm +0 -161
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/abbr.js +0 -28
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/acronym.js +0 -28
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -126
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/cite.js +0 -28
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/del.js +0 -63
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/element_common.js +0 -231
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/ins.js +0 -62
- data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +0 -32
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/about.htm +0 -54
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/anchor.htm +0 -26
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/charmap.htm +0 -52
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/color_picker.htm +0 -73
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/editor_template.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/editor_template_src.js +0 -1194
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/image.htm +0 -80
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/about.js +0 -72
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/anchor.js +0 -37
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/charmap.js +0 -335
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/color_picker.js +0 -253
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/image.js +0 -245
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/link.js +0 -156
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/source_editor.js +0 -62
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/en.js +0 -62
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/en_dlg.js +0 -51
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/fr.js +0 -62
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/fr_dlg.js +0 -51
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/link.htm +0 -58
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/dialog.css +0 -61
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/ui.css +0 -997
- data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/source_editor.htm +0 -25
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/editor_template.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/editor_template_src.js +0 -85
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/langs/en.js +0 -11
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/default/content.css +0 -25
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/default/ui.css +0 -32
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/content.css +0 -17
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/ui.css +0 -35
- data/public/javascripts/admin/plugins/tiny_mce/tiny_mce.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/tiny_mce_popup.js +0 -5
- data/public/javascripts/admin/plugins/tiny_mce/tiny_mce_src.js +0 -13374
- data/public/javascripts/admin/plugins/tiny_mce/tinymce.js +0 -1
- data/public/javascripts/admin/plugins/tiny_mce/utils/editable_selects.js +0 -70
- data/public/javascripts/admin/plugins/tiny_mce/utils/form_utils.js +0 -200
- data/public/javascripts/admin/plugins/tiny_mce/utils/mctabs.js +0 -77
- data/public/javascripts/admin/plugins/tiny_mce/utils/validate.js +0 -220
- data/public/javascripts/admin/plugins/toggle.js +0 -112
- data/public/javascripts/admin/plugins/wslide.js +0 -125
- data/public/javascripts/admin/rails.js +0 -132
- data/public/javascripts/admin/site.js +0 -49
- data/public/javascripts/admin/snippets.js +0 -22
- data/public/javascripts/admin/theme_assets.js +0 -43
- data/public/javascripts/admin/utils.js +0 -16
- data/public/stylesheets/admin/application.css +0 -248
- data/public/stylesheets/admin/assets.css +0 -54
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/key.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/readme.txt +0 -32
- data/public/stylesheets/admin/blueprint/plugins/buttons/screen.css +0 -97
- data/public/stylesheets/admin/blueprint/plugins/fancy-type/readme.txt +0 -14
- data/public/stylesheets/admin/blueprint/plugins/fancy-type/screen.css +0 -71
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/readme.txt +0 -18
- data/public/stylesheets/admin/blueprint/plugins/link-icons/screen.css +0 -40
- data/public/stylesheets/admin/blueprint/plugins/rtl/readme.txt +0 -10
- data/public/stylesheets/admin/blueprint/plugins/rtl/screen.css +0 -109
- data/public/stylesheets/admin/blueprint/src/forms.css +0 -49
- data/public/stylesheets/admin/blueprint/src/grid.css +0 -213
- data/public/stylesheets/admin/blueprint/src/grid.png +0 -0
- data/public/stylesheets/admin/blueprint/src/ie.css +0 -59
- data/public/stylesheets/admin/blueprint/src/print.css +0 -85
- data/public/stylesheets/admin/blueprint/src/reset.css +0 -38
- data/public/stylesheets/admin/blueprint/src/typography.css +0 -105
- data/public/stylesheets/admin/box.css +0 -153
- data/public/stylesheets/admin/buttons.css +0 -55
- data/public/stylesheets/admin/editable_elements.css +0 -64
- data/public/stylesheets/admin/fancybox_changes.css +0 -101
- data/public/stylesheets/admin/formtastic.css +0 -137
- data/public/stylesheets/admin/formtastic_changes.css +0 -493
- data/public/stylesheets/admin/inline_editor.css +0 -107
- data/public/stylesheets/admin/installation.css +0 -50
- data/public/stylesheets/admin/layout.css +0 -198
- data/public/stylesheets/admin/menu.css +0 -241
- data/public/stylesheets/admin/plugins/codemirror/csscolors.css +0 -51
- data/public/stylesheets/admin/plugins/codemirror/docs.css +0 -50
- data/public/stylesheets/admin/plugins/codemirror/javascriptcolors.css +0 -56
- data/public/stylesheets/admin/plugins/codemirror/jscolors.css +0 -59
- data/public/stylesheets/admin/plugins/codemirror/liquidcolors.css +0 -35
- data/public/stylesheets/admin/plugins/codemirror/people.jpg +0 -0
- data/public/stylesheets/admin/plugins/codemirror/sparqlcolors.css +0 -43
- data/public/stylesheets/admin/plugins/codemirror/xmlcolors.css +0 -55
- data/public/stylesheets/admin/plugins/fancybox.css +0 -363
- data/public/stylesheets/admin/plugins/selectmenu.css +0 -64
- data/public/stylesheets/admin/plugins/tiny_mce.css +0 -105
- data/public/stylesheets/admin/plugins/toggle.css +0 -42
- data/public/stylesheets/admin/safari.css +0 -15
@@ -1,140 +0,0 @@
|
|
1
|
-
/* String streams are the things fed to parsers (which can feed them
|
2
|
-
* to a tokenizer if they want). They provide peek and next methods
|
3
|
-
* for looking at the current character (next 'consumes' this
|
4
|
-
* character, peek does not), and a get method for retrieving all the
|
5
|
-
* text that was consumed since the last time get was called.
|
6
|
-
*
|
7
|
-
* An easy mistake to make is to let a StopIteration exception finish
|
8
|
-
* the token stream while there are still characters pending in the
|
9
|
-
* string stream (hitting the end of the buffer while parsing a
|
10
|
-
* token). To make it easier to detect such errors, the stringstreams
|
11
|
-
* throw an exception when this happens.
|
12
|
-
*/
|
13
|
-
|
14
|
-
// Make a stringstream stream out of an iterator that returns strings.
|
15
|
-
// This is applied to the result of traverseDOM (see codemirror.js),
|
16
|
-
// and the resulting stream is fed to the parser.
|
17
|
-
var stringStream = function(source){
|
18
|
-
// String that's currently being iterated over.
|
19
|
-
var current = "";
|
20
|
-
// Position in that string.
|
21
|
-
var pos = 0;
|
22
|
-
// Accumulator for strings that have been iterated over but not
|
23
|
-
// get()-ed yet.
|
24
|
-
var accum = "";
|
25
|
-
// Make sure there are more characters ready, or throw
|
26
|
-
// StopIteration.
|
27
|
-
function ensureChars() {
|
28
|
-
while (pos == current.length) {
|
29
|
-
accum += current;
|
30
|
-
current = ""; // In case source.next() throws
|
31
|
-
pos = 0;
|
32
|
-
try {current = source.next();}
|
33
|
-
catch (e) {
|
34
|
-
if (e != StopIteration) throw e;
|
35
|
-
else return false;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
|
41
|
-
return {
|
42
|
-
// Return the next character in the stream.
|
43
|
-
peek: function() {
|
44
|
-
if (!ensureChars()) return null;
|
45
|
-
return current.charAt(pos);
|
46
|
-
},
|
47
|
-
// Get the next character, throw StopIteration if at end, check
|
48
|
-
// for unused content.
|
49
|
-
next: function() {
|
50
|
-
if (!ensureChars()) {
|
51
|
-
if (accum.length > 0)
|
52
|
-
throw "End of stringstream reached without emptying buffer ('" + accum + "').";
|
53
|
-
else
|
54
|
-
throw StopIteration;
|
55
|
-
}
|
56
|
-
return current.charAt(pos++);
|
57
|
-
},
|
58
|
-
// Return the characters iterated over since the last call to
|
59
|
-
// .get().
|
60
|
-
get: function() {
|
61
|
-
var temp = accum;
|
62
|
-
accum = "";
|
63
|
-
if (pos > 0){
|
64
|
-
temp += current.slice(0, pos);
|
65
|
-
current = current.slice(pos);
|
66
|
-
pos = 0;
|
67
|
-
}
|
68
|
-
return temp;
|
69
|
-
},
|
70
|
-
// Push a string back into the stream.
|
71
|
-
push: function(str) {
|
72
|
-
current = current.slice(0, pos) + str + current.slice(pos);
|
73
|
-
},
|
74
|
-
lookAhead: function(str, consume, skipSpaces, caseInsensitive) {
|
75
|
-
function cased(str) {return caseInsensitive ? str.toLowerCase() : str;}
|
76
|
-
str = cased(str);
|
77
|
-
var found = false;
|
78
|
-
|
79
|
-
var _accum = accum, _pos = pos;
|
80
|
-
if (skipSpaces) this.nextWhileMatches(/[\s\u00a0]/);
|
81
|
-
|
82
|
-
while (true) {
|
83
|
-
var end = pos + str.length, left = current.length - pos;
|
84
|
-
if (end <= current.length) {
|
85
|
-
found = str == cased(current.slice(pos, end));
|
86
|
-
pos = end;
|
87
|
-
break;
|
88
|
-
}
|
89
|
-
else if (str.slice(0, left) == cased(current.slice(pos))) {
|
90
|
-
accum += current; current = "";
|
91
|
-
try {current = source.next();}
|
92
|
-
catch (e) {break;}
|
93
|
-
pos = 0;
|
94
|
-
str = str.slice(left);
|
95
|
-
}
|
96
|
-
else {
|
97
|
-
break;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
if (!(found && consume)) {
|
102
|
-
current = accum.slice(_accum.length) + current;
|
103
|
-
pos = _pos;
|
104
|
-
accum = _accum;
|
105
|
-
}
|
106
|
-
|
107
|
-
return found;
|
108
|
-
},
|
109
|
-
|
110
|
-
// Utils built on top of the above
|
111
|
-
more: function() {
|
112
|
-
return this.peek() !== null;
|
113
|
-
},
|
114
|
-
applies: function(test) {
|
115
|
-
var next = this.peek();
|
116
|
-
return (next !== null && test(next));
|
117
|
-
},
|
118
|
-
nextWhile: function(test) {
|
119
|
-
var next;
|
120
|
-
while ((next = this.peek()) !== null && test(next))
|
121
|
-
this.next();
|
122
|
-
},
|
123
|
-
matches: function(re) {
|
124
|
-
var next = this.peek();
|
125
|
-
return (next !== null && re.test(next));
|
126
|
-
},
|
127
|
-
nextWhileMatches: function(re) {
|
128
|
-
var next;
|
129
|
-
while ((next = this.peek()) !== null && re.test(next))
|
130
|
-
this.next();
|
131
|
-
},
|
132
|
-
equals: function(ch) {
|
133
|
-
return ch === this.peek();
|
134
|
-
},
|
135
|
-
endOfLine: function() {
|
136
|
-
var next = this.peek();
|
137
|
-
return next == null || next == "\n";
|
138
|
-
}
|
139
|
-
};
|
140
|
-
};
|
@@ -1,57 +0,0 @@
|
|
1
|
-
// A framework for simple tokenizers. Takes care of newlines and
|
2
|
-
// white-space, and of getting the text from the source stream into
|
3
|
-
// the token object. A state is a function of two arguments -- a
|
4
|
-
// string stream and a setState function. The second can be used to
|
5
|
-
// change the tokenizer's state, and can be ignored for stateless
|
6
|
-
// tokenizers. This function should advance the stream over a token
|
7
|
-
// and return a string or object containing information about the next
|
8
|
-
// token, or null to pass and have the (new) state be called to finish
|
9
|
-
// the token. When a string is given, it is wrapped in a {style, type}
|
10
|
-
// object. In the resulting object, the characters consumed are stored
|
11
|
-
// under the content property. Any whitespace following them is also
|
12
|
-
// automatically consumed, and added to the value property. (Thus,
|
13
|
-
// content is the actual meaningful part of the token, while value
|
14
|
-
// contains all the text it spans.)
|
15
|
-
|
16
|
-
function tokenizer(source, state) {
|
17
|
-
// Newlines are always a separate token.
|
18
|
-
function isWhiteSpace(ch) {
|
19
|
-
// The messy regexp is because IE's regexp matcher is of the
|
20
|
-
// opinion that non-breaking spaces are no whitespace.
|
21
|
-
return ch != "\n" && /^[\s\u00a0]*$/.test(ch);
|
22
|
-
}
|
23
|
-
|
24
|
-
var tokenizer = {
|
25
|
-
state: state,
|
26
|
-
|
27
|
-
take: function(type) {
|
28
|
-
if (typeof(type) == "string")
|
29
|
-
type = {style: type, type: type};
|
30
|
-
|
31
|
-
type.content = (type.content || "") + source.get();
|
32
|
-
if (!/\n$/.test(type.content))
|
33
|
-
source.nextWhile(isWhiteSpace);
|
34
|
-
type.value = type.content + source.get();
|
35
|
-
return type;
|
36
|
-
},
|
37
|
-
|
38
|
-
next: function () {
|
39
|
-
if (!source.more()) throw StopIteration;
|
40
|
-
|
41
|
-
var type;
|
42
|
-
if (source.equals("\n")) {
|
43
|
-
source.next();
|
44
|
-
return this.take("whitespace");
|
45
|
-
}
|
46
|
-
|
47
|
-
if (source.applies(isWhiteSpace))
|
48
|
-
type = "whitespace";
|
49
|
-
else
|
50
|
-
while (!type)
|
51
|
-
type = this.state(source, function(s) {tokenizer.state = s;});
|
52
|
-
|
53
|
-
return this.take(type);
|
54
|
-
}
|
55
|
-
};
|
56
|
-
return tokenizer;
|
57
|
-
}
|
@@ -1,174 +0,0 @@
|
|
1
|
-
/* Tokenizer for JavaScript code */
|
2
|
-
|
3
|
-
var tokenizeJavaScript = (function() {
|
4
|
-
// Advance the stream until the given character (not preceded by a
|
5
|
-
// backslash) is encountered, or the end of the line is reached.
|
6
|
-
function nextUntilUnescaped(source, end) {
|
7
|
-
var escaped = false;
|
8
|
-
while (!source.endOfLine()) {
|
9
|
-
var next = source.next();
|
10
|
-
if (next == end && !escaped)
|
11
|
-
return false;
|
12
|
-
escaped = !escaped && next == "\\";
|
13
|
-
}
|
14
|
-
return escaped;
|
15
|
-
}
|
16
|
-
|
17
|
-
// A map of JavaScript's keywords. The a/b/c keyword distinction is
|
18
|
-
// very rough, but it gives the parser enough information to parse
|
19
|
-
// correct code correctly (we don't care that much how we parse
|
20
|
-
// incorrect code). The style information included in these objects
|
21
|
-
// is used by the highlighter to pick the correct CSS style for a
|
22
|
-
// token.
|
23
|
-
var keywords = function(){
|
24
|
-
function result(type, style){
|
25
|
-
return {type: type, style: "js-" + style};
|
26
|
-
}
|
27
|
-
// keywords that take a parenthised expression, and then a
|
28
|
-
// statement (if)
|
29
|
-
var keywordA = result("keyword a", "keyword");
|
30
|
-
// keywords that take just a statement (else)
|
31
|
-
var keywordB = result("keyword b", "keyword");
|
32
|
-
// keywords that optionally take an expression, and form a
|
33
|
-
// statement (return)
|
34
|
-
var keywordC = result("keyword c", "keyword");
|
35
|
-
var operator = result("operator", "keyword");
|
36
|
-
var atom = result("atom", "atom");
|
37
|
-
return {
|
38
|
-
"if": keywordA, "while": keywordA, "with": keywordA,
|
39
|
-
"else": keywordB, "do": keywordB, "try": keywordB, "finally": keywordB,
|
40
|
-
"return": keywordC, "break": keywordC, "continue": keywordC, "new": keywordC, "delete": keywordC, "throw": keywordC,
|
41
|
-
"in": operator, "typeof": operator, "instanceof": operator,
|
42
|
-
"var": result("var", "keyword"), "function": result("function", "keyword"), "catch": result("catch", "keyword"),
|
43
|
-
"for": result("for", "keyword"), "switch": result("switch", "keyword"),
|
44
|
-
"case": result("case", "keyword"), "default": result("default", "keyword"),
|
45
|
-
"true": atom, "false": atom, "null": atom, "undefined": atom, "NaN": atom, "Infinity": atom
|
46
|
-
};
|
47
|
-
}();
|
48
|
-
|
49
|
-
// Some helper regexps
|
50
|
-
var isOperatorChar = /[+\-*&%=<>!?|]/;
|
51
|
-
var isHexDigit = /[0-9A-Fa-f]/;
|
52
|
-
var isWordChar = /[\w\$_]/;
|
53
|
-
|
54
|
-
// Wrapper around jsToken that helps maintain parser state (whether
|
55
|
-
// we are inside of a multi-line comment and whether the next token
|
56
|
-
// could be a regular expression).
|
57
|
-
function jsTokenState(inside, regexp) {
|
58
|
-
return function(source, setState) {
|
59
|
-
var newInside = inside;
|
60
|
-
var type = jsToken(inside, regexp, source, function(c) {newInside = c;});
|
61
|
-
var newRegexp = type.type == "operator" || type.type == "keyword c" || type.type.match(/^[\[{}\(,;:]$/);
|
62
|
-
if (newRegexp != regexp || newInside != inside)
|
63
|
-
setState(jsTokenState(newInside, newRegexp));
|
64
|
-
return type;
|
65
|
-
};
|
66
|
-
}
|
67
|
-
|
68
|
-
// The token reader, intended to be used by the tokenizer from
|
69
|
-
// tokenize.js (through jsTokenState). Advances the source stream
|
70
|
-
// over a token, and returns an object containing the type and style
|
71
|
-
// of that token.
|
72
|
-
function jsToken(inside, regexp, source, setInside) {
|
73
|
-
function readHexNumber(){
|
74
|
-
source.next(); // skip the 'x'
|
75
|
-
source.nextWhileMatches(isHexDigit);
|
76
|
-
return {type: "number", style: "js-atom"};
|
77
|
-
}
|
78
|
-
|
79
|
-
function readNumber() {
|
80
|
-
source.nextWhileMatches(/[0-9]/);
|
81
|
-
if (source.equals(".")){
|
82
|
-
source.next();
|
83
|
-
source.nextWhileMatches(/[0-9]/);
|
84
|
-
}
|
85
|
-
if (source.equals("e") || source.equals("E")){
|
86
|
-
source.next();
|
87
|
-
if (source.equals("-"))
|
88
|
-
source.next();
|
89
|
-
source.nextWhileMatches(/[0-9]/);
|
90
|
-
}
|
91
|
-
return {type: "number", style: "js-atom"};
|
92
|
-
}
|
93
|
-
// Read a word, look it up in keywords. If not found, it is a
|
94
|
-
// variable, otherwise it is a keyword of the type found.
|
95
|
-
function readWord() {
|
96
|
-
source.nextWhileMatches(isWordChar);
|
97
|
-
var word = source.get();
|
98
|
-
var known = keywords.hasOwnProperty(word) && keywords.propertyIsEnumerable(word) && keywords[word];
|
99
|
-
return known ? {type: known.type, style: known.style, content: word} :
|
100
|
-
{type: "variable", style: "js-variable", content: word};
|
101
|
-
}
|
102
|
-
function readRegexp() {
|
103
|
-
nextUntilUnescaped(source, "/");
|
104
|
-
source.nextWhileMatches(/[gi]/);
|
105
|
-
return {type: "regexp", style: "js-string"};
|
106
|
-
}
|
107
|
-
// Mutli-line comments are tricky. We want to return the newlines
|
108
|
-
// embedded in them as regular newline tokens, and then continue
|
109
|
-
// returning a comment token for every line of the comment. So
|
110
|
-
// some state has to be saved (inside) to indicate whether we are
|
111
|
-
// inside a /* */ sequence.
|
112
|
-
function readMultilineComment(start){
|
113
|
-
var newInside = "/*";
|
114
|
-
var maybeEnd = (start == "*");
|
115
|
-
while (true) {
|
116
|
-
if (source.endOfLine())
|
117
|
-
break;
|
118
|
-
var next = source.next();
|
119
|
-
if (next == "/" && maybeEnd){
|
120
|
-
newInside = null;
|
121
|
-
break;
|
122
|
-
}
|
123
|
-
maybeEnd = (next == "*");
|
124
|
-
}
|
125
|
-
setInside(newInside);
|
126
|
-
return {type: "comment", style: "js-comment"};
|
127
|
-
}
|
128
|
-
function readOperator() {
|
129
|
-
source.nextWhileMatches(isOperatorChar);
|
130
|
-
return {type: "operator", style: "js-operator"};
|
131
|
-
}
|
132
|
-
function readString(quote) {
|
133
|
-
var endBackSlash = nextUntilUnescaped(source, quote);
|
134
|
-
setInside(endBackSlash ? quote : null);
|
135
|
-
return {type: "string", style: "js-string"};
|
136
|
-
}
|
137
|
-
|
138
|
-
// Fetch the next token. Dispatches on first character in the
|
139
|
-
// stream, or first two characters when the first is a slash.
|
140
|
-
if (inside == "\"" || inside == "'")
|
141
|
-
return readString(inside);
|
142
|
-
var ch = source.next();
|
143
|
-
if (inside == "/*")
|
144
|
-
return readMultilineComment(ch);
|
145
|
-
else if (ch == "\"" || ch == "'")
|
146
|
-
return readString(ch);
|
147
|
-
// with punctuation, the type of the token is the symbol itself
|
148
|
-
else if (/[\[\]{}\(\),;\:\.]/.test(ch))
|
149
|
-
return {type: ch, style: "js-punctuation"};
|
150
|
-
else if (ch == "0" && (source.equals("x") || source.equals("X")))
|
151
|
-
return readHexNumber();
|
152
|
-
else if (/[0-9]/.test(ch))
|
153
|
-
return readNumber();
|
154
|
-
else if (ch == "/"){
|
155
|
-
if (source.equals("*"))
|
156
|
-
{ source.next(); return readMultilineComment(ch); }
|
157
|
-
else if (source.equals("/"))
|
158
|
-
{ nextUntilUnescaped(source, null); return {type: "comment", style: "js-comment"};}
|
159
|
-
else if (regexp)
|
160
|
-
return readRegexp();
|
161
|
-
else
|
162
|
-
return readOperator();
|
163
|
-
}
|
164
|
-
else if (isOperatorChar.test(ch))
|
165
|
-
return readOperator();
|
166
|
-
else
|
167
|
-
return readWord();
|
168
|
-
}
|
169
|
-
|
170
|
-
// The external interface to the tokenizer.
|
171
|
-
return function(source, startState) {
|
172
|
-
return tokenizer(source, startState || jsTokenState(false, true));
|
173
|
-
};
|
174
|
-
})();
|
@@ -1,410 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Storage and control for undo information within a CodeMirror
|
3
|
-
* editor. 'Why on earth is such a complicated mess required for
|
4
|
-
* that?', I hear you ask. The goal, in implementing this, was to make
|
5
|
-
* the complexity of storing and reverting undo information depend
|
6
|
-
* only on the size of the edited or restored content, not on the size
|
7
|
-
* of the whole document. This makes it necessary to use a kind of
|
8
|
-
* 'diff' system, which, when applied to a DOM tree, causes some
|
9
|
-
* complexity and hackery.
|
10
|
-
*
|
11
|
-
* In short, the editor 'touches' BR elements as it parses them, and
|
12
|
-
* the History stores these. When nothing is touched in commitDelay
|
13
|
-
* milliseconds, the changes are committed: It goes over all touched
|
14
|
-
* nodes, throws out the ones that did not change since last commit or
|
15
|
-
* are no longer in the document, and assembles the rest into zero or
|
16
|
-
* more 'chains' -- arrays of adjacent lines. Links back to these
|
17
|
-
* chains are added to the BR nodes, while the chain that previously
|
18
|
-
* spanned these nodes is added to the undo history. Undoing a change
|
19
|
-
* means taking such a chain off the undo history, restoring its
|
20
|
-
* content (text is saved per line) and linking it back into the
|
21
|
-
* document.
|
22
|
-
*/
|
23
|
-
|
24
|
-
// A history object needs to know about the DOM container holding the
|
25
|
-
// document, the maximum amount of undo levels it should store, the
|
26
|
-
// delay (of no input) after which it commits a set of changes, and,
|
27
|
-
// unfortunately, the 'parent' window -- a window that is not in
|
28
|
-
// designMode, and on which setTimeout works in every browser.
|
29
|
-
function History(container, maxDepth, commitDelay, editor) {
|
30
|
-
this.container = container;
|
31
|
-
this.maxDepth = maxDepth; this.commitDelay = commitDelay;
|
32
|
-
this.editor = editor; this.parent = editor.parent;
|
33
|
-
// This line object represents the initial, empty editor.
|
34
|
-
var initial = {text: "", from: null, to: null};
|
35
|
-
// As the borders between lines are represented by BR elements, the
|
36
|
-
// start of the first line and the end of the last one are
|
37
|
-
// represented by null. Since you can not store any properties
|
38
|
-
// (links to line objects) in null, these properties are used in
|
39
|
-
// those cases.
|
40
|
-
this.first = initial; this.last = initial;
|
41
|
-
// Similarly, a 'historyTouched' property is added to the BR in
|
42
|
-
// front of lines that have already been touched, and 'firstTouched'
|
43
|
-
// is used for the first line.
|
44
|
-
this.firstTouched = false;
|
45
|
-
// History is the set of committed changes, touched is the set of
|
46
|
-
// nodes touched since the last commit.
|
47
|
-
this.history = []; this.redoHistory = []; this.touched = [];
|
48
|
-
}
|
49
|
-
|
50
|
-
History.prototype = {
|
51
|
-
// Schedule a commit (if no other touches come in for commitDelay
|
52
|
-
// milliseconds).
|
53
|
-
scheduleCommit: function() {
|
54
|
-
var self = this;
|
55
|
-
this.parent.clearTimeout(this.commitTimeout);
|
56
|
-
this.commitTimeout = this.parent.setTimeout(function(){self.tryCommit();}, this.commitDelay);
|
57
|
-
},
|
58
|
-
|
59
|
-
// Mark a node as touched. Null is a valid argument.
|
60
|
-
touch: function(node) {
|
61
|
-
this.setTouched(node);
|
62
|
-
this.scheduleCommit();
|
63
|
-
},
|
64
|
-
|
65
|
-
// Undo the last change.
|
66
|
-
undo: function() {
|
67
|
-
// Make sure pending changes have been committed.
|
68
|
-
this.commit();
|
69
|
-
|
70
|
-
if (this.history.length) {
|
71
|
-
// Take the top diff from the history, apply it, and store its
|
72
|
-
// shadow in the redo history.
|
73
|
-
var item = this.history.pop();
|
74
|
-
this.redoHistory.push(this.updateTo(item, "applyChain"));
|
75
|
-
this.notifyEnvironment();
|
76
|
-
return this.chainNode(item);
|
77
|
-
}
|
78
|
-
},
|
79
|
-
|
80
|
-
// Redo the last undone change.
|
81
|
-
redo: function() {
|
82
|
-
this.commit();
|
83
|
-
if (this.redoHistory.length) {
|
84
|
-
// The inverse of undo, basically.
|
85
|
-
var item = this.redoHistory.pop();
|
86
|
-
this.addUndoLevel(this.updateTo(item, "applyChain"));
|
87
|
-
this.notifyEnvironment();
|
88
|
-
return this.chainNode(item);
|
89
|
-
}
|
90
|
-
},
|
91
|
-
|
92
|
-
clear: function() {
|
93
|
-
this.history = [];
|
94
|
-
this.redoHistory = [];
|
95
|
-
},
|
96
|
-
|
97
|
-
// Ask for the size of the un/redo histories.
|
98
|
-
historySize: function() {
|
99
|
-
return {undo: this.history.length, redo: this.redoHistory.length};
|
100
|
-
},
|
101
|
-
|
102
|
-
// Push a changeset into the document.
|
103
|
-
push: function(from, to, lines) {
|
104
|
-
var chain = [];
|
105
|
-
for (var i = 0; i < lines.length; i++) {
|
106
|
-
var end = (i == lines.length - 1) ? to : this.container.ownerDocument.createElement("BR");
|
107
|
-
chain.push({from: from, to: end, text: cleanText(lines[i])});
|
108
|
-
from = end;
|
109
|
-
}
|
110
|
-
this.pushChains([chain], from == null && to == null);
|
111
|
-
this.notifyEnvironment();
|
112
|
-
},
|
113
|
-
|
114
|
-
pushChains: function(chains, doNotHighlight) {
|
115
|
-
this.commit(doNotHighlight);
|
116
|
-
this.addUndoLevel(this.updateTo(chains, "applyChain"));
|
117
|
-
this.redoHistory = [];
|
118
|
-
},
|
119
|
-
|
120
|
-
// Retrieve a DOM node from a chain (for scrolling to it after undo/redo).
|
121
|
-
chainNode: function(chains) {
|
122
|
-
for (var i = 0; i < chains.length; i++) {
|
123
|
-
var start = chains[i][0], node = start && (start.from || start.to);
|
124
|
-
if (node) return node;
|
125
|
-
}
|
126
|
-
},
|
127
|
-
|
128
|
-
// Clear the undo history, make the current document the start
|
129
|
-
// position.
|
130
|
-
reset: function() {
|
131
|
-
this.history = []; this.redoHistory = [];
|
132
|
-
},
|
133
|
-
|
134
|
-
textAfter: function(br) {
|
135
|
-
return this.after(br).text;
|
136
|
-
},
|
137
|
-
|
138
|
-
nodeAfter: function(br) {
|
139
|
-
return this.after(br).to;
|
140
|
-
},
|
141
|
-
|
142
|
-
nodeBefore: function(br) {
|
143
|
-
return this.before(br).from;
|
144
|
-
},
|
145
|
-
|
146
|
-
// Commit unless there are pending dirty nodes.
|
147
|
-
tryCommit: function() {
|
148
|
-
if (!window.History) return; // Stop when frame has been unloaded
|
149
|
-
if (this.editor.highlightDirty()) this.commit(true);
|
150
|
-
else this.scheduleCommit();
|
151
|
-
},
|
152
|
-
|
153
|
-
// Check whether the touched nodes hold any changes, if so, commit
|
154
|
-
// them.
|
155
|
-
commit: function(doNotHighlight) {
|
156
|
-
this.parent.clearTimeout(this.commitTimeout);
|
157
|
-
// Make sure there are no pending dirty nodes.
|
158
|
-
if (!doNotHighlight) this.editor.highlightDirty(true);
|
159
|
-
// Build set of chains.
|
160
|
-
var chains = this.touchedChains(), self = this;
|
161
|
-
|
162
|
-
if (chains.length) {
|
163
|
-
this.addUndoLevel(this.updateTo(chains, "linkChain"));
|
164
|
-
this.redoHistory = [];
|
165
|
-
this.notifyEnvironment();
|
166
|
-
}
|
167
|
-
},
|
168
|
-
|
169
|
-
// [ end of public interface ]
|
170
|
-
|
171
|
-
// Update the document with a given set of chains, return its
|
172
|
-
// shadow. updateFunc should be "applyChain" or "linkChain". In the
|
173
|
-
// second case, the chains are taken to correspond the the current
|
174
|
-
// document, and only the state of the line data is updated. In the
|
175
|
-
// first case, the content of the chains is also pushed iinto the
|
176
|
-
// document.
|
177
|
-
updateTo: function(chains, updateFunc) {
|
178
|
-
var shadows = [], dirty = [];
|
179
|
-
for (var i = 0; i < chains.length; i++) {
|
180
|
-
shadows.push(this.shadowChain(chains[i]));
|
181
|
-
dirty.push(this[updateFunc](chains[i]));
|
182
|
-
}
|
183
|
-
if (updateFunc == "applyChain")
|
184
|
-
this.notifyDirty(dirty);
|
185
|
-
return shadows;
|
186
|
-
},
|
187
|
-
|
188
|
-
// Notify the editor that some nodes have changed.
|
189
|
-
notifyDirty: function(nodes) {
|
190
|
-
forEach(nodes, method(this.editor, "addDirtyNode"))
|
191
|
-
this.editor.scheduleHighlight();
|
192
|
-
},
|
193
|
-
|
194
|
-
notifyEnvironment: function() {
|
195
|
-
// Used by the line-wrapping line-numbering code.
|
196
|
-
if (window.frameElement && window.frameElement.CodeMirror.updateNumbers)
|
197
|
-
window.frameElement.CodeMirror.updateNumbers();
|
198
|
-
if (this.onChange) this.onChange();
|
199
|
-
},
|
200
|
-
|
201
|
-
// Link a chain into the DOM nodes (or the first/last links for null
|
202
|
-
// nodes).
|
203
|
-
linkChain: function(chain) {
|
204
|
-
for (var i = 0; i < chain.length; i++) {
|
205
|
-
var line = chain[i];
|
206
|
-
if (line.from) line.from.historyAfter = line;
|
207
|
-
else this.first = line;
|
208
|
-
if (line.to) line.to.historyBefore = line;
|
209
|
-
else this.last = line;
|
210
|
-
}
|
211
|
-
},
|
212
|
-
|
213
|
-
// Get the line object after/before a given node.
|
214
|
-
after: function(node) {
|
215
|
-
return node ? node.historyAfter : this.first;
|
216
|
-
},
|
217
|
-
before: function(node) {
|
218
|
-
return node ? node.historyBefore : this.last;
|
219
|
-
},
|
220
|
-
|
221
|
-
// Mark a node as touched if it has not already been marked.
|
222
|
-
setTouched: function(node) {
|
223
|
-
if (node) {
|
224
|
-
if (!node.historyTouched) {
|
225
|
-
this.touched.push(node);
|
226
|
-
node.historyTouched = true;
|
227
|
-
}
|
228
|
-
}
|
229
|
-
else {
|
230
|
-
this.firstTouched = true;
|
231
|
-
}
|
232
|
-
},
|
233
|
-
|
234
|
-
// Store a new set of undo info, throw away info if there is more of
|
235
|
-
// it than allowed.
|
236
|
-
addUndoLevel: function(diffs) {
|
237
|
-
this.history.push(diffs);
|
238
|
-
if (this.history.length > this.maxDepth)
|
239
|
-
this.history.shift();
|
240
|
-
},
|
241
|
-
|
242
|
-
// Build chains from a set of touched nodes.
|
243
|
-
touchedChains: function() {
|
244
|
-
var self = this;
|
245
|
-
|
246
|
-
// The temp system is a crummy hack to speed up determining
|
247
|
-
// whether a (currently touched) node has a line object associated
|
248
|
-
// with it. nullTemp is used to store the object for the first
|
249
|
-
// line, other nodes get it stored in their historyTemp property.
|
250
|
-
var nullTemp = null;
|
251
|
-
function temp(node) {return node ? node.historyTemp : nullTemp;}
|
252
|
-
function setTemp(node, line) {
|
253
|
-
if (node) node.historyTemp = line;
|
254
|
-
else nullTemp = line;
|
255
|
-
}
|
256
|
-
|
257
|
-
function buildLine(node) {
|
258
|
-
var text = [];
|
259
|
-
for (var cur = node ? node.nextSibling : self.container.firstChild;
|
260
|
-
cur && !isBR(cur); cur = cur.nextSibling)
|
261
|
-
if (cur.currentText) text.push(cur.currentText);
|
262
|
-
return {from: node, to: cur, text: cleanText(text.join(""))};
|
263
|
-
}
|
264
|
-
|
265
|
-
// Filter out unchanged lines and nodes that are no longer in the
|
266
|
-
// document. Build up line objects for remaining nodes.
|
267
|
-
var lines = [];
|
268
|
-
if (self.firstTouched) self.touched.push(null);
|
269
|
-
forEach(self.touched, function(node) {
|
270
|
-
if (node && node.parentNode != self.container) return;
|
271
|
-
|
272
|
-
if (node) node.historyTouched = false;
|
273
|
-
else self.firstTouched = false;
|
274
|
-
|
275
|
-
var line = buildLine(node), shadow = self.after(node);
|
276
|
-
if (!shadow || shadow.text != line.text || shadow.to != line.to) {
|
277
|
-
lines.push(line);
|
278
|
-
setTemp(node, line);
|
279
|
-
}
|
280
|
-
});
|
281
|
-
|
282
|
-
// Get the BR element after/before the given node.
|
283
|
-
function nextBR(node, dir) {
|
284
|
-
var link = dir + "Sibling", search = node[link];
|
285
|
-
while (search && !isBR(search))
|
286
|
-
search = search[link];
|
287
|
-
return search;
|
288
|
-
}
|
289
|
-
|
290
|
-
// Assemble line objects into chains by scanning the DOM tree
|
291
|
-
// around them.
|
292
|
-
var chains = []; self.touched = [];
|
293
|
-
forEach(lines, function(line) {
|
294
|
-
// Note that this makes the loop skip line objects that have
|
295
|
-
// been pulled into chains by lines before them.
|
296
|
-
if (!temp(line.from)) return;
|
297
|
-
|
298
|
-
var chain = [], curNode = line.from, safe = true;
|
299
|
-
// Put any line objects (referred to by temp info) before this
|
300
|
-
// one on the front of the array.
|
301
|
-
while (true) {
|
302
|
-
var curLine = temp(curNode);
|
303
|
-
if (!curLine) {
|
304
|
-
if (safe) break;
|
305
|
-
else curLine = buildLine(curNode);
|
306
|
-
}
|
307
|
-
chain.unshift(curLine);
|
308
|
-
setTemp(curNode, null);
|
309
|
-
if (!curNode) break;
|
310
|
-
safe = self.after(curNode);
|
311
|
-
curNode = nextBR(curNode, "previous");
|
312
|
-
}
|
313
|
-
curNode = line.to; safe = self.before(line.from);
|
314
|
-
// Add lines after this one at end of array.
|
315
|
-
while (true) {
|
316
|
-
if (!curNode) break;
|
317
|
-
var curLine = temp(curNode);
|
318
|
-
if (!curLine) {
|
319
|
-
if (safe) break;
|
320
|
-
else curLine = buildLine(curNode);
|
321
|
-
}
|
322
|
-
chain.push(curLine);
|
323
|
-
setTemp(curNode, null);
|
324
|
-
safe = self.before(curNode);
|
325
|
-
curNode = nextBR(curNode, "next");
|
326
|
-
}
|
327
|
-
chains.push(chain);
|
328
|
-
});
|
329
|
-
|
330
|
-
return chains;
|
331
|
-
},
|
332
|
-
|
333
|
-
// Find the 'shadow' of a given chain by following the links in the
|
334
|
-
// DOM nodes at its start and end.
|
335
|
-
shadowChain: function(chain) {
|
336
|
-
var shadows = [], next = this.after(chain[0].from), end = chain[chain.length - 1].to;
|
337
|
-
while (true) {
|
338
|
-
shadows.push(next);
|
339
|
-
var nextNode = next.to;
|
340
|
-
if (!nextNode || nextNode == end)
|
341
|
-
break;
|
342
|
-
else
|
343
|
-
next = nextNode.historyAfter || this.before(end);
|
344
|
-
// (The this.before(end) is a hack -- FF sometimes removes
|
345
|
-
// properties from BR nodes, in which case the best we can hope
|
346
|
-
// for is to not break.)
|
347
|
-
}
|
348
|
-
return shadows;
|
349
|
-
},
|
350
|
-
|
351
|
-
// Update the DOM tree to contain the lines specified in a given
|
352
|
-
// chain, link this chain into the DOM nodes.
|
353
|
-
applyChain: function(chain) {
|
354
|
-
// Some attempt is made to prevent the cursor from jumping
|
355
|
-
// randomly when an undo or redo happens. It still behaves a bit
|
356
|
-
// strange sometimes.
|
357
|
-
var cursor = select.cursorPos(this.container, false), self = this;
|
358
|
-
|
359
|
-
// Remove all nodes in the DOM tree between from and to (null for
|
360
|
-
// start/end of container).
|
361
|
-
function removeRange(from, to) {
|
362
|
-
var pos = from ? from.nextSibling : self.container.firstChild;
|
363
|
-
while (pos != to) {
|
364
|
-
var temp = pos.nextSibling;
|
365
|
-
removeElement(pos);
|
366
|
-
pos = temp;
|
367
|
-
}
|
368
|
-
}
|
369
|
-
|
370
|
-
var start = chain[0].from, end = chain[chain.length - 1].to;
|
371
|
-
// Clear the space where this change has to be made.
|
372
|
-
removeRange(start, end);
|
373
|
-
|
374
|
-
// Insert the content specified by the chain into the DOM tree.
|
375
|
-
for (var i = 0; i < chain.length; i++) {
|
376
|
-
var line = chain[i];
|
377
|
-
// The start and end of the space are already correct, but BR
|
378
|
-
// tags inside it have to be put back.
|
379
|
-
if (i > 0)
|
380
|
-
self.container.insertBefore(line.from, end);
|
381
|
-
|
382
|
-
// Add the text.
|
383
|
-
var node = makePartSpan(fixSpaces(line.text), this.container.ownerDocument);
|
384
|
-
self.container.insertBefore(node, end);
|
385
|
-
// See if the cursor was on this line. Put it back, adjusting
|
386
|
-
// for changed line length, if it was.
|
387
|
-
if (cursor && cursor.node == line.from) {
|
388
|
-
var cursordiff = 0;
|
389
|
-
var prev = this.after(line.from);
|
390
|
-
if (prev && i == chain.length - 1) {
|
391
|
-
// Only adjust if the cursor is after the unchanged part of
|
392
|
-
// the line.
|
393
|
-
for (var match = 0; match < cursor.offset &&
|
394
|
-
line.text.charAt(match) == prev.text.charAt(match); match++);
|
395
|
-
if (cursor.offset > match)
|
396
|
-
cursordiff = line.text.length - prev.text.length;
|
397
|
-
}
|
398
|
-
select.setCursorPos(this.container, {node: line.from, offset: Math.max(0, cursor.offset + cursordiff)});
|
399
|
-
}
|
400
|
-
// Cursor was in removed line, this is last new line.
|
401
|
-
else if (cursor && (i == chain.length - 1) && cursor.node && cursor.node.parentNode != this.container) {
|
402
|
-
select.setCursorPos(this.container, {node: line.from, offset: line.text.length});
|
403
|
-
}
|
404
|
-
}
|
405
|
-
|
406
|
-
// Anchor the chain in the DOM tree.
|
407
|
-
this.linkChain(chain);
|
408
|
-
return start;
|
409
|
-
}
|
410
|
-
};
|