lcms-engine 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -1
- data/Gemfile.lock +15 -15
- data/app/assets/javascripts/lcms/engine/admin/lcms_engine_application.js +7 -2
- data/app/assets/javascripts/lcms/engine/lcms_engine_application.js +1 -2
- data/app/javascript/components/admin/ImportStatus.jsx +4 -4
- data/app/views/lcms/engine/admin/resources/_fields.html.erb +0 -2
- data/app/views/lcms/engine/admin/standards/_form.html.erb +0 -2
- data/app/views/lcms/engine/admin/standards/index.html.erb +1 -1
- data/app/views/lcms/engine/resources/_download.html.erb +1 -1
- data/config/initializers/ckeditor.rb +1 -1
- data/lib/lcms/engine/version.rb +1 -1
- metadata +27 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa522908e0892715f7b2fa01f4563e143f96504d6323a30c44ad136fd35506db
|
4
|
+
data.tar.gz: fcdcffc89fc90071562dfd454ac700b3ffd25906fe9ebe6377475b2a9c5fdbd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3670c15ccc335e9a39178446629cd76d52d8df7f0c51540a5eb4d8b1b39fa194bd5df1e025f08005ae63bc7038e05eb7b27be9ec735c7a67ee543fa7acd4a67
|
7
|
+
data.tar.gz: 7766b9cbe3be659ca6ac4ea3b5e0633a99f6ac85347165b9fe5dea07591f2e10d021b6bb5b7fe97d28e0708f1b8ac3146b8cc19ea083581e95acb722b3eab629
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,24 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
-
## [Unreleased](https://github.com/learningtapestry/lcms-engine/compare/v0.
|
7
|
+
## [Unreleased](https://github.com/learningtapestry/lcms-engine/compare/v0.5.0...HEAD)
|
8
|
+
|
9
|
+
## [0.5.0](https://github.com/learningtapestry/lcms-engine/compare/v0.4.2...v0.5.0) - 2022.10.21
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
|
13
|
+
- [BREAKING] - Force use jQuery v3.x - [@paranoicsan](https://github.com/paranoicsan)
|
14
|
+
- [BREAKING] - Bump CKEditor to v4.20. Changed the behavior how we load ckeditor4 sources from CDN - [@paranoicsan](https://github.com/paranoicsan)
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
|
18
|
+
- Fix wrong URL on edit button on Standards index page - [@paranoicsan](https://github.com/paranoicsan)
|
19
|
+
|
20
|
+
## [0.4.2](https://github.com/learningtapestry/lcms-engine/compare/v0.4.1...v0.4.2) - 2022.10.18
|
21
|
+
|
22
|
+
### Changed
|
23
|
+
|
24
|
+
- Allow `ImportStatus` page customization - [@paranoicsan](https://github.com/paranoicsan)
|
8
25
|
|
9
26
|
## [0.4.1](https://github.com/learningtapestry/lcms-engine/compare/v0.4.0...v0.4.1) - 2022.10.13
|
10
27
|
|
data/Gemfile.lock
CHANGED
@@ -10,7 +10,7 @@ GIT
|
|
10
10
|
PATH
|
11
11
|
remote: .
|
12
12
|
specs:
|
13
|
-
lcms-engine (0.4.
|
13
|
+
lcms-engine (0.4.2)
|
14
14
|
active_model_serializers (~> 0.10.10)
|
15
15
|
activejob-retry (~> 0.6.3)
|
16
16
|
acts-as-taggable-on (~> 7.0)
|
@@ -162,10 +162,10 @@ GEM
|
|
162
162
|
autoprefixer-rails (9.8.6.5)
|
163
163
|
execjs
|
164
164
|
aws-eventstream (1.2.0)
|
165
|
-
aws-partitions (1.
|
166
|
-
aws-record (2.
|
165
|
+
aws-partitions (1.646.0)
|
166
|
+
aws-record (2.8.0)
|
167
167
|
aws-sdk-dynamodb (~> 1.18)
|
168
|
-
aws-sdk-core (3.
|
168
|
+
aws-sdk-core (3.160.0)
|
169
169
|
aws-eventstream (~> 1, >= 1.0.2)
|
170
170
|
aws-partitions (~> 1, >= 1.525.0)
|
171
171
|
aws-sigv4 (~> 1.1)
|
@@ -176,7 +176,7 @@ GEM
|
|
176
176
|
aws-sdk-kms (1.58.0)
|
177
177
|
aws-sdk-core (~> 3, >= 3.127.0)
|
178
178
|
aws-sigv4 (~> 1.1)
|
179
|
-
aws-sdk-rails (3.6.
|
179
|
+
aws-sdk-rails (3.6.4)
|
180
180
|
aws-record (~> 2)
|
181
181
|
aws-sdk-ses (~> 1)
|
182
182
|
aws-sdk-sqs (~> 1)
|
@@ -196,7 +196,7 @@ GEM
|
|
196
196
|
aws-sessionstore-dynamodb (2.0.1)
|
197
197
|
aws-sdk-dynamodb (~> 1)
|
198
198
|
rack (~> 2)
|
199
|
-
aws-sigv4 (1.5.
|
199
|
+
aws-sigv4 (1.5.2)
|
200
200
|
aws-eventstream (~> 1, >= 1.0.2)
|
201
201
|
axiom-types (0.1.1)
|
202
202
|
descendants_tracker (~> 0.0.4)
|
@@ -303,7 +303,7 @@ GEM
|
|
303
303
|
erubi (1.11.0)
|
304
304
|
et-orbi (1.2.7)
|
305
305
|
tzinfo
|
306
|
-
excon (0.
|
306
|
+
excon (0.93.0)
|
307
307
|
execjs (2.8.1)
|
308
308
|
factory_bot (5.2.0)
|
309
309
|
activesupport (>= 4.2.0)
|
@@ -364,7 +364,7 @@ GEM
|
|
364
364
|
google-api-client (0.53.0)
|
365
365
|
google-apis-core (~> 0.1)
|
366
366
|
google-apis-generator (~> 0.1)
|
367
|
-
google-apis-core (0.9.
|
367
|
+
google-apis-core (0.9.1)
|
368
368
|
addressable (~> 2.5, >= 2.5.1)
|
369
369
|
googleauth (>= 0.16.2, < 2.a)
|
370
370
|
httpclient (>= 2.8.1, < 3.a)
|
@@ -375,10 +375,10 @@ GEM
|
|
375
375
|
webrick
|
376
376
|
google-apis-discovery_v1 (0.12.0)
|
377
377
|
google-apis-core (>= 0.9.0, < 2.a)
|
378
|
-
google-apis-generator (0.
|
378
|
+
google-apis-generator (0.11.0)
|
379
379
|
activesupport (>= 5.0)
|
380
380
|
gems (~> 1.2)
|
381
|
-
google-apis-core (>= 0.9.
|
381
|
+
google-apis-core (>= 0.9.1, < 2.a)
|
382
382
|
google-apis-discovery_v1 (~> 0.5)
|
383
383
|
thor (>= 0.20, < 2.a)
|
384
384
|
googleauth (0.17.1)
|
@@ -484,7 +484,7 @@ GEM
|
|
484
484
|
json (> 1.8.4)
|
485
485
|
rails (> 4.2.0)
|
486
486
|
sassc-rails (>= 2.1)
|
487
|
-
pg (1.4.
|
487
|
+
pg (1.4.4)
|
488
488
|
pg_search (2.3.6)
|
489
489
|
activerecord (>= 5.2)
|
490
490
|
activesupport (>= 5.2)
|
@@ -504,7 +504,7 @@ GEM
|
|
504
504
|
rack (2.2.4)
|
505
505
|
rack-mini-profiler (2.3.4)
|
506
506
|
rack (>= 1.2.0)
|
507
|
-
rack-protection (3.0.
|
507
|
+
rack-protection (3.0.2)
|
508
508
|
rack
|
509
509
|
rack-proxy (0.7.4)
|
510
510
|
rack
|
@@ -570,7 +570,7 @@ GEM
|
|
570
570
|
multi_json (~> 1.0)
|
571
571
|
redis-namespace (~> 1.6)
|
572
572
|
sinatra (>= 0.9.2)
|
573
|
-
resque-scheduler (4.
|
573
|
+
resque-scheduler (4.7.0)
|
574
574
|
mono_logger (~> 1.0)
|
575
575
|
redis (>= 3.3)
|
576
576
|
resque (>= 1.27)
|
@@ -663,10 +663,10 @@ GEM
|
|
663
663
|
json (>= 1.8, < 3)
|
664
664
|
simplecov-html (~> 0.10.0)
|
665
665
|
simplecov-html (0.10.2)
|
666
|
-
sinatra (3.0.
|
666
|
+
sinatra (3.0.2)
|
667
667
|
mustermann (~> 3.0)
|
668
668
|
rack (~> 2.2, >= 2.2.4)
|
669
|
-
rack-protection (= 3.0.
|
669
|
+
rack-protection (= 3.0.2)
|
670
670
|
tilt (~> 2.0)
|
671
671
|
spring (2.1.1)
|
672
672
|
spring-commands-rspec (1.0.4)
|
@@ -1,6 +1,5 @@
|
|
1
1
|
//= require turbolinks
|
2
|
-
//= require
|
3
|
-
//= require jquery_ujs
|
2
|
+
//= require jquery3
|
4
3
|
//= require jquery_nested_form
|
5
4
|
//= require foundation
|
6
5
|
//= require html.sortable.min
|
@@ -13,4 +12,10 @@ document.addEventListener('turbolinks:load', function () {
|
|
13
12
|
allowEmptyOption: true,
|
14
13
|
plugins: ['remove_button'],
|
15
14
|
});
|
15
|
+
|
16
|
+
if (typeof CKEDITOR === 'undefined' && document.getElementsByClassName('ckeditor').length) {
|
17
|
+
let script = document.createElement('script');
|
18
|
+
script.src = 'https://cdn.ckeditor.com/4.20.0/standard/ckeditor.js';
|
19
|
+
document.head.append(script);
|
20
|
+
}
|
16
21
|
});
|
@@ -78,12 +78,12 @@ class ImportStatus extends React.Component {
|
|
78
78
|
return _.map(this.links, (link, idx) => (
|
79
79
|
<a
|
80
80
|
key={`pl-${idx}`}
|
81
|
-
href={linkWithParams(link, { id: job.model.id })}
|
81
|
+
href={typeof job.model === 'undefined' ? link : linkWithParams(link, { id: job.model.id })}
|
82
82
|
className="o-adm-materials__resource button primary u-margin-left--small u-margin-bottom--zero"
|
83
83
|
target="_blank"
|
84
84
|
rel="noreferrer"
|
85
85
|
>
|
86
|
-
<i className="
|
86
|
+
<i className="fa fa-eye" aria-hidden="true"></i>
|
87
87
|
</a>
|
88
88
|
));
|
89
89
|
}
|
@@ -112,7 +112,7 @@ class ImportStatus extends React.Component {
|
|
112
112
|
<li className={`o-adm-materials__result o-adm-materials__result--${status}`} key={key}>
|
113
113
|
<div className="u-flex align-justify align-middle">
|
114
114
|
<a href={job.link} target="_blank" className="o-adm-materials__link" rel="noreferrer">
|
115
|
-
{job.link}
|
115
|
+
{job.status !== 'done' ? job.text || job.link : 'Done'}
|
116
116
|
</a>
|
117
117
|
{job.status !== 'done' ? this.spinner() : null}
|
118
118
|
{job.status === 'done' && job.ok ? <span>{this.resourceButton(job)}</span> : null}
|
@@ -149,7 +149,7 @@ class ImportStatus extends React.Component {
|
|
149
149
|
}
|
150
150
|
|
151
151
|
ImportStatus.propTypes = {
|
152
|
-
jobs: PropTypes.
|
152
|
+
jobs: PropTypes.object,
|
153
153
|
links: PropTypes.array,
|
154
154
|
type: PropTypes.string,
|
155
155
|
path: PropTypes.string,
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<td><%= std.subject %></td>
|
23
23
|
<td><%= std.grades.join(', ') %></td>
|
24
24
|
<td><%= std.alt_names.join(' / ') %></td>
|
25
|
-
<td><%= link_to 'edit', edit_admin_standard_path(std), class: 'button btn o-btn' %></td>
|
25
|
+
<td><%= link_to 'edit', lcms_engine.edit_admin_standard_path(std), class: 'button btn o-btn' %></td>
|
26
26
|
</tr>
|
27
27
|
<% end %>
|
28
28
|
<% end %>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<span>
|
4
4
|
<%= link_to preview_download_path(id: download, slug: resource.slug), class: 'resource-attachment',
|
5
5
|
data: { no_turbolink: true }, target: '_blank' do %>
|
6
|
-
<i class="
|
6
|
+
<i class="<i class="fa fa-eye" aria-hidden="true"></i>" aria-hidden="true"></i>
|
7
7
|
<% end %>
|
8
8
|
</span>
|
9
9
|
<% end %>
|
data/lib/lcms/engine/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lcms-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kuznetsov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-10-
|
13
|
+
date: 2022-10-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activejob-retry
|
@@ -176,22 +176,22 @@ dependencies:
|
|
176
176
|
name: bullet
|
177
177
|
requirement: !ruby/object:Gem::Requirement
|
178
178
|
requirements:
|
179
|
-
- - "~>"
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '6.1'
|
182
179
|
- - ">="
|
183
180
|
- !ruby/object:Gem::Version
|
184
181
|
version: 6.1.0
|
182
|
+
- - "~>"
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '6.1'
|
185
185
|
type: :runtime
|
186
186
|
prerelease: false
|
187
187
|
version_requirements: !ruby/object:Gem::Requirement
|
188
188
|
requirements:
|
189
|
-
- - "~>"
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version: '6.1'
|
192
189
|
- - ">="
|
193
190
|
- !ruby/object:Gem::Version
|
194
191
|
version: 6.1.0
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '6.1'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: carrierwave
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -834,62 +834,62 @@ dependencies:
|
|
834
834
|
name: resque
|
835
835
|
requirement: !ruby/object:Gem::Requirement
|
836
836
|
requirements:
|
837
|
-
- - "~>"
|
838
|
-
- !ruby/object:Gem::Version
|
839
|
-
version: '2.0'
|
840
837
|
- - ">="
|
841
838
|
- !ruby/object:Gem::Version
|
842
839
|
version: 2.0.0
|
840
|
+
- - "~>"
|
841
|
+
- !ruby/object:Gem::Version
|
842
|
+
version: '2.0'
|
843
843
|
type: :runtime
|
844
844
|
prerelease: false
|
845
845
|
version_requirements: !ruby/object:Gem::Requirement
|
846
846
|
requirements:
|
847
|
-
- - "~>"
|
848
|
-
- !ruby/object:Gem::Version
|
849
|
-
version: '2.0'
|
850
847
|
- - ">="
|
851
848
|
- !ruby/object:Gem::Version
|
852
849
|
version: 2.0.0
|
850
|
+
- - "~>"
|
851
|
+
- !ruby/object:Gem::Version
|
852
|
+
version: '2.0'
|
853
853
|
- !ruby/object:Gem::Dependency
|
854
854
|
name: resque-scheduler
|
855
855
|
requirement: !ruby/object:Gem::Requirement
|
856
856
|
requirements:
|
857
|
-
- - "~>"
|
858
|
-
- !ruby/object:Gem::Version
|
859
|
-
version: '4.4'
|
860
857
|
- - ">="
|
861
858
|
- !ruby/object:Gem::Version
|
862
859
|
version: 4.4.0
|
860
|
+
- - "~>"
|
861
|
+
- !ruby/object:Gem::Version
|
862
|
+
version: '4.4'
|
863
863
|
type: :runtime
|
864
864
|
prerelease: false
|
865
865
|
version_requirements: !ruby/object:Gem::Requirement
|
866
866
|
requirements:
|
867
|
-
- - "~>"
|
868
|
-
- !ruby/object:Gem::Version
|
869
|
-
version: '4.4'
|
870
867
|
- - ">="
|
871
868
|
- !ruby/object:Gem::Version
|
872
869
|
version: 4.4.0
|
870
|
+
- - "~>"
|
871
|
+
- !ruby/object:Gem::Version
|
872
|
+
version: '4.4'
|
873
873
|
- !ruby/object:Gem::Dependency
|
874
874
|
name: rest-client
|
875
875
|
requirement: !ruby/object:Gem::Requirement
|
876
876
|
requirements:
|
877
|
-
- - "~>"
|
878
|
-
- !ruby/object:Gem::Version
|
879
|
-
version: '2.1'
|
880
877
|
- - ">="
|
881
878
|
- !ruby/object:Gem::Version
|
882
879
|
version: 2.1.0
|
880
|
+
- - "~>"
|
881
|
+
- !ruby/object:Gem::Version
|
882
|
+
version: '2.1'
|
883
883
|
type: :runtime
|
884
884
|
prerelease: false
|
885
885
|
version_requirements: !ruby/object:Gem::Requirement
|
886
886
|
requirements:
|
887
|
-
- - "~>"
|
888
|
-
- !ruby/object:Gem::Version
|
889
|
-
version: '2.1'
|
890
887
|
- - ">="
|
891
888
|
- !ruby/object:Gem::Version
|
892
889
|
version: 2.1.0
|
890
|
+
- - "~>"
|
891
|
+
- !ruby/object:Gem::Version
|
892
|
+
version: '2.1'
|
893
893
|
- !ruby/object:Gem::Dependency
|
894
894
|
name: retriable
|
895
895
|
requirement: !ruby/object:Gem::Requirement
|
@@ -2412,7 +2412,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2412
2412
|
- !ruby/object:Gem::Version
|
2413
2413
|
version: '0'
|
2414
2414
|
requirements: []
|
2415
|
-
rubygems_version: 3.1
|
2415
|
+
rubygems_version: 3.0.3.1
|
2416
2416
|
signing_key:
|
2417
2417
|
specification_version: 4
|
2418
2418
|
summary: Rails engine for LCMS applications
|