cortex-plugins-core 2.1.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +9 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +47 -0
- data/.gitignore +82 -0
- data/.npmignore +33 -0
- data/.rspec +3 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +189 -0
- data/app/assets/config/cortex_plugins_core_manifest.js +2 -0
- data/app/assets/images/cortex-plugins-core/.keep +0 -0
- data/app/assets/stylesheets/cortex-plugins-core/application.scss +1 -2
- data/app/cells/plugins/core/cell.rb +2 -4
- data/app/cells/plugins/core/content_item_cell.rb +1 -1
- data/app/graphql/interfaces/.keep +0 -0
- data/app/graphql/types/.keep +0 -0
- data/app/models/asset_field_type.rb +1 -1
- data/app/models/author_field_type.rb +1 -1
- data/app/models/boolean_field_type.rb +1 -1
- data/app/models/content_item_field_type.rb +1 -1
- data/app/models/date_time_field_type.rb +1 -1
- data/app/models/float_field_type.rb +1 -1
- data/app/models/integer_field_type.rb +1 -1
- data/app/models/tag_field_type.rb +1 -1
- data/app/models/text_field_type.rb +1 -1
- data/app/models/tree_field_type.rb +1 -1
- data/app/models/user_field_type.rb +1 -1
- data/app/transactions/get_field_tree_list_transaction.rb +1 -1
- data/app/transactions/new_tag_field_item_transaction.rb +1 -1
- data/app/transactions/new_user_field_item_transaction.rb +1 -1
- data/app/transactions/update_tag_field_item_transaction.rb +1 -1
- data/bin/rails +13 -0
- data/cortex-plugins-core.gemspec +38 -0
- data/lib/cortex/plugins/core/engine.rb +4 -2
- data/lib/cortex/plugins/core/version.rb +1 -1
- data/lib/tasks/cortex/core/media.rake +10 -10
- data/node_package/.babelrc +26 -0
- data/node_package/src/actions/helloWorld2ActionCreators.jsx +8 -0
- data/node_package/src/components/asset_field_type.jsx +34 -0
- data/node_package/src/components/date_time_type.jsx +35 -0
- data/node_package/src/components/index.jsx +12 -0
- data/node_package/src/components/tag_field_type.jsx +41 -0
- data/node_package/src/components/text_field_type.jsx +82 -0
- data/node_package/src/constants/helloWorld2Constants.jsx +3 -0
- data/node_package/src/containers/HelloWorld2Container.jsx +13 -0
- data/node_package/src/index.jsx +15 -0
- data/node_package/src/reducers/helloWorld2Reducer.jsx +15 -0
- data/node_package/src/startup/HelloWorld2App.jsx +18 -0
- data/node_package/src/startup/registration.jsx +8 -0
- data/node_package/src/store/helloWorld2Store.jsx +8 -0
- data/package.json +43 -0
- data/yarn.lock +5229 -0
- metadata +33 -6
- data/app/assets/stylesheets/cortex-plugins-core/variables/_typography.scss +0 -114
- data/lib/tasks/cortex/core/db.rake +0 -30
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cortex-plugins-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CareerBuilder Employer Site & Content Products
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -193,15 +193,24 @@ dependencies:
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0.5'
|
195
195
|
description:
|
196
|
-
email:
|
197
|
-
- EmployerSiteContentProducts@cb.com
|
196
|
+
email: toastercup@gmail.com
|
198
197
|
executables: []
|
199
198
|
extensions: []
|
200
199
|
extra_rdoc_files: []
|
201
200
|
files:
|
201
|
+
- ".editorconfig"
|
202
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
203
|
+
- ".gitignore"
|
204
|
+
- ".npmignore"
|
205
|
+
- ".rspec"
|
206
|
+
- CODE_OF_CONDUCT.md
|
207
|
+
- Gemfile
|
208
|
+
- Gemfile.lock
|
202
209
|
- LICENSE.md
|
203
210
|
- README.md
|
204
211
|
- Rakefile
|
212
|
+
- app/assets/config/cortex_plugins_core_manifest.js
|
213
|
+
- app/assets/images/cortex-plugins-core/.keep
|
205
214
|
- app/assets/javascripts/ckeditor/config.js
|
206
215
|
- app/assets/javascripts/ckeditor/plugins/cortex_media_insert/plugin.js
|
207
216
|
- app/assets/javascripts/ckeditor/turbolinks.js
|
@@ -212,7 +221,6 @@ files:
|
|
212
221
|
- app/assets/stylesheets/cortex-plugins-core/components/tags-input.scss
|
213
222
|
- app/assets/stylesheets/cortex-plugins-core/components/thumbnail-placeholder.scss
|
214
223
|
- app/assets/stylesheets/cortex-plugins-core/variables/_colors.scss
|
215
|
-
- app/assets/stylesheets/cortex-plugins-core/variables/_typography.scss
|
216
224
|
- app/cells/plugins/core/asset/association.haml
|
217
225
|
- app/cells/plugins/core/asset/input.haml
|
218
226
|
- app/cells/plugins/core/asset_cell.rb
|
@@ -250,6 +258,8 @@ files:
|
|
250
258
|
- app/cells/plugins/core/tree_cell.rb
|
251
259
|
- app/cells/plugins/core/user/dropdown.haml
|
252
260
|
- app/cells/plugins/core/user_cell.rb
|
261
|
+
- app/graphql/interfaces/.keep
|
262
|
+
- app/graphql/types/.keep
|
253
263
|
- app/models/asset_field_type.rb
|
254
264
|
- app/models/author_field_type.rb
|
255
265
|
- app/models/boolean_field_type.rb
|
@@ -269,13 +279,30 @@ files:
|
|
269
279
|
- app/transactions/update_tag_field_item_transaction.rb
|
270
280
|
- app/uploaders/asset_uploader.rb
|
271
281
|
- app/uploaders/concerns/imageable.rb
|
282
|
+
- bin/rails
|
272
283
|
- config/initializers/shrine.rb
|
284
|
+
- cortex-plugins-core.gemspec
|
273
285
|
- lib/cortex/plugins/core.rb
|
274
286
|
- lib/cortex/plugins/core/engine.rb
|
275
287
|
- lib/cortex/plugins/core/version.rb
|
276
288
|
- lib/shrine/plugins/cortex_validation_helpers.rb
|
277
|
-
- lib/tasks/cortex/core/db.rake
|
278
289
|
- lib/tasks/cortex/core/media.rake
|
290
|
+
- node_package/.babelrc
|
291
|
+
- node_package/src/actions/helloWorld2ActionCreators.jsx
|
292
|
+
- node_package/src/components/asset_field_type.jsx
|
293
|
+
- node_package/src/components/date_time_type.jsx
|
294
|
+
- node_package/src/components/index.jsx
|
295
|
+
- node_package/src/components/tag_field_type.jsx
|
296
|
+
- node_package/src/components/text_field_type.jsx
|
297
|
+
- node_package/src/constants/helloWorld2Constants.jsx
|
298
|
+
- node_package/src/containers/HelloWorld2Container.jsx
|
299
|
+
- node_package/src/index.jsx
|
300
|
+
- node_package/src/reducers/helloWorld2Reducer.jsx
|
301
|
+
- node_package/src/startup/HelloWorld2App.jsx
|
302
|
+
- node_package/src/startup/registration.jsx
|
303
|
+
- node_package/src/store/helloWorld2Store.jsx
|
304
|
+
- package.json
|
305
|
+
- yarn.lock
|
279
306
|
homepage: https://github.com/cortex-cms/cortex-plugins-core
|
280
307
|
licenses:
|
281
308
|
- Apache-2.0
|
@@ -1,114 +0,0 @@
|
|
1
|
-
@font-face {
|
2
|
-
font-family: Montserrat;
|
3
|
-
font-style: normal;
|
4
|
-
font-weight: normal;
|
5
|
-
src: url(asset_path('Montserrat-Regular.otf')) format("opentype");
|
6
|
-
}
|
7
|
-
|
8
|
-
@font-face {
|
9
|
-
font-family: Montserrat;
|
10
|
-
font-style: normal;
|
11
|
-
font-weight: bold;
|
12
|
-
src: url(asset_path('Montserrat-Medium.otf')) format("opentype");
|
13
|
-
}
|
14
|
-
|
15
|
-
@font-face {
|
16
|
-
font-family: Montserrat;
|
17
|
-
font-style: normal;
|
18
|
-
font-weight: bolder;
|
19
|
-
src: url(asset_path('Montserrat-SemiBold.otf')) format("opentype");
|
20
|
-
}
|
21
|
-
|
22
|
-
@font-face {
|
23
|
-
font-family: Montserrat;
|
24
|
-
font-style: normal;
|
25
|
-
font-weight: lighter;
|
26
|
-
src: url(asset_path('Montserrat-Light.otf')) format("opentype");
|
27
|
-
}
|
28
|
-
|
29
|
-
$cortex-font-stack: Montserrat, sans-serif;
|
30
|
-
$base-font-size: 1rem;
|
31
|
-
|
32
|
-
%display-text { // Cortex Logo
|
33
|
-
color: $color-grey-dark;
|
34
|
-
font-family: $cortex-font-stack;
|
35
|
-
font-weight: normal;
|
36
|
-
font-size: 2.1775rem;
|
37
|
-
}
|
38
|
-
|
39
|
-
h1, h2, h3, h4, h5, h6 {
|
40
|
-
line-height: 1.5;
|
41
|
-
}
|
42
|
-
|
43
|
-
h1,
|
44
|
-
.text-style-1 { // Bread Crumbs and Page Headers
|
45
|
-
color: $color-teal;
|
46
|
-
font-family: $cortex-font-stack;
|
47
|
-
font-weight: bold;
|
48
|
-
font-size: 1.17rem;
|
49
|
-
text-decoration: none;
|
50
|
-
}
|
51
|
-
|
52
|
-
h2,
|
53
|
-
.text-style-2 {
|
54
|
-
color: $color-grey;
|
55
|
-
font-family: $cortex-font-stack;
|
56
|
-
font-weight: lighter;
|
57
|
-
font-size: 1.17rem;
|
58
|
-
}
|
59
|
-
|
60
|
-
h3,
|
61
|
-
.text-style-3 {
|
62
|
-
color: $color-grey;
|
63
|
-
font-family: $cortex-font-stack;
|
64
|
-
font-weight: bold;
|
65
|
-
font-size: 1.17rem;
|
66
|
-
}
|
67
|
-
|
68
|
-
h4,
|
69
|
-
.text-style-4 { // Section Headers, Dropdowns, Button Text
|
70
|
-
color: $color-grey-dark;
|
71
|
-
font-family: $cortex-font-stack;
|
72
|
-
font-size: 0.83rem;
|
73
|
-
}
|
74
|
-
|
75
|
-
h5,
|
76
|
-
.text-style-5 { // Field Text
|
77
|
-
color: $color-grey;
|
78
|
-
font-family: $cortex-font-stack;
|
79
|
-
font-weight: lighter;
|
80
|
-
font-size: $base-font-size;
|
81
|
-
}
|
82
|
-
|
83
|
-
h6,
|
84
|
-
.text-style-6 { // Field Text Filled
|
85
|
-
color: $color-anchor-blue-light;
|
86
|
-
font-family: $cortex-font-stack;
|
87
|
-
font-size: $base-font-size;
|
88
|
-
}
|
89
|
-
|
90
|
-
.text-style-7 { // Help Notes
|
91
|
-
color: $color-anchor-blue-light;
|
92
|
-
font-family: $cortex-font-stack;
|
93
|
-
font-weight: lighter;
|
94
|
-
font-size: 0.67rem;
|
95
|
-
}
|
96
|
-
|
97
|
-
%sidebar-nav { // Side Nav
|
98
|
-
color: $color-grey;
|
99
|
-
font-family: $cortex-font-stack;
|
100
|
-
font-weight: lighter;
|
101
|
-
font-size: 0.875rem;
|
102
|
-
text-transform: uppercase;
|
103
|
-
|
104
|
-
&.active { // Side Nav Selected
|
105
|
-
font-weight: bold;
|
106
|
-
color: $color-teal;
|
107
|
-
}
|
108
|
-
}
|
109
|
-
|
110
|
-
p {
|
111
|
-
color: $color-anchor-blue-light;
|
112
|
-
font-family: $cortex-font-stack;
|
113
|
-
font-size: $base-font-size;
|
114
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
Bundler.require(:default, Rails.env)
|
2
|
-
|
3
|
-
namespace :cortex do
|
4
|
-
namespace :core do
|
5
|
-
namespace :db do
|
6
|
-
desc 'Re-Seeds (will wipe existing ContentTypes!) Cortex with Core Custom Content Seed Data'
|
7
|
-
task reseed: :environment do
|
8
|
-
Rake::Task['cortex:core:db:clear'].execute
|
9
|
-
Rake::Task['cortex:core:media:seed'].execute
|
10
|
-
Rake::Task['employer:blog:seed'].execute # TODO: Extract
|
11
|
-
end
|
12
|
-
|
13
|
-
desc 'Clear Existing Custom Content Data From DB'
|
14
|
-
task clear: :environment do
|
15
|
-
puts "Clearing ContentTypes..."
|
16
|
-
ContentType.destroy_all
|
17
|
-
puts "Clearing Fields..."
|
18
|
-
Field.destroy_all
|
19
|
-
puts "Clearing ContentItems..."
|
20
|
-
ContentItem.destroy_all
|
21
|
-
puts "Clearing FieldItems..."
|
22
|
-
FieldItem.destroy_all
|
23
|
-
puts "Clearing ContentableDecorators..."
|
24
|
-
ContentableDecorator.destroy_all
|
25
|
-
puts "Clearing Decorators..."
|
26
|
-
Decorator.destroy_all
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|