ack-mongoid-forums 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +35 -0
- data/app/assets/javascripts/mongoid_forums/admin/base.js +2 -0
- data/app/assets/javascripts/mongoid_forums/admin/categories.js +2 -0
- data/app/assets/javascripts/mongoid_forums/admin/forums.js +2 -0
- data/app/assets/javascripts/mongoid_forums/admin/groups.js +2 -0
- data/app/assets/javascripts/mongoid_forums/admin/users.js +2 -0
- data/app/assets/javascripts/mongoid_forums/application.js +15 -0
- data/app/assets/javascripts/mongoid_forums/forums.js +2 -0
- data/app/assets/javascripts/mongoid_forums/posts.js +2 -0
- data/app/assets/javascripts/mongoid_forums/topics.js +2 -0
- data/app/assets/stylesheets/mongoid_forums/admin/base.css +4 -0
- data/app/assets/stylesheets/mongoid_forums/admin/categories.css +4 -0
- data/app/assets/stylesheets/mongoid_forums/admin/forums.css +4 -0
- data/app/assets/stylesheets/mongoid_forums/admin/groups.css +4 -0
- data/app/assets/stylesheets/mongoid_forums/admin/users.css +4 -0
- data/app/assets/stylesheets/mongoid_forums/application.css +15 -0
- data/app/assets/stylesheets/mongoid_forums/forums.css +4 -0
- data/app/assets/stylesheets/mongoid_forums/posts.css +4 -0
- data/app/assets/stylesheets/mongoid_forums/topics.css +4 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/controllers/mongoid_forums/admin/base_controller.rb +18 -0
- data/app/controllers/mongoid_forums/admin/categories_controller.rb +83 -0
- data/app/controllers/mongoid_forums/admin/forums_controller.rb +83 -0
- data/app/controllers/mongoid_forums/admin/groups_controller.rb +83 -0
- data/app/controllers/mongoid_forums/admin/topics_controller.rb +48 -0
- data/app/controllers/mongoid_forums/admin/users_controller.rb +34 -0
- data/app/controllers/mongoid_forums/application_controller.rb +57 -0
- data/app/controllers/mongoid_forums/forums_controller.rb +66 -0
- data/app/controllers/mongoid_forums/posts_controller.rb +133 -0
- data/app/controllers/mongoid_forums/redirect_controller.rb +33 -0
- data/app/controllers/mongoid_forums/topics_controller.rb +83 -0
- data/app/decorators/lib/mongoid_forums/user_class_decorator.rb +1 -0
- data/app/helpers/mongoid_forums/admin/base_helper.rb +4 -0
- data/app/helpers/mongoid_forums/admin/categories_helper.rb +4 -0
- data/app/helpers/mongoid_forums/admin/forums_helper.rb +4 -0
- data/app/helpers/mongoid_forums/admin/groups_helper.rb +4 -0
- data/app/helpers/mongoid_forums/admin/users_helper.rb +4 -0
- data/app/helpers/mongoid_forums/application_helper.rb +20 -0
- data/app/helpers/mongoid_forums/formatting_helper.rb +28 -0
- data/app/helpers/mongoid_forums/forums_helper.rb +15 -0
- data/app/helpers/mongoid_forums/posts_helper.rb +4 -0
- data/app/helpers/mongoid_forums/topics_helper.rb +4 -0
- data/app/models/mongoid_forums/ability.rb +65 -0
- data/app/models/mongoid_forums/alert.rb +80 -0
- data/app/models/mongoid_forums/category.rb +31 -0
- data/app/models/mongoid_forums/concerns/subscribable.rb +76 -0
- data/app/models/mongoid_forums/concerns/viewable.rb +60 -0
- data/app/models/mongoid_forums/forum.rb +67 -0
- data/app/models/mongoid_forums/group.rb +15 -0
- data/app/models/mongoid_forums/post.rb +40 -0
- data/app/models/mongoid_forums/subscription.rb +65 -0
- data/app/models/mongoid_forums/topic.rb +55 -0
- data/app/models/mongoid_forums/view.rb +30 -0
- data/app/views/layouts/mongoid_forums/application.haml +21 -0
- data/app/views/mongoid_forums/admin/base/index.haml +6 -0
- data/app/views/mongoid_forums/admin/categories/edit.haml +4 -0
- data/app/views/mongoid_forums/admin/categories/index.haml +21 -0
- data/app/views/mongoid_forums/admin/categories/new.haml +4 -0
- data/app/views/mongoid_forums/admin/categories/show.haml +21 -0
- data/app/views/mongoid_forums/admin/forums/edit.haml +5 -0
- data/app/views/mongoid_forums/admin/forums/index.haml +25 -0
- data/app/views/mongoid_forums/admin/forums/new.haml +5 -0
- data/app/views/mongoid_forums/admin/forums/show.haml +21 -0
- data/app/views/mongoid_forums/admin/groups/edit.haml +4 -0
- data/app/views/mongoid_forums/admin/groups/index.haml +23 -0
- data/app/views/mongoid_forums/admin/groups/new.haml +5 -0
- data/app/views/mongoid_forums/admin/groups/show.haml +26 -0
- data/app/views/mongoid_forums/admin/users/index.haml +24 -0
- data/app/views/mongoid_forums/forums/index.haml +46 -0
- data/app/views/mongoid_forums/forums/new.haml +15 -0
- data/app/views/mongoid_forums/forums/show.haml +47 -0
- data/app/views/mongoid_forums/posts/_form.haml +4 -0
- data/app/views/mongoid_forums/posts/_post.haml +24 -0
- data/app/views/mongoid_forums/posts/_quoted.haml +9 -0
- data/app/views/mongoid_forums/posts/edit.haml +17 -0
- data/app/views/mongoid_forums/posts/new.haml +17 -0
- data/app/views/mongoid_forums/topics/_topic.haml +2 -0
- data/app/views/mongoid_forums/topics/my_posts.haml +6 -0
- data/app/views/mongoid_forums/topics/my_subscriptions.haml +5 -0
- data/app/views/mongoid_forums/topics/my_topics.haml +6 -0
- data/app/views/mongoid_forums/topics/show.haml +16 -0
- data/config/locales/en.yml +196 -0
- data/config/routes.rb +62 -0
- data/lib/ack_mongoid_forums.rb +1 -0
- data/lib/generators/mongoid_forums/install/templates/initializer.rb +5 -0
- data/lib/generators/mongoid_forums/install_generator.rb +90 -0
- data/lib/generators/mongoid_forums/views_generator.rb +27 -0
- data/lib/mongoid_forums.rb +53 -0
- data/lib/mongoid_forums/default_permissions.rb +63 -0
- data/lib/mongoid_forums/engine.rb +20 -0
- data/lib/mongoid_forums/sanitizer.rb +10 -0
- data/lib/mongoid_forums/version.rb +3 -0
- data/lib/tasks/mongoid_forums_tasks.rake +4 -0
- data/test/controllers/mongoid_forums/admin/base_controller_test.rb +11 -0
- data/test/controllers/mongoid_forums/admin/categories_controller_test.rb +31 -0
- data/test/controllers/mongoid_forums/admin/forums_controller_test.rb +31 -0
- data/test/controllers/mongoid_forums/admin/groups_controller_test.rb +41 -0
- data/test/controllers/mongoid_forums/admin/users_controller_test.rb +11 -0
- data/test/controllers/mongoid_forums/forums_controller_test.rb +16 -0
- data/test/controllers/mongoid_forums/posts_controller_test.rb +36 -0
- data/test/controllers/mongoid_forums/topics_controller_test.rb +36 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/javascripts/welcome.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/assets/stylesheets/welcome.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +11 -0
- data/test/dummy/app/controllers/welcome_controller.rb +4 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/welcome_helper.rb +2 -0
- data/test/dummy/app/models/concerns/zero_oid_fix.rb +10 -0
- data/test/dummy/app/models/user.rb +43 -0
- data/test/dummy/app/views/layouts/application.haml +13 -0
- data/test/dummy/app/views/partials/_nav.haml +6 -0
- data/test/dummy/app/views/welcome/index.html.erb +2 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +29 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +76 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/devise.rb +259 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/kaminari_config.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/mongoid_forums.rb +5 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/simple_form.rb +166 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/test/dummy/config/locales/devise.en.yml +60 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/locales/simple_form.en.yml +31 -0
- data/test/dummy/config/mongoid.yml +69 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/controllers/welcome_controller_test.rb +9 -0
- data/test/dummy/test/fixtures/users.yml +11 -0
- data/test/dummy/test/models/user_test.rb +7 -0
- data/test/fixtures/mongoid_forums/categories.yml +11 -0
- data/test/fixtures/mongoid_forums/forums.yml +11 -0
- data/test/fixtures/mongoid_forums/posts.yml +11 -0
- data/test/fixtures/mongoid_forums/ranks.yml +11 -0
- data/test/fixtures/mongoid_forums/topics.yml +11 -0
- data/test/integration/navigation_test.rb +9 -0
- data/test/models/mongoid_forums/category_test.rb +9 -0
- data/test/models/mongoid_forums/forum_test.rb +9 -0
- data/test/models/mongoid_forums/post_test.rb +9 -0
- data/test/models/mongoid_forums/rank_test.rb +9 -0
- data/test/models/mongoid_forums/topic_test.rb +9 -0
- data/test/mongoid_forums_test.rb +7 -0
- data/test/test_helper.rb +17 -0
- metadata +442 -0
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
8
|
+
# to be shown.
|
9
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
10
|
+
|
11
|
+
# Load support files
|
12
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
13
|
+
|
14
|
+
# Load fixtures from the engine
|
15
|
+
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
16
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,442 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ack-mongoid-forums
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ack43
|
8
|
+
- skipperguy12
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2015-11-13 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 4.2.0
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 4.2.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: mongoid
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 4.0.0
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 4.0.0
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: simple_form
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: kaminari
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.15.1
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.15.1
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: sanitize
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.0.6
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 2.0.6
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: cancancan
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '1.10'
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '1.10'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: decorators
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 1.0.2
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 1.0.2
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: haml
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: devise
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 3.4.0
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 3.4.0
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: jquery-rails
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: pry-rails
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
description:
|
169
|
+
email:
|
170
|
+
- i43ack@gmail.com
|
171
|
+
- skipperguy12@users.noreply.github.com
|
172
|
+
executables: []
|
173
|
+
extensions: []
|
174
|
+
extra_rdoc_files: []
|
175
|
+
files:
|
176
|
+
- MIT-LICENSE
|
177
|
+
- Rakefile
|
178
|
+
- app/assets/javascripts/mongoid_forums/admin/base.js
|
179
|
+
- app/assets/javascripts/mongoid_forums/admin/categories.js
|
180
|
+
- app/assets/javascripts/mongoid_forums/admin/forums.js
|
181
|
+
- app/assets/javascripts/mongoid_forums/admin/groups.js
|
182
|
+
- app/assets/javascripts/mongoid_forums/admin/users.js
|
183
|
+
- app/assets/javascripts/mongoid_forums/application.js
|
184
|
+
- app/assets/javascripts/mongoid_forums/forums.js
|
185
|
+
- app/assets/javascripts/mongoid_forums/posts.js
|
186
|
+
- app/assets/javascripts/mongoid_forums/topics.js
|
187
|
+
- app/assets/stylesheets/mongoid_forums/admin/base.css
|
188
|
+
- app/assets/stylesheets/mongoid_forums/admin/categories.css
|
189
|
+
- app/assets/stylesheets/mongoid_forums/admin/forums.css
|
190
|
+
- app/assets/stylesheets/mongoid_forums/admin/groups.css
|
191
|
+
- app/assets/stylesheets/mongoid_forums/admin/users.css
|
192
|
+
- app/assets/stylesheets/mongoid_forums/application.css
|
193
|
+
- app/assets/stylesheets/mongoid_forums/forums.css
|
194
|
+
- app/assets/stylesheets/mongoid_forums/posts.css
|
195
|
+
- app/assets/stylesheets/mongoid_forums/topics.css
|
196
|
+
- app/assets/stylesheets/scaffold.css
|
197
|
+
- app/controllers/mongoid_forums/admin/base_controller.rb
|
198
|
+
- app/controllers/mongoid_forums/admin/categories_controller.rb
|
199
|
+
- app/controllers/mongoid_forums/admin/forums_controller.rb
|
200
|
+
- app/controllers/mongoid_forums/admin/groups_controller.rb
|
201
|
+
- app/controllers/mongoid_forums/admin/topics_controller.rb
|
202
|
+
- app/controllers/mongoid_forums/admin/users_controller.rb
|
203
|
+
- app/controllers/mongoid_forums/application_controller.rb
|
204
|
+
- app/controllers/mongoid_forums/forums_controller.rb
|
205
|
+
- app/controllers/mongoid_forums/posts_controller.rb
|
206
|
+
- app/controllers/mongoid_forums/redirect_controller.rb
|
207
|
+
- app/controllers/mongoid_forums/topics_controller.rb
|
208
|
+
- app/decorators/lib/mongoid_forums/user_class_decorator.rb
|
209
|
+
- app/helpers/mongoid_forums/admin/base_helper.rb
|
210
|
+
- app/helpers/mongoid_forums/admin/categories_helper.rb
|
211
|
+
- app/helpers/mongoid_forums/admin/forums_helper.rb
|
212
|
+
- app/helpers/mongoid_forums/admin/groups_helper.rb
|
213
|
+
- app/helpers/mongoid_forums/admin/users_helper.rb
|
214
|
+
- app/helpers/mongoid_forums/application_helper.rb
|
215
|
+
- app/helpers/mongoid_forums/formatting_helper.rb
|
216
|
+
- app/helpers/mongoid_forums/forums_helper.rb
|
217
|
+
- app/helpers/mongoid_forums/posts_helper.rb
|
218
|
+
- app/helpers/mongoid_forums/topics_helper.rb
|
219
|
+
- app/models/mongoid_forums/ability.rb
|
220
|
+
- app/models/mongoid_forums/alert.rb
|
221
|
+
- app/models/mongoid_forums/category.rb
|
222
|
+
- app/models/mongoid_forums/concerns/subscribable.rb
|
223
|
+
- app/models/mongoid_forums/concerns/viewable.rb
|
224
|
+
- app/models/mongoid_forums/forum.rb
|
225
|
+
- app/models/mongoid_forums/group.rb
|
226
|
+
- app/models/mongoid_forums/post.rb
|
227
|
+
- app/models/mongoid_forums/subscription.rb
|
228
|
+
- app/models/mongoid_forums/topic.rb
|
229
|
+
- app/models/mongoid_forums/view.rb
|
230
|
+
- app/views/layouts/mongoid_forums/application.haml
|
231
|
+
- app/views/mongoid_forums/admin/base/index.haml
|
232
|
+
- app/views/mongoid_forums/admin/categories/edit.haml
|
233
|
+
- app/views/mongoid_forums/admin/categories/index.haml
|
234
|
+
- app/views/mongoid_forums/admin/categories/new.haml
|
235
|
+
- app/views/mongoid_forums/admin/categories/show.haml
|
236
|
+
- app/views/mongoid_forums/admin/forums/edit.haml
|
237
|
+
- app/views/mongoid_forums/admin/forums/index.haml
|
238
|
+
- app/views/mongoid_forums/admin/forums/new.haml
|
239
|
+
- app/views/mongoid_forums/admin/forums/show.haml
|
240
|
+
- app/views/mongoid_forums/admin/groups/edit.haml
|
241
|
+
- app/views/mongoid_forums/admin/groups/index.haml
|
242
|
+
- app/views/mongoid_forums/admin/groups/new.haml
|
243
|
+
- app/views/mongoid_forums/admin/groups/show.haml
|
244
|
+
- app/views/mongoid_forums/admin/users/index.haml
|
245
|
+
- app/views/mongoid_forums/forums/index.haml
|
246
|
+
- app/views/mongoid_forums/forums/new.haml
|
247
|
+
- app/views/mongoid_forums/forums/show.haml
|
248
|
+
- app/views/mongoid_forums/posts/_form.haml
|
249
|
+
- app/views/mongoid_forums/posts/_post.haml
|
250
|
+
- app/views/mongoid_forums/posts/_quoted.haml
|
251
|
+
- app/views/mongoid_forums/posts/edit.haml
|
252
|
+
- app/views/mongoid_forums/posts/new.haml
|
253
|
+
- app/views/mongoid_forums/topics/_topic.haml
|
254
|
+
- app/views/mongoid_forums/topics/my_posts.haml
|
255
|
+
- app/views/mongoid_forums/topics/my_subscriptions.haml
|
256
|
+
- app/views/mongoid_forums/topics/my_topics.haml
|
257
|
+
- app/views/mongoid_forums/topics/show.haml
|
258
|
+
- config/locales/en.yml
|
259
|
+
- config/routes.rb
|
260
|
+
- lib/ack_mongoid_forums.rb
|
261
|
+
- lib/generators/mongoid_forums/install/templates/initializer.rb
|
262
|
+
- lib/generators/mongoid_forums/install_generator.rb
|
263
|
+
- lib/generators/mongoid_forums/views_generator.rb
|
264
|
+
- lib/mongoid_forums.rb
|
265
|
+
- lib/mongoid_forums/default_permissions.rb
|
266
|
+
- lib/mongoid_forums/engine.rb
|
267
|
+
- lib/mongoid_forums/sanitizer.rb
|
268
|
+
- lib/mongoid_forums/version.rb
|
269
|
+
- lib/tasks/mongoid_forums_tasks.rake
|
270
|
+
- test/controllers/mongoid_forums/admin/base_controller_test.rb
|
271
|
+
- test/controllers/mongoid_forums/admin/categories_controller_test.rb
|
272
|
+
- test/controllers/mongoid_forums/admin/forums_controller_test.rb
|
273
|
+
- test/controllers/mongoid_forums/admin/groups_controller_test.rb
|
274
|
+
- test/controllers/mongoid_forums/admin/users_controller_test.rb
|
275
|
+
- test/controllers/mongoid_forums/forums_controller_test.rb
|
276
|
+
- test/controllers/mongoid_forums/posts_controller_test.rb
|
277
|
+
- test/controllers/mongoid_forums/topics_controller_test.rb
|
278
|
+
- test/dummy/README.rdoc
|
279
|
+
- test/dummy/Rakefile
|
280
|
+
- test/dummy/app/assets/javascripts/application.js
|
281
|
+
- test/dummy/app/assets/javascripts/welcome.js
|
282
|
+
- test/dummy/app/assets/stylesheets/application.css
|
283
|
+
- test/dummy/app/assets/stylesheets/scaffold.css
|
284
|
+
- test/dummy/app/assets/stylesheets/welcome.css
|
285
|
+
- test/dummy/app/controllers/application_controller.rb
|
286
|
+
- test/dummy/app/controllers/welcome_controller.rb
|
287
|
+
- test/dummy/app/helpers/application_helper.rb
|
288
|
+
- test/dummy/app/helpers/welcome_helper.rb
|
289
|
+
- test/dummy/app/models/concerns/zero_oid_fix.rb
|
290
|
+
- test/dummy/app/models/user.rb
|
291
|
+
- test/dummy/app/views/layouts/application.haml
|
292
|
+
- test/dummy/app/views/partials/_nav.haml
|
293
|
+
- test/dummy/app/views/welcome/index.html.erb
|
294
|
+
- test/dummy/bin/bundle
|
295
|
+
- test/dummy/bin/rails
|
296
|
+
- test/dummy/bin/rake
|
297
|
+
- test/dummy/bin/setup
|
298
|
+
- test/dummy/config.ru
|
299
|
+
- test/dummy/config/application.rb
|
300
|
+
- test/dummy/config/boot.rb
|
301
|
+
- test/dummy/config/environment.rb
|
302
|
+
- test/dummy/config/environments/development.rb
|
303
|
+
- test/dummy/config/environments/production.rb
|
304
|
+
- test/dummy/config/environments/test.rb
|
305
|
+
- test/dummy/config/initializers/assets.rb
|
306
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
307
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
308
|
+
- test/dummy/config/initializers/devise.rb
|
309
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
310
|
+
- test/dummy/config/initializers/inflections.rb
|
311
|
+
- test/dummy/config/initializers/kaminari_config.rb
|
312
|
+
- test/dummy/config/initializers/mime_types.rb
|
313
|
+
- test/dummy/config/initializers/mongoid_forums.rb
|
314
|
+
- test/dummy/config/initializers/session_store.rb
|
315
|
+
- test/dummy/config/initializers/simple_form.rb
|
316
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
317
|
+
- test/dummy/config/locales/devise.en.yml
|
318
|
+
- test/dummy/config/locales/en.yml
|
319
|
+
- test/dummy/config/locales/simple_form.en.yml
|
320
|
+
- test/dummy/config/mongoid.yml
|
321
|
+
- test/dummy/config/routes.rb
|
322
|
+
- test/dummy/config/secrets.yml
|
323
|
+
- test/dummy/lib/templates/erb/scaffold/_form.html.erb
|
324
|
+
- test/dummy/public/404.html
|
325
|
+
- test/dummy/public/422.html
|
326
|
+
- test/dummy/public/500.html
|
327
|
+
- test/dummy/public/favicon.ico
|
328
|
+
- test/dummy/test/controllers/welcome_controller_test.rb
|
329
|
+
- test/dummy/test/fixtures/users.yml
|
330
|
+
- test/dummy/test/models/user_test.rb
|
331
|
+
- test/fixtures/mongoid_forums/categories.yml
|
332
|
+
- test/fixtures/mongoid_forums/forums.yml
|
333
|
+
- test/fixtures/mongoid_forums/posts.yml
|
334
|
+
- test/fixtures/mongoid_forums/ranks.yml
|
335
|
+
- test/fixtures/mongoid_forums/topics.yml
|
336
|
+
- test/integration/navigation_test.rb
|
337
|
+
- test/models/mongoid_forums/category_test.rb
|
338
|
+
- test/models/mongoid_forums/forum_test.rb
|
339
|
+
- test/models/mongoid_forums/post_test.rb
|
340
|
+
- test/models/mongoid_forums/rank_test.rb
|
341
|
+
- test/models/mongoid_forums/topic_test.rb
|
342
|
+
- test/mongoid_forums_test.rb
|
343
|
+
- test/test_helper.rb
|
344
|
+
homepage: https://github.com/ack43/mongoid_forums
|
345
|
+
licenses:
|
346
|
+
- MIT
|
347
|
+
metadata: {}
|
348
|
+
post_install_message:
|
349
|
+
rdoc_options: []
|
350
|
+
require_paths:
|
351
|
+
- lib
|
352
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
353
|
+
requirements:
|
354
|
+
- - ">="
|
355
|
+
- !ruby/object:Gem::Version
|
356
|
+
version: '0'
|
357
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
358
|
+
requirements:
|
359
|
+
- - ">="
|
360
|
+
- !ruby/object:Gem::Version
|
361
|
+
version: '0'
|
362
|
+
requirements: []
|
363
|
+
rubyforge_project:
|
364
|
+
rubygems_version: 2.4.8
|
365
|
+
signing_key:
|
366
|
+
specification_version: 4
|
367
|
+
summary: Forum engine for Rails 4 and mongoid. Forked from https://github.com/NJayDevelopment/mongoid_forums
|
368
|
+
test_files:
|
369
|
+
- test/controllers/mongoid_forums/forums_controller_test.rb
|
370
|
+
- test/controllers/mongoid_forums/posts_controller_test.rb
|
371
|
+
- test/controllers/mongoid_forums/admin/base_controller_test.rb
|
372
|
+
- test/controllers/mongoid_forums/admin/forums_controller_test.rb
|
373
|
+
- test/controllers/mongoid_forums/admin/users_controller_test.rb
|
374
|
+
- test/controllers/mongoid_forums/admin/groups_controller_test.rb
|
375
|
+
- test/controllers/mongoid_forums/admin/categories_controller_test.rb
|
376
|
+
- test/controllers/mongoid_forums/topics_controller_test.rb
|
377
|
+
- test/mongoid_forums_test.rb
|
378
|
+
- test/fixtures/mongoid_forums/categories.yml
|
379
|
+
- test/fixtures/mongoid_forums/forums.yml
|
380
|
+
- test/fixtures/mongoid_forums/posts.yml
|
381
|
+
- test/fixtures/mongoid_forums/ranks.yml
|
382
|
+
- test/fixtures/mongoid_forums/topics.yml
|
383
|
+
- test/models/mongoid_forums/topic_test.rb
|
384
|
+
- test/models/mongoid_forums/category_test.rb
|
385
|
+
- test/models/mongoid_forums/rank_test.rb
|
386
|
+
- test/models/mongoid_forums/forum_test.rb
|
387
|
+
- test/models/mongoid_forums/post_test.rb
|
388
|
+
- test/test_helper.rb
|
389
|
+
- test/integration/navigation_test.rb
|
390
|
+
- test/dummy/public/favicon.ico
|
391
|
+
- test/dummy/public/500.html
|
392
|
+
- test/dummy/public/422.html
|
393
|
+
- test/dummy/public/404.html
|
394
|
+
- test/dummy/app/assets/stylesheets/welcome.css
|
395
|
+
- test/dummy/app/assets/stylesheets/scaffold.css
|
396
|
+
- test/dummy/app/assets/stylesheets/application.css
|
397
|
+
- test/dummy/app/assets/javascripts/application.js
|
398
|
+
- test/dummy/app/assets/javascripts/welcome.js
|
399
|
+
- test/dummy/app/controllers/welcome_controller.rb
|
400
|
+
- test/dummy/app/controllers/application_controller.rb
|
401
|
+
- test/dummy/app/models/user.rb
|
402
|
+
- test/dummy/app/models/concerns/zero_oid_fix.rb
|
403
|
+
- test/dummy/app/views/welcome/index.html.erb
|
404
|
+
- test/dummy/app/views/layouts/application.haml
|
405
|
+
- test/dummy/app/views/partials/_nav.haml
|
406
|
+
- test/dummy/app/helpers/application_helper.rb
|
407
|
+
- test/dummy/app/helpers/welcome_helper.rb
|
408
|
+
- test/dummy/test/controllers/welcome_controller_test.rb
|
409
|
+
- test/dummy/test/fixtures/users.yml
|
410
|
+
- test/dummy/test/models/user_test.rb
|
411
|
+
- test/dummy/config.ru
|
412
|
+
- test/dummy/bin/rake
|
413
|
+
- test/dummy/bin/setup
|
414
|
+
- test/dummy/bin/rails
|
415
|
+
- test/dummy/bin/bundle
|
416
|
+
- test/dummy/lib/templates/erb/scaffold/_form.html.erb
|
417
|
+
- test/dummy/config/mongoid.yml
|
418
|
+
- test/dummy/config/secrets.yml
|
419
|
+
- test/dummy/config/environments/test.rb
|
420
|
+
- test/dummy/config/environments/development.rb
|
421
|
+
- test/dummy/config/environments/production.rb
|
422
|
+
- test/dummy/config/routes.rb
|
423
|
+
- test/dummy/config/boot.rb
|
424
|
+
- test/dummy/config/environment.rb
|
425
|
+
- test/dummy/config/application.rb
|
426
|
+
- test/dummy/config/locales/simple_form.en.yml
|
427
|
+
- test/dummy/config/locales/en.yml
|
428
|
+
- test/dummy/config/locales/devise.en.yml
|
429
|
+
- test/dummy/config/initializers/devise.rb
|
430
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
431
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
432
|
+
- test/dummy/config/initializers/kaminari_config.rb
|
433
|
+
- test/dummy/config/initializers/simple_form.rb
|
434
|
+
- test/dummy/config/initializers/mime_types.rb
|
435
|
+
- test/dummy/config/initializers/assets.rb
|
436
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
437
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
438
|
+
- test/dummy/config/initializers/mongoid_forums.rb
|
439
|
+
- test/dummy/config/initializers/inflections.rb
|
440
|
+
- test/dummy/config/initializers/session_store.rb
|
441
|
+
- test/dummy/README.rdoc
|
442
|
+
- test/dummy/Rakefile
|