i_reach 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +38 -17
  3. data/Rakefile +3 -0
  4. data/app/assets/javascripts/i_reach/application.js +2 -1
  5. data/app/assets/javascripts/i_reach/jquery-ui-timepicker-addon.js +2134 -0
  6. data/app/assets/stylesheets/i_reach/admin.css +4 -4
  7. data/app/assets/stylesheets/i_reach/application.css +3 -1
  8. data/app/assets/stylesheets/i_reach/nav.css +36 -211
  9. data/app/assets/stylesheets/i_reach/timepicker.css +11 -0
  10. data/app/controllers/i_reach/welcome_controller.rb +4 -0
  11. data/app/helpers/layout_helper.rb +24 -0
  12. data/app/views/admin/_admin_menu_navigation.html.erb +24 -0
  13. data/app/views/admin/admin_user/_form.html.erb +17 -0
  14. data/app/views/admin/admin_user/edit.html.erb +9 -0
  15. data/app/views/admin/admin_user/list.html.erb +26 -0
  16. data/app/views/admin/admin_user/new.html.erb +8 -0
  17. data/app/views/admin/admin_user/show.html.erb +8 -0
  18. data/app/views/admin/home/index.html.erb +1 -0
  19. data/app/views/admin/menu/_form.html.erb +28 -0
  20. data/app/views/admin/menu/edit.html.erb +9 -0
  21. data/app/views/admin/menu/export.html.erb +1 -0
  22. data/app/views/admin/menu/imp_exp.html.erb +11 -0
  23. data/app/views/admin/menu/import.html.erb +1 -0
  24. data/app/views/admin/menu/list.html.erb +33 -0
  25. data/app/views/admin/menu/new.html.erb +8 -0
  26. data/app/views/admin/menu/show.html.erb +8 -0
  27. data/app/views/admin/user/_form.html.erb +49 -0
  28. data/app/views/admin/user/edit.html.erb +9 -0
  29. data/app/views/admin/user/list.html.erb +27 -0
  30. data/app/views/admin/user/new.html.erb +8 -0
  31. data/app/views/admin/user/show.html.erb +8 -0
  32. data/app/views/client/index.html.erb +1 -0
  33. data/app/views/i_reach/welcome/index.html.erb +43 -0
  34. data/app/views/layouts/i_reach/admin.html.erb +131 -0
  35. data/app/views/layouts/i_reach/application.html.erb +64 -2
  36. data/app/views/public/index.html.erb +2 -0
  37. data/config/routes.rb +2 -0
  38. data/config/spring.rb +1 -0
  39. data/lib/i_reach/engine.rb +7 -0
  40. data/lib/i_reach/version.rb +1 -1
  41. data/lib/i_reach.rb +5 -1
  42. metadata +74 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTJhODZmZDNmMDhlODUwMDI1MzU0MGZjNDgyN2M5ODIxZDQ1YjcwNQ==
4
+ ZDc0NzcwYjFjN2I1MWE5YjljNmM5Njc3ODg3MmI0ZmE2MWU3M2EzNQ==
5
5
  data.tar.gz: !binary |-
6
- MTliOTZmYjAxODU2NGU3ZDJhOTEwNjkyMjY5NzdiYWU0OWQ2OGMzZQ==
6
+ ZDNkMmZhMDBiYmM4Y2MwMzgxZTI4NjA4MDk1ZjM3N2NhNTdmYzJlNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzE3MmQ2MTY0ZDk2YWIwNzI4MGViM2M4ZWJlYWM0OGVmYTkxOWM0MDZiMWIw
10
- MGNjOTQxMWNkM2QyZmUyNmIzMjA4ZTA4M2E3YzdjMTA5ZDYzMjc5YWUyNWU4
11
- MDdmNTMxY2EzMDNjZGE4Yjc5Y2Q3ODE5MmRlMjlmZGY1NWMzMGY=
9
+ YWNlMWE1YjM5NGZhMjk1NTk4ZjY1MWY4NDViZjk1YmUxMzQ0MmMzNWE4YTYw
10
+ OGIyYjdiZDFhMjhiNjM4MTc3YWYwZDI5NDhkNTJlOTQwMjc5MzBiOTY2NzZj
11
+ ZjhmMzYyNWU1MGY5NWIxYTJiODE2MjgyZTQ1Y2ViYjA1ODJlMDQ=
12
12
  data.tar.gz: !binary |-
