thredded-workgroup 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.rubocop +1 -0
- data/.rubocop.yml +65 -0
- data/.travis.yml +45 -0
- data/CHANGELOG.md +9 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +6 -0
- data/Guardfile +77 -0
- data/LICENSE.txt +21 -0
- data/README.md +125 -0
- data/RELEASE_CHECKLIST.md +19 -0
- data/Rakefile +161 -0
- data/app/assets/images/thredded/workgroup/.keep +0 -0
- data/app/assets/javascripts/thredded-workgroup.js +13 -0
- data/app/assets/javascripts/thredded/workgroup/follow.js +36 -0
- data/app/assets/javascripts/thredded/workgroup/topics.js +18 -0
- data/app/assets/stylesheets/thredded-workgroup.scss +3 -0
- data/app/assets/stylesheets/thredded/workgroup/_navs.scss +35 -0
- data/app/assets/stylesheets/thredded/workgroup/_topics.scss +52 -0
- data/app/controllers/thredded/posts_controller.rb +50 -0
- data/app/controllers/thredded/workgroup/application_controller.rb +7 -0
- data/app/controllers/thredded/workgroup/navs_controller.rb +41 -0
- data/app/helpers/thredded/application_helper.rb +9 -0
- data/app/helpers/thredded/workgroup/application_helper.rb +7 -0
- data/app/view_models/thredded/topic_view.rb +15 -0
- data/app/view_models/thredded/topics_page_view.rb +15 -0
- data/app/views/layouts/thredded/workgroup/application.html.erb +14 -0
- data/app/views/thredded/posts_common/form/_after_content.html.erb +1 -0
- data/app/views/thredded/shared/_header.html.erb +4 -0
- data/app/views/thredded/topics/_topic.html.erb +51 -0
- data/app/views/thredded/topics/_topics_with_last_post.html.erb +14 -0
- data/app/views/thredded/topics/topic/_body.html.erb +27 -0
- data/app/views/thredded/workgroup/navs/_personal_nav.html.erb +23 -0
- data/app/views/thredded/workgroup/navs/all_topics.html.erb +9 -0
- data/app/views/thredded/workgroup/navs/awaiting.html.erb +9 -0
- data/app/views/thredded/workgroup/navs/following.html.erb +9 -0
- data/app/views/thredded/workgroup/navs/unread.html.erb +9 -0
- data/bin/console +15 -0
- data/bin/dummy-rails +4 -0
- data/bin/rails.rb +14 -0
- data/bin/rspec +17 -0
- data/bin/setup +8 -0
- data/bin/update_from_thredded +40 -0
- data/config/locales/en.yml +20 -0
- data/config/routes.rb +11 -0
- data/lib/thredded/workgroup.rb +19 -0
- data/lib/thredded/workgroup/engine.rb +26 -0
- data/lib/thredded/workgroup/route_delegator.rb +25 -0
- data/lib/thredded/workgroup/thredded_route_delegator.rb +19 -0
- data/lib/thredded/workgroup/version.rb +6 -0
- data/script/create-db-users +42 -0
- data/script/dummy-console +3 -0
- data/shared.gemfile +27 -0
- data/thredded-workgroup.gemspec +65 -0
- metadata +520 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Thredded
|
3
|
+
module Workgroup
|
4
|
+
module ThreddedRouteDelegator
|
5
|
+
def self.add_thredded_proxies
|
6
|
+
thredded = Thredded::Engine.routes.url_helpers
|
7
|
+
path_methods = thredded.methods.select { |s| s.to_s.ends_with?("_path", "_url") }
|
8
|
+
path_methods.each do |method_name|
|
9
|
+
send(:define_method, method_name) do |*args|
|
10
|
+
thredded.send(method_name, *args)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
::Thredded::Workgroup::ApplicationController.helper(
|
14
|
+
::Thredded::Workgroup::ThreddedRouteDelegator
|
15
|
+
)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
GREEN='\033[0;32m'
|
4
|
+
RESET_COLOR='\033[0m'
|
5
|
+
|
6
|
+
if [ -n "$1" ]; then cat <<'HELP'; exit; fi
|
7
|
+
Usage: script/create-db-users
|
8
|
+
Create the thredded database users for all the supported databases.
|
9
|
+
If the `DB` environment variable is set, do the above only for that database.
|
10
|
+
HELP
|
11
|
+
|
12
|
+
USER='thredded'
|
13
|
+
PASS='thredded'
|
14
|
+
|
15
|
+
set -e
|
16
|
+
log() { if [ -t 1 ]; then echo -e >&2 "${GREEN}create-db-users: $@${RESET_COLOR}"; else echo >&2 "$@"; fi }
|
17
|
+
|
18
|
+
create_mysql_user() {
|
19
|
+
if mysql -s -u"$USER" -p"$PASS" -e '' 2>/dev/null; then return; fi
|
20
|
+
log "Creating MySQL '$USER' user. MySQL root password required."
|
21
|
+
mysql --verbose -uroot -p <<SQL
|
22
|
+
GRANT ALL PRIVILEGES ON \`thredded_gem_dev\`.* TO '$USER'@'localhost' IDENTIFIED BY '$PASS';
|
23
|
+
GRANT ALL PRIVILEGES ON \`thredded_gem_test\`.* TO '$USER'@'localhost';
|
24
|
+
SQL
|
25
|
+
}
|
26
|
+
|
27
|
+
create_postgresql_user() {
|
28
|
+
if PGPASSWORD="$PASS" psql -h 127.0.0.1 postgres -U $USER -c ''; then return; fi
|
29
|
+
log "Creating Postgres '$USER' user."
|
30
|
+
local cmd='psql postgres'
|
31
|
+
if ! $cmd -c '' 2>/dev/null; then
|
32
|
+
log "sudo required:"
|
33
|
+
cmd="sudo -u ${PG_DAEMON_USER:-postgres} psql postgres"
|
34
|
+
fi
|
35
|
+
$cmd --echo-all <<SQL
|
36
|
+
CREATE ROLE $USER LOGIN PASSWORD '$PASS';
|
37
|
+
ALTER ROLE $USER CREATEDB;
|
38
|
+
SQL
|
39
|
+
}
|
40
|
+
|
41
|
+
[ -z "$DB" -o "$DB" = 'mysql2' ] && create_mysql_user
|
42
|
+
[ -z "$DB" -o "$DB" = 'postgresql' ] && create_postgresql_user
|
data/shared.gemfile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
gem 'rake'
|
2
|
+
gem 'test_after_commit', group: :test #only enabled on rails v4
|
3
|
+
gem 'thredded', github: 'thredded/thredded', branch: 'master'
|
4
|
+
|
5
|
+
if ENV['TRAVIS']
|
6
|
+
gem 'codeclimate-test-reporter', group: :test, require: false
|
7
|
+
else
|
8
|
+
group :development do
|
9
|
+
gem 'guard'
|
10
|
+
gem 'guard-rails'
|
11
|
+
gem 'guard-livereload'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
gem 'sassc', '>= 1.12.1'
|
16
|
+
|
17
|
+
group :debug do
|
18
|
+
gem 'derailed'
|
19
|
+
gem 'pry-rails'
|
20
|
+
gem 'rack-mini-profiler'
|
21
|
+
|
22
|
+
platform :mri do
|
23
|
+
gem 'byebug'
|
24
|
+
gem 'flamegraph'
|
25
|
+
gem 'stackprof'
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# rubocop:disable Style/GuardClause
|
4
|
+
lib = File.expand_path("../lib", __FILE__)
|
5
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
6
|
+
require "thredded/workgroup/version"
|
7
|
+
|
8
|
+
Gem::Specification.new do |s|
|
9
|
+
s.name = "thredded-workgroup"
|
10
|
+
s.version = Thredded::Workgroup::VERSION
|
11
|
+
s.authors = ["Tim Diggins"]
|
12
|
+
s.email = ["tim@red56.uk"]
|
13
|
+
|
14
|
+
s.summary = "Extension to Thredded with features for workgroup messaging (Unread, Unreplied, Following)."
|
15
|
+
s.description = "Write a longer description or delete this line."
|
16
|
+
s.homepage = "https://github.com/red56/thredded-workgroup."
|
17
|
+
s.license = "MIT"
|
18
|
+
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
+
s.bindir = "exe"
|
20
|
+
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
s.require_paths = ["lib"]
|
22
|
+
|
23
|
+
# needs thredded, you can specify a specific fork or version (in **your** gemfile) if you need to!
|
24
|
+
s.add_dependency "thredded", "~> 0.16"
|
25
|
+
|
26
|
+
# bundler added dependencies
|
27
|
+
s.add_development_dependency "bundler", "~> 1.12"
|
28
|
+
s.add_development_dependency "rake", "~> 10.0"
|
29
|
+
s.add_development_dependency "rspec", "~> 3.0"
|
30
|
+
|
31
|
+
# test dependencies
|
32
|
+
s.add_development_dependency "capybara", "~> 2.4"
|
33
|
+
s.add_development_dependency "capybara-webkit"
|
34
|
+
s.add_development_dependency "database_cleaner"
|
35
|
+
s.add_development_dependency "factory_bot_rails"
|
36
|
+
s.add_development_dependency "faker", ">= 1.6.2"
|
37
|
+
s.add_development_dependency "launchy"
|
38
|
+
s.add_development_dependency "rspec-rails", ">= 3.5.0"
|
39
|
+
s.add_development_dependency "rubocop", "= 0.41.2"
|
40
|
+
s.add_development_dependency "transactional_capybara"
|
41
|
+
|
42
|
+
# dummy app dependencies
|
43
|
+
s.add_development_dependency "rails-i18n"
|
44
|
+
s.add_development_dependency "kaminari-i18n"
|
45
|
+
s.add_development_dependency "http_accept_language"
|
46
|
+
s.add_development_dependency "mysql2"
|
47
|
+
s.add_development_dependency "pg"
|
48
|
+
s.add_development_dependency "sqlite3"
|
49
|
+
s.add_development_dependency "puma"
|
50
|
+
s.add_development_dependency "rails_email_preview", ">= 2.0.1"
|
51
|
+
s.add_development_dependency "roadie-rails"
|
52
|
+
s.add_development_dependency "i18n-tasks"
|
53
|
+
s.add_development_dependency "web-console"
|
54
|
+
s.add_development_dependency "jquery-rails"
|
55
|
+
|
56
|
+
# add some plugins to the dummy app demo
|
57
|
+
s.add_development_dependency "thredded-markdown_coderay"
|
58
|
+
s.add_development_dependency "thredded-markdown_katex"
|
59
|
+
s.add_development_dependency "twemoji"
|
60
|
+
|
61
|
+
# dummy app frontend
|
62
|
+
s.add_development_dependency "turbolinks"
|
63
|
+
# required by the turbolinks gem
|
64
|
+
s.add_development_dependency "coffee-rails"
|
65
|
+
end
|
metadata
ADDED
@@ -0,0 +1,520 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: thredded-workgroup
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tim Diggins
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-10-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thredded
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.16'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: capybara
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.4'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.4'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: capybara-webkit
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: database_cleaner
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_bot_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: faker
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.6.2
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.6.2
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: launchy
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rspec-rails
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 3.5.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 3.5.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rubocop
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.41.2
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.41.2
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: transactional_capybara
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rails-i18n
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: kaminari-i18n
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: http_accept_language
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: mysql2
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: pg
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: sqlite3
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: puma
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: rails_email_preview
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: 2.0.1
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: 2.0.1
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: roadie-rails
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ">="
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '0'
|
314
|
+
type: :development
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - ">="
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: i18n-tasks
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - ">="
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '0'
|
328
|
+
type: :development
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - ">="
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '0'
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: web-console
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - ">="
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: '0'
|
342
|
+
type: :development
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - ">="
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '0'
|
349
|
+
- !ruby/object:Gem::Dependency
|
350
|
+
name: jquery-rails
|
351
|
+
requirement: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - ">="
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: '0'
|
356
|
+
type: :development
|
357
|
+
prerelease: false
|
358
|
+
version_requirements: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0'
|
363
|
+
- !ruby/object:Gem::Dependency
|
364
|
+
name: thredded-markdown_coderay
|
365
|
+
requirement: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - ">="
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0'
|
370
|
+
type: :development
|
371
|
+
prerelease: false
|
372
|
+
version_requirements: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - ">="
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: '0'
|
377
|
+
- !ruby/object:Gem::Dependency
|
378
|
+
name: thredded-markdown_katex
|
379
|
+
requirement: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - ">="
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: '0'
|
384
|
+
type: :development
|
385
|
+
prerelease: false
|
386
|
+
version_requirements: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - ">="
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: '0'
|
391
|
+
- !ruby/object:Gem::Dependency
|
392
|
+
name: twemoji
|
393
|
+
requirement: !ruby/object:Gem::Requirement
|
394
|
+
requirements:
|
395
|
+
- - ">="
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: '0'
|
398
|
+
type: :development
|
399
|
+
prerelease: false
|
400
|
+
version_requirements: !ruby/object:Gem::Requirement
|
401
|
+
requirements:
|
402
|
+
- - ">="
|
403
|
+
- !ruby/object:Gem::Version
|
404
|
+
version: '0'
|
405
|
+
- !ruby/object:Gem::Dependency
|
406
|
+
name: turbolinks
|
407
|
+
requirement: !ruby/object:Gem::Requirement
|
408
|
+
requirements:
|
409
|
+
- - ">="
|
410
|
+
- !ruby/object:Gem::Version
|
411
|
+
version: '0'
|
412
|
+
type: :development
|
413
|
+
prerelease: false
|
414
|
+
version_requirements: !ruby/object:Gem::Requirement
|
415
|
+
requirements:
|
416
|
+
- - ">="
|
417
|
+
- !ruby/object:Gem::Version
|
418
|
+
version: '0'
|
419
|
+
- !ruby/object:Gem::Dependency
|
420
|
+
name: coffee-rails
|
421
|
+
requirement: !ruby/object:Gem::Requirement
|
422
|
+
requirements:
|
423
|
+
- - ">="
|
424
|
+
- !ruby/object:Gem::Version
|
425
|
+
version: '0'
|
426
|
+
type: :development
|
427
|
+
prerelease: false
|
428
|
+
version_requirements: !ruby/object:Gem::Requirement
|
429
|
+
requirements:
|
430
|
+
- - ">="
|
431
|
+
- !ruby/object:Gem::Version
|
432
|
+
version: '0'
|
433
|
+
description: Write a longer description or delete this line.
|
434
|
+
email:
|
435
|
+
- tim@red56.uk
|
436
|
+
executables: []
|
437
|
+
extensions: []
|
438
|
+
extra_rdoc_files: []
|
439
|
+
files:
|
440
|
+
- ".gitignore"
|
441
|
+
- ".rspec"
|
442
|
+
- ".rubocop"
|
443
|
+
- ".rubocop.yml"
|
444
|
+
- ".travis.yml"
|
445
|
+
- CHANGELOG.md
|
446
|
+
- CODE_OF_CONDUCT.md
|
447
|
+
- Gemfile
|
448
|
+
- Guardfile
|
449
|
+
- LICENSE.txt
|
450
|
+
- README.md
|
451
|
+
- RELEASE_CHECKLIST.md
|
452
|
+
- Rakefile
|
453
|
+
- app/assets/images/thredded/workgroup/.keep
|
454
|
+
- app/assets/javascripts/thredded-workgroup.js
|
455
|
+
- app/assets/javascripts/thredded/workgroup/follow.js
|
456
|
+
- app/assets/javascripts/thredded/workgroup/topics.js
|
457
|
+
- app/assets/stylesheets/thredded-workgroup.scss
|
458
|
+
- app/assets/stylesheets/thredded/workgroup/_navs.scss
|
459
|
+
- app/assets/stylesheets/thredded/workgroup/_topics.scss
|
460
|
+
- app/controllers/thredded/posts_controller.rb
|
461
|
+
- app/controllers/thredded/workgroup/application_controller.rb
|
462
|
+
- app/controllers/thredded/workgroup/navs_controller.rb
|
463
|
+
- app/helpers/thredded/application_helper.rb
|
464
|
+
- app/helpers/thredded/workgroup/application_helper.rb
|
465
|
+
- app/view_models/thredded/topic_view.rb
|
466
|
+
- app/view_models/thredded/topics_page_view.rb
|
467
|
+
- app/views/layouts/thredded/workgroup/application.html.erb
|
468
|
+
- app/views/thredded/posts_common/form/_after_content.html.erb
|
469
|
+
- app/views/thredded/shared/_header.html.erb
|
470
|
+
- app/views/thredded/topics/_topic.html.erb
|
471
|
+
- app/views/thredded/topics/_topics_with_last_post.html.erb
|
472
|
+
- app/views/thredded/topics/topic/_body.html.erb
|
473
|
+
- app/views/thredded/workgroup/navs/_personal_nav.html.erb
|
474
|
+
- app/views/thredded/workgroup/navs/all_topics.html.erb
|
475
|
+
- app/views/thredded/workgroup/navs/awaiting.html.erb
|
476
|
+
- app/views/thredded/workgroup/navs/following.html.erb
|
477
|
+
- app/views/thredded/workgroup/navs/unread.html.erb
|
478
|
+
- bin/console
|
479
|
+
- bin/dummy-rails
|
480
|
+
- bin/rails.rb
|
481
|
+
- bin/rspec
|
482
|
+
- bin/setup
|
483
|
+
- bin/update_from_thredded
|
484
|
+
- config/locales/en.yml
|
485
|
+
- config/routes.rb
|
486
|
+
- lib/thredded/workgroup.rb
|
487
|
+
- lib/thredded/workgroup/engine.rb
|
488
|
+
- lib/thredded/workgroup/route_delegator.rb
|
489
|
+
- lib/thredded/workgroup/thredded_route_delegator.rb
|
490
|
+
- lib/thredded/workgroup/version.rb
|
491
|
+
- script/create-db-users
|
492
|
+
- script/dummy-console
|
493
|
+
- shared.gemfile
|
494
|
+
- thredded-workgroup.gemspec
|
495
|
+
homepage: https://github.com/red56/thredded-workgroup.
|
496
|
+
licenses:
|
497
|
+
- MIT
|
498
|
+
metadata: {}
|
499
|
+
post_install_message:
|
500
|
+
rdoc_options: []
|
501
|
+
require_paths:
|
502
|
+
- lib
|
503
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
504
|
+
requirements:
|
505
|
+
- - ">="
|
506
|
+
- !ruby/object:Gem::Version
|
507
|
+
version: '0'
|
508
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
509
|
+
requirements:
|
510
|
+
- - ">="
|
511
|
+
- !ruby/object:Gem::Version
|
512
|
+
version: '0'
|
513
|
+
requirements: []
|
514
|
+
rubyforge_project:
|
515
|
+
rubygems_version: 2.7.4
|
516
|
+
signing_key:
|
517
|
+
specification_version: 4
|
518
|
+
summary: Extension to Thredded with features for workgroup messaging (Unread, Unreplied,
|
519
|
+
Following).
|
520
|
+
test_files: []
|