old_sql 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +8 -0
- data/Gemfile.lock +92 -0
- data/Rakefile +8 -6
- data/TODO.mkd +8 -3
- data/VERSION +1 -1
- data/app/controllers/old_sql/report_controller.rb +37 -44
- data/app/views/layouts/old_sql/report.html.erb +14 -0
- data/app/views/old_sql/report/datagrid.html.erb +24 -15
- data/app/views/old_sql/report/index.html.erb +26 -30
- data/config/locales/old_sql.en.yml +5 -0
- data/config/routes.rb +8 -6
- data/lib/old_sql/engine.rb +4 -0
- data/lib/old_sql/report_processor/base.rb +92 -0
- data/old_sql.gemspec +149 -322
- data/pkg/old_sql-0.1.0.gem +0 -0
- data/pkg/old_sql-0.2.0.gem +0 -0
- data/pkg/old_sql-0.3.0.gem +0 -0
- data/pkg/old_sql-0.4.0.gem +0 -0
- data/pkg/old_sql-0.5.0.gem +0 -0
- data/pkg/old_sql-0.6.0.gem +0 -0
- data/public/javascripts/old_sql/date_format.js +126 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-bg.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-bg1251.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-cat.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-cn.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-cs.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-da.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-de.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-el.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-en.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-es.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-fa.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-fi.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-fr.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-gl.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-he.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-hu.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-is.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-it.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-ja.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-nl.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-no.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-pl.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-pt-br.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-pt.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-ro.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-ru.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-sk.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-sv.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-tr.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-ua.js +1 -0
- data/public/javascripts/old_sql/jqgrid/jquery-ui-1.8.custom.min.js +778 -0
- data/public/javascripts/old_sql/jqgrid/jquery.jqGrid.min.js +457 -0
- data/public/javascripts/old_sql/jqgrid/ui.multiselect.js +314 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom.min.js +252 -0
- data/public/javascripts/old_sql/jquery-ui-timepicker-addon.js +985 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-icons_2694e8_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base → stylesheets/old_sql/jqgrid/themes/default}/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-icons_3d80b3_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-icons_72a7cf_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness → stylesheets/old_sql/jqgrid/themes/default}/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery-ui-1.8.13.custom.css → stylesheets/old_sql/jqgrid/themes/default/jquery-ui-1.8.custom.css} +108 -54
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-anim_basic_16x16.gif +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base → stylesheets/old_sql/jqgrid/themes/redroad}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base → stylesheets/old_sql/jqgrid/themes/redroad}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_217bc0_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_469bdd_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_6da8d5_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base → stylesheets/old_sql/jqgrid/themes/redroad}/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_f9bd01_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/jquery-ui-1.8.custom.css +489 -0
- data/public/stylesheets/old_sql/jqgrid/ui.jqgrid.css +138 -0
- data/public/stylesheets/old_sql/jqgrid/ui.multiselect.css +30 -0
- data/public/stylesheets/old_sql/old_sql.css +85 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes → stylesheets/old_sql}/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/jquery-ui-1.8.13.custom.css +0 -0
- data/test/dummy/config/application.rb +8 -5
- data/test/dummy/config/boot.rb +7 -3
- data/test/dummy/config/initializers/secret_token.rb +1 -1
- data/test/dummy/config/report_sql/users.erb +2 -4
- data/test/dummy/config/reports.yml +3 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/lib/old_sql/report_processor/users.rb +19 -0
- data/test/dummy/log/development.log +4742 -0
- data/test/dummy/{lib/tasks/.gitkeep → log/production.log} +0 -0
- data/test/dummy/{vendor/plugins/.gitkeep → log/server.log} +0 -0
- data/test/dummy/log/test.log +27 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- data/test/fixtures/users.yml +3 -0
- data/test/integration/navigation_test.rb +7 -0
- data/test/old_sql_test.rb +7 -0
- data/test/support/integration_case.rb +5 -0
- data/test/test_helper.rb +22 -0
- data/vendor/cache/abstract-1.0.0.gem +0 -0
- data/vendor/cache/actionmailer-3.0.6.gem +0 -0
- data/vendor/cache/actionpack-3.0.6.gem +0 -0
- data/vendor/cache/activemodel-3.0.6.gem +0 -0
- data/vendor/cache/activerecord-3.0.6.gem +0 -0
- data/vendor/cache/activeresource-3.0.6.gem +0 -0
- data/vendor/cache/activesupport-3.0.6.gem +0 -0
- data/vendor/cache/arel-2.0.10.gem +0 -0
- data/vendor/cache/builder-2.1.2.gem +0 -0
- data/vendor/cache/capybara-0.4.1.2.gem +0 -0
- data/vendor/cache/celerity-0.8.9.gem +0 -0
- data/vendor/cache/childprocess-0.1.9.gem +0 -0
- data/vendor/cache/culerity-0.2.15.gem +0 -0
- data/vendor/cache/erubis-2.6.6.gem +0 -0
- data/vendor/cache/ffi-1.0.9.gem +0 -0
- data/vendor/cache/git-1.2.5.gem +0 -0
- data/vendor/cache/i18n-0.5.0.gem +0 -0
- data/vendor/cache/jeweler-1.6.2.gem +0 -0
- data/vendor/cache/json_pure-1.5.1.gem +0 -0
- data/vendor/cache/mail-2.2.19.gem +0 -0
- data/vendor/cache/mime-types-1.16.gem +0 -0
- data/vendor/cache/nokogiri-1.4.4.gem +0 -0
- data/vendor/cache/polyglot-0.3.1.gem +0 -0
- data/vendor/cache/rack-1.2.3.gem +0 -0
- data/vendor/cache/rack-mount-0.6.14.gem +0 -0
- data/vendor/cache/rack-test-0.5.7.gem +0 -0
- data/vendor/cache/rails-3.0.6.gem +0 -0
- data/vendor/cache/railties-3.0.6.gem +0 -0
- data/vendor/cache/rake-0.9.1.gem +0 -0
- data/vendor/cache/rubyzip-0.9.4.gem +0 -0
- data/vendor/cache/sanitize-2.0.2.gem +0 -0
- data/vendor/cache/selenium-webdriver-0.2.1.gem +0 -0
- data/vendor/cache/sqlite3-1.3.3.gem +0 -0
- data/vendor/cache/thor-0.14.6.gem +0 -0
- data/vendor/cache/treetop-1.4.9.gem +0 -0
- data/vendor/cache/tzinfo-0.3.27.gem +0 -0
- data/vendor/cache/xpath-0.1.4.gem +0 -0
- metadata +160 -325
- data/lib/report_processor/base.rb +0 -86
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/AUTHORS.txt +0 -30
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/GPL-LICENSE.txt +0 -278
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/MIT-LICENSE.txt +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/categories.html +0 -71
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/combobox.html +0 -174
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/custom-data.html +0 -95
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/default.html +0 -64
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/folding.html +0 -62
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/index.html +0 -27
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/london.xml +0 -114
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/maxheight.html +0 -79
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/multiple-remote.html +0 -84
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/multiple.html +0 -99
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote-jsonp.html +0 -86
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote-with-cache.html +0 -59
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote.html +0 -59
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/search.php +0 -640
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/xml.html +0 -72
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/checkbox.html +0 -44
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/default.html +0 -38
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/icons.html +0 -56
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/index.html +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/radio.html +0 -39
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/splitbutton.html +0 -55
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/toolbar.html +0 -120
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/alt-field.html +0 -36
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/animation.html +0 -58
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/buttonbar.html +0 -35
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/date-formats.html +0 -47
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/date-range.html +0 -49
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/default.html +0 -33
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/dropdown-month-year.html +0 -36
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/icon-trigger.html +0 -37
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/images/calendar.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/index.html +0 -31
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/inline.html +0 -33
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/localization.html +0 -162
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/min-max.html +0 -33
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/multiple-calendars.html +0 -36
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/other-months.html +0 -37
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/show-week.html +0 -39
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/demos.css +0 -334
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/animated.html +0 -56
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/default.html +0 -54
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/index.html +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-confirmation.html +0 -69
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-form.html +0 -167
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-message.html +0 -71
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal.html +0 -60
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/constrain-movement.html +0 -69
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/cursor-style.html +0 -49
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/default.html +0 -39
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/delay-start.html +0 -45
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/events.html +0 -77
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/handle.html +0 -50
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/index.html +0 -28
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/revert.html +0 -44
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/scroll.html +0 -51
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/snap-to.html +0 -68
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/sortable.html +0 -57
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/visual-feedback.html +0 -77
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/accepted-elements.html +0 -60
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/default.html +0 -53
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/index.html +0 -24
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/photo-manager.html +0 -184
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/propagation.html +0 -80
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/revert.html +0 -61
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/shopping-cart.html +0 -101
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/visual-feedback.html +0 -78
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/calendar.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/index.html +0 -321
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/cycler.html +0 -122
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/default.html +0 -153
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/earth.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/flight.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/index.html +0 -19
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/animated.html +0 -44
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/default.html +0 -35
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/index.html +0 -20
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/resize.html +0 -40
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/animate.html +0 -43
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/aspect-ratio.html +0 -42
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/constrain-area.html +0 -47
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/default.html +0 -40
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/delay-start.html +0 -52
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/helper.html +0 -43
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/index.html +0 -28
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/max-min.html +0 -45
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/snap-to-grid.html +0 -42
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/synchronous-resize.html +0 -49
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/textarea.html +0 -41
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/visual-feedback.html +0 -43
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/default.html +0 -50
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/display-grid.html +0 -55
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/index.html +0 -20
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/serialize.html +0 -61
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/connect-lists-through-tabs.html +0 -78
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/connect-lists.html +0 -58
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/default.html +0 -51
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/delay-start.html +0 -67
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/display-grid.html +0 -54
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/empty-lists.html +0 -69
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/index.html +0 -26
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/items.html +0 -70
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/placeholder.html +0 -56
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/portlets.html +0 -96
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/autocomplete.html +0 -875
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/button.html +0 -500
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/datepicker.html +0 -2570
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/dialog.html +0 -1698
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/draggable.html +0 -1577
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/droppable.html +0 -829
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/position.html +0 -227
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/progressbar.html +0 -460
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/resizable.html +0 -1201
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/selectable.html +0 -848
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/sortable.html +0 -1953
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.bgiframe-2.1.2.js +0 -39
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.cookie.js +0 -89
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.metadata.js +0 -122
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/qunit.css +0 -153
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/qunit.js +0 -1261
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/jquery-1.5.1.js +0 -8316
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.all.css +0 -11
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.autocomplete.css +0 -53
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.base.css +0 -8
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.button.css +0 -38
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.core.css +0 -41
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.datepicker.css +0 -68
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.dialog.css +0 -21
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.progressbar.css +0 -11
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.resizable.css +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.selectable.css +0 -10
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.theme.css +0 -252
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.all.css +0 -11
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.autocomplete.css +0 -53
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.base.css +0 -8
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.button.css +0 -38
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.core.css +0 -41
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.datepicker.css +0 -68
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.dialog.css +0 -21
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.progressbar.css +0 -11
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.resizable.css +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.selectable.css +0 -10
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.theme.css +0 -254
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery-ui-i18n.js +0 -1379
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +0 -24
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +0 -22
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +0 -21
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +0 -26
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +0 -24
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery-ui-1.8.13.custom.js +0 -8021
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.autocomplete.js +0 -612
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.button.js +0 -388
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.core.js +0 -312
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.datepicker.js +0 -1791
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.dialog.js +0 -878
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.draggable.js +0 -815
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.droppable.js +0 -285
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.mouse.js +0 -160
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.position.js +0 -252
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.progressbar.js +0 -109
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.resizable.js +0 -814
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.selectable.js +0 -266
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.sortable.js +0 -1077
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.widget.js +0 -262
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +0 -32
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.button.min.js +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.core.min.js +0 -17
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.datepicker.min.js +0 -82
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.dialog.min.js +0 -40
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.draggable.min.js +0 -50
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.droppable.min.js +0 -26
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.mouse.min.js +0 -17
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.position.min.js +0 -16
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.progressbar.min.js +0 -16
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.resizable.min.js +0 -48
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.selectable.min.js +0 -22
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.sortable.min.js +0 -60
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.widget.min.js +0 -15
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/version.txt +0 -1
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/index.html +0 -321
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/js/jquery-1.5.1.min.js +0 -16
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/js/jquery-ui-1.8.13.custom.min.js +0 -467
- data/test/dummy/.gitignore +0 -4
- data/test/dummy/Gemfile +0 -14
- data/test/dummy/Gemfile.lock +0 -78
- data/test/dummy/README +0 -256
- data/test/dummy/db/schema.rb +0 -15
- data/test/dummy/db/seeds.rb +0 -7
- data/test/dummy/doc/README_FOR_APP +0 -2
- data/test/dummy/public/images/rails.png +0 -0
- data/test/dummy/public/index.html +0 -239
- data/test/dummy/public/robots.txt +0 -5
- data/test/dummy/test/performance/browsing_test.rb +0 -9
- data/test/dummy/test/test_helper.rb +0 -14
- data/test/dummy/test/unit/hello_world_test.rb +0 -9
data/Gemfile
CHANGED
@@ -3,6 +3,8 @@ source "http://rubygems.org"
|
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
5
|
|
6
|
+
gem "sanitize"
|
7
|
+
|
6
8
|
# Add dependencies to develop your gem here.
|
7
9
|
# Include everything needed to run rake, tests, features, etc.
|
8
10
|
group :development do
|
@@ -11,3 +13,9 @@ group :development do
|
|
11
13
|
gem "jeweler"
|
12
14
|
#gem "rcov", ">= 0"
|
13
15
|
end
|
16
|
+
|
17
|
+
group :test do
|
18
|
+
gem "rails", "3.0.6"
|
19
|
+
gem "capybara", ">= 0.4.0"
|
20
|
+
gem "sqlite3"
|
21
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,107 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
abstract (1.0.0)
|
5
|
+
actionmailer (3.0.6)
|
6
|
+
actionpack (= 3.0.6)
|
7
|
+
mail (~> 2.2.15)
|
8
|
+
actionpack (3.0.6)
|
9
|
+
activemodel (= 3.0.6)
|
10
|
+
activesupport (= 3.0.6)
|
11
|
+
builder (~> 2.1.2)
|
12
|
+
erubis (~> 2.6.6)
|
13
|
+
i18n (~> 0.5.0)
|
14
|
+
rack (~> 1.2.1)
|
15
|
+
rack-mount (~> 0.6.14)
|
16
|
+
rack-test (~> 0.5.7)
|
17
|
+
tzinfo (~> 0.3.23)
|
18
|
+
activemodel (3.0.6)
|
19
|
+
activesupport (= 3.0.6)
|
20
|
+
builder (~> 2.1.2)
|
21
|
+
i18n (~> 0.5.0)
|
22
|
+
activerecord (3.0.6)
|
23
|
+
activemodel (= 3.0.6)
|
24
|
+
activesupport (= 3.0.6)
|
25
|
+
arel (~> 2.0.2)
|
26
|
+
tzinfo (~> 0.3.23)
|
27
|
+
activeresource (3.0.6)
|
28
|
+
activemodel (= 3.0.6)
|
29
|
+
activesupport (= 3.0.6)
|
30
|
+
activesupport (3.0.6)
|
31
|
+
arel (2.0.10)
|
32
|
+
builder (2.1.2)
|
33
|
+
capybara (0.4.1.2)
|
34
|
+
celerity (>= 0.7.9)
|
35
|
+
culerity (>= 0.2.4)
|
36
|
+
mime-types (>= 1.16)
|
37
|
+
nokogiri (>= 1.3.3)
|
38
|
+
rack (>= 1.0.0)
|
39
|
+
rack-test (>= 0.5.4)
|
40
|
+
selenium-webdriver (>= 0.0.27)
|
41
|
+
xpath (~> 0.1.3)
|
42
|
+
celerity (0.8.9)
|
43
|
+
childprocess (0.1.9)
|
44
|
+
ffi (~> 1.0.6)
|
45
|
+
culerity (0.2.15)
|
46
|
+
erubis (2.6.6)
|
47
|
+
abstract (>= 1.0.0)
|
48
|
+
ffi (1.0.9)
|
4
49
|
git (1.2.5)
|
50
|
+
i18n (0.5.0)
|
5
51
|
jeweler (1.6.2)
|
6
52
|
bundler (~> 1.0)
|
7
53
|
git (>= 1.2.5)
|
8
54
|
rake
|
55
|
+
json_pure (1.5.1)
|
56
|
+
mail (2.2.19)
|
57
|
+
activesupport (>= 2.3.6)
|
58
|
+
i18n (>= 0.4.0)
|
59
|
+
mime-types (~> 1.16)
|
60
|
+
treetop (~> 1.4.8)
|
61
|
+
mime-types (1.16)
|
62
|
+
nokogiri (1.4.4)
|
63
|
+
polyglot (0.3.1)
|
64
|
+
rack (1.2.3)
|
65
|
+
rack-mount (0.6.14)
|
66
|
+
rack (>= 1.0.0)
|
67
|
+
rack-test (0.5.7)
|
68
|
+
rack (>= 1.0)
|
69
|
+
rails (3.0.6)
|
70
|
+
actionmailer (= 3.0.6)
|
71
|
+
actionpack (= 3.0.6)
|
72
|
+
activerecord (= 3.0.6)
|
73
|
+
activeresource (= 3.0.6)
|
74
|
+
activesupport (= 3.0.6)
|
75
|
+
bundler (~> 1.0)
|
76
|
+
railties (= 3.0.6)
|
77
|
+
railties (3.0.6)
|
78
|
+
actionpack (= 3.0.6)
|
79
|
+
activesupport (= 3.0.6)
|
80
|
+
rake (>= 0.8.7)
|
81
|
+
thor (~> 0.14.4)
|
9
82
|
rake (0.9.1)
|
83
|
+
rubyzip (0.9.4)
|
84
|
+
sanitize (2.0.2)
|
85
|
+
nokogiri (~> 1.4.4)
|
86
|
+
selenium-webdriver (0.2.1)
|
87
|
+
childprocess (>= 0.1.7)
|
88
|
+
ffi (>= 1.0.7)
|
89
|
+
json_pure
|
90
|
+
rubyzip
|
91
|
+
sqlite3 (1.3.3)
|
92
|
+
thor (0.14.6)
|
93
|
+
treetop (1.4.9)
|
94
|
+
polyglot (>= 0.3.1)
|
95
|
+
tzinfo (0.3.27)
|
96
|
+
xpath (0.1.4)
|
97
|
+
nokogiri (~> 1.3)
|
10
98
|
|
11
99
|
PLATFORMS
|
12
100
|
ruby
|
13
101
|
|
14
102
|
DEPENDENCIES
|
103
|
+
capybara (>= 0.4.0)
|
15
104
|
jeweler
|
105
|
+
rails (= 3.0.6)
|
106
|
+
sanitize
|
107
|
+
sqlite3
|
data/Rakefile
CHANGED
@@ -25,12 +25,14 @@ Jeweler::Tasks.new do |gem|
|
|
25
25
|
end
|
26
26
|
Jeweler::RubygemsDotOrgTasks.new
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
28
|
+
require 'rake/testtask'
|
29
|
+
|
30
|
+
Rake::TestTask.new(:test) do |t|
|
31
|
+
t.libs << 'lib'
|
32
|
+
t.libs << 'test'
|
33
|
+
t.pattern = 'test/**/*_test.rb'
|
34
|
+
t.verbose = false
|
35
|
+
end
|
34
36
|
|
35
37
|
#require 'rcov/rcovtask'
|
36
38
|
#Rcov::RcovTask.new do |test|
|
data/TODO.mkd
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# TODO
|
2
2
|
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
3
|
+
* Allow multiple sql files
|
4
|
+
* Move javascript in index.html.erb into a separate javascript file.
|
5
|
+
* As an alternative to report_processors allow for a csv file that defines the format of the report.
|
6
|
+
Use symbols in the cells for the columns. Math operators could be used for performing calculations.
|
7
|
+
If this works we could write a complex report with zero ruby/rails code, html, or javascript.
|
8
|
+
* Try and implement jqgrid sort and search methods.
|
9
|
+
This should be done in the sql files by passing the params from jqgrid into them.
|
10
|
+
* Add Devise support
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.7.0
|
@@ -1,39 +1,18 @@
|
|
1
1
|
require 'csv'
|
2
2
|
|
3
|
-
#
|
4
|
-
# TODO:
|
5
|
-
# 1. Reduce the datagrid and print views to a single view.
|
6
|
-
# The colnames can be defined in the reports.yml config file.
|
7
|
-
# (Completed on 5-24-2011)
|
8
|
-
# 2. Create a generic SQL parse method.
|
9
|
-
# (Completed on 5-24-2011)
|
10
|
-
# 3. Convert to a gem. This class will be overridden to implement
|
11
|
-
# parse methods.
|
12
|
-
# 4. Add export to CSV
|
13
|
-
# (Completed on 5-24-2011)
|
14
|
-
# 5. I think we should move the parse methods to a lib class.
|
15
|
-
# The parse class name could be defined in the reports.yml file.
|
16
|
-
# (Completed on 5-24-2011)
|
17
|
-
# 6. Try and implement jqgrid sort and search methods.
|
18
|
-
# This should be done in the sql files by passing the params
|
19
|
-
# from jqgrid into them.
|
20
|
-
# 7. Remove rails_admin dependencies
|
21
|
-
# 8. Add Devise support
|
22
|
-
# 9. Rewrite jqgrid using JQuery
|
23
|
-
#
|
24
|
-
|
25
3
|
module OldSql
|
26
4
|
class ReportController < ApplicationController
|
27
5
|
before_filter :_init
|
28
6
|
before_filter :_reports
|
29
7
|
|
30
|
-
helper_method :
|
8
|
+
helper_method :jqgrid_col_model
|
9
|
+
helper_method :jqgrid_col_names
|
31
10
|
|
32
|
-
|
11
|
+
layout "old_sql/report.html.erb"
|
12
|
+
|
33
13
|
BASE_PROCESSOR = "base"
|
34
14
|
|
35
15
|
def index
|
36
|
-
#render :layout => 'rails_admin/dashboard'
|
37
16
|
end
|
38
17
|
|
39
18
|
def datagrid
|
@@ -43,7 +22,7 @@ module OldSql
|
|
43
22
|
@report_name = params[:report]
|
44
23
|
@report_sql = params[:report_sql]
|
45
24
|
|
46
|
-
render :template => "
|
25
|
+
render :template => "old_sql/report/datagrid.html.erb"
|
47
26
|
end
|
48
27
|
|
49
28
|
def query
|
@@ -115,16 +94,15 @@ module OldSql
|
|
115
94
|
processor = load_processor(@report_name)
|
116
95
|
@report = processor.execute_query(@report_sql,@start_date,@end_date,query_vars(@report_name))
|
117
96
|
|
118
|
-
render :
|
97
|
+
render :template => "old_sql/report/print.html.erb"
|
119
98
|
end
|
120
99
|
|
121
100
|
|
122
101
|
private
|
123
102
|
def _init
|
124
|
-
|
103
|
+
#todo add Devise support
|
125
104
|
#@authorization_adapter.authorize(:index) if @authorization_adapter
|
126
|
-
@page_name = t("
|
127
|
-
@page_type = "report"
|
105
|
+
@page_name = t("old_sql.report.pagename")
|
128
106
|
@host = self.request.host
|
129
107
|
@port = self.request.port
|
130
108
|
end
|
@@ -140,38 +118,53 @@ module OldSql
|
|
140
118
|
#todo get processor name from @reports
|
141
119
|
|
142
120
|
if !@reports[report]['processor'].nil?
|
143
|
-
logger.info "Loading Processor report_processor/#{@reports[report]['processor'].downcase}"
|
144
|
-
require "report_processor/#{@reports[report]['processor'].downcase}"
|
145
|
-
processor=eval("ReportProcessor::#{@reports[report]['processor'].gsub("_","")}").new
|
121
|
+
logger.info "Loading Processor old_sql/report_processor/#{@reports[report]['processor'].downcase}"
|
122
|
+
require "old_sql/report_processor/#{@reports[report]['processor'].downcase}"
|
123
|
+
processor=eval("OldSql::ReportProcessor::#{@reports[report]['processor'].gsub("_","")}").new
|
146
124
|
|
147
125
|
else
|
148
|
-
logger.info "Loading Processor report_processor/#{BASE_PROCESSOR}"
|
149
|
-
require "report_processor/#{BASE_PROCESSOR}"
|
150
|
-
processor=eval("ReportProcessor::#{BASE_PROCESSOR
|
126
|
+
logger.info "Loading Processor old_sql/report_processor/#{BASE_PROCESSOR}"
|
127
|
+
require "old_sql/report_processor/#{BASE_PROCESSOR}"
|
128
|
+
processor=eval("OldSql::ReportProcessor::#{BASE_PROCESSOR.capitalize}").new
|
151
129
|
end
|
152
|
-
rescue
|
153
|
-
logger.
|
154
|
-
|
155
|
-
|
130
|
+
rescue Exception=>e
|
131
|
+
logger.error e.message
|
132
|
+
logger.info "Loading Processor old_sql/report_processor/#{BASE_PROCESSOR}"
|
133
|
+
require "old_sql/report_processor/#{BASE_PROCESSOR}"
|
134
|
+
processor=eval("OldSql::ReportProcessor::#{BASE_PROCESSOR.capitalize}").new
|
156
135
|
end
|
157
136
|
|
158
137
|
processor
|
159
138
|
end
|
160
139
|
|
161
|
-
def
|
140
|
+
def jqgrid_col_model
|
162
141
|
@fields = []
|
163
142
|
field_num = 1
|
143
|
+
|
144
|
+
# [
|
145
|
+
# {name:'id',index:'id', width:55},
|
146
|
+
# {name:'invdate',index:'invdate', width:90, editable:true},
|
147
|
+
# {name:'name',index:'name', width:100,editable:true},
|
148
|
+
# {name:'amount',index:'amount', width:80, align:"right",editable:true},
|
149
|
+
# {name:'tax',index:'tax', width:80, align:"right",editable:true},
|
150
|
+
# {name:'total',index:'total', width:80,align:"right",editable:true},
|
151
|
+
# {name:'note',index:'note', width:150, sortable:false,editable:true}
|
152
|
+
# ]
|
164
153
|
|
165
154
|
@reports[@report_name]['fields'].each do |field|
|
166
155
|
if field_num == 1
|
167
|
-
@fields << { :
|
156
|
+
@fields << { :name=>field }
|
168
157
|
else
|
169
|
-
@fields << { :
|
158
|
+
@fields << { :name=>field, :align=>"center" }
|
170
159
|
end
|
171
160
|
field_num+=1
|
172
161
|
end
|
173
162
|
|
174
|
-
@fields
|
163
|
+
@fields.to_json
|
164
|
+
end
|
165
|
+
|
166
|
+
def jqgrid_col_names
|
167
|
+
@reports[@report_name]['fields'].to_json
|
175
168
|
end
|
176
169
|
|
177
170
|
def query_vars report
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<%= stylesheet_link_tag "old_sql/old_sql.css" %>
|
4
|
+
<%= stylesheet_link_tag "old_sql/ui-lightness/jquery-ui-1.8.13.custom.css" %>
|
5
|
+
|
6
|
+
<%= javascript_include_tag "old_sql/jquery-1.5.1.min.js" %>
|
7
|
+
<%= javascript_include_tag "old_sql/jquery-ui-1.8.13.custom.min.js" %>
|
8
|
+
<%= javascript_include_tag "old_sql/jquery-ui-timepicker-addon.js" %>
|
9
|
+
<%= javascript_include_tag "old_sql/date_format.js" %>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<%= yield %>
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -1,16 +1,25 @@
|
|
1
|
-
|
2
|
-
<%=
|
1
|
+
<!-- TODO move these to the head -->
|
2
|
+
<%= stylesheet_link_tag "old_sql/jqgrid/ui.jqgrid.css" %>
|
3
|
+
<%= javascript_include_tag "old_sql/jqgrid/jquery.jqGrid.min.js" %>
|
4
|
+
<%= javascript_include_tag "old_sql/jqgrid/ui.multiselect.js" %>
|
3
5
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
6
|
+
<script>
|
7
|
+
jQuery(document).ready(function(){
|
8
|
+
jQuery("#rowed1").jqGrid({
|
9
|
+
url:"http://<%=@host%>:<%=@port%>/sql/reports/query.json/?report=<%=@report_name%>&report_sql=<%=@report_sql%>&generation=<%=@generation%>&start_date=<%=@start_date%>&end_date=<%=@end_date%>",
|
10
|
+
datatype: "json",
|
11
|
+
pager: false,
|
12
|
+
colNames:['id','name'],
|
13
|
+
colModel:[
|
14
|
+
{name:'id',index:'id', width:55},
|
15
|
+
{name:'name',index:'name', width:100}
|
16
|
+
],
|
17
|
+
rowNum:25,
|
18
|
+
rowList:[10,20,30],
|
19
|
+
width: 777,
|
20
|
+
caption: "<%=@reports[@report_name]['value']%> Report"
|
21
|
+
});
|
22
|
+
});
|
23
|
+
</script>
|
24
|
+
|
25
|
+
<table id="rowed1"></table>
|
@@ -1,9 +1,3 @@
|
|
1
|
-
<%= stylesheet_link_tag "old_sql/db_report" %>
|
2
|
-
<%= stylesheet_link_tag "old_sql/ui-lightness/jquery-ui-1.8.13.custom.css" %>
|
3
|
-
|
4
|
-
<%= javascript_link_tag "old_sql/jquery-1.5.1.min.js" %>
|
5
|
-
<%= javascript_link_tag "old_sql/jquery-ui-1.8.13.custom.min.js" %>
|
6
|
-
|
7
1
|
<script>
|
8
2
|
var host = "<%=@host%>";
|
9
3
|
var port = "<%=@port%>";
|
@@ -12,24 +6,25 @@ var _report_loaded = false;
|
|
12
6
|
|
13
7
|
function report_selected()
|
14
8
|
{
|
15
|
-
var virality =
|
16
|
-
_report_sql =
|
9
|
+
var virality = jQuery("#report option:selected").attr('virality');
|
10
|
+
_report_sql = jQuery("#report option:selected").attr('report_sql');
|
17
11
|
|
18
12
|
if (virality == 'true')
|
19
13
|
{
|
20
|
-
|
14
|
+
jQuery("#select-generation").removeAttr('disabled');
|
21
15
|
}
|
22
16
|
else
|
23
17
|
{
|
24
|
-
|
25
|
-
|
18
|
+
jQuery("#select-generation").attr('disabled', 'disabled');
|
19
|
+
jQuery("#select-generation option:first").attr('selected','selected');
|
26
20
|
}
|
27
21
|
}
|
28
22
|
|
29
23
|
function load_report()
|
30
24
|
{
|
31
|
-
var src = "http://"
|
32
|
-
"&start_date="
|
25
|
+
var src = "http://"+host+":"+port+"/sql/reports/datagrid/?report="+jQuery("#report").val()+
|
26
|
+
"&start_date="+jQuery("#datepicker-start").val()+"&end_date="+jQuery("#datepicker-end").val()+"&generation="+
|
27
|
+
jQuery("#select-generation").val()+"&report_sql="+
|
33
28
|
_report_sql;
|
34
29
|
|
35
30
|
jQuery('iframe').attr('src', src);
|
@@ -45,10 +40,10 @@ function print_report()
|
|
45
40
|
return;
|
46
41
|
}
|
47
42
|
|
48
|
-
var src = "http://"
|
49
|
-
"&start_date="
|
50
|
-
_report_sql+"&desc="
|
51
|
-
window.open(src,'
|
43
|
+
var src = "http://"+host+":"+port+"/sql/reports/print/?report="+jQuery("#report").val()+
|
44
|
+
"&start_date="+jQuery("#datepicker-start").val()+"&end_date="+jQuery("#datepicker-end").val()+"&generation="+
|
45
|
+
jQuery("#select-generation").val()+"&report_sql="+_report_sql+"&desc="+jQuery("#report option:selected").attr('desc');
|
46
|
+
window.open(src,'Old SQL Report')
|
52
47
|
}
|
53
48
|
|
54
49
|
function export_report_to_excel()
|
@@ -59,36 +54,37 @@ function export_report_to_excel()
|
|
59
54
|
return;
|
60
55
|
}
|
61
56
|
|
62
|
-
var src = "http://"
|
63
|
-
"&start_date="
|
64
|
-
|
57
|
+
var src = "http://"+host+":"+port+"/sql/reports/query.csv/?report="+jQuery("#report").val()+
|
58
|
+
"&start_date="+jQuery("#datepicker-start").val()+"&end_date="+jQuery("#datepicker-end").val()+
|
59
|
+
"&generation="+jQuery("#select-generation").val()+"&report_sql="+
|
60
|
+
_report_sql+"&desc="+jQuery("#report option:selected").attr('desc');
|
65
61
|
window.open(src,'DB Report')
|
66
62
|
}
|
67
63
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
64
|
+
jQuery(document).ready(function($){
|
65
|
+
jQuery("#datepicker-start").datetimepicker();
|
66
|
+
jQuery("#datepicker-start").datetimepicker( "option", "dateFormat", "yy/mm/dd" );
|
67
|
+
jQuery("#datepicker-end").datetimepicker();
|
68
|
+
jQuery("#datepicker-end").datetimepicker( "option", "dateFormat", "yy/mm/dd" );
|
73
69
|
|
74
|
-
|
70
|
+
jQuery("#select-generation").attr('disabled', 'disabled');
|
75
71
|
|
76
72
|
var now = new Date();
|
77
73
|
var tomorrow = new Date();
|
78
74
|
var two_weeks_ago = new Date();
|
79
75
|
two_weeks_ago.setDate(now.getDate() - 14);
|
80
76
|
tomorrow.setDate(now.getDate() + 1);
|
81
|
-
|
82
|
-
|
77
|
+
jQuery("#datepicker-start").attr('value', two_weeks_ago.format("yyyy/mm/dd HH:MM:ss"));
|
78
|
+
jQuery("#datepicker-end").attr('value', tomorrow.format("yyyy/mm/dd HH:MM:ss"));
|
83
79
|
});
|
84
80
|
</script>
|
85
81
|
|
86
|
-
<div class="
|
82
|
+
<div class="os-block">
|
87
83
|
<div class="ui-widget-header clearfix">
|
88
84
|
<%= @page_name %>
|
89
85
|
</div>
|
90
86
|
|
91
|
-
<form id="report-form" name="report-form" action="/
|
87
|
+
<form id="report-form" name="report-form" action="/oldsql/reports/query" method="POST">
|
92
88
|
<div class="report-form-row">
|
93
89
|
<div class="report-form-label">SELECT A REPORT:</div>
|
94
90
|
<div class="report-form-input">
|
data/config/routes.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
|
-
scope "
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
scope "sql", :module => :old_sql, :as => "old_sql" do
|
3
|
+
scope "reports", :as => "reports" do
|
4
|
+
controller "report" do
|
5
|
+
match "/", :to => :index, :as => "report_list"
|
6
|
+
match "/query", :to => :query, :as => "query"
|
7
|
+
match "/datagrid", :to => :datagrid, :as => "datagrid"
|
8
|
+
match "/print", :to => :print, :as => "print"
|
9
|
+
end
|
8
10
|
end
|
9
11
|
end
|
10
12
|
end
|
data/lib/old_sql/engine.rb
CHANGED
@@ -0,0 +1,92 @@
|
|
1
|
+
module OldSql
|
2
|
+
module ReportProcessor
|
3
|
+
class Base
|
4
|
+
|
5
|
+
ROUND_PRECISION = 2
|
6
|
+
|
7
|
+
def hello_world
|
8
|
+
puts "Hello World"
|
9
|
+
end
|
10
|
+
|
11
|
+
def execute_query(report_sql,start_date,end_date,query_vars)
|
12
|
+
vars = {:start_date => start_date, :end_date => end_date}
|
13
|
+
|
14
|
+
if !query_vars.nil?
|
15
|
+
vars = vars.merge query_vars
|
16
|
+
end
|
17
|
+
|
18
|
+
template = File.read("#{Rails.root}/config/report_sql/#{report_sql}.erb")
|
19
|
+
sql = Erubis::Eruby.new(template).result(vars)
|
20
|
+
|
21
|
+
Rails.logger.debug sql
|
22
|
+
|
23
|
+
db = nil
|
24
|
+
|
25
|
+
begin
|
26
|
+
#todo change to a reporting db
|
27
|
+
db = ActiveRecord::Base.connection();
|
28
|
+
|
29
|
+
@resultset = []
|
30
|
+
rec = db.select_all(sql)
|
31
|
+
rec.each do |row|
|
32
|
+
@resultset << row
|
33
|
+
end
|
34
|
+
rescue
|
35
|
+
#todo log error
|
36
|
+
end
|
37
|
+
|
38
|
+
parse(@resultset)
|
39
|
+
|
40
|
+
@data
|
41
|
+
end
|
42
|
+
|
43
|
+
def init(resultset)
|
44
|
+
@rec = resultset[0]
|
45
|
+
self.new_data
|
46
|
+
end
|
47
|
+
|
48
|
+
def parse(resultset)
|
49
|
+
init(resultset)
|
50
|
+
|
51
|
+
resultset.each do |r|
|
52
|
+
cell = []
|
53
|
+
r.each do |key, value|
|
54
|
+
cell << value
|
55
|
+
end
|
56
|
+
new_row(nil, cell)
|
57
|
+
end
|
58
|
+
|
59
|
+
@data
|
60
|
+
end
|
61
|
+
|
62
|
+
def new_data(page=1, total=1, records=1)
|
63
|
+
@id = 0
|
64
|
+
@data = {}
|
65
|
+
@data[:page]=page
|
66
|
+
@data[:total]=total
|
67
|
+
@data[:records]=records
|
68
|
+
@data[:rows] = []
|
69
|
+
end
|
70
|
+
|
71
|
+
def new_row(title = nil, cell_data = [], id = @id+1)
|
72
|
+
if !title.nil?
|
73
|
+
cell_data.unshift "<b>#{title}</b>"
|
74
|
+
end
|
75
|
+
|
76
|
+
@data[:rows] << {id: id, cell: cell_data}
|
77
|
+
end
|
78
|
+
|
79
|
+
def ifnull(o)
|
80
|
+
if !o.nil? && o != 0
|
81
|
+
return o
|
82
|
+
else
|
83
|
+
return 1
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
def isNumeric(s)
|
88
|
+
Float(s) != nil rescue false
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|