panda_pal 5.1.0 → 5.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +139 -93
- data/app/controllers/panda_pal/lti_controller.rb +0 -18
- data/app/controllers/panda_pal/lti_v1_p0_controller.rb +34 -0
- data/app/controllers/panda_pal/lti_v1_p3_controller.rb +98 -0
- data/app/lib/lti_xml/base_platform.rb +4 -4
- data/app/lib/panda_pal/launch_url_helpers.rb +69 -0
- data/app/lib/panda_pal/lti_jwt_validator.rb +88 -0
- data/app/lib/panda_pal/misc_helper.rb +13 -0
- data/app/models/panda_pal/organization.rb +6 -3
- data/app/models/panda_pal/{organization → organization_concerns}/settings_validation.rb +21 -5
- data/app/models/panda_pal/{organization → organization_concerns}/task_scheduling.rb +32 -0
- data/app/models/panda_pal/platform.rb +40 -0
- data/app/views/panda_pal/lti_v1_p3/login.html.erb +1 -0
- data/app/views/panda_pal/partials/_auto_submit_form.html.erb +9 -0
- data/config/dev_lti_key.key +27 -0
- data/config/routes.rb +12 -2
- data/db/migrate/20160412205931_create_panda_pal_organizations.rb +1 -1
- data/db/migrate/20160413135653_create_panda_pal_sessions.rb +1 -1
- data/db/migrate/20160425130344_add_panda_pal_organization_to_session.rb +1 -1
- data/db/migrate/20170106165533_add_salesforce_id_to_organizations.rb +1 -1
- data/db/migrate/20171205183457_encrypt_organization_settings.rb +1 -1
- data/db/migrate/20171205194657_remove_old_organization_settings.rb +8 -3
- data/lib/panda_pal.rb +28 -15
- data/lib/panda_pal/engine.rb +8 -39
- data/lib/panda_pal/helpers.rb +1 -0
- data/lib/panda_pal/helpers/controller_helper.rb +139 -43
- data/lib/panda_pal/helpers/route_helper.rb +8 -8
- data/lib/panda_pal/helpers/secure_headers.rb +79 -0
- data/lib/panda_pal/version.rb +1 -1
- data/panda_pal.gemspec +3 -2
- metadata +32 -8
data/lib/panda_pal/version.rb
CHANGED
data/panda_pal.gemspec
CHANGED
@@ -15,13 +15,14 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md", "panda_pal.gemspec"]
|
16
16
|
s.test_files = Dir["spec/**/*"]
|
17
17
|
|
18
|
-
s.add_dependency "rails", ">=
|
18
|
+
s.add_dependency "rails", ">= 4.2"
|
19
19
|
s.add_dependency 'pg', '>= 0.20', '< 1.0.0'
|
20
20
|
s.add_dependency 'apartment', '~> 2.2.0'
|
21
21
|
s.add_dependency 'ims-lti', '~> 2.2.3'
|
22
22
|
s.add_dependency 'browser', '2.5.0'
|
23
23
|
s.add_dependency 'attr_encrypted', '~> 3.0.0'
|
24
|
-
s.add_dependency 'secure_headers', '~> 6.1
|
24
|
+
s.add_dependency 'secure_headers', '~> 6.1'
|
25
|
+
s.add_dependency 'json-jwt'
|
25
26
|
|
26
27
|
s.add_development_dependency 'sidekiq'
|
27
28
|
s.add_development_dependency 'sidekiq-scheduler'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panda_pal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure ProServe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '4.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '4.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pg
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,28 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 6.1
|
109
|
+
version: '6.1'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 6.1
|
116
|
+
version: '6.1'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: json-jwt
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
type: :runtime
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
117
131
|
- !ruby/object:Gem::Dependency
|
118
132
|
name: sidekiq
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,16 +200,25 @@ files:
|
|
186
200
|
- app/assets/stylesheets/panda_pal/lti.css
|
187
201
|
- app/controllers/panda_pal/application_controller.rb
|
188
202
|
- app/controllers/panda_pal/lti_controller.rb
|
203
|
+
- app/controllers/panda_pal/lti_v1_p0_controller.rb
|
204
|
+
- app/controllers/panda_pal/lti_v1_p3_controller.rb
|
189
205
|
- app/helpers/panda_pal/application_helper.rb
|
190
206
|
- app/lib/lti_xml/base_platform.rb
|
191
207
|
- app/lib/lti_xml/bridge_platform.rb
|
192
208
|
- app/lib/lti_xml/canvas_platform.rb
|
209
|
+
- app/lib/panda_pal/launch_url_helpers.rb
|
210
|
+
- app/lib/panda_pal/lti_jwt_validator.rb
|
211
|
+
- app/lib/panda_pal/misc_helper.rb
|
193
212
|
- app/models/panda_pal/organization.rb
|
194
|
-
- app/models/panda_pal/
|
195
|
-
- app/models/panda_pal/
|
213
|
+
- app/models/panda_pal/organization_concerns/settings_validation.rb
|
214
|
+
- app/models/panda_pal/organization_concerns/task_scheduling.rb
|
215
|
+
- app/models/panda_pal/platform.rb
|
196
216
|
- app/models/panda_pal/session.rb
|
197
217
|
- app/views/layouts/panda_pal/application.html.erb
|
198
218
|
- app/views/panda_pal/lti/launch.html.erb
|
219
|
+
- app/views/panda_pal/lti_v1_p3/login.html.erb
|
220
|
+
- app/views/panda_pal/partials/_auto_submit_form.html.erb
|
221
|
+
- config/dev_lti_key.key
|
199
222
|
- config/initializers/apartment.rb
|
200
223
|
- config/routes.rb
|
201
224
|
- db/618eef7c0380ba654ad16f867a919e72.sqlite3
|
@@ -213,6 +236,7 @@ files:
|
|
213
236
|
- lib/panda_pal/helpers.rb
|
214
237
|
- lib/panda_pal/helpers/controller_helper.rb
|
215
238
|
- lib/panda_pal/helpers/route_helper.rb
|
239
|
+
- lib/panda_pal/helpers/secure_headers.rb
|
216
240
|
- lib/panda_pal/plugins.rb
|
217
241
|
- lib/panda_pal/version.rb
|
218
242
|
- lib/tasks/panda_pal_tasks.rake
|