Permalink
Browse files

Initial public release

  • Loading branch information...
Tom Schlenkhoff
Tom Schlenkhoff committed May 27, 2012
0 parents commit 97356e0654de62170110345bd7c5a4026c4ad246
Showing with 13,018 additions and 0 deletions.
  1. +28 −0 .gitignore
  2. +40 −0 Gemfile
  3. +127 −0 Gemfile.lock
  4. +6 −0 README.md
  5. +7 −0 Rakefile
  6. BIN app/assets/images/chosen-sprite.png
  7. 0 app/assets/images/favicon.ico
  8. BIN app/assets/images/glyphicons-halflings-white.png
  9. BIN app/assets/images/glyphicons-halflings.png
  10. BIN app/assets/images/logo.png
  11. +7 −0 app/assets/javascripts/application.js
  12. +1,722 −0 app/assets/javascripts/bootstrap.js
  13. +2,373 −0 app/assets/javascripts/edocs.js
  14. +368 −0 app/assets/javascripts/jquery-ujs.js
  15. +3 −0 app/assets/javascripts/pages.js.coffee
  16. +3 −0 app/assets/javascripts/sources.js.coffee
  17. +3 −0 app/assets/javascripts/users.js.coffee
  18. +7 −0 app/assets/stylesheets/application.css
  19. +567 −0 app/assets/stylesheets/bootstrap-responsive.css
  20. +3,363 −0 app/assets/stylesheets/bootstrap.css
  21. +238 −0 app/assets/stylesheets/docs.css
  22. +431 −0 app/assets/stylesheets/edocs.css.erb
  23. +3 −0 app/assets/stylesheets/pages.css.scss
  24. +3 −0 app/assets/stylesheets/readbeam.css
  25. +3 −0 app/assets/stylesheets/sources.css.scss
  26. +3 −0 app/assets/stylesheets/users.css.scss
  27. +19 −0 app/controllers/application_controller.rb
  28. +182 −0 app/controllers/edocs_controller.rb
  29. +35 −0 app/controllers/pages_controller.rb
  30. +87 −0 app/controllers/sources_controller.rb
  31. +86 −0 app/controllers/users_controller.rb
  32. +2 −0 app/helpers/application_helper.rb
  33. +2 −0 app/helpers/edocs_helper.rb
  34. +2 −0 app/helpers/pages_helper.rb
  35. +2 −0 app/helpers/sources_helper.rb
  36. +2 −0 app/helpers/users_helper.rb
  37. 0 app/mailers/.gitkeep
  38. +10 −0 app/mailers/devise_mailer.rb
  39. +21 −0 app/mailers/user_mailer.rb
  40. 0 app/models/.gitkeep
  41. +166 −0 app/models/edoc.rb
  42. +10 −0 app/models/source.rb
  43. +33 −0 app/models/user.rb
  44. +27 −0 app/views/devise/confirmations/new.html.erb
  45. +5 −0 app/views/devise/devise_mailer/confirmation_instructions.html.erb
  46. +8 −0 app/views/devise/devise_mailer/reset_password_instructions.html.erb
  47. +7 −0 app/views/devise/devise_mailer/unlock_instructions.html.erb
  48. +36 −0 app/views/devise/passwords/edit.html.erb
  49. +27 −0 app/views/devise/passwords/new.html.erb
  50. +70 −0 app/views/devise/registrations/edit.html.erb
  51. +65 −0 app/views/devise/registrations/new.html.erb
  52. +46 −0 app/views/devise/sessions/new.html.erb
  53. +25 −0 app/views/devise/shared/_links.erb
  54. +27 −0 app/views/devise/unlocks/new.html.erb
  55. +120 −0 app/views/edocs/_form.html.erb
  56. +12 −0 app/views/edocs/edit.html.erb
  57. +55 −0 app/views/edocs/index.html.erb
  58. +45 −0 app/views/edocs/log.html.erb
  59. +29 −0 app/views/edocs/new.html.erb
  60. +47 −0 app/views/edocs/show.html.erb
  61. +70 −0 app/views/layouts/application.html.erb
  62. +43 −0 app/views/pages/calibre_ebook_conversion.html.erb
  63. +43 −0 app/views/pages/calibre_hosting.html.erb
  64. +35 −0 app/views/pages/download_ebook_ipad.html.erb
  65. +34 −0 app/views/pages/download_ebook_kindle.html.erb
  66. +24 −0 app/views/pages/index.html.erb
  67. +40 −0 app/views/pages/kindle_blog_subscribe.html.erb
  68. +36 −0 app/views/pages/source.html.erb
  69. +6 −0 app/views/shared/_flash.html.erb
  70. +23 −0 app/views/shared/_menu.html.erb
  71. +16 −0 app/views/shared/_sources.html.erb
  72. +14 −0 app/views/shared/_tags.html.erb
  73. +57 −0 app/views/sources/_form.html.erb
  74. +6 −0 app/views/sources/edit.html.erb
  75. +41 −0 app/views/sources/index.html.erb
  76. +5 −0 app/views/sources/new.html.erb
  77. +54 −0 app/views/sources/show.html.erb
  78. +5 −0 app/views/user_mailer/send_edoc.text.erb
  79. +41 −0 app/views/users/_form.html.erb
  80. +12 −0 app/views/users/edit.html.erb
  81. +40 −0 app/views/users/index.html.erb
  82. +5 −0 app/views/users/new.html.erb
  83. +34 −0 app/views/users/show.html.erb
  84. +16 −0 bin/erubis
  85. +16 −0 bin/mongrel_rpm
  86. +16 −0 bin/newrelic
  87. +16 −0 bin/newrelic_cmd
  88. +16 −0 bin/rackup
  89. +16 −0 bin/rails
  90. +16 −0 bin/rake
  91. +16 −0 bin/rake2thor
  92. +16 −0 bin/rdoc
  93. +16 −0 bin/ri
  94. +16 −0 bin/sass
  95. +16 −0 bin/sass-convert
  96. +16 −0 bin/scss
  97. +16 −0 bin/therubyracer
  98. +16 −0 bin/thor
  99. +16 −0 bin/tilt
  100. +16 −0 bin/tt
  101. +16 −0 bin/turn
  102. +4 −0 config.ru
  103. +49 −0 config/application.rb
  104. +6 −0 config/boot.rb
  105. +25 −0 config/database.yml
  106. +5 −0 config/environment.rb
  107. +44 −0 config/environments/development.rb
  108. +77 −0 config/environments/production.rb
  109. +39 −0 config/environments/test.rb
  110. +7 −0 config/initializers/backtrace_silencers.rb
  111. +205 −0 config/initializers/devise.rb
  112. +10 −0 config/initializers/inflections.rb
  113. +5 −0 config/initializers/mime_types.rb
  114. +7 −0 config/initializers/secret_token.rb
  115. +8 −0 config/initializers/session_store.rb
  116. +14 −0 config/initializers/wrap_parameters.rb
  117. +56 −0 config/locales/devise.en.yml
  118. +5 −0 config/locales/en.yml
  119. +28 −0 config/routes.rb
  120. +17 −0 db/migrate/20111028140132_create_users.rb
  121. +30 −0 db/migrate/20111028140150_add_devise_to_users.rb
  122. +36 −0 db/migrate/20111028142040_create_edocs.rb
  123. +21 −0 db/migrate/20111028142634_create_sources.rb
  124. +9 −0 db/migrate/20111205105331_remove_last_run_from_edocs.rb
  125. +9 −0 db/migrate/20111205105359_remove_log_from_edocs.rb
  126. +6 −0 db/migrate/20120127103220_add_un_confirmed_email_to_users.rb
  127. +93 −0 db/schema.rb
  128. +7 −0 db/seeds.rb
  129. +2 −0 doc/README_FOR_APP
  130. +17 −0 doc/generators.txt
  131. +38 −0 lib/admin.rb
  132. 0 lib/assets/.gitkeep
  133. +7 −0 lib/email_validator.rb
  134. +71 −0 lib/source_mixin.rb
  135. 0 lib/tasks/.gitkeep
  136. +32 −0 lib/worker.rb
  137. +26 −0 public/404.html
  138. +26 −0 public/422.html
  139. +26 −0 public/500.html
  140. 0 public/favicon.ico
  141. +5 −0 public/robots.txt
  142. +6 −0 script/rails
  143. 0 test/fixtures/.gitkeep
  144. +55 −0 test/fixtures/edocs.yml
  145. +27 −0 test/fixtures/sources.yml
  146. +19 −0 test/fixtures/users.yml
  147. 0 test/functional/.gitkeep
  148. +7 −0 test/functional/devise_mailer_test.rb
  149. +49 −0 test/functional/edocs_controller_test.rb
  150. +29 −0 test/functional/pages_controller_test.rb
  151. +49 −0 test/functional/sources_controller_test.rb
  152. +7 −0 test/functional/user_mailer_test.rb
  153. +49 −0 test/functional/users_controller_test.rb
  154. 0 test/integration/.gitkeep
  155. +12 −0 test/performance/browsing_test.rb
  156. +13 −0 test/test_helper.rb
  157. 0 test/unit/.gitkeep
  158. +7 −0 test/unit/edoc_test.rb
  159. +4 −0 test/unit/helpers/edocs_helper_test.rb
  160. +4 −0 test/unit/helpers/pages_helper_test.rb
  161. +4 −0 test/unit/helpers/sources_helper_test.rb
  162. +4 −0 test/unit/helpers/users_helper_test.rb
  163. +7 −0 test/unit/source_test.rb
  164. +7 −0 test/unit/user_test.rb
  165. 0 vendor/assets/stylesheets/.gitkeep
  166. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,28 @@
