kit_cms 2.3.20 → 2.3.22
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/kit/toolbar/smile.png +0 -0
- data/app/assets/images/kit/toolbar/wink.gif +0 -0
- data/app/assets/images/kit/toolbar/wink.png +0 -0
- data/app/assets/javascripts/codemirror/editor.js +55 -17
- data/app/assets/javascripts/codemirror/jquery.js +0 -1
- data/app/assets/javascripts/codemirror/ruby.js +196 -0
- data/app/assets/javascripts/jquery.js +3036 -2838
- data/app/assets/javascripts/kit/utilities.js +655 -586
- data/app/assets/stylesheets/codemirror/style.css +1 -1
- data/app/assets/stylesheets/codemirror/theme.css +23 -3
- data/app/assets/stylesheets/kit/calendar.css +6 -1
- data/app/assets/stylesheets/kit/cms/cms.css +36 -0
- data/app/assets/stylesheets/kit/forums.css +5 -1
- data/app/assets/stylesheets/kit/kit.css +3 -1
- data/app/controllers/account_controller.rb +306 -0
- data/app/controllers/ad_controller.rb +2 -0
- data/app/controllers/admin/ad_units_controller.rb +1 -1
- data/app/controllers/admin/ad_zones_controller.rb +15 -0
- data/app/controllers/admin/ads_controller.rb +5 -0
- data/app/controllers/admin/block_controller.rb +1 -65
- data/app/controllers/admin/blocks_controller.rb +2 -0
- data/app/controllers/admin/content_controller.rb +3 -1
- data/app/controllers/admin/dashboard_controller.rb +28 -4
- data/app/controllers/admin/dj_controller.rb +45 -0
- data/app/controllers/admin/help_controller.rb +1 -1
- data/app/controllers/admin/html_asset_controller.rb +0 -12
- data/app/controllers/admin/q_controller.rb +120 -0
- data/app/controllers/admin/user_controller.rb +4 -4
- data/app/controllers/api_controller.rb +34 -0
- data/app/controllers/calendar_controller.rb +1 -1
- data/app/controllers/form_controller.rb +3 -3
- data/app/controllers/forum_controller.rb +39 -29
- data/app/controllers/kit_controller.rb +42 -15
- data/app/controllers/pages_controller.rb +25 -5
- data/app/controllers/q_controller.rb +235 -0
- data/app/controllers/repo_controller.rb +7 -0
- data/app/controllers/user_controller.rb +14 -10
- data/app/controllers/utility_controller.rb +1 -1
- data/app/helpers/account_helper.rb +47 -0
- data/app/helpers/admin/layouts_helper.rb +8 -0
- data/app/helpers/admin/page_templates_helper.rb +8 -0
- data/app/helpers/ads_helper.rb +11 -12
- data/app/helpers/calendar_helper.rb +6 -2
- data/app/helpers/form_data_helper.rb +1 -1
- data/app/helpers/form_helper.rb +8 -0
- data/app/helpers/forum_helper.rb +5 -1
- data/app/helpers/kit_helper.rb +65 -35
- data/app/helpers/kit_modules_helper.rb +4 -0
- data/app/helpers/user_helper.rb +0 -28
- data/app/jobs/page_link_job.rb +34 -0
- data/app/jobs/queue_job.rb +134 -0
- data/app/mailers/notification.rb +10 -0
- data/app/mailers/queue_mailer.rb +13 -0
- data/app/models/ad.rb +6 -6
- data/app/models/ad_unit.rb +1 -1
- data/app/models/ad_zone.rb +4 -0
- data/app/models/block.rb +1 -1
- data/app/models/delayed_job.rb +3 -0
- data/app/models/form.rb +16 -4
- data/app/models/html_asset.rb +19 -4
- data/app/models/html_asset_usage.rb +3 -0
- data/app/models/html_assetable.rb +4 -0
- data/app/models/layout.rb +36 -6
- data/app/models/newsletter.rb +1 -1
- data/app/models/page.rb +36 -2
- data/app/models/page_link.rb +5 -0
- data/app/models/page_template.rb +22 -2
- data/app/models/preference.rb +1 -1
- data/app/models/q_event.rb +12 -0
- data/app/models/q_klass.rb +5 -0
- data/app/models/q_message.rb +9 -0
- data/app/models/q_publisher.rb +35 -0
- data/app/models/q_subscription.rb +7 -0
- data/app/models/q_user.rb +29 -0
- data/app/models/q_users_method.rb +6 -0
- data/app/models/q_users_publisher.rb +6 -0
- data/app/models/user.rb +127 -19
- data/app/models/user_login.rb +4 -0
- data/app/validators/email_validator.rb +14 -0
- data/app/views/account/_edit.html.haml +40 -0
- data/app/views/account/_edit_intro.html.haml +3 -0
- data/app/views/account/_forgotten.html.haml +20 -0
- data/app/views/account/_forgotten_intro.html.haml +5 -0
- data/app/views/account/_sign_in.html.haml +31 -0
- data/app/views/account/_sign_in_intro.html.haml +4 -0
- data/app/views/account/_sign_up.html.haml +51 -0
- data/app/views/account/_sign_up_intro.html.haml +4 -0
- data/app/views/account/edit.html.haml +1 -0
- data/app/views/account/forgotten.html.haml +1 -0
- data/app/views/account/sign_in.html.haml +2 -0
- data/app/views/account/sign_up.html.haml +1 -0
- data/app/views/ad/_buy.html.haml +2 -1
- data/app/views/admin/ad_zones/_form.html.haml +1 -1
- data/app/views/admin/ad_zones/show.html.haml +2 -0
- data/app/views/admin/blocks/_form.html.haml +11 -1
- data/app/views/admin/dashboard/broken_links.html.haml +9 -0
- data/app/views/admin/dashboard/system.html.haml +11 -0
- data/app/views/admin/dj/index.html.haml +43 -0
- data/app/views/admin/form/_form.html.haml +15 -10
- data/app/views/admin/group/index.html.haml +1 -1
- data/app/views/admin/help/edit.html.haml +1 -1
- data/app/views/admin/html_asset/show.html.haml +9 -2
- data/app/views/admin/layouts/show.html.haml +10 -16
- data/app/views/admin/page_templates/_form.html.haml +9 -17
- data/app/views/admin/page_templates/show.html.haml +5 -4
- data/app/views/admin/q/events.html.haml +26 -0
- data/app/views/admin/q/index.html.haml +28 -0
- data/app/views/admin/q/klasses.html.haml +61 -0
- data/app/views/admin/q/messages.html.haml +37 -0
- data/app/views/admin/q/show.html.haml +98 -0
- data/app/views/admin/q/subscriptions.html.haml +26 -0
- data/app/views/admin/q/users.html.haml +27 -0
- data/app/views/admin/snippet/edit.html.erb +1 -1
- data/app/views/admin/snippet/new.html.erb +1 -1
- data/app/views/admin/stylesheet/show.html.haml +1 -1
- data/app/views/admin/user/index.html.erb +15 -6
- data/app/views/admin/user/view.html.erb +5 -4
- data/app/views/admin/views/_form.html.haml +3 -3
- data/app/views/calendar/_buy_tickets.html.haml +1 -1
- data/app/views/calendar/_calendar_entry.html.haml +1 -1
- data/app/views/calendar/_month.html.haml +7 -7
- data/app/views/form/_show.html.haml +1 -1
- data/app/views/forum/_add_post.html.haml +7 -8
- data/app/views/forum/_mod_thread.js.erb +46 -6
- data/app/views/forum/_post_moderation.html.haml +2 -1
- data/app/views/forum/_post_preview.html.haml +1 -9
- data/app/views/forum/_post_scripts.js.erb +29 -5
- data/app/views/forum/fetch_raw.html.haml +1 -0
- data/app/views/forum/moderate.html.haml +1 -0
- data/app/views/forum/topic_index.html.haml +4 -0
- data/app/views/notification/{event.txt.erb → event.text.erb} +0 -0
- data/app/views/notification/forgotten_password.text.erb +2 -0
- data/app/views/pages/content_edit.html.haml +1 -1
- data/app/views/pages/info.html.erb +13 -2
- data/app/views/pages/links.html.haml +63 -0
- data/app/views/user/edit_profile.html.haml +1 -1
- data/app/views/utility/_cm_editor.html.erb +13 -10
- data/app/views/utility/_cm_toolbar_markdown.html.haml +8 -1
- data/app/views/utility/_menu.html.haml +4 -0
- data/app/views/utility/mercury_html.html.haml +1 -0
- data/config/initializers/elastic_search.rb +6 -3
- data/config/initializers/extend_controller.rb +3 -0
- data/config/initializers/string.rb +9 -6
- data/config/initializers/warden.rb +49 -0
- data/config/locales/en.yml +29 -1
- data/config/routes.rb +35 -2
- data/lib/kit_cms.rb +7 -2
- data/lib/tasks/kit.rake +90 -2
- metadata +139 -27
- data/app/controllers/user/confirmations_controller.rb +0 -11
- data/app/controllers/user/passwords_controller.rb +0 -13
- data/app/controllers/user/registrations_controller.rb +0 -110
- data/app/controllers/user/sessions_controller.rb +0 -33
- data/app/controllers/user/unlocks_controller.rb +0 -13
- data/app/views/devise/_links.erb +0 -25
- data/app/views/devise/confirmations/new.html.erb +0 -12
- data/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
- data/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
- data/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
- data/app/views/devise/passwords/edit.html.erb +0 -16
- data/app/views/devise/passwords/new.html.erb +0 -12
- data/app/views/devise/registrations/edit.html.erb +0 -28
- data/app/views/devise/registrations/new.html.erb +0 -18
- data/app/views/devise/sessions/new.html.erb +0 -18
- data/app/views/devise/shared/_links.erb +0 -25
- data/app/views/devise/unlocks/new.html.erb +0 -12
- data/app/views/pages/links.html.erb +0 -8
- data/app/views/user/shared/_links.erb +0 -25
- data/config/initializers/devise.rb +0 -196
- data/config/initializers/devise_extender.rb +0 -39
data/config/locales/en.yml
CHANGED
@@ -37,4 +37,32 @@ en:
|
|
37
37
|
last_post: "Last Post:"
|
38
38
|
positive: "Positive ↑"
|
39
39
|
negative: "Negative ↓"
|
40
|
-
|
40
|
+
account:
|
41
|
+
sign_up_title: "Sign Up"
|
42
|
+
sign_in_title: "Sign In"
|
43
|
+
sign_out_title: "Sign Out"
|
44
|
+
forgotten_title: "Reset Password"
|
45
|
+
edit_user_title: "Edit Account"
|
46
|
+
already_have_account: "Do you already have an account?"
|
47
|
+
dont_have_account: "Don't have an account?"
|
48
|
+
sign_in_link: "Sign In"
|
49
|
+
sign_up_link: "Sign Up"
|
50
|
+
sign_out_link: "Sign Out"
|
51
|
+
edit_profile_link: "Edit Profile"
|
52
|
+
email_label: "Email"
|
53
|
+
edit_user_label: "Save Changes"
|
54
|
+
password_label: "Password"
|
55
|
+
remember_label: "Remember Me?"
|
56
|
+
sign_in_label: "Sign In"
|
57
|
+
sign_up_label: "Sign Up"
|
58
|
+
forgotten_label: "Reset Password"
|
59
|
+
forgotten_password: "Forgotten your password?"
|
60
|
+
not_forgotten: "Don't need to reset your password?"
|
61
|
+
password_confirmation_label: "Password Confirmation"
|
62
|
+
forgotten_password_subject: "Password Reset Instructions"
|
63
|
+
reset_sent: "If that email address was a registered user, a password reset email has been sent"
|
64
|
+
change_password: "You are signed in, but you must now change your password"
|
65
|
+
reset_failed: "That link didn't work. Please enter your email address to try again."
|
66
|
+
change_your_password: "You must now change your password"
|
67
|
+
only_if_changing_password: "You can leave the password fields blank if you're not changing your password"
|
68
|
+
forum_nickname: "Forum Nickname"
|
data/config/routes.rb
CHANGED
@@ -1,6 +1,35 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
2
|
|
3
|
-
|
3
|
+
match '/api/1/q/token' => 'q#token'
|
4
|
+
match '/api/1/q/register' => 'q#register'
|
5
|
+
match '/api/1/q/deregister' => 'q#deregister'
|
6
|
+
match '/api/1/q/subscribe' => 'q#subscribe'
|
7
|
+
match '/api/1/q/unsubscribe' => 'q#unsubscribe'
|
8
|
+
match '/api/1/q/event' => 'q#event'
|
9
|
+
match '/api/1/q/auth' => 'q#auth'
|
10
|
+
match '/api/1/q/extauth' => 'q#extauth'
|
11
|
+
match '/api/1/q/messages' => 'q#messages'
|
12
|
+
|
13
|
+
put '/admin/q/:id' => 'admin/q#update'
|
14
|
+
delete '/admin/q/:id' => 'admin/q#destroy'
|
15
|
+
post '/admin/q' => 'admin/q#create'
|
16
|
+
get '/admin/q/:id/users' => 'admin/q#users'
|
17
|
+
get '/admin/q/:id/events' => 'admin/q#events'
|
18
|
+
get '/admin/q/:id/messages' => 'admin/q#messages'
|
19
|
+
match '/admin/q/:id/klasses/:klass_id' => 'admin/q#klasses'
|
20
|
+
match '/admin/q/:id/klasses' => 'admin/q#klasses'
|
21
|
+
get '/admin/q/:id/subscriptions' => 'admin/q#subscriptions'
|
22
|
+
match '/admin/q/:id' => 'admin/q#show'
|
23
|
+
get '/admin/q' => 'admin/q#index'
|
24
|
+
|
25
|
+
match '/admin/dj' => 'admin/dj#index'
|
26
|
+
|
27
|
+
match '/users/sign_in' => 'account#sign_in'
|
28
|
+
match '/users/sign_out' => 'account#sign_out'
|
29
|
+
match '/users/sign_up' => 'account#sign_up'
|
30
|
+
match '/users/edit' => 'account#edit'
|
31
|
+
match '/users/forgotten' => 'account#forgotten'
|
32
|
+
get '/users/reset/:code' => 'account#reset'
|
4
33
|
|
5
34
|
namespace "admin" do
|
6
35
|
resources :snippet
|
@@ -23,12 +52,15 @@ Rails.application.routes.draw do
|
|
23
52
|
resources :experiments
|
24
53
|
end
|
25
54
|
|
55
|
+
get '/repo' => 'repo#index'
|
56
|
+
|
26
57
|
get '/plumb' => 'admin/dashboard#plumb'
|
27
58
|
get '/admin/salesforce' => 'admin/dashboard#salesforce'
|
28
59
|
get '/admin/goals/:id/scores' => 'admin/goals#scores'
|
29
60
|
get '/admin/engagements' => 'admin/kit_engagement#index'
|
30
61
|
post '/admin/ad/:id/activate/:mode' => 'admin/ads#activate'
|
31
62
|
post '/admin/ad_unit/:id/create_block' => 'admin/ad_units#create_block'
|
63
|
+
post '/admin/ad_zone/:id/create_block' => 'admin/ad_zones#create_block'
|
32
64
|
get '/admin/advertisments' => 'admin/advertisments#index'
|
33
65
|
get '/admin/orders' => 'admin/order#index'
|
34
66
|
get '/admin/order/:id' => 'admin/order#show'
|
@@ -101,7 +133,7 @@ Rails.application.routes.draw do
|
|
101
133
|
post 'admin/dashboard/maintenance' => 'admin/dashboard#maintenance'
|
102
134
|
put 'admin/system/:attr' => 'admin/dashboard#update_preference'
|
103
135
|
post 'admin/system/:attr/:value' => 'admin/dashboard#system_settings'
|
104
|
-
|
136
|
+
match 'admin/system' => 'admin/dashboard#system'
|
105
137
|
get 'admin/sysadmin' => 'admin/dashboard#sysadmin'
|
106
138
|
get 'admin/integrity' => 'admin/dashboard#integrity'
|
107
139
|
|
@@ -338,6 +370,7 @@ Rails.application.routes.draw do
|
|
338
370
|
get 'page/:id/notes' => 'pages#notes'
|
339
371
|
get 'page/:id/content/:content_id/edit' => 'pages#content_edit'
|
340
372
|
post 'page/:id/content/:content_id' => 'pages#content_update'
|
373
|
+
get 'page/:id/links' => 'pages#links'
|
341
374
|
get 'page/:id/contents' => 'pages#contents'
|
342
375
|
get 'page/:id/content/:content_id/field' => 'pages#show_content'
|
343
376
|
get 'page/:id/content/:content_id/block' => 'pages#show_block_content'
|
data/lib/kit_cms.rb
CHANGED
@@ -4,10 +4,10 @@ require 'delayed_job_active_record'
|
|
4
4
|
require 'daemons'
|
5
5
|
require 'kaminari'
|
6
6
|
require 'yaml_db'
|
7
|
-
require 'devise'
|
8
|
-
require 'devise-encryptable'
|
9
7
|
require 'cancan'
|
10
8
|
#require 'ruby-stemmer'
|
9
|
+
require 'bcrypt'
|
10
|
+
require 'rails_warden'
|
11
11
|
require 'tire'
|
12
12
|
require 'panoramic'
|
13
13
|
require 'country_select'
|
@@ -24,6 +24,11 @@ require 'browser'
|
|
24
24
|
require 'mercury-rails'
|
25
25
|
require 'dynamic_form'
|
26
26
|
require 'best_in_place'
|
27
|
+
require 'uri'
|
28
|
+
require 'anemone'
|
29
|
+
require 'fast-aes'
|
30
|
+
require 'grocer'
|
31
|
+
require 'sass-rails'
|
27
32
|
|
28
33
|
module KitCms
|
29
34
|
end
|
data/lib/tasks/kit.rake
CHANGED
@@ -95,9 +95,7 @@ namespace :kit do
|
|
95
95
|
l.locale = 'en'
|
96
96
|
l.handler = 'haml'
|
97
97
|
l.format = 'html'
|
98
|
-
l.stylesheets = 'application'
|
99
98
|
l.system_id = 1
|
100
|
-
l.javascripts = 'application'
|
101
99
|
l.path = 'layouts/application'
|
102
100
|
l.save!
|
103
101
|
end
|
@@ -242,6 +240,53 @@ namespace :kit do
|
|
242
240
|
end
|
243
241
|
end
|
244
242
|
|
243
|
+
desc "Reset Password"
|
244
|
+
task :reset_password => :environment do
|
245
|
+
print "\nThis will reset the password of any admin user in any system. Typically you will use this to reset the superadmin account to allow access to the CMS Dashboard from where you can reset any other passwords. \n\nFirst you must select the system ID from this list:\n\n"
|
246
|
+
|
247
|
+
System.all.each do |s|
|
248
|
+
puts "#{s.id} : #{s.name}"
|
249
|
+
end
|
250
|
+
print "\nSystem ID? "
|
251
|
+
system_id = STDIN.gets.chomp
|
252
|
+
|
253
|
+
s = System.sys(system_id).first
|
254
|
+
unless s
|
255
|
+
puts "That System ID isn't valid. You'll have to start again.\n\n"
|
256
|
+
exit -1
|
257
|
+
end
|
258
|
+
|
259
|
+
puts "\nAdmin users of '#{s.name}':\n"
|
260
|
+
User.sys(system_id).includes(:roles).each do |u|
|
261
|
+
puts "User ID: #{u.id} Email: #{u.email}" if u.admin?
|
262
|
+
end
|
263
|
+
|
264
|
+
print "\nWhat is the User ID of the user whose password you want to change? "
|
265
|
+
user_id = STDIN.gets.chomp
|
266
|
+
|
267
|
+
u = User.sys(system_id).where(:id=>user_id).first
|
268
|
+
|
269
|
+
unless u
|
270
|
+
puts "That User ID isn't valid. You'll have to start again.\n\n"
|
271
|
+
exit -1
|
272
|
+
end
|
273
|
+
|
274
|
+
u = User.find(user_id)
|
275
|
+
|
276
|
+
print "\nFinally, enter a new password for #{u.email} within #{s.name}: "
|
277
|
+
|
278
|
+
password = STDIN.gets.chomp
|
279
|
+
if password.strip.length<=0
|
280
|
+
puts "\n\nThis utility has no restrictions on password complexity, but won't set an empty password. You'll have to start again.\n\n"
|
281
|
+
exit -1
|
282
|
+
end
|
283
|
+
|
284
|
+
u.password = password
|
285
|
+
u.save
|
286
|
+
|
287
|
+
puts "\nThe password has been changed. You should now sign in as '#{u.email}' with the new password '#{password}', then change the password from within the dashboard.\n\n"
|
288
|
+
end
|
289
|
+
|
245
290
|
|
246
291
|
desc "Initial Kit Setup"
|
247
292
|
task :setup_cms, [:email, :password] => :environment do |t, args|
|
@@ -263,4 +308,47 @@ namespace :kit do
|
|
263
308
|
end
|
264
309
|
|
265
310
|
|
311
|
+
desc "Upgrade Stylesheets and Javascripts"
|
312
|
+
task :upgrade_assets => :environment do
|
313
|
+
|
314
|
+
Layout.all.each do |layout|
|
315
|
+
puts "Doing Layout #{layout.name} for System #{layout.system_id}"
|
316
|
+
puts "stylesheets #{layout.old_stylesheets}"
|
317
|
+
layout.old_stylesheets.split(",").each do |s|
|
318
|
+
puts "Doing stylesheet '#{s}'"
|
319
|
+
layout.html_assets << HtmlAsset.sys(layout.system_id).where(:name=>s).where(:file_type=>'css').first rescue nil
|
320
|
+
end if layout.old_stylesheets
|
321
|
+
end
|
322
|
+
Layout.all.each do |layout|
|
323
|
+
layout.old_javascripts.split(",").each do |s|
|
324
|
+
layout.html_assets << HtmlAsset.sys(layout.system_id).where(:name=>s).where(:file_type=>'js').first rescue nil
|
325
|
+
end if layout.old_javascripts
|
326
|
+
end
|
327
|
+
PageTemplate.all.each do |pt|
|
328
|
+
puts "Doing PT #{pt.name} for System #{pt.system_id}"
|
329
|
+
pt.old_stylesheets.split(",").each do |s|
|
330
|
+
pt.html_assets << HtmlAsset.sys(pt.system_id).where(:name=>s).where(:file_type=>'css').first rescue nil
|
331
|
+
end if pt.old_stylesheets
|
332
|
+
end
|
333
|
+
PageTemplate.all.each do |pt|
|
334
|
+
pt.old_javascripts.split(",").each do |s|
|
335
|
+
pt.html_assets << HtmlAsset.sys(pt.system_id).where(:name=>s).where(:file_type=>'js').first rescue nil
|
336
|
+
end if pt.old_javascripts
|
337
|
+
end
|
338
|
+
Form.all.each do |f|
|
339
|
+
puts "Doing form #{f.title} for System #{f.system_id}"
|
340
|
+
f.old_stylesheets.split(",").each do |s|
|
341
|
+
f.html_assets << HtmlAsset.sys(f.system_id).where(:name=>s).where(:file_type=>"css").first rescue nil
|
342
|
+
end if f.old_stylesheets
|
343
|
+
end
|
344
|
+
|
345
|
+
Form.all.each do |f|
|
346
|
+
if f.layout
|
347
|
+
l = Layout.sys(f.system_id).where(:name=>f.layout).first
|
348
|
+
f.layout = l if l
|
349
|
+
f.save
|
350
|
+
end
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
266
354
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kit_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.22
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -172,7 +172,7 @@ dependencies:
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
|
-
name:
|
175
|
+
name: cancan
|
176
176
|
requirement: !ruby/object:Gem::Requirement
|
177
177
|
none: false
|
178
178
|
requirements:
|
@@ -188,7 +188,7 @@ dependencies:
|
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '0'
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
|
-
name:
|
191
|
+
name: rails_warden
|
192
192
|
requirement: !ruby/object:Gem::Requirement
|
193
193
|
none: false
|
194
194
|
requirements:
|
@@ -204,7 +204,7 @@ dependencies:
|
|
204
204
|
- !ruby/object:Gem::Version
|
205
205
|
version: '0'
|
206
206
|
- !ruby/object:Gem::Dependency
|
207
|
-
name:
|
207
|
+
name: bcrypt-ruby
|
208
208
|
requirement: !ruby/object:Gem::Requirement
|
209
209
|
none: false
|
210
210
|
requirements:
|
@@ -491,6 +491,86 @@ dependencies:
|
|
491
491
|
- - ! '>='
|
492
492
|
- !ruby/object:Gem::Version
|
493
493
|
version: '0'
|
494
|
+
- !ruby/object:Gem::Dependency
|
495
|
+
name: grit
|
496
|
+
requirement: !ruby/object:Gem::Requirement
|
497
|
+
none: false
|
498
|
+
requirements:
|
499
|
+
- - ! '>='
|
500
|
+
- !ruby/object:Gem::Version
|
501
|
+
version: '0'
|
502
|
+
type: :runtime
|
503
|
+
prerelease: false
|
504
|
+
version_requirements: !ruby/object:Gem::Requirement
|
505
|
+
none: false
|
506
|
+
requirements:
|
507
|
+
- - ! '>='
|
508
|
+
- !ruby/object:Gem::Version
|
509
|
+
version: '0'
|
510
|
+
- !ruby/object:Gem::Dependency
|
511
|
+
name: anemone
|
512
|
+
requirement: !ruby/object:Gem::Requirement
|
513
|
+
none: false
|
514
|
+
requirements:
|
515
|
+
- - ! '>='
|
516
|
+
- !ruby/object:Gem::Version
|
517
|
+
version: '0'
|
518
|
+
type: :runtime
|
519
|
+
prerelease: false
|
520
|
+
version_requirements: !ruby/object:Gem::Requirement
|
521
|
+
none: false
|
522
|
+
requirements:
|
523
|
+
- - ! '>='
|
524
|
+
- !ruby/object:Gem::Version
|
525
|
+
version: '0'
|
526
|
+
- !ruby/object:Gem::Dependency
|
527
|
+
name: fast-aes
|
528
|
+
requirement: !ruby/object:Gem::Requirement
|
529
|
+
none: false
|
530
|
+
requirements:
|
531
|
+
- - ! '>='
|
532
|
+
- !ruby/object:Gem::Version
|
533
|
+
version: '0'
|
534
|
+
type: :runtime
|
535
|
+
prerelease: false
|
536
|
+
version_requirements: !ruby/object:Gem::Requirement
|
537
|
+
none: false
|
538
|
+
requirements:
|
539
|
+
- - ! '>='
|
540
|
+
- !ruby/object:Gem::Version
|
541
|
+
version: '0'
|
542
|
+
- !ruby/object:Gem::Dependency
|
543
|
+
name: grocer
|
544
|
+
requirement: !ruby/object:Gem::Requirement
|
545
|
+
none: false
|
546
|
+
requirements:
|
547
|
+
- - ! '>='
|
548
|
+
- !ruby/object:Gem::Version
|
549
|
+
version: '0'
|
550
|
+
type: :runtime
|
551
|
+
prerelease: false
|
552
|
+
version_requirements: !ruby/object:Gem::Requirement
|
553
|
+
none: false
|
554
|
+
requirements:
|
555
|
+
- - ! '>='
|
556
|
+
- !ruby/object:Gem::Version
|
557
|
+
version: '0'
|
558
|
+
- !ruby/object:Gem::Dependency
|
559
|
+
name: sass-rails
|
560
|
+
requirement: !ruby/object:Gem::Requirement
|
561
|
+
none: false
|
562
|
+
requirements:
|
563
|
+
- - ! '>='
|
564
|
+
- !ruby/object:Gem::Version
|
565
|
+
version: '0'
|
566
|
+
type: :runtime
|
567
|
+
prerelease: false
|
568
|
+
version_requirements: !ruby/object:Gem::Requirement
|
569
|
+
none: false
|
570
|
+
requirements:
|
571
|
+
- - ! '>='
|
572
|
+
- !ruby/object:Gem::Version
|
573
|
+
version: '0'
|
494
574
|
description: Kit is DSC's Community and Content Management System (CCMS) built as
|
495
575
|
a Rails engine for Rails 3.1 and above. It provides an entire application's worth
|
496
576
|
of CMS functions including in-place WYSIWYG editing with versioning, flexible layouts
|
@@ -2369,9 +2449,12 @@ files:
|
|
2369
2449
|
- app/assets/images/kit/toolbar/preview.png
|
2370
2450
|
- app/assets/images/kit/toolbar/quote.png
|
2371
2451
|
- app/assets/images/kit/toolbar/redo.png
|
2452
|
+
- app/assets/images/kit/toolbar/smile.png
|
2372
2453
|
- app/assets/images/kit/toolbar/underline.png
|
2373
2454
|
- app/assets/images/kit/toolbar/undo.png
|
2374
2455
|
- app/assets/images/kit/toolbar/video.png
|
2456
|
+
- app/assets/images/kit/toolbar/wink.gif
|
2457
|
+
- app/assets/images/kit/toolbar/wink.png
|
2375
2458
|
- app/assets/images/kit/wait.gif
|
2376
2459
|
- app/assets/images/menu/logo.png
|
2377
2460
|
- app/assets/images/menu/menu_bg.gif
|
@@ -2409,6 +2492,7 @@ files:
|
|
2409
2492
|
- app/assets/javascripts/codemirror/matchbrackets.js
|
2410
2493
|
- app/assets/javascripts/codemirror/multiplex.js
|
2411
2494
|
- app/assets/javascripts/codemirror/overlay.js
|
2495
|
+
- app/assets/javascripts/codemirror/ruby.js
|
2412
2496
|
- app/assets/javascripts/codemirror/sass.js
|
2413
2497
|
- app/assets/javascripts/codemirror/search.js
|
2414
2498
|
- app/assets/javascripts/codemirror/searchcursor.js
|
@@ -2554,6 +2638,7 @@ files:
|
|
2554
2638
|
- app/assets/stylesheets/kit/ui-lightness/images/ui-icons_ffffff_256x240.png
|
2555
2639
|
- app/assets/stylesheets/kit/ui-lightness/jquery-ui-1.8.12.custom.css
|
2556
2640
|
- app/assets/stylesheets/kit/ui-lightness/jquery-ui.css
|
2641
|
+
- app/controllers/account_controller.rb
|
2557
2642
|
- app/controllers/ad_controller.rb
|
2558
2643
|
- app/controllers/admin/ad_units_controller.rb
|
2559
2644
|
- app/controllers/admin/ad_zones_controller.rb
|
@@ -2567,6 +2652,7 @@ files:
|
|
2567
2652
|
- app/controllers/admin/calendars_controller.rb
|
2568
2653
|
- app/controllers/admin/content_controller.rb
|
2569
2654
|
- app/controllers/admin/dashboard_controller.rb
|
2655
|
+
- app/controllers/admin/dj_controller.rb
|
2570
2656
|
- app/controllers/admin/experiments_controller.rb
|
2571
2657
|
- app/controllers/admin/form_controller.rb
|
2572
2658
|
- app/controllers/admin/form_field_groups_controller.rb
|
@@ -2589,6 +2675,7 @@ files:
|
|
2589
2675
|
- app/controllers/admin/page_templates_controller.rb
|
2590
2676
|
- app/controllers/admin/preference_controller.rb
|
2591
2677
|
- app/controllers/admin/preferences_controller.rb
|
2678
|
+
- app/controllers/admin/q_controller.rb
|
2592
2679
|
- app/controllers/admin/snippet_controller.rb
|
2593
2680
|
- app/controllers/admin/snippets_controller.rb
|
2594
2681
|
- app/controllers/admin/stylesheet_controller.rb
|
@@ -2598,6 +2685,7 @@ files:
|
|
2598
2685
|
- app/controllers/admin/user_controller.rb
|
2599
2686
|
- app/controllers/admin/views_controller.rb
|
2600
2687
|
- app/controllers/admin_controller.rb
|
2688
|
+
- app/controllers/api_controller.rb
|
2601
2689
|
- app/controllers/application_controller.rb
|
2602
2690
|
- app/controllers/asset_controller.rb
|
2603
2691
|
- app/controllers/blocks_controller.rb
|
@@ -2614,14 +2702,12 @@ files:
|
|
2614
2702
|
- app/controllers/order_controller.rb
|
2615
2703
|
- app/controllers/pages_controller.rb
|
2616
2704
|
- app/controllers/profile_controller.rb
|
2617
|
-
- app/controllers/
|
2618
|
-
- app/controllers/
|
2619
|
-
- app/controllers/user/registrations_controller.rb
|
2620
|
-
- app/controllers/user/sessions_controller.rb
|
2621
|
-
- app/controllers/user/unlocks_controller.rb
|
2705
|
+
- app/controllers/q_controller.rb
|
2706
|
+
- app/controllers/repo_controller.rb
|
2622
2707
|
- app/controllers/user_controller.rb
|
2623
2708
|
- app/controllers/utility_controller.rb
|
2624
2709
|
- app/controllers/view_controller.rb
|
2710
|
+
- app/helpers/account_helper.rb
|
2625
2711
|
- app/helpers/ad_helper.rb
|
2626
2712
|
- app/helpers/admin/ad_units_helper.rb
|
2627
2713
|
- app/helpers/admin/ad_zones_helper.rb
|
@@ -2688,7 +2774,10 @@ files:
|
|
2688
2774
|
- app/helpers/snippets_helper.rb
|
2689
2775
|
- app/helpers/user_helper.rb
|
2690
2776
|
- app/helpers/view_helper.rb
|
2777
|
+
- app/jobs/page_link_job.rb
|
2778
|
+
- app/jobs/queue_job.rb
|
2691
2779
|
- app/mailers/notification.rb
|
2780
|
+
- app/mailers/queue_mailer.rb
|
2692
2781
|
- app/models/ability.rb
|
2693
2782
|
- app/models/activity.rb
|
2694
2783
|
- app/models/ad.rb
|
@@ -2708,6 +2797,7 @@ files:
|
|
2708
2797
|
- app/models/comment.rb
|
2709
2798
|
- app/models/conversation.rb
|
2710
2799
|
- app/models/conversation_user.rb
|
2800
|
+
- app/models/delayed_job.rb
|
2711
2801
|
- app/models/design_history.rb
|
2712
2802
|
- app/models/event.rb
|
2713
2803
|
- app/models/experiment.rb
|
@@ -2728,6 +2818,8 @@ files:
|
|
2728
2818
|
- app/models/help.rb
|
2729
2819
|
- app/models/help_image.rb
|
2730
2820
|
- app/models/html_asset.rb
|
2821
|
+
- app/models/html_asset_usage.rb
|
2822
|
+
- app/models/html_assetable.rb
|
2731
2823
|
- app/models/ip_country.rb
|
2732
2824
|
- app/models/kit_engagement.rb
|
2733
2825
|
- app/models/kit_indexed.rb
|
@@ -2755,6 +2847,7 @@ files:
|
|
2755
2847
|
- app/models/page_edit.rb
|
2756
2848
|
- app/models/page_favourite.rb
|
2757
2849
|
- app/models/page_history.rb
|
2850
|
+
- app/models/page_link.rb
|
2758
2851
|
- app/models/page_template.rb
|
2759
2852
|
- app/models/page_template_loop.rb
|
2760
2853
|
- app/models/page_template_term.rb
|
@@ -2763,6 +2856,14 @@ files:
|
|
2763
2856
|
- app/models/page_url_likes.rb
|
2764
2857
|
- app/models/post_report.rb
|
2765
2858
|
- app/models/preference.rb
|
2859
|
+
- app/models/q_event.rb
|
2860
|
+
- app/models/q_klass.rb
|
2861
|
+
- app/models/q_message.rb
|
2862
|
+
- app/models/q_publisher.rb
|
2863
|
+
- app/models/q_subscription.rb
|
2864
|
+
- app/models/q_user.rb
|
2865
|
+
- app/models/q_users_method.rb
|
2866
|
+
- app/models/q_users_publisher.rb
|
2766
2867
|
- app/models/region.rb
|
2767
2868
|
- app/models/role.rb
|
2768
2869
|
- app/models/snippet.rb
|
@@ -2788,11 +2889,25 @@ files:
|
|
2788
2889
|
- app/models/user_attribute.rb
|
2789
2890
|
- app/models/user_attribute_value.rb
|
2790
2891
|
- app/models/user_link.rb
|
2892
|
+
- app/models/user_login.rb
|
2791
2893
|
- app/models/user_note.rb
|
2792
2894
|
- app/models/user_observer.rb
|
2793
2895
|
- app/models/user_thread_view.rb
|
2794
2896
|
- app/models/view.rb
|
2795
2897
|
- app/models/word.rb
|
2898
|
+
- app/validators/email_validator.rb
|
2899
|
+
- app/views/account/_edit.html.haml
|
2900
|
+
- app/views/account/_edit_intro.html.haml
|
2901
|
+
- app/views/account/_forgotten.html.haml
|
2902
|
+
- app/views/account/_forgotten_intro.html.haml
|
2903
|
+
- app/views/account/_sign_in.html.haml
|
2904
|
+
- app/views/account/_sign_in_intro.html.haml
|
2905
|
+
- app/views/account/_sign_up.html.haml
|
2906
|
+
- app/views/account/_sign_up_intro.html.haml
|
2907
|
+
- app/views/account/edit.html.haml
|
2908
|
+
- app/views/account/forgotten.html.haml
|
2909
|
+
- app/views/account/sign_in.html.haml
|
2910
|
+
- app/views/account/sign_up.html.haml
|
2796
2911
|
- app/views/ad/_buy.html.haml
|
2797
2912
|
- app/views/admin/ad_units/_form.html.haml
|
2798
2913
|
- app/views/admin/ad_units/edit.html.haml
|
@@ -2845,6 +2960,7 @@ files:
|
|
2845
2960
|
- app/views/admin/dashboard/_search_form.html.erb
|
2846
2961
|
- app/views/admin/dashboard/_status.html.haml
|
2847
2962
|
- app/views/admin/dashboard/activity.html.erb
|
2963
|
+
- app/views/admin/dashboard/broken_links.html.haml
|
2848
2964
|
- app/views/admin/dashboard/build_system.html.haml
|
2849
2965
|
- app/views/admin/dashboard/customisable_templates.html.haml
|
2850
2966
|
- app/views/admin/dashboard/event.html.haml
|
@@ -2896,6 +3012,7 @@ files:
|
|
2896
3012
|
- app/views/admin/dashboard/sysadmin.html.haml
|
2897
3013
|
- app/views/admin/dashboard/system.html.haml
|
2898
3014
|
- app/views/admin/dashboard/user_comments.html.haml
|
3015
|
+
- app/views/admin/dj/index.html.haml
|
2899
3016
|
- app/views/admin/experiments/_form.html.haml
|
2900
3017
|
- app/views/admin/experiments/edit.html.haml
|
2901
3018
|
- app/views/admin/experiments/index.html.haml
|
@@ -2984,6 +3101,13 @@ files:
|
|
2984
3101
|
- app/views/admin/page_templates/pages.html.haml
|
2985
3102
|
- app/views/admin/page_templates/show.html.haml
|
2986
3103
|
- app/views/admin/preference/index.html.haml
|
3104
|
+
- app/views/admin/q/events.html.haml
|
3105
|
+
- app/views/admin/q/index.html.haml
|
3106
|
+
- app/views/admin/q/klasses.html.haml
|
3107
|
+
- app/views/admin/q/messages.html.haml
|
3108
|
+
- app/views/admin/q/show.html.haml
|
3109
|
+
- app/views/admin/q/subscriptions.html.haml
|
3110
|
+
- app/views/admin/q/users.html.haml
|
2987
3111
|
- app/views/admin/shared/_help_switch.html.haml
|
2988
3112
|
- app/views/admin/shared/_links.html.haml
|
2989
3113
|
- app/views/admin/shared/_name.html.erb
|
@@ -3069,18 +3193,6 @@ files:
|
|
3069
3193
|
- app/views/category/new.html.erb
|
3070
3194
|
- app/views/category/permissions.html.haml
|
3071
3195
|
- app/views/category/show.html.erb
|
3072
|
-
- app/views/devise/_links.erb
|
3073
|
-
- app/views/devise/confirmations/new.html.erb
|
3074
|
-
- app/views/devise/mailer/confirmation_instructions.html.erb
|
3075
|
-
- app/views/devise/mailer/reset_password_instructions.html.erb
|
3076
|
-
- app/views/devise/mailer/unlock_instructions.html.erb
|
3077
|
-
- app/views/devise/passwords/edit.html.erb
|
3078
|
-
- app/views/devise/passwords/new.html.erb
|
3079
|
-
- app/views/devise/registrations/edit.html.erb
|
3080
|
-
- app/views/devise/registrations/new.html.erb
|
3081
|
-
- app/views/devise/sessions/new.html.erb
|
3082
|
-
- app/views/devise/shared/_links.erb
|
3083
|
-
- app/views/devise/unlocks/new.html.erb
|
3084
3196
|
- app/views/error/404.html.erb
|
3085
3197
|
- app/views/error/application.html.erb
|
3086
3198
|
- app/views/error/development.html.haml
|
@@ -3110,6 +3222,7 @@ files:
|
|
3110
3222
|
- app/views/forum/_topic_index.js.erb
|
3111
3223
|
- app/views/forum/_topic_list.html.haml
|
3112
3224
|
- app/views/forum/category_topic_list.html.haml
|
3225
|
+
- app/views/forum/fetch_raw.html.haml
|
3113
3226
|
- app/views/forum/index.html.haml
|
3114
3227
|
- app/views/forum/moderate.html.haml
|
3115
3228
|
- app/views/forum/post_list.rss.haml
|
@@ -3152,7 +3265,8 @@ files:
|
|
3152
3265
|
- app/views/messaging/index.html.haml
|
3153
3266
|
- app/views/messaging/show_conversation.html.haml
|
3154
3267
|
- app/views/messaging/show_conversation.html.haml:call <SNR>21_LustyJugglerKeyPressed('ENTER')
|
3155
|
-
- app/views/notification/event.
|
3268
|
+
- app/views/notification/event.text.erb
|
3269
|
+
- app/views/notification/forgotten_password.text.erb
|
3156
3270
|
- app/views/notification/form_submission.text.erb
|
3157
3271
|
- app/views/notification/moderation_required.text.erb
|
3158
3272
|
- app/views/notification/new_post.text.erb
|
@@ -3193,7 +3307,7 @@ files:
|
|
3193
3307
|
- app/views/pages/favourite.rjs
|
3194
3308
|
- app/views/pages/index.html.erb
|
3195
3309
|
- app/views/pages/info.html.erb
|
3196
|
-
- app/views/pages/links.html.
|
3310
|
+
- app/views/pages/links.html.haml
|
3197
3311
|
- app/views/pages/mercury-comment.js.erb
|
3198
3312
|
- app/views/pages/mock.html.haml
|
3199
3313
|
- app/views/pages/new.html.erb
|
@@ -3211,7 +3325,6 @@ files:
|
|
3211
3325
|
- app/views/user/profile.html.haml
|
3212
3326
|
- app/views/user/registrations/edit.html.erb
|
3213
3327
|
- app/views/user/registrations/new.html.erb
|
3214
|
-
- app/views/user/shared/_links.erb
|
3215
3328
|
- app/views/user/user_preference_scripts.js.erb
|
3216
3329
|
- app/views/user/user_profile.html.haml
|
3217
3330
|
- app/views/utility/_button_to_with_params.html.haml
|
@@ -3233,8 +3346,6 @@ files:
|
|
3233
3346
|
- config/initializers/date.rb
|
3234
3347
|
- config/initializers/date_format.rb
|
3235
3348
|
- config/initializers/delayed_job.rb
|
3236
|
-
- config/initializers/devise.rb
|
3237
|
-
- config/initializers/devise_extender.rb
|
3238
3349
|
- config/initializers/elastic_search.rb
|
3239
3350
|
- config/initializers/extend_controller.rb
|
3240
3351
|
- config/initializers/formtastic.rb
|
@@ -3252,6 +3363,7 @@ files:
|
|
3252
3363
|
- config/initializers/query_methods.rb
|
3253
3364
|
- config/initializers/quiet_asserts.rb
|
3254
3365
|
- config/initializers/string.rb
|
3366
|
+
- config/initializers/warden.rb
|
3255
3367
|
- config/initializers/will_paginate.rb
|
3256
3368
|
- config/locales/en.yml
|
3257
3369
|
- config/locales/en.ymlw!
|