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/script/rails
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
#!/usr/bin/env ruby
|
2
3
|
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
require 'rails/commands'
|
5
|
+
ENGINE_PATH = File.expand_path('../..', __FILE__)
|
6
|
+
load File.expand_path('../../spec/dummy/script/rails', __FILE__)
|
data/spec/dummy/Rakefile
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
4
|
+
|
5
|
+
require File.expand_path('../config/application', __FILE__)
|
6
|
+
|
7
|
+
Dummy::Application.load_tasks
|
@@ -0,0 +1,7 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
+
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
+
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
+
// the compiled file.
|
6
|
+
//
|
7
|
+
//= require_tree .
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
+
*= require_self
|
6
|
+
*= require_tree .
|
7
|
+
*/
|
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
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
require "action_controller/railtie"
|
4
|
+
require "action_mailer/railtie"
|
5
|
+
require "active_resource/railtie"
|
6
|
+
require "sprockets/railtie"
|
7
|
+
|
8
|
+
Bundler.require
|
9
|
+
require "noodall-ui"
|
10
|
+
|
11
|
+
module Dummy
|
12
|
+
class Application < Rails::Application
|
13
|
+
# Settings in config/environments/* take precedence over those specified here.
|
14
|
+
# Application configuration should go into files in config/initializers
|
15
|
+
# -- all .rb files in that directory are automatically loaded.
|
16
|
+
|
17
|
+
# Custom directories with classes and modules you want to be autoloadable.
|
18
|
+
# config.autoload_paths += %W(#{config.root}/extras)
|
19
|
+
|
20
|
+
# Only load the plugins named here, in the order given (default is alphabetical).
|
21
|
+
# :all can be used as a placeholder for all plugins not explicitly named.
|
22
|
+
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
23
|
+
|
24
|
+
# Activate observers that should always be running.
|
25
|
+
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
|
26
|
+
|
27
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
28
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
29
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
30
|
+
|
31
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
32
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
33
|
+
# config.i18n.default_locale = :de
|
34
|
+
|
35
|
+
# Configure the default encoding used in templates for Ruby 1.9.
|
36
|
+
config.encoding = "utf-8"
|
37
|
+
|
38
|
+
# Configure sensitive parameters which will be filtered from the log file.
|
39
|
+
config.filter_parameters += [:password]
|
40
|
+
|
41
|
+
# Enable the asset pipeline
|
42
|
+
config.assets.enabled = true
|
43
|
+
|
44
|
+
# Version of your assets, change this if you want to expire all your assets
|
45
|
+
config.assets.version = '1.0'
|
46
|
+
|
47
|
+
config.middleware.insert 0, 'Dragonfly::Middleware', :noodall_assets
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
File without changes
|
@@ -1,17 +1,16 @@
|
|
1
|
-
|
2
|
-
# Settings specified here will take precedence over those in config/
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
3
|
|
4
4
|
# In the development environment your application's code is reloaded on
|
5
5
|
# every request. This slows down response time but is perfect for development
|
6
|
-
# since you don't have to restart the
|
7
|
-
config.cache_classes =
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = true
|
8
8
|
|
9
9
|
# Log error messages when you accidentally call methods on nil.
|
10
10
|
config.whiny_nils = true
|
11
11
|
|
12
12
|
# Show full error reports and disable caching
|
13
13
|
config.consider_all_requests_local = true
|
14
|
-
config.action_view.debug_rjs = true
|
15
14
|
config.action_controller.perform_caching = false
|
16
15
|
|
17
16
|
# Don't care if the mailer can't send
|
@@ -22,6 +21,10 @@ Noodall::Application.configure do
|
|
22
21
|
|
23
22
|
# Only use best-standards-support built into browsers
|
24
23
|
config.action_dispatch.best_standards_support = :builtin
|
25
|
-
|
26
|
-
end
|
27
24
|
|
25
|
+
# Do not compress assets
|
26
|
+
config.assets.compress = false
|
27
|
+
|
28
|
+
# Expands the lines which load the assets
|
29
|
+
config.assets.debug = true
|
30
|
+
end
|
@@ -1,7 +1,6 @@
|
|
1
|
-
|
2
|
-
# Settings specified here will take precedence over those in config/
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
3
|
|
4
|
-
# The production environment is meant for finished, "live" apps.
|
5
4
|
# Code is not reloaded between requests
|
6
5
|
config.cache_classes = true
|
7
6
|
|
@@ -9,14 +8,27 @@ Noodall::Application.configure do
|
|
9
8
|
config.consider_all_requests_local = false
|
10
9
|
config.action_controller.perform_caching = true
|
11
10
|
|
12
|
-
#
|
13
|
-
config.
|
11
|
+
# Disable Rails's static asset server (Apache or nginx will already do this)
|
12
|
+
config.serve_static_assets = false
|
13
|
+
|
14
|
+
# Compress JavaScripts and CSS
|
15
|
+
config.assets.compress = true
|
14
16
|
|
15
|
-
#
|
16
|
-
|
17
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
18
|
+
config.assets.compile = false
|
17
19
|
|
18
|
-
#
|
19
|
-
|
20
|
+
# Generate digests for assets URLs
|
21
|
+
config.assets.digest = true
|
22
|
+
|
23
|
+
# Defaults to Rails.root.join("public/assets")
|
24
|
+
# config.assets.manifest = YOUR_PATH
|
25
|
+
|
26
|
+
# Specifies the header that your server uses for sending files
|
27
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
28
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
29
|
+
|
30
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
|
+
# config.force_ssl = true
|
20
32
|
|
21
33
|
# See everything in the log (default is :info)
|
22
34
|
# config.log_level = :debug
|
@@ -27,13 +39,12 @@ Noodall::Application.configure do
|
|
27
39
|
# Use a different cache store in production
|
28
40
|
# config.cache_store = :mem_cache_store
|
29
41
|
|
30
|
-
#
|
31
|
-
# In production, Apache or nginx will already do this
|
32
|
-
config.serve_static_assets = false
|
33
|
-
|
34
|
-
# Enable serving of images, stylesheets, and javascripts from an asset server
|
42
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
35
43
|
# config.action_controller.asset_host = "http://assets.example.com"
|
36
44
|
|
45
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
46
|
+
# config.assets.precompile += %w( search.js )
|
47
|
+
|
37
48
|
# Disable delivery errors, bad email addresses will be ignored
|
38
49
|
# config.action_mailer.raise_delivery_errors = false
|
39
50
|
|
@@ -47,4 +58,3 @@ Noodall::Application.configure do
|
|
47
58
|
# Send deprecation notices to registered listeners
|
48
59
|
config.active_support.deprecation = :notify
|
49
60
|
end
|
50
|
-
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
# Settings specified here will take precedence over those in config/
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
3
|
|
4
4
|
# The test environment is used exclusively to run your application's
|
5
5
|
# test suite. You never need to work with it otherwise. Remember that
|
@@ -7,7 +7,11 @@ Noodall::Application.configure do
|
|
7
7
|
# and recreated between test runs. Don't rely on the data there!
|
8
8
|
config.cache_classes = true
|
9
9
|
|
10
|
-
#
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
11
15
|
config.whiny_nils = true
|
12
16
|
|
13
17
|
# Show full error reports and disable caching
|
@@ -32,33 +36,7 @@ Noodall::Application.configure do
|
|
32
36
|
|
33
37
|
# Print deprecation notices to the stderr
|
34
38
|
config.active_support.deprecation = :stderr
|
35
|
-
end
|
36
39
|
|
37
|
-
|
38
|
-
|
39
|
-
require 'tempfile'
|
40
|
-
module Dragonfly
|
41
|
-
class TempObject
|
42
|
-
private
|
43
|
-
def initialize_from_object!(obj)
|
44
|
-
case obj
|
45
|
-
when TempObject
|
46
|
-
@initialized_data = obj.initialized_data
|
47
|
-
@initialized_tempfile = copy_to_tempfile(obj.initialized_tempfile.path) if obj.initialized_tempfile
|
48
|
-
@initialized_file = obj.initialized_file
|
49
|
-
when String
|
50
|
-
@initialized_data = obj
|
51
|
-
when Tempfile
|
52
|
-
@initialized_tempfile = obj
|
53
|
-
when File
|
54
|
-
@initialized_file = obj
|
55
|
-
self.name = File.basename(obj.path)
|
56
|
-
when ::ActionDispatch::Http::UploadedFile
|
57
|
-
@initialized_tempfile = obj.tempfile
|
58
|
-
else
|
59
|
-
raise ArgumentError, "#{self.class.name} must be initialized with a String, a File, a Tempfile, an ActionDispatch::Http::UploadedFile or another TempObject"
|
60
|
-
end
|
61
|
-
self.name = obj.original_filename if obj.respond_to?(:original_filename)
|
62
|
-
end
|
63
|
-
end
|
40
|
+
# Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
|
41
|
+
config.assets.allow_debugging = true
|
64
42
|
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
File without changes
|
File without changes
|
@@ -4,4 +4,4 @@
|
|
4
4
|
# If you change this key, all old signed cookies will become invalid!
|
5
5
|
# Make sure the secret is at least 30 characters and all random,
|
6
6
|
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
|
7
|
+
Dummy::Application.config.secret_token = '0e4daece160376cc0d2cccca318deebab5a944a7646a75435effe8fc06ac4c21bd7a688e866add0c065b747c6af407c4682428a9f1e010cf892e96611eb67ae9'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
-
# See
|
2
|
+
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
3
|
|
4
4
|
en:
|
5
5
|
hello: "Hello world"
|
File without changes
|
@@ -2,15 +2,15 @@ Factory.define :asset do |asset|
|
|
2
2
|
asset.tags { Faker::Lorem.words(4) }
|
3
3
|
asset.title { "Image asset" }
|
4
4
|
asset.description { "The asset description" }
|
5
|
-
asset.file { File.new("#{Rails.root}/
|
5
|
+
asset.file { File.new("#{Rails.root}/files/beef.png") }
|
6
6
|
end
|
7
7
|
|
8
8
|
Factory.define :document_asset, :parent => :asset do |asset|
|
9
9
|
asset.title { "Document asset" }
|
10
|
-
asset.file { File.new("#{Rails.root}/
|
10
|
+
asset.file { File.new("#{Rails.root}/files/test.pdf") }
|
11
11
|
end
|
12
12
|
|
13
13
|
Factory.define :video_asset, :parent => :asset do |asset|
|
14
14
|
asset.title { "Video asset" }
|
15
|
-
asset.file { File.new("#{Rails.root}/
|
16
|
-
end
|
15
|
+
asset.file { File.new("#{Rails.root}/files/get_video.flv") }
|
16
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
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
|