13
- ODg0ZWEyOGI2ZTIyNWQyNGI0NjE3NzBjMGY2ODc1YTAxYWZjMzk0NjQ2MTlk
14
- NmFjNWUzYzU3Y2RmNmZiNDkwZDY4OGUzYmU3NzFiYjE3MTNlODE2MTM0NjU2
15
- OGE4ZmQ5NTBmNzFhMTAxYTRiODYyMDg4MmE1YzA3OTQ0YmM5NTk=
13
+ ODQ1NGM4M2QzZDhiNzAxNDcyNzFkOTM0ZTA4ZTRmNmE4MmEyZDgzZjJhYmI4
14
+ YTI3MTk4OWZiNTE4NGUzMzgxNjI5YTk5YjdlMzJjMzNhNzE2NmViZDY1NjI4
15
+ ZmMyMjk1ZTM2MWZiYmZjM2FiN2FhM2FlZWNjZjM2OTk5YWFlMDQ=
data/README.md CHANGED
@@ -8,36 +8,57 @@ Requirements
8
8
 
9
9
  * Rails 3.2.x
10
10
  * Ruby 1.9.3-x
11
+ * [Bundler](http://bundler.io)
11
12
 
12
13
  Optional Dependencies
13
14
  ---------------------
14
15
  * [RVM](http://rvm.io)
15
- * [Bundler](http://bundler.io)
16
16
 
17
17
  Installation
18
18
  -----------
19
- * install rvm/ruby 1.9.3/bundler/rails 3.2.x then run the following or skip ahead to the next step if you already have a rails 3.2.x app
19
+ * install rvm/ruby 1.9.3/bundler/rails 3.2.x then run the following or skip ahead to the next step if you already have a rails 3.2.x app
20
+ `# new rails app where you want to not use 'test' and want to use mysql
20
21
  rails new MyApp -T --skip-bundle -d mysql
21
- cd MyApp
22
+ # or optionally a default rails app
23
+ rails new MyApp
24
+ cd MyApp`
22
25
 
23
- * edit your Gemfile
24
- gem 'i_reach'
26
+ * edit your Gemfile
27
+ `gem 'i_reach'`
25
28
 
26
- * bundle your gems
27
- bundle install
29
+ * bundle your gems
30
+ `bundle install`
28
31
 
29
32
  * configure [mail_manager](https://github.com/LoneStarInternet/mail_manager/master/README.md)
30
- ** generate migrations
31
- rake mail_manager:import_migrations
33
+ * generate migrations
34
+ `rake mail_manager:import_migrations`
35
+
36
+ * generate delayed_jobs (this is the only job runner we support right now)
37
+ `rails g delayed_job:active_record`
38
+
39
+ * NOTE: you need to create an email account that will receive bounces from your mailings(and allow POP)... configure in the following file:
40
+ * generate and configure the mail manager settings file at config/mail_manager.yml: (replace table prefix with something... or nothing if you don't want to scope it)
41
+ `rake mail_manager:default_app_config[table_prefix]`
42
+
43
+ * configure [newsletter](https://github.com/LoneStarInternet/newsletter/master/README.md)
44
+ * generate migrations
45
+ `rake newsletter:import_migrations`
46
+
47
+ * generate and configure the newsletter settings file at config/newsletter.yml: (replace table prefix with something... or nothing if you don't want to scope it)
48
+ `rake newsletter:default_app_config[table_prefix]`
49
+
50
+ * configure your database(unless already configured) edit config/database.yml
32
51
 
33
- ** generate delayed_jobs (this is the only job runner we support right now)
34
- rails g delayed_job:active_record
52
+ * create(unless already created) and migrate the database
53
+ `rake db:create # this doesn't always work... you may need to use your normal client & set up permissions`
54
+ `rake db:migrate`
35
55
 
36
- ** configure your database(unless already configured) edit config/database.yml
56
+ * Create default admin menus for newsletter, mail_manager, and user administration
57
+ `rake newsletter:create_auth_menus
58
+ rake mail_manager:create_auth_menus`
37
59
 
38
- ** create(unless already created) and migrate the database
39
- rake db:create
40
- rake db:migrate
60
+ * create bounce job to check for emails that have bounced from your mailings
61
+ `rake mail_manager:create_delayed_jobs`
41
62
 
42
- * mount IReach routes (you can say where by using at: /path)
43
- mount IReach::Engine
63
+ * mount IReach routes (you can say where by using at: /path)
64
+ `mount IReach::Engine`
data/Rakefile CHANGED
@@ -20,6 +20,9 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
20
  rdoc.rdoc_files.include('lib/**/*.rb')
21
21
  end
22
22
 
23
+ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
24
+
25
+ load 'rails/tasks/engine.rake'
23
26
 
24
27
 
25
28
 
@@ -12,4 +12,5 @@
12
12
  //
13
13
  //= require jquery
14
14
  //= require jquery_ujs
15
- //= require_tree .
15
+ //= require jquery-ui
16
+ //= require i_reach/jquery-ui-timepicker-addon