archangel 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -2
- data/Gemfile +1 -1
- data/README.md +3 -3
- data/Rakefile +10 -7
- data/app/controllers/archangel/backend/sites_controller.rb +1 -2
- data/app/controllers/archangel/backend/users_controller.rb +1 -1
- data/app/controllers/concerns/archangel/seoable_concern.rb +1 -2
- data/app/models/archangel/entry.rb +1 -1
- data/app/models/archangel/page.rb +2 -4
- data/app/models/archangel/site.rb +0 -4
- data/app/models/archangel/template.rb +9 -0
- data/app/themes/default/assets/javascripts/default/backend.js +1 -0
- data/app/themes/default/assets/javascripts/default/backend/templates.js +26 -0
- data/app/themes/default/assets/stylesheets/default/auth/core.scss +10 -5
- data/app/themes/default/assets/stylesheets/default/backend/bootstrap/_tables.scss +40 -0
- data/app/themes/default/assets/stylesheets/default/backend/core.scss +11 -10
- data/app/themes/default/assets/stylesheets/default/frontend/core.scss +10 -5
- data/app/themes/default/views/layouts/auth.html.erb +0 -2
- data/app/themes/default/views/layouts/backend.html.erb +0 -2
- data/app/views/archangel/backend/assets/_asset.html.erb +12 -0
- data/app/views/archangel/backend/assets/index.html.erb +1 -14
- data/app/views/archangel/backend/collections/_collection.html.erb +10 -0
- data/app/views/archangel/backend/collections/index.html.erb +1 -12
- data/app/views/archangel/backend/entries/_entry.html.erb +13 -0
- data/app/views/archangel/backend/entries/index.html.erb +1 -15
- data/app/views/archangel/backend/pages/_page.html.erb +17 -0
- data/app/views/archangel/backend/pages/index.html.erb +1 -19
- data/app/views/archangel/backend/sites/_form.html.erb +0 -6
- data/app/views/archangel/backend/templates/_template.html.erb +10 -0
- data/app/views/archangel/backend/templates/index.html.erb +1 -12
- data/app/views/archangel/backend/users/_user.html.erb +11 -0
- data/app/views/archangel/backend/users/index.html.erb +1 -13
- data/app/views/archangel/backend/widgets/_widget.html.erb +10 -0
- data/app/views/archangel/backend/widgets/index.html.erb +1 -12
- data/bin/citest +3 -0
- data/bin/test +4 -0
- data/config/locales/active_record.en.yml +0 -2
- data/config/locales/en.yml +3 -3
- data/db/migrate/20171003191001_create_archangel_sites.rb +0 -1
- data/docs/Developers.md +2 -11
- data/docs/Extension/Developers.md +1 -1
- data/docs/Release.md +7 -1
- data/lib/archangel.rb +13 -0
- data/lib/archangel/command/templates/extension/Gemfile +0 -1
- data/lib/archangel/command/templates/extension/README.md +2 -11
- data/lib/archangel/command/templates/extension/Rakefile +4 -0
- data/lib/archangel/config.rb +5 -3
- data/lib/archangel/engine.rb +1 -1
- data/lib/archangel/liquid/drop.rb +1 -67
- data/lib/archangel/liquid/drops/site_drop.rb +0 -8
- data/lib/archangel/testing_support/factories/archangel_assets.rb +0 -5
- data/lib/archangel/testing_support/factories/archangel_sites.rb +0 -4
- data/lib/archangel/testing_support/support.rb +0 -4
- data/lib/archangel/version.rb +1 -1
- data/lib/generators/archangel/dummy/dummy_generator.rb +49 -27
- data/lib/generators/archangel/dummy/templates/config/database.yml +1 -1
- data/lib/generators/archangel/install/templates/config/archangel.yml +1 -18
- data/spec/controllers/archangel/backend/assets_controller_spec.rb +0 -11
- data/spec/controllers/archangel/backend/sites_controller_spec.rb +0 -16
- data/spec/features/backend/{duplicate_page_slugs_spec.rb → pages/duplicate_slugs_spec.rb} +0 -0
- data/spec/features/frontend/{drop_variables_spec.rb → liquid_drop_variables_spec.rb} +0 -2
- data/spec/features/frontend/{homepage_redirect_spec.rb → pages/homepage_redirect_spec.rb} +0 -0
- data/spec/lib/archangel/liquid/drops/site_drop_spec.rb +0 -5
- data/spec/lib/archangel/liquid/tags/asset_tag_spec.rb +2 -1
- data/spec/models/archangel/entry_spec.rb +4 -4
- data/spec/models/archangel/page_spec.rb +4 -4
- data/spec/models/archangel/template_spec.rb +14 -0
- data/spec/support/.keep +0 -0
- data/spec/uploaders/archangel/asset_uploader_spec.rb +1 -24
- data/vendor/assets/stylesheets/daterangepicker/_daterangepicker.scss +0 -2
- metadata +17 -10
- data/app/assets/images/archangel/fallback/favicon.ico +0 -0
- data/app/uploaders/archangel/favicon_uploader.rb +0 -38
- data/docs/Extension/Ideas.md +0 -133
- data/spec/support/coveralls.rb +0 -5
- data/spec/uploaders/archangel/favicon_uploader_spec.rb +0 -39
@@ -9,14 +9,6 @@ module Archangel
|
|
9
9
|
class SiteDrop < Archangel::Liquid::Drop
|
10
10
|
attributes :locale, :meta_description, :meta_keywords, :name
|
11
11
|
|
12
|
-
# Site favicon URL
|
13
|
-
#
|
14
|
-
# @return [String] the Site favicon URL
|
15
|
-
#
|
16
|
-
def favicon
|
17
|
-
object.favicon.url
|
18
|
-
end
|
19
|
-
|
20
12
|
# Original size Site logo URL
|
21
13
|
#
|
22
14
|
# @return [String] the original Site logo URL
|
@@ -4,10 +4,6 @@ def uploader_test_image
|
|
4
4
|
Archangel::Engine.root + "lib/archangel/testing_support/fixtures/image.gif"
|
5
5
|
end
|
6
6
|
|
7
|
-
def uploader_test_favicon
|
8
|
-
Archangel::Engine.root + "lib/archangel/testing_support/fixtures/favicon.png"
|
9
|
-
end
|
10
|
-
|
11
7
|
def uploader_test_stylesheet
|
12
8
|
Archangel::Engine.root +
|
13
9
|
"lib/archangel/testing_support/fixtures/stylesheet.css"
|
data/lib/archangel/version.rb
CHANGED
@@ -35,8 +35,9 @@ module Archangel
|
|
35
35
|
# Rails flags available to be passed with generator
|
36
36
|
#
|
37
37
|
PASSTHROUGH_OPTIONS = %i[
|
38
|
-
|
39
|
-
|
38
|
+
database javascript pretend quiet
|
39
|
+
skip_action_cable skip_active_record skip_active_storage skip_bootsnap
|
40
|
+
skip_javascript skip_turbolinks
|
40
41
|
].freeze
|
41
42
|
|
42
43
|
##
|
@@ -59,15 +60,9 @@ module Archangel
|
|
59
60
|
# Generate new dummy directory
|
60
61
|
#
|
61
62
|
def generate_dummy
|
62
|
-
opts =
|
63
|
-
|
64
|
-
|
65
|
-
opts[:force] = true
|
66
|
-
opts[:skip_bundle] = true
|
67
|
-
opts[:skip_git] = true
|
68
|
-
opts[:old_style_hash] = false
|
69
|
-
opts[:skip_turbolinks] = true
|
70
|
-
opts[:skip_bootsnap] = true
|
63
|
+
opts = option_defaults.merge(options)
|
64
|
+
.slice(*PASSTHROUGH_OPTIONS)
|
65
|
+
.merge(option_constants)
|
71
66
|
|
72
67
|
puts "Generating dummy Rails application..."
|
73
68
|
|
@@ -121,28 +116,55 @@ module Archangel
|
|
121
116
|
|
122
117
|
protected
|
123
118
|
|
124
|
-
|
125
|
-
|
126
|
-
|
119
|
+
no_tasks do
|
120
|
+
def remove_directory_if_exists(path)
|
121
|
+
remove_dir(path) if File.directory?(path)
|
122
|
+
end
|
123
|
+
|
124
|
+
def inject_require_for(requirement)
|
125
|
+
insert_into_file("config/application.rb",
|
126
|
+
before: /require "#{@lib_name}"/,
|
127
|
+
verbose: true) do
|
128
|
+
<<-APP_CONFIG.strip_heredoc.indent(2)
|
129
|
+
|
130
|
+
begin
|
131
|
+
require "#{requirement}"
|
132
|
+
rescue LoadError
|
133
|
+
# #{requirement} is not available.
|
134
|
+
end
|
127
135
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
verbose: true) do
|
132
|
-
<<-APP_CONFIG.strip_heredoc.indent(2)
|
136
|
+
APP_CONFIG
|
137
|
+
end
|
138
|
+
end
|
133
139
|
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
# #{requirement} is not available.
|
138
|
-
end
|
140
|
+
def dummy_database
|
141
|
+
ENV["DB"] || "sqlite3"
|
142
|
+
end
|
139
143
|
|
140
|
-
|
144
|
+
def dummy_path
|
145
|
+
ENV["DUMMY_PATH"] || "spec/dummy"
|
141
146
|
end
|
142
147
|
end
|
143
148
|
|
144
|
-
|
145
|
-
|
149
|
+
no_tasks do
|
150
|
+
def option_defaults
|
151
|
+
{
|
152
|
+
database: dummy_database,
|
153
|
+
skip_turbolinks: true,
|
154
|
+
skip_bootsnap: true,
|
155
|
+
skip_action_cable: true,
|
156
|
+
skip_active_storage: true
|
157
|
+
}
|
158
|
+
end
|
159
|
+
|
160
|
+
def option_constants
|
161
|
+
{
|
162
|
+
force: true,
|
163
|
+
skip_bundle: true,
|
164
|
+
skip_git: true,
|
165
|
+
old_style_hash: false
|
166
|
+
}
|
167
|
+
end
|
146
168
|
end
|
147
169
|
end
|
148
170
|
end
|
@@ -9,14 +9,12 @@ auth_path: "account"
|
|
9
9
|
backend_path: "backend"
|
10
10
|
|
11
11
|
# File extension whitelist of asset uploads.
|
12
|
-
# Default is ['
|
12
|
+
# Default is ['gif', 'jpeg', 'jpg', 'png']
|
13
13
|
#
|
14
14
|
asset_extension_whitelist:
|
15
|
-
- css
|
16
15
|
- gif
|
17
16
|
- jpeg
|
18
17
|
- jpg
|
19
|
-
- js
|
20
18
|
- png
|
21
19
|
|
22
20
|
# Maximum file size of for asset uploads.
|
@@ -24,21 +22,6 @@ asset_extension_whitelist:
|
|
24
22
|
#
|
25
23
|
asset_maximum_file_size: 2.megabytes
|
26
24
|
|
27
|
-
# File extension whitelist of favicon uploads.
|
28
|
-
# Default is ['gif', 'ico', 'jpeg', 'jpg', 'png']
|
29
|
-
#
|
30
|
-
favicon_extension_whitelist:
|
31
|
-
- gif
|
32
|
-
- ico
|
33
|
-
- jpeg
|
34
|
-
- jpg
|
35
|
-
- png
|
36
|
-
|
37
|
-
# Maximum file size of for favicon uploads.
|
38
|
-
# Default is `2.megabytes`
|
39
|
-
#
|
40
|
-
favicon_maximum_file_size: 2.megabytes
|
41
|
-
|
42
25
|
# File extension whitelist of general image uploads.
|
43
26
|
# Default is ['gif', 'jpeg', 'jpg', 'png']
|
44
27
|
#
|
@@ -32,17 +32,6 @@ module Archangel
|
|
32
32
|
expect(assigns(:asset)).to eq(asset)
|
33
33
|
end
|
34
34
|
|
35
|
-
it "uses default image for not-image assets" do
|
36
|
-
asset = create(:asset, :stylesheet)
|
37
|
-
|
38
|
-
get :show, params: { id: asset }
|
39
|
-
|
40
|
-
expect(asset.file.url).to include("/uploads/archangel/asset/file")
|
41
|
-
expect(asset.file.small.url).to(
|
42
|
-
include("/assets/archangel/fallback/small_asset")
|
43
|
-
)
|
44
|
-
end
|
45
|
-
|
46
35
|
it "uses uploaded image for image assets" do
|
47
36
|
asset = create(:asset)
|
48
37
|
|
@@ -18,22 +18,6 @@ module Archangel
|
|
18
18
|
expect(assigns(:site)).to eq(site)
|
19
19
|
end
|
20
20
|
|
21
|
-
it "uses default favicon for site" do
|
22
|
-
get :show
|
23
|
-
|
24
|
-
expect(site.favicon.url).to(
|
25
|
-
include("/assets/archangel/fallback/favicon")
|
26
|
-
)
|
27
|
-
end
|
28
|
-
|
29
|
-
it "uses uploaded favicon for site" do
|
30
|
-
site = create(:site, :favicon)
|
31
|
-
|
32
|
-
get :show
|
33
|
-
|
34
|
-
expect(site.favicon.url).to include("/uploads/archangel/site/favicon")
|
35
|
-
end
|
36
|
-
|
37
21
|
it "uses default logo for site" do
|
38
22
|
get :show
|
39
23
|
|
File without changes
|
@@ -105,7 +105,6 @@ RSpec.feature "Default variables", type: :feature do
|
|
105
105
|
Site Locale: {{ site.locale }}
|
106
106
|
Site Meta Keywords: {{ site.meta_keywords }}
|
107
107
|
Site Meta Description: {{ site.meta_description }}
|
108
|
-
Site Favicon: {{ site.favicon }}
|
109
108
|
Site Logo: {{ site.logo }}
|
110
109
|
CONTENT
|
111
110
|
|
@@ -118,7 +117,6 @@ RSpec.feature "Default variables", type: :feature do
|
|
118
117
|
expect(page).to have_content("Site Meta Keywords: #{site.meta_keywords}")
|
119
118
|
expect(page)
|
120
119
|
.to have_content("Site Meta Description: #{site.meta_description}")
|
121
|
-
expect(page).to have_content("Site Favicon: #{site.favicon}")
|
122
120
|
expect(page).to have_content("Site Logo: #{site.logo}")
|
123
121
|
end
|
124
122
|
end
|
File without changes
|
@@ -27,11 +27,6 @@ module Archangel
|
|
27
27
|
expect(resource_drop.name).to eq("Test Site")
|
28
28
|
end
|
29
29
|
|
30
|
-
it "returns correct #favicon value" do
|
31
|
-
expect(resource_drop.favicon)
|
32
|
-
.to match(%r{/assets/archangel/fallback/favicon(.+).ico})
|
33
|
-
end
|
34
|
-
|
35
30
|
it "returns correct #logo value" do
|
36
31
|
expect(resource_drop.logo)
|
37
32
|
.to match(%r{/assets/archangel/fallback/logo(.+).png})
|
@@ -20,7 +20,8 @@ module Archangel
|
|
20
20
|
end
|
21
21
|
|
22
22
|
it "returns link for non-image asset" do
|
23
|
-
asset = create(:asset
|
23
|
+
asset = create(:asset)
|
24
|
+
asset.update_attributes(content_type: "text/css")
|
24
25
|
|
25
26
|
result = ::Liquid::Template.parse("{% asset '#{asset.file_name}' %}")
|
26
27
|
.render(context)
|
@@ -39,23 +39,23 @@ module Archangel
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
context "#
|
42
|
+
context "#status" do
|
43
43
|
it "returns `unavailable` for Entries not available" do
|
44
44
|
entry = build(:entry, :unavailable)
|
45
45
|
|
46
|
-
expect(entry.
|
46
|
+
expect(entry.status).to eq("unavailable")
|
47
47
|
end
|
48
48
|
|
49
49
|
it "returns `future-available` for Entries available in the future" do
|
50
50
|
entry = build(:entry, :future)
|
51
51
|
|
52
|
-
expect(entry.
|
52
|
+
expect(entry.status).to eq("future-available")
|
53
53
|
end
|
54
54
|
|
55
55
|
it "returns `available` for Entries available in the past" do
|
56
56
|
entry = build(:entry)
|
57
57
|
|
58
|
-
expect(entry.
|
58
|
+
expect(entry.status).to eq("available")
|
59
59
|
end
|
60
60
|
end
|
61
61
|
end
|
@@ -109,23 +109,23 @@ module Archangel
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
-
context "#
|
112
|
+
context "#status" do
|
113
113
|
it "returns `unpublished` for Pages not published" do
|
114
114
|
page = build(:page, :unpublished)
|
115
115
|
|
116
|
-
expect(page.
|
116
|
+
expect(page.status).to eq("unpublished")
|
117
117
|
end
|
118
118
|
|
119
119
|
it "returns `future-published` for Pages published in the future" do
|
120
120
|
page = build(:page, :future)
|
121
121
|
|
122
|
-
expect(page.
|
122
|
+
expect(page.status).to eq("future-published")
|
123
123
|
end
|
124
124
|
|
125
125
|
it "returns `published` for Pages published in the past" do
|
126
126
|
page = build(:page)
|
127
127
|
|
128
|
-
expect(page.
|
128
|
+
expect(page.status).to eq("published")
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
@@ -27,5 +27,19 @@ module Archangel
|
|
27
27
|
)
|
28
28
|
end
|
29
29
|
end
|
30
|
+
|
31
|
+
context "#status" do
|
32
|
+
it "returns `partial` for partial Templates" do
|
33
|
+
page = build(:template, :partial)
|
34
|
+
|
35
|
+
expect(page.status).to eq("partial")
|
36
|
+
end
|
37
|
+
|
38
|
+
it "returns `full` for non-partial Templates" do
|
39
|
+
page = build(:template)
|
40
|
+
|
41
|
+
expect(page.status).to eq("full")
|
42
|
+
end
|
43
|
+
end
|
30
44
|
end
|
31
45
|
end
|
data/spec/support/.keep
ADDED
File without changes
|
@@ -12,7 +12,7 @@ module Archangel
|
|
12
12
|
end
|
13
13
|
|
14
14
|
it "allows certain extensions" do
|
15
|
-
expect(subject.extension_whitelist).to eq %i[
|
15
|
+
expect(subject.extension_whitelist).to eq %i[gif jpeg jpg png]
|
16
16
|
end
|
17
17
|
|
18
18
|
context "with image file" do
|
@@ -44,28 +44,5 @@ module Archangel
|
|
44
44
|
expect(uploader).to have_permissions(0o666)
|
45
45
|
end
|
46
46
|
end
|
47
|
-
|
48
|
-
context "with non-image file" do
|
49
|
-
before do
|
50
|
-
described_class.enable_processing = true
|
51
|
-
|
52
|
-
uploader.store!(fixture_file_upload(uploader_test_stylesheet,
|
53
|
-
"text/css"))
|
54
|
-
end
|
55
|
-
|
56
|
-
after do
|
57
|
-
described_class.enable_processing = false
|
58
|
-
|
59
|
-
uploader.remove!
|
60
|
-
end
|
61
|
-
|
62
|
-
it "is not an image file" do
|
63
|
-
expect(uploader.image?).to be_falsey
|
64
|
-
end
|
65
|
-
|
66
|
-
it "makes the image with 666 permissions" do
|
67
|
-
expect(uploader).to have_permissions(0o666)
|
68
|
-
end
|
69
|
-
end
|
70
47
|
end
|
71
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archangel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Freerksen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
@@ -499,7 +499,6 @@ files:
|
|
499
499
|
- app/assets/images/archangel/fallback/asset.png
|
500
500
|
- app/assets/images/archangel/fallback/avatar.png
|
501
501
|
- app/assets/images/archangel/fallback/default.png
|
502
|
-
- app/assets/images/archangel/fallback/favicon.ico
|
503
502
|
- app/assets/images/archangel/fallback/large_avatar.png
|
504
503
|
- app/assets/images/archangel/fallback/large_logo.png
|
505
504
|
- app/assets/images/archangel/fallback/logo.png
|
@@ -603,6 +602,7 @@ files:
|
|
603
602
|
- app/themes/default/assets/javascripts/default/auth/.keep
|
604
603
|
- app/themes/default/assets/javascripts/default/backend.js
|
605
604
|
- app/themes/default/assets/javascripts/default/backend/core.js
|
605
|
+
- app/themes/default/assets/javascripts/default/backend/templates.js
|
606
606
|
- app/themes/default/assets/javascripts/default/common/cards.js
|
607
607
|
- app/themes/default/assets/javascripts/default/common/flash.js
|
608
608
|
- app/themes/default/assets/javascripts/default/frontend.js
|
@@ -610,6 +610,7 @@ files:
|
|
610
610
|
- app/themes/default/assets/stylesheets/default/auth.css
|
611
611
|
- app/themes/default/assets/stylesheets/default/auth/core.scss
|
612
612
|
- app/themes/default/assets/stylesheets/default/backend.css
|
613
|
+
- app/themes/default/assets/stylesheets/default/backend/bootstrap/_tables.scss
|
613
614
|
- app/themes/default/assets/stylesheets/default/backend/core.scss
|
614
615
|
- app/themes/default/assets/stylesheets/default/common/_bootstrap.scss
|
615
616
|
- app/themes/default/assets/stylesheets/default/common/_selectize.scss
|
@@ -663,8 +664,8 @@ files:
|
|
663
664
|
- app/uploaders/archangel/application_uploader.rb
|
664
665
|
- app/uploaders/archangel/asset_uploader.rb
|
665
666
|
- app/uploaders/archangel/avatar_uploader.rb
|
666
|
-
- app/uploaders/archangel/favicon_uploader.rb
|
667
667
|
- app/uploaders/archangel/logo_uploader.rb
|
668
|
+
- app/views/archangel/backend/assets/_asset.html.erb
|
668
669
|
- app/views/archangel/backend/assets/_buttons.html.erb
|
669
670
|
- app/views/archangel/backend/assets/_form.html.erb
|
670
671
|
- app/views/archangel/backend/assets/edit.html.erb
|
@@ -672,6 +673,7 @@ files:
|
|
672
673
|
- app/views/archangel/backend/assets/new.html.erb
|
673
674
|
- app/views/archangel/backend/assets/show.html.erb
|
674
675
|
- app/views/archangel/backend/collections/_buttons.html.erb
|
676
|
+
- app/views/archangel/backend/collections/_collection.html.erb
|
675
677
|
- app/views/archangel/backend/collections/_field_fields.html.erb
|
676
678
|
- app/views/archangel/backend/collections/_form.html.erb
|
677
679
|
- app/views/archangel/backend/collections/edit.html.erb
|
@@ -681,6 +683,7 @@ files:
|
|
681
683
|
- app/views/archangel/backend/dashboards/_buttons.html.erb
|
682
684
|
- app/views/archangel/backend/dashboards/show.html.erb
|
683
685
|
- app/views/archangel/backend/entries/_buttons.html.erb
|
686
|
+
- app/views/archangel/backend/entries/_entry.html.erb
|
684
687
|
- app/views/archangel/backend/entries/_form.html.erb
|
685
688
|
- app/views/archangel/backend/entries/edit.html.erb
|
686
689
|
- app/views/archangel/backend/entries/index.html.erb
|
@@ -688,6 +691,7 @@ files:
|
|
688
691
|
- app/views/archangel/backend/entries/show.html.erb
|
689
692
|
- app/views/archangel/backend/pages/_buttons.html.erb
|
690
693
|
- app/views/archangel/backend/pages/_form.html.erb
|
694
|
+
- app/views/archangel/backend/pages/_page.html.erb
|
691
695
|
- app/views/archangel/backend/pages/edit.html.erb
|
692
696
|
- app/views/archangel/backend/pages/index.html.erb
|
693
697
|
- app/views/archangel/backend/pages/new.html.erb
|
@@ -725,18 +729,21 @@ files:
|
|
725
729
|
- app/views/archangel/backend/sites/show.html.erb
|
726
730
|
- app/views/archangel/backend/templates/_buttons.html.erb
|
727
731
|
- app/views/archangel/backend/templates/_form.html.erb
|
732
|
+
- app/views/archangel/backend/templates/_template.html.erb
|
728
733
|
- app/views/archangel/backend/templates/edit.html.erb
|
729
734
|
- app/views/archangel/backend/templates/index.html.erb
|
730
735
|
- app/views/archangel/backend/templates/new.html.erb
|
731
736
|
- app/views/archangel/backend/templates/show.html.erb
|
732
737
|
- app/views/archangel/backend/users/_buttons.html.erb
|
733
738
|
- app/views/archangel/backend/users/_form.html.erb
|
739
|
+
- app/views/archangel/backend/users/_user.html.erb
|
734
740
|
- app/views/archangel/backend/users/edit.html.erb
|
735
741
|
- app/views/archangel/backend/users/index.html.erb
|
736
742
|
- app/views/archangel/backend/users/new.html.erb
|
737
743
|
- app/views/archangel/backend/users/show.html.erb
|
738
744
|
- app/views/archangel/backend/widgets/_buttons.html.erb
|
739
745
|
- app/views/archangel/backend/widgets/_form.html.erb
|
746
|
+
- app/views/archangel/backend/widgets/_widget.html.erb
|
740
747
|
- app/views/archangel/backend/widgets/edit.html.erb
|
741
748
|
- app/views/archangel/backend/widgets/index.html.erb
|
742
749
|
- app/views/archangel/backend/widgets/new.html.erb
|
@@ -771,7 +778,9 @@ files:
|
|
771
778
|
- archangel.gemspec
|
772
779
|
- archangel.png
|
773
780
|
- bin/archangel
|
781
|
+
- bin/citest
|
774
782
|
- bin/rails
|
783
|
+
- bin/test
|
775
784
|
- config/brakeman.yml
|
776
785
|
- config/initializers/assets.rb
|
777
786
|
- config/initializers/carrierwave.rb
|
@@ -803,7 +812,6 @@ files:
|
|
803
812
|
- docs/Extension/Controllers.md
|
804
813
|
- docs/Extension/Developers.md
|
805
814
|
- docs/Extension/Helpers.md
|
806
|
-
- docs/Extension/Ideas.md
|
807
815
|
- docs/Extension/Models.md
|
808
816
|
- docs/Extension/Policies.md
|
809
817
|
- docs/Extension/Routes.md
|
@@ -935,9 +943,9 @@ files:
|
|
935
943
|
- spec/features/auth/log_in_spec.rb
|
936
944
|
- spec/features/auth/log_out_spec.rb
|
937
945
|
- spec/features/auth/registration_spec.rb
|
938
|
-
- spec/features/backend/
|
939
|
-
- spec/features/frontend/
|
940
|
-
- spec/features/frontend/homepage_redirect_spec.rb
|
946
|
+
- spec/features/backend/pages/duplicate_slugs_spec.rb
|
947
|
+
- spec/features/frontend/liquid_drop_variables_spec.rb
|
948
|
+
- spec/features/frontend/pages/homepage_redirect_spec.rb
|
941
949
|
- spec/helpers/archangel/application_helper_spec.rb
|
942
950
|
- spec/helpers/archangel/auth_helper_spec.rb
|
943
951
|
- spec/helpers/archangel/backend/assets_helper_spec.rb
|
@@ -1006,11 +1014,10 @@ files:
|
|
1006
1014
|
- spec/services/archangel/render_service_spec.rb
|
1007
1015
|
- spec/services/archangel/template_render_service_spec.rb
|
1008
1016
|
- spec/spec_helper.rb
|
1009
|
-
- spec/support
|
1017
|
+
- spec/support/.keep
|
1010
1018
|
- spec/uploaders/archangel/application_uploader_spec.rb
|
1011
1019
|
- spec/uploaders/archangel/asset_uploader_spec.rb
|
1012
1020
|
- spec/uploaders/archangel/avatar_uploader_spec.rb
|
1013
|
-
- spec/uploaders/archangel/favicon_uploader_spec.rb
|
1014
1021
|
- spec/uploaders/archangel/logo_uploader_spec.rb
|
1015
1022
|
- vendor/assets/icons/trumbowyg/icons.svg
|
1016
1023
|
- vendor/assets/javascripts/daterangepicker/daterangepicker.js
|