Permalink
Browse files

initial work on conversion from php tree

  • Loading branch information...
0 parents commit 093747b7961de77fefb9b4409825ad05d3275987 @jcs jcs committed Jun 17, 2012
Showing with 6,366 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +1 −0 .rspec
  3. +33 −0 Gemfile
  4. +114 −0 Gemfile.lock
  5. +261 −0 README.rdoc
  6. +7 −0 Rakefile
  7. BIN app/assets/images/l.png
  8. BIN app/assets/images/rails.png
  9. BIN app/assets/images/select2.png
  10. BIN app/assets/images/superblock.png
  11. +149 −0 app/assets/javascripts/application.js
  12. +64 −0 app/assets/javascripts/jquery_class.js
  13. +1,578 −0 app/assets/javascripts/select2.js
  14. +866 −0 app/assets/stylesheets/application.css
  15. +456 −0 app/assets/stylesheets/select2.css
  16. +29 −0 app/controllers/application_controller.rb
  17. +75 −0 app/controllers/comments_controller.rb
  18. +50 −0 app/controllers/home_controller.rb
  19. +68 −0 app/controllers/login_controller.rb
  20. +107 −0 app/controllers/messages_controller.rb
  21. +59 −0 app/controllers/signup_controller.rb
  22. +225 −0 app/controllers/stories_controller.rb
  23. +51 −0 app/controllers/users_controller.rb
  24. +2 −0 app/helpers/application_helper.rb
  25. 0 app/mailers/.gitkeep
  26. +11 −0 app/mailers/password_reset.rb
  27. 0 app/models/.gitkeep
  28. +58 −0 app/models/comment.rb
  29. +43 −0 app/models/keystore.rb
  30. +186 −0 app/models/story.rb
  31. +2 −0 app/models/tag.rb
  32. +4 −0 app/models/tagging.rb
  33. +40 −0 app/models/user.rb
  34. +102 −0 app/models/vote.rb
  35. +2 −0 app/views/global/_footer.html.erb
  36. +43 −0 app/views/global/_header.html.erb
  37. +10 −0 app/views/home/index.html.erb
  38. +28 −0 app/views/layouts/application.html.erb
  39. +24 −0 app/views/login/forgot_password.html.erb
  40. +36 −0 app/views/login/index.html.erb
  41. +32 −0 app/views/login/set_new_password.html.erb
  42. +30 −0 app/views/messages/_list.phtml
  43. +23 −0 app/views/messages/compose.phtml
  44. +13 −0 app/views/messages/index.phtml
  45. +69 −0 app/views/messages/show.phtml
  46. +7 −0 app/views/password_reset/password_reset_link.text.erb
  47. +42 −0 app/views/signup/index.html.erb
  48. +41 −0 app/views/stories/_comment.html.erb
  49. +23 −0 app/views/stories/_commentbox.html.erb
  50. +84 −0 app/views/stories/_form.html.erb
  51. +55 −0 app/views/stories/_listdetail.html.erb
  52. +13 −0 app/views/stories/edit.phtml
  53. +2 −0 app/views/stories/manage.phtml
  54. +15 −0 app/views/stories/new.html.erb
  55. +23 −0 app/views/stories/show.html.erb
  56. +51 −0 app/views/users/settings.phtml
  57. +24 −0 app/views/users/show.phtml
  58. +4 −0 config.ru
  59. +59 −0 config/application.rb
  60. +6 −0 config/boot.rb
  61. +5 −0 config/environment.rb
  62. +37 −0 config/environments/development.rb
  63. +67 −0 config/environments/production.rb
  64. +37 −0 config/environments/test.rb
  65. +7 −0 config/initializers/backtrace_silencers.rb
  66. +15 −0 config/initializers/inflections.rb
  67. +5 −0 config/initializers/mime_types.rb
  68. +9 −0 config/initializers/session_store.rb
  69. +14 −0 config/initializers/wrap_parameters.rb
  70. +5 −0 config/locales/en.yml
  71. +35 −0 config/routes.rb
  72. +100 −0 db/schema.rb
  73. +7 −0 db/seeds.rb
  74. +144 −0 extras/markdowner.rb
  75. +217 −0 extras/sponge.rb
  76. +16 −0 extras/utils.rb
  77. 0 log/.gitkeep
  78. +26 −0 public/404.html
  79. +26 −0 public/422.html
  80. +25 −0 public/500.html
  81. BIN public/favicon.ico
  82. +5 −0 public/robots.txt
  83. +6 −0 script/rails
  84. +104 −0 spec/models/markdowner_spec.rb
  85. +32 −0 spec/spec_helper.rb
  86. +7 −0 spec/support/blueprints.rb
  87. 0 vendor/assets/javascripts/.gitkeep
  88. 0 vendor/assets/stylesheets/.gitkeep
  89. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,15 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
1 .rspec
@@ -0,0 +1 @@
+--no-colour
33 Gemfile
@@ -0,0 +1,33 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.2'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem "mysql2"
+
+gem 'jquery-rails'
+
+# To use ActiveModel has_secure_password
+gem 'bcrypt-ruby', '~> 3.0.0'
+
+gem "dynamic_form"
+
+group :test, :development do
+ gem "rspec-rails", "~> 2.6"
+ gem "machinist"
+ gem "sqlite3"
+end
+
+# To use Jbuilder templates for JSON
+# gem 'jbuilder'
+
+# Use unicorn as the app server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
@@ -0,0 +1,114 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.2)
+ actionpack (= 3.2.2)
+ mail (~> 2.4.0)
+ actionpack (3.2.2)
+ activemodel (= 3.2.2)
+ activesupport (= 3.2.2)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.1)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.1)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.2)
+ activemodel (3.2.2)
+ activesupport (= 3.2.2)
+ builder (~> 3.0.0)
+ activerecord (3.2.2)
+ activemodel (= 3.2.2)
+ activesupport (= 3.2.2)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.2)
+ activemodel (= 3.2.2)
+ activesupport (= 3.2.2)
+ activesupport (3.2.2)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.2)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.0)
+ diff-lcs (1.1.3)
+ dynamic_form (1.1.4)
+ erubis (2.7.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ journey (1.0.3)
+ jquery-rails (2.0.1)
+ railties (>= 3.2.0, < 5.0)
+ thor (~> 0.14)
+ json (1.6.5)
+ machinist (2.0)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.18)
+ multi_json (1.1.0)
+ mysql2 (0.3.11)
+ polyglot (0.3.3)
+ rack (1.4.1)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.2.2)
+ actionmailer (= 3.2.2)
+ actionpack (= 3.2.2)
+ activerecord (= 3.2.2)
+ activeresource (= 3.2.2)
+ activesupport (= 3.2.2)
+ bundler (~> 1.0)
+ railties (= 3.2.2)
+ railties (3.2.2)
+ actionpack (= 3.2.2)
+ activesupport (= 3.2.2)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rspec (2.9.0)
+ rspec-core (~> 2.9.0)
+ rspec-expectations (~> 2.9.0)
+ rspec-mocks (~> 2.9.0)
+ rspec-core (2.9.0)
+ rspec-expectations (2.9.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.9.0)
+ rspec-rails (2.9.0)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec (~> 2.9.0)
+ sprockets (2.1.2)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.6)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.32)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt-ruby (~> 3.0.0)
+ dynamic_form
+ jquery-rails
+ machinist
+ mysql2
+ rails (= 3.2.2)
+ rspec-rails (~> 2.6)
+ sqlite3
Oops, something went wrong.

0 comments on commit 093747b

Please sign in to comment.