+.bundle
+db/*.sqlite3
+db/clean/*
+log/*.log
+tmp/
+.sass-cache/
+.dropbox
+public/assets/
+edocs/*
+recipes/public/
+recipes/private/
+.DS_Store
+*.rbc
+*.sassc
+.sass-cache
+capybara-*.html
+.rspec
+/.bundle
+/vendor/bundle
+/log/*
+/tmp/*
+/db/*.sqlite3
+/public/system/*
+/coverage/
+/spec/tmp/*
+**.orig
+rerun.txt
+pickle-email-*.html
40 Gemfile
@@ -0,0 +1,40 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.2.2'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+gem 'devise'
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails'
+ gem 'coffee-rails'
+ gem 'uglifier'
+ gem 'therubyracer'
+end
+
+group :production do
+ gem 'newrelic_rpm'
+end
+
+
+# To use ActiveModel has_secure_password
+# gem 'bcrypt-ruby', '~> 3.0.0'
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
+
+group :test do
+ # Pretty printed test output
+ gem 'turn', :require => false
+end
@@ -0,0 +1,127 @@
+GEM
+ remote: http://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)
+ ansi (1.4.2)
+ arel (3.0.2)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.0)
+ coffee-rails (3.2.2)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.2.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.2.0)
+ devise (2.0.4)
+ bcrypt-ruby (~> 3.0)
+ orm_adapter (~> 0.0.3)
+ railties (~> 3.1)
+ warden (~> 1.1.1)
+ erubis (2.7.0)
+ execjs (1.3.0)
+ multi_json (~> 1.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ journey (1.0.3)
+ json (1.6.6)
+ libv8 (3.3.10.4)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.18)
+ multi_json (1.2.0)
+ newrelic_rpm (3.3.3)
+ orm_adapter (0.0.7)
+ 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)
+ sass (3.1.15)
+ sass-rails (3.2.5)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ sprockets (2.1.2)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.5)
+ therubyracer (0.10.0)
+ libv8 (~> 3.3.10)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ turn (0.9.4)
+ ansi
+ tzinfo (0.3.32)
+ uglifier (1.2.4)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+ warden (1.1.1)
+ rack (>= 1.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails
+ devise
+ newrelic_rpm
+ rails (= 3.2.2)
+ sass-rails
+ sqlite3
+ therubyracer
+ turn
+ uglifier
@@ -0,0 +1,6 @@
+ReadBeam - Subscribe to Online Content
+
+Subscribe to newspapers, blogs and magazines and more on your
+Amazon Kindle, Apple iPad and other ebook reading devices.
+
+This Ruby on Rails app is a web-frontend to subscriptions managed by calibre.
@@ -0,0 +1,7 @@
+#!/usr/bin/env rake
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require File.expand_path('../config/application', __FILE__)
+
+ReadBeam::Application.load_tasks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
No changes.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,7 @@
+// This is a manifest file that'll be compiled into including all the files listed below.
+// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
+// be included in the compiled file accessible from http://example.com/assets/application.js
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// the compiled file.
+//
+//= require_tree .
Oops, something went wrong.

0 comments on commit 97356e0

Please sign in to comment.