noodall-ui 0.4.11 → 0.5.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/Gemfile +2 -1
- data/MIT-LICENSE +20 -0
- data/Rakefile +50 -10
- data/{public → app/assets}/images/admin/add-small.png +0 -0
- data/{public → app/assets}/images/admin/add.png +0 -0
- data/{public → app/assets}/images/admin/add_file.gif +0 -0
- data/{public → app/assets}/images/admin/advanced.gif +0 -0
- data/{public → app/assets}/images/admin/back.png +0 -0
- data/{public → app/assets}/images/admin/cancel-small.gif +0 -0
- data/{public → app/assets}/images/admin/cancel.gif +0 -0
- data/{public → app/assets}/images/admin/change-bg.gif +0 -0
- data/{public → app/assets}/images/admin/change.gif +0 -0
- data/{public → app/assets}/images/admin/check.png +0 -0
- data/{public → app/assets}/images/admin/clear.gif +0 -0
- data/{public → app/assets}/images/admin/close.png +0 -0
- data/{public → app/assets}/images/admin/create.gif +0 -0
- data/{public → app/assets}/images/admin/delete.gif +0 -0
- data/{public → app/assets}/images/admin/delete.png +0 -0
- data/{public → app/assets}/images/admin/doc-icon.png +0 -0
- data/{public → app/assets}/images/admin/document.png +0 -0
- data/{public → app/assets}/images/admin/down.png +0 -0
- data/{public → app/assets}/images/admin/download.png +0 -0
- data/{public → app/assets}/images/admin/draft.gif +0 -0
- data/{public → app/assets}/images/admin/edit.gif +0 -0
- data/{public → app/assets}/images/admin/edit.png +0 -0
- data/{public → app/assets}/images/admin/hidden.png +0 -0
- data/{public → app/assets}/images/admin/hide.gif +0 -0
- data/{public → app/assets}/images/admin/image.png +0 -0
- data/{public → app/assets}/images/admin/image_choices.png +0 -0
- data/{public → app/assets}/images/admin/image_small.png +0 -0
- data/{public → app/assets}/images/admin/info-white.png +0 -0
- data/{public → app/assets}/images/admin/info.png +0 -0
- data/{public → app/assets}/images/admin/media.gif +0 -0
- data/{public → app/assets}/images/admin/nav-2.gif +0 -0
- data/{public → app/assets}/images/admin/nav.gif +0 -0
- data/{public → app/assets}/images/admin/next.png +0 -0
- data/{public → app/assets}/images/admin/no-type-icon.png +0 -0
- data/{public → app/assets}/images/admin/pagination.gif +0 -0
- data/{public → app/assets}/images/admin/pdf-icon.png +0 -0
- data/{public → app/assets}/images/admin/prev.png +0 -0
- data/{public → app/assets}/images/admin/preview.gif +0 -0
- data/{public → app/assets}/images/admin/publish.gif +0 -0
- data/{public → app/assets}/images/admin/remove.gif +0 -0
- data/{public → app/assets}/images/admin/reset.gif +0 -0
- data/{public → app/assets}/images/admin/select_image.gif +0 -0
- data/{public → app/assets}/images/admin/select_images.gif +0 -0
- data/{public → app/assets}/images/admin/set.gif +0 -0
- data/{public → app/assets}/images/admin/sort.png +0 -0
- data/{public → app/assets}/images/admin/tag.png +0 -0
- data/{public → app/assets}/images/admin/templates/article-page.gif +0 -0
- data/{public → app/assets}/images/admin/templates/articles-list.gif +0 -0
- data/{public → app/assets}/images/admin/templates/course-page.gif +0 -0
- data/{public → app/assets}/images/admin/templates/event-page.gif +0 -0
- data/{public → app/assets}/images/admin/templates/events-list.gif +0 -0
- data/{public → app/assets}/images/admin/templates/home.gif +0 -0
- data/{public → app/assets}/images/admin/templates/landing-page.gif +0 -0
- data/{public → app/assets}/images/admin/templates/page-a.gif +0 -0
- data/{public → app/assets}/images/admin/templates/page-b.gif +0 -0
- data/{public → app/assets}/images/admin/templates/school-landing-page.gif +0 -0
- data/{public → app/assets}/images/admin/templates/study-landing-page.gif +0 -0
- data/{public → app/assets}/images/admin/top-level.png +0 -0
- data/{public → app/assets}/images/admin/top-level_small.png +0 -0
- data/{public → app/assets}/images/admin/txt-icon.png +0 -0
- data/{public → app/assets}/images/admin/uncheck.png +0 -0
- data/{public → app/assets}/images/admin/up.png +0 -0
- data/{public → app/assets}/images/admin/update.gif +0 -0
- data/{public → app/assets}/images/admin/upload.png +0 -0
- data/{public → app/assets}/images/admin/versions.gif +0 -0
- data/{public → app/assets}/images/admin/video.png +0 -0
- data/{public → app/assets}/images/admin/view.png +0 -0
- data/{public → app/assets}/images/admin/xls-icon.png +0 -0
- data/{public → app/assets}/images/admin/youtube.gif +0 -0
- data/{public → app/assets}/javascripts/admin/application.js +10 -4
- data/{public → app/assets}/javascripts/admin/asset_edit.js +0 -0
- data/{public → app/assets}/javascripts/admin/assets.js +7 -7
- data/{public → app/assets}/javascripts/admin/nodes.js +0 -0
- data/{public → app/assets}/javascripts/admin/tiny_mce_config.js +7 -7
- data/app/assets/javascripts/admin.js +4 -0
- data/{public → app/assets}/javascripts/ajaxify.js +0 -0
- data/{public → app/assets}/javascripts/rails.js +0 -0
- data/{public → app/assets}/stylesheets/admin/forms.css +20 -20
- data/{public → app/assets}/stylesheets/admin/handheld.css +0 -0
- data/{public → app/assets}/stylesheets/admin/ie.css +0 -0
- data/{public → app/assets}/stylesheets/admin/ie6.css +0 -0
- data/{public → app/assets}/stylesheets/admin/ie8.css +0 -0
- data/{public → app/assets}/stylesheets/admin/layout.css +1 -1
- data/{public → app/assets}/stylesheets/admin/print.css +0 -0
- data/{public → app/assets}/stylesheets/admin/reset.css +0 -0
- data/{public → app/assets}/stylesheets/admin/skin.css +27 -27
- data/{public → app/assets}/stylesheets/admin/tinymce.css +0 -0
- data/{public → app/assets}/stylesheets/admin/typography.css +0 -0
- data/app/assets/stylesheets/admin.css +8 -0
- data/{log/.gitignore → app/controllers/.gitkeep} +0 -0
- data/app/controllers/noodall/admin/assets_controller.rb +3 -3
- data/app/controllers/noodall/admin/nodes_controller.rb +8 -0
- data/app/controllers/noodall/nodes_controller.rb +2 -1
- data/{public/favicon.ico → app/helpers/.gitkeep} +0 -0
- data/app/helpers/noodall/admin/nodes_helper.rb +1 -1
- data/{tmp/.gitignore → app/mailers/.gitkeep} +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/views/.gitkeep +0 -0
- data/app/views/layouts/noodall_admin.html.erb +5 -5
- data/app/views/noodall/admin/nodes/_branch.html.erb +5 -10
- data/app/views/noodall/admin/nodes/tree.html.erb +1 -1
- data/app/views/noodall/nodes/{sitemap.xml.rxml → sitemap.xml.builder} +2 -2
- data/config/routes.rb +2 -0
- data/features/sitemap.feature +1 -1
- data/features/step_definitions/asset_steps.rb +1 -1
- data/features/step_definitions/cms_node_steps.rb +1 -1
- data/features/step_definitions/component_steps.rb +4 -4
- data/features/support/env.rb +1 -1
- data/features/support/mm_factory_steps.rb +3 -0
- data/lib/noodall/engine.rb +6 -2
- data/lib/noodall/ui/version.rb +1 -1
- data/lib/tasks/noodall-ui_tasks.rake +4 -0
- data/noodall-ui.gemspec +1 -1
- data/public/javascripts/admin.js +0 -0
- data/public/stylesheets/admin.css +2822 -0
- data/script/rails +3 -3
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +7 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/{demo → spec/dummy/app}/controllers/application_controller.rb +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/{demo → spec/dummy/app}/models/gallery.rb +0 -0
- data/{demo → spec/dummy/app}/models/page_a.rb +0 -0
- data/{demo → spec/dummy/app}/models/page_b.rb +0 -0
- data/{demo → spec/dummy/app}/models/page_c.rb +0 -0
- data/{demo → spec/dummy/app}/models/promo.rb +0 -0
- data/{demo → spec/dummy/app}/models/user.rb +0 -0
- data/{demo → spec/dummy/app}/views/admin/components/_gallery.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/admin/components/_promo.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/admin/nodes/_home.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/admin/nodes/_page_a.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/admin/nodes/_page_b.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/admin/nodes/_page_c.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/components/_gallery.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/components/_promo.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/layouts/application.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/nodes/page_a.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/nodes/page_a.rss.builder +0 -0
- data/{demo → spec/dummy/app}/views/nodes/page_b.html.erb +0 -0
- data/{demo → spec/dummy/app}/views/nodes/page_c.html.erb +0 -0
- data/spec/dummy/config/application.rb +50 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/{config → spec/dummy/config}/database.yml +0 -0
- data/{config → spec/dummy/config}/environment.rb +1 -1
- data/{config → spec/dummy/config}/environments/development.rb +10 -7
- data/{config → spec/dummy/config}/environments/production.rb +25 -15
- data/{config → spec/dummy/config}/environments/test.rb +9 -31
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/{demo → spec/dummy/config}/initializers/mongo_mapper.rb +0 -0
- data/{demo → spec/dummy/config}/initializers/noodall.rb +0 -0
- data/{demo → spec/dummy/config}/initializers/secret_token.rb +1 -1
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/{demo → spec/dummy/config}/initializers/zdragonfly.rb +0 -0
- data/{config → spec/dummy/config}/locales/en.yml +1 -1
- data/spec/dummy/config/routes.rb +3 -0
- data/{config.ru → spec/dummy/config.ru} +1 -1
- data/{demo → spec/dummy/db}/seeds.rb +0 -0
- data/spec/{factories → dummy/factories}/asset.rb +4 -4
- data/spec/{factories → dummy/factories}/node.rb +0 -0
- data/spec/{factories → dummy/factories}/user.rb +0 -0
- data/spec/{files → dummy/files}/beef.png +0 -0
- data/spec/{files → dummy/files}/get_video.flv +0 -0
- data/spec/{files → dummy/files}/test.pdf +0 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/{public → vendor/assets}/images/fancybox/blank.gif +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_close.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_loading.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_nav_left.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_nav_right.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_shadow_e.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_shadow_n.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_shadow_ne.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_shadow_nw.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_shadow_s.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_shadow_se.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_shadow_sw.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_shadow_w.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_title_left.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_title_main.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_title_over.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancy_title_right.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancybox-x.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancybox-y.png +0 -0
- data/{public → vendor/assets}/images/fancybox/fancybox.png +0 -0
- data/{public → vendor/assets}/images/plupload/backgrounds.gif +0 -0
- data/{public → vendor/assets}/images/plupload/buttons-disabled.png +0 -0
- data/{public → vendor/assets}/images/plupload/buttons.png +0 -0
- data/{public → vendor/assets}/images/plupload/delete.gif +0 -0
- data/{public → vendor/assets}/images/plupload/done.gif +0 -0
- data/{public → vendor/assets}/images/plupload/error.gif +0 -0
- data/{public → vendor/assets}/images/plupload/throbber.gif +0 -0
- data/{public → vendor/assets}/images/plupload/transp50.png +0 -0
- data/{public → vendor/assets}/javascripts/carousel.lite.js +0 -0
- data/vendor/assets/javascripts/fancybox.js +1156 -0
- data/{public → vendor/assets}/javascripts/plupload/gears_init.js +0 -0
- data/{public → vendor/assets}/javascripts/plupload/jquery.plupload.queue.min.js +0 -0
- data/{public → vendor/assets}/javascripts/plupload/plupload.flash.swf +0 -0
- data/{public → vendor/assets}/javascripts/plupload/plupload.full.min.js +0 -0
- data/{public → vendor/assets}/javascripts/plupload/plupload.silverlight.xap +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/jquery.tinymce.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/langs/en.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/license.txt +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/addvideo.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/img/youtube.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/js/addvideo.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/langs/en.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/css/advhr.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/js/rule.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/rule.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/css/advimage.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/image.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/js/image.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/css/advlink.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/js/advlink.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/link.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autolink/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autolink/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autosave/langs/en.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/emotions.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/js/emotions.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/template.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/layer/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/lists/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/lists/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/css/content.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/css/media.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/flv_player.swf +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/js/embed.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/js/media.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/media.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/moxieplayer.swf +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/css/content.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/js/pastetext.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/js/pasteword.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/pastetext.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/pasteword.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/example.html +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/preview.html +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/print/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/save/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/spellchecker/css/content.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/css/props.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/js/props.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/props.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/cell.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/css/cell.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/css/row.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/css/table.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/js/cell.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/js/merge_cells.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/js/row.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/js/table.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/merge_cells.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/row.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/table.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/blank.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/css/template.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/js/template.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/template.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/about.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/anchor.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/charmap.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/color_picker.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/editor_template.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/editor_template_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/image.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/flash.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/iframe.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/trans.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/video.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/about.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/anchor.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/charmap.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/color_picker.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/image.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/link.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/source_editor.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/langs/en.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/link.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/shortcuts.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/content.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/source_editor.htm +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/editor_template.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/editor_template_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/langs/en.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/default/content.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/default/ui.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/tiny_mce.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/tiny_mce_popup.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/tiny_mce_src.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/utils/editable_selects.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/utils/form_utils.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/utils/mctabs.js +0 -0
- data/{public → vendor/assets}/javascripts/tiny_mce/utils/validate.js +0 -0
- data/{public → vendor/assets}/stylesheets/ellipsis.xml +0 -0
- data/vendor/assets/stylesheets/fancybox.css +359 -0
- data/{public → vendor/assets}/stylesheets/plupload.queue.css +0 -0
- metadata +475 -465
- data/config/application.rb +0 -31
- data/config/boot.rb +0 -13
- data/demo/initializers/session_store.rb +0 -8
- data/demo/routes.rb +0 -3
- data/public/404.html +0 -77
- data/public/422.html +0 -76
- data/public/500.html +0 -77
- data/public/features.html +0 -252
- data/public/images/404-search.png +0 -0
- data/public/javascripts/admin/jquery.jqtransform.js +0 -366
- data/public/javascripts/admin/tiny_mce_config.js.orig +0 -147
- data/public/javascripts/application.js +0 -32
- data/public/javascripts/fancybox.js +0 -1078
- data/public/stylesheets/admin/fancybox.css +0 -341
- data/public/stylesheets/fancybox.css +0 -313
- data/public/stylesheets/forms.css +0 -7
- data/public/stylesheets/ie.css +0 -12
- data/public/stylesheets/ie8.css +0 -8
- data/public/stylesheets/layout.css +0 -31
- data/public/stylesheets/reset.css +0 -84
- data/public/stylesheets/skin.css +0 -22
- data/public/stylesheets/typography.css +0 -162
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -4,7 +4,7 @@ source 'http://gems.github.com'
|
|
4
4
|
gemspec
|
5
5
|
|
6
6
|
# Required for running as demo rails app
|
7
|
-
gem 'rails', '
|
7
|
+
gem 'rails', '3.1.0'
|
8
8
|
gem 'dragonfly', '~> 0.9.4'
|
9
9
|
gem 'mm-versionable', '0.2.5'
|
10
10
|
|
@@ -20,6 +20,7 @@ group :development, :test do
|
|
20
20
|
gem 'spork'
|
21
21
|
gem 'launchy' # So you can do Then show me the page
|
22
22
|
gem 'jeweler', '~> 1.4.0'
|
23
|
+
gem 'factory_girl'
|
23
24
|
gem 'factory_girl_rails'
|
24
25
|
gem "faker", "~> 0.3.1"
|
25
26
|
gem "bson_ext"
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2011 YOURNAME
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
CHANGED
@@ -1,17 +1,57 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
begin
|
3
|
+
require 'bundler/setup'
|
4
|
+
rescue LoadError
|
5
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
|
+
end
|
7
|
+
begin
|
8
|
+
require 'rdoc/task'
|
9
|
+
rescue LoadError
|
10
|
+
require 'rdoc/rdoc'
|
11
|
+
require 'rake/rdoctask'
|
12
|
+
RDoc::Task = Rake::RDocTask
|
13
|
+
end
|
14
|
+
|
15
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
16
|
+
rdoc.rdoc_dir = 'rdoc'
|
17
|
+
rdoc.title = 'NoodallUi'
|
18
|
+
rdoc.options << '--line-numbers'
|
19
|
+
rdoc.rdoc_files.include('README.rdoc')
|
20
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
|
+
end
|
22
|
+
|
23
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
24
|
+
load 'rails/tasks/engine.rake'
|
25
|
+
|
26
|
+
|
3
27
|
Bundler::GemHelper.install_tasks
|
4
|
-
require "rspec/core/rake_task"
|
5
|
-
require "noodall-core"
|
6
28
|
|
7
|
-
|
29
|
+
require 'rake/testtask'
|
8
30
|
|
9
|
-
|
10
|
-
|
31
|
+
Rake::TestTask.new(:test) do |t|
|
32
|
+
t.libs << 'lib'
|
33
|
+
t.libs << 'test'
|
34
|
+
t.pattern = 'test/**/*_test.rb'
|
35
|
+
t.verbose = false
|
11
36
|
end
|
12
37
|
|
13
|
-
|
38
|
+
desc "Compile assets for rails 3.0.x"
|
39
|
+
task :compile_assets do
|
40
|
+
require 'sprockets'
|
41
|
+
|
42
|
+
sprockets = Sprockets::Environment.new
|
43
|
+
|
44
|
+
sprockets.append_path(File.expand_path("../app/assets/javascripts", __FILE__))
|
45
|
+
sprockets.append_path(File.expand_path("../app/assets/stylesheets", __FILE__))
|
46
|
+
sprockets.append_path(File.expand_path("../vendor/assets/stylesheets", __FILE__))
|
47
|
+
sprockets.append_path(File.expand_path("../vendor/assets/javascripts", __FILE__))
|
48
|
+
|
49
|
+
css = sprockets.find_asset("admin.css")
|
50
|
+
css.write_to(File.expand_path("../public/stylesheets/admin.css", __FILE__))
|
51
|
+
js = sprockets.find_asset("admin.js")
|
52
|
+
js.write_to(File.expand_path("../public/javascripts/admin.js", __FILE__))
|
53
|
+
|
54
|
+
end
|
14
55
|
|
15
|
-
require File.expand_path('../config/application', __FILE__)
|
16
56
|
|
17
|
-
|
57
|
+
task :default => :test
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Turn off
|
1
|
+
// Turn off fancy box keypresses
|
2
2
|
$.fn.fancybox.defaults.enableEscapeButton = false;
|
3
3
|
|
4
4
|
// We should remove once JQuery UI is updated
|
@@ -149,10 +149,15 @@ $(document).ready(function() {
|
|
149
149
|
'onComplete': Component.fancy_open_slot
|
150
150
|
});
|
151
151
|
|
152
|
+
$('a.slot_link').click(function(e){
|
153
|
+
e.stopImmediatePropagation();
|
154
|
+
return false;
|
155
|
+
});
|
156
|
+
|
152
157
|
// Preview
|
153
158
|
preview_link = $('<a class="preview" href="#preview-pane" title="Content Preview">Preview</a>');
|
154
159
|
|
155
|
-
$("body#nodes.show #
|
160
|
+
$("body#nodes.show #publish").after(preview_link);
|
156
161
|
|
157
162
|
// Using selectors as latest version of webkit does not like binding to objects
|
158
163
|
$('a.preview').fancybox({
|
@@ -184,7 +189,7 @@ $(document).ready(function() {
|
|
184
189
|
axis: 'y',
|
185
190
|
handle: 'img'
|
186
191
|
});
|
187
|
-
|
192
|
+
|
188
193
|
$('#versions-button').fancybox({'autoDimensions':false});
|
189
194
|
|
190
195
|
// Add emptys div for browsers/preview
|
@@ -231,6 +236,7 @@ var Component = {
|
|
231
236
|
Component.last_slot_index = target.attr('id').replace(/[^_]+_slot_(\d+)_type/i, "$1");
|
232
237
|
},
|
233
238
|
fancy_open_slot: function(args) {
|
239
|
+
console.log('here');
|
234
240
|
Component.open_slot(args[0]);
|
235
241
|
},
|
236
242
|
open_slot: function(slot_link) {
|
@@ -420,7 +426,7 @@ function open_component_form(e) {
|
|
420
426
|
Component.slot_form.find('li.multi-file').last().hide();
|
421
427
|
Component.slot_form.find('textarea.lite-editor').tinymce(lite_tiny_mce_config);
|
422
428
|
});
|
423
|
-
}
|
429
|
+
}
|
424
430
|
|
425
431
|
function clear_component_form(e) {
|
426
432
|
slot_form = $(e.target).closest('div.component_form');
|
File without changes
|
@@ -1,9 +1,9 @@
|
|
1
1
|
function setUpAssets() {
|
2
|
-
document.write('<link rel="stylesheet" href="/
|
3
|
-
document.write('<script type="text/javascript" src="/
|
2
|
+
document.write('<link rel="stylesheet" href="/assets/plupload.queue.css" type="text/css" media="screen" charset="utf-8">');
|
3
|
+
document.write('<script type="text/javascript" src="/assets/plupload/gears_init.js"></script>');
|
4
4
|
document.write('<script type="text/javascript" src="http://bp.yahooapis.com/2.4.21/browserplus-min.js"></script>');
|
5
|
-
document.write('<script type="text/javascript" src="/
|
6
|
-
document.write('<script type="text/javascript" src="/
|
5
|
+
document.write('<script type="text/javascript" src="/assets/plupload/plupload.full.min.js"></script>');
|
6
|
+
document.write('<script type="text/javascript" src="/assets/plupload/jquery.plupload.queue.min.js"></script>');
|
7
7
|
|
8
8
|
$('#asset-browser ul.choices a, #asset-browser #tags a, #asset-browser .tags a, #asset-browser a.show, #asset-browser .pagination a').live('click', function() {
|
9
9
|
$.get(
|
@@ -43,10 +43,10 @@ function setUpPlupload() {
|
|
43
43
|
{title : "Video files", extensions : "flv,f4v"}
|
44
44
|
],
|
45
45
|
// Flash settings
|
46
|
-
flash_swf_url : '/
|
46
|
+
flash_swf_url : '/assets/plupload/plupload.flash.swf',
|
47
47
|
|
48
48
|
// Silverlight settings
|
49
|
-
silverlight_xap_url : '/
|
49
|
+
silverlight_xap_url : '/assets/plupload/plupload.silverlight.xap'
|
50
50
|
|
51
51
|
});
|
52
52
|
var uploader = $('#uploader').pluploadQueue();
|
@@ -89,7 +89,7 @@ function setUpPlupload() {
|
|
89
89
|
|
90
90
|
$('#uploader_filelist').append(error_item);
|
91
91
|
|
92
|
-
error_item.delay(8000).fadeOut(2000, function(){ $(this).remove(); if($('#uploader_filelist li').length
|
92
|
+
error_item.delay(8000).fadeOut(2000, function(){ $(this).remove(); if($('#uploader_filelist li').length === 0) $('#uploader_filelist').append('<li class="plupload_droptext">Drag files here.</li>'); });
|
93
93
|
|
94
94
|
up.refresh(); // Reposition Flash/Silverlight
|
95
95
|
});
|
File without changes
|
@@ -1,7 +1,7 @@
|
|
1
1
|
lite_tiny_mce_config = {
|
2
|
-
script_url : '/
|
2
|
+
script_url : '/assets/tiny_mce/tiny_mce.js',
|
3
3
|
|
4
|
-
content_css : "/
|
4
|
+
content_css : "/assets/admin/tinymce.css",
|
5
5
|
|
6
6
|
theme : "advanced",
|
7
7
|
mode : "specific_textareas",
|
@@ -42,7 +42,7 @@ $.extend(tiny_mce_config, lite_tiny_mce_config, {
|
|
42
42
|
// Add a custom button
|
43
43
|
ed.addButton('assetbrowser', {
|
44
44
|
title : 'Insert Asset',
|
45
|
-
image : '/
|
45
|
+
image : '/assets/admin/image_small.png',
|
46
46
|
href: '#asset-browser',
|
47
47
|
onclick : function() {
|
48
48
|
tinyMCE.activeEditor.focus();
|
@@ -82,7 +82,7 @@ $.extend(tiny_mce_config, lite_tiny_mce_config, {
|
|
82
82
|
|
83
83
|
ed.addButton('nodebrowser', {
|
84
84
|
title : 'Insert an internal link',
|
85
|
-
image : '/
|
85
|
+
image : '/assets/admin/top-level_small.png',
|
86
86
|
href: '#asset-browser',
|
87
87
|
onclick : function() {
|
88
88
|
tinyMCE.activeEditor.focus();
|
@@ -99,9 +99,9 @@ $.extend(tiny_mce_config, lite_tiny_mce_config, {
|
|
99
99
|
'script');
|
100
100
|
}
|
101
101
|
});
|
102
|
-
|
103
|
-
|
104
|
-
|
102
|
+
|
103
|
+
|
104
|
+
|
105
105
|
|
106
106
|
ed.onPostProcess.add(function(ed, o) {
|
107
107
|
if(o.save){
|
File without changes
|
File without changes
|
@@ -178,7 +178,7 @@ div#form-fields table input {
|
|
178
178
|
}
|
179
179
|
|
180
180
|
.form-save, .form-reset, .form-delete {
|
181
|
-
background:url(/
|
181
|
+
background:url(/assets/admin/set.gif) no-repeat;
|
182
182
|
margin:27px;
|
183
183
|
width:110px;
|
184
184
|
height:26px;
|
@@ -187,18 +187,18 @@ div#form-fields table input {
|
|
187
187
|
}
|
188
188
|
|
189
189
|
.form-reset {
|
190
|
-
background:url(/
|
190
|
+
background:url(/assets/admin/cancel-small.gif) no-repeat;
|
191
191
|
float:right;
|
192
192
|
margin:27px 0;
|
193
193
|
}
|
194
194
|
|
195
195
|
.form-delete {
|
196
|
-
background:url(/
|
196
|
+
background:url(/assets/admin/clear.gif) no-repeat;
|
197
197
|
float:right;
|
198
198
|
}
|
199
199
|
|
200
200
|
.add-multi-asset {
|
201
|
-
background:url(/
|
201
|
+
background:url(/assets/admin/add_file.gif) no-repeat;
|
202
202
|
overflow: hidden;
|
203
203
|
width:110px;
|
204
204
|
height:26px;
|
@@ -210,7 +210,7 @@ p.add-multi-asset span{
|
|
210
210
|
}
|
211
211
|
|
212
212
|
.remove {
|
213
|
-
background:url(/
|
213
|
+
background:url(/assets/admin/remove.gif) no-repeat;
|
214
214
|
overflow: hidden;
|
215
215
|
width:110px;
|
216
216
|
height:26px;
|
@@ -234,7 +234,7 @@ p.remove span{
|
|
234
234
|
}
|
235
235
|
|
236
236
|
#content form .fixed-form input.publish {
|
237
|
-
background:url(/
|
237
|
+
background:url(/assets/admin/publish.gif) no-repeat;
|
238
238
|
width:160px;
|
239
239
|
height:56px;
|
240
240
|
top:20px;
|
@@ -244,7 +244,7 @@ p.remove span{
|
|
244
244
|
}
|
245
245
|
|
246
246
|
#content form .fixed-form input.create {
|
247
|
-
background:url(/
|
247
|
+
background:url(/assets/admin/create.gif) no-repeat;
|
248
248
|
width:160px;
|
249
249
|
height:56px;
|
250
250
|
top:20px;
|
@@ -255,7 +255,7 @@ p.remove span{
|
|
255
255
|
}
|
256
256
|
|
257
257
|
#content form .fixed-form input.update {
|
258
|
-
background:url(/
|
258
|
+
background:url(/assets/admin/update.gif) no-repeat;
|
259
259
|
width:160px;
|
260
260
|
height:56px;
|
261
261
|
top:20px;
|
@@ -265,7 +265,7 @@ p.remove span{
|
|
265
265
|
}
|
266
266
|
|
267
267
|
#content form .fixed-form input.change {
|
268
|
-
background:url(/
|
268
|
+
background:url(/assets/admin/change-bg.gif) no-repeat;
|
269
269
|
width:160px;
|
270
270
|
height:56px;
|
271
271
|
top:20px;
|
@@ -275,7 +275,7 @@ p.remove span{
|
|
275
275
|
}
|
276
276
|
|
277
277
|
#content form .fixed-form a.preview {
|
278
|
-
background:url(/
|
278
|
+
background:url(/assets/admin/preview.gif) no-repeat;
|
279
279
|
width:110px;
|
280
280
|
height:26px;
|
281
281
|
left:190px;
|
@@ -285,7 +285,7 @@ p.remove span{
|
|
285
285
|
}
|
286
286
|
|
287
287
|
#content form .fixed-form a#versions-button {
|
288
|
-
background:url(/
|
288
|
+
background:url(/assets/admin/versions.gif) no-repeat;
|
289
289
|
width:110px;
|
290
290
|
height:26px;
|
291
291
|
left:440px;
|
@@ -296,7 +296,7 @@ p.remove span{
|
|
296
296
|
|
297
297
|
|
298
298
|
#content form .fixed-form input.draft {
|
299
|
-
background:url(/
|
299
|
+
background:url(/assets/admin/draft.gif) no-repeat;
|
300
300
|
width:110px;
|
301
301
|
height:26px;
|
302
302
|
left:305px;
|
@@ -307,7 +307,7 @@ p.remove span{
|
|
307
307
|
}
|
308
308
|
|
309
309
|
.fixed-form input#hide {
|
310
|
-
background:url(/
|
310
|
+
background:url(/assets/admin/hide.gif) no-repeat;
|
311
311
|
width:160px;
|
312
312
|
height:56px;
|
313
313
|
cursor:pointer;
|
@@ -318,7 +318,7 @@ p.remove span{
|
|
318
318
|
}
|
319
319
|
|
320
320
|
.fixed-form a.cancel, .fixed-form a.delete {
|
321
|
-
background:url(/
|
321
|
+
background:url(/assets/admin/cancel.gif) no-repeat;
|
322
322
|
width:160px;
|
323
323
|
height:56px;
|
324
324
|
cursor:pointer;
|
@@ -329,7 +329,7 @@ p.remove span{
|
|
329
329
|
}
|
330
330
|
|
331
331
|
.fixed-form a.delete {
|
332
|
-
background:url(/
|
332
|
+
background:url(/assets/admin/delete.gif) no-repeat;
|
333
333
|
top:20px;
|
334
334
|
right:240px;
|
335
335
|
}
|
@@ -360,7 +360,7 @@ body.new .fixed-form a.cancel {
|
|
360
360
|
|
361
361
|
#content form .fixed-form legend.advanced,
|
362
362
|
#content form .fixed-form a.advanced {
|
363
|
-
background:url(/
|
363
|
+
background:url(/assets/admin/advanced.gif) no-repeat left top;
|
364
364
|
cursor:pointer;
|
365
365
|
height:26px !important;
|
366
366
|
left:190px;
|
@@ -423,12 +423,12 @@ div#flash div {
|
|
423
423
|
}
|
424
424
|
|
425
425
|
div#flash div.notice {
|
426
|
-
background:#82b452 url(/
|
426
|
+
background:#82b452 url(/assets/admin/check.png) no-repeat 10px 5px;
|
427
427
|
border:3px solid #548126;
|
428
428
|
}
|
429
429
|
|
430
430
|
div#flash div.error {
|
431
|
-
background:#E47373 url(/
|
431
|
+
background:#E47373 url(/assets/admin/delete.png) no-repeat 10px 5px;
|
432
432
|
border:3px solid #9C3B3B;
|
433
433
|
color:#fff;
|
434
434
|
}
|
@@ -499,7 +499,7 @@ a.jqTransformSelectOpen {
|
|
499
499
|
right: 0px;
|
500
500
|
width: 32px;
|
501
501
|
height: 27px;
|
502
|
-
background: url(/
|
502
|
+
background: url(/assets/admin/forms/select-right.gif) no-repeat center top;
|
503
503
|
}
|
504
504
|
|
505
505
|
p.template .jqTransformSelectWrapper ul {
|
@@ -571,4 +571,4 @@ fieldset.template label {
|
|
571
571
|
|
572
572
|
.jqTransformHidden {
|
573
573
|
display: none;
|
574
|
-
}
|
574
|
+
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|