coalescing_panda 5.2.1 → 5.2.2.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/app/models/coalescing_panda/group.rb +1 -1
- data/lib/coalescing_panda/controller_helpers.rb +0 -1
- data/lib/coalescing_panda/version.rb +1 -1
- data/lib/coalescing_panda.rb +0 -5
- data/spec/dummy/db/schema.rb +151 -136
- metadata +65 -166
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 10d15018d745c76a255bf8e7d1f5f4ffa8b3fcce
|
|
4
|
+
data.tar.gz: 00ae3b007ba312ab4c70f6146f1a1b3eb8adc7ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63763eb614fa2632bace6e69080cbec207a24aeb85c780d6ab80f6a4c61ba31e51022b49617bc7eb46f8702ac608a0c6a7cb7378bc0ecd5b93c327ece3a74f9f
|
|
7
|
+
data.tar.gz: 2e24caa1a5c10fdaf7c0c0271d1a7f46cb7af70c40c439c0cb256ed234ed72544660ae4c97cb9ade1495bf3ba6e8af3873a220cf906b9338200e9e198af866fa
|
|
@@ -3,7 +3,7 @@ module CoalescingPanda
|
|
|
3
3
|
belongs_to :context, :polymorphic => true
|
|
4
4
|
include SingleTablePolymorphic
|
|
5
5
|
|
|
6
|
-
belongs_to :leader,
|
|
6
|
+
belongs_to :leader, foreign_key: :leader_id, class_name: 'CoalescingPanda::User'
|
|
7
7
|
belongs_to :group_category, foreign_key: :coalescing_panda_group_category_id, class_name: 'CoalescingPanda::GroupCategory'
|
|
8
8
|
has_many :group_memberships, foreign_key: :coalescing_panda_group_id, class_name: 'CoalescingPanda::GroupMembership', dependent: :destroy
|
|
9
9
|
validates :group_category_id, presence: true
|
data/lib/coalescing_panda.rb
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
require 'coalescing_panda/engine' if defined?(Rails)
|
|
2
|
-
require 'jquery-rails'
|
|
3
2
|
require 'ims/lti'
|
|
4
3
|
require 'bearcat'
|
|
5
4
|
require 'oauth/request_proxy/rack_request'
|
|
6
5
|
require 'oauth/request_proxy/action_dispatch_request'
|
|
7
|
-
require 'haml'
|
|
8
|
-
require 'sass-rails'
|
|
9
|
-
require 'coffee-rails'
|
|
10
|
-
require 'p3p'
|
|
11
6
|
require 'delayed_job_active_record'
|
|
12
7
|
|
|
13
8
|
module CoalescingPanda
|
data/spec/dummy/db/schema.rb
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# encoding: UTF-8
|
|
1
2
|
# This file is auto-generated from the current state of the database. Instead
|
|
2
3
|
# of editing this file, please use the migrations feature of Active Record to
|
|
3
4
|
# incrementally modify your database, and then regenerate this schema definition.
|
|
@@ -10,249 +11,263 @@
|
|
|
10
11
|
#
|
|
11
12
|
# It's strongly recommended that you check this file into your version control system.
|
|
12
13
|
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
|
14
|
+
ActiveRecord::Schema.define(version: 20160830183155) do
|
|
14
15
|
|
|
15
16
|
create_table "coalescing_panda_assignment_groups", force: :cascade do |t|
|
|
16
|
-
t.integer
|
|
17
|
-
t.
|
|
18
|
-
t.
|
|
19
|
-
t.string
|
|
20
|
-
t.string
|
|
21
|
-
t.integer
|
|
22
|
-
t.float
|
|
23
|
-
t.string
|
|
17
|
+
t.integer "coalescing_panda_course_id", null: false
|
|
18
|
+
t.integer "context_id"
|
|
19
|
+
t.string "context_type"
|
|
20
|
+
t.string "canvas_assignment_group_id"
|
|
21
|
+
t.string "name"
|
|
22
|
+
t.integer "position"
|
|
23
|
+
t.float "group_weight"
|
|
24
|
+
t.string "workflow_state"
|
|
24
25
|
t.datetime "created_at"
|
|
25
26
|
t.datetime "updated_at"
|
|
26
|
-
t.index ["canvas_assignment_group_id", "context_id", "context_type"], name: "index_assignment_group_context", unique: true
|
|
27
|
-
t.index ["coalescing_panda_course_id", "canvas_assignment_group_id"], name: "index_assignment_group_course", unique: true
|
|
28
27
|
end
|
|
29
28
|
|
|
29
|
+
add_index "coalescing_panda_assignment_groups", ["canvas_assignment_group_id", "context_id", "context_type"], name: "index_assignment_group_context", unique: true
|
|
30
|
+
add_index "coalescing_panda_assignment_groups", ["coalescing_panda_course_id", "canvas_assignment_group_id"], name: "index_assignment_group_course", unique: true
|
|
31
|
+
|
|
30
32
|
create_table "coalescing_panda_assignments", force: :cascade do |t|
|
|
31
|
-
t.integer
|
|
32
|
-
t.string
|
|
33
|
-
t.text
|
|
34
|
-
t.string
|
|
35
|
-
t.string
|
|
36
|
-
t.float
|
|
33
|
+
t.integer "coalescing_panda_course_id", null: false
|
|
34
|
+
t.string "name"
|
|
35
|
+
t.text "description"
|
|
36
|
+
t.string "canvas_assignment_id", null: false
|
|
37
|
+
t.string "workflow_state"
|
|
38
|
+
t.float "points_possible"
|
|
37
39
|
t.datetime "due_at"
|
|
38
40
|
t.datetime "unlock_at"
|
|
39
41
|
t.datetime "lock_at"
|
|
40
42
|
t.datetime "created_at"
|
|
41
43
|
t.datetime "updated_at"
|
|
42
|
-
t.text
|
|
43
|
-
t.integer
|
|
44
|
-
t.boolean
|
|
45
|
-
t.boolean
|
|
46
|
-
t.integer
|
|
47
|
-
t.integer
|
|
48
|
-
t.index ["coalescing_panda_course_id", "canvas_assignment_id"], name: "index_assignments_course", unique: true
|
|
44
|
+
t.text "submission_types"
|
|
45
|
+
t.integer "group_category_id"
|
|
46
|
+
t.boolean "grade_group_students_individually"
|
|
47
|
+
t.boolean "published"
|
|
48
|
+
t.integer "coalescing_panda_assignment_group_id"
|
|
49
|
+
t.integer "coalescing_panda_group_category_id"
|
|
49
50
|
end
|
|
50
51
|
|
|
52
|
+
add_index "coalescing_panda_assignments", ["coalescing_panda_course_id", "canvas_assignment_id"], name: "index_assignments_course", unique: true
|
|
53
|
+
|
|
51
54
|
create_table "coalescing_panda_canvas_api_auths", force: :cascade do |t|
|
|
52
|
-
t.string
|
|
53
|
-
t.string
|
|
54
|
-
t.string
|
|
55
|
+
t.string "user_id"
|
|
56
|
+
t.string "api_domain"
|
|
57
|
+
t.string "api_token"
|
|
55
58
|
t.datetime "created_at"
|
|
56
59
|
t.datetime "updated_at"
|
|
57
|
-
t.string
|
|
60
|
+
t.string "refresh_token"
|
|
58
61
|
t.datetime "expires_at"
|
|
59
62
|
end
|
|
60
63
|
|
|
61
64
|
create_table "coalescing_panda_canvas_batches", force: :cascade do |t|
|
|
62
|
-
t.float
|
|
63
|
-
t.string
|
|
64
|
-
t.text
|
|
65
|
+
t.float "percent_complete", default: 0.0
|
|
66
|
+
t.string "status"
|
|
67
|
+
t.text "message"
|
|
65
68
|
t.datetime "created_at"
|
|
66
69
|
t.datetime "updated_at"
|
|
67
|
-
t.integer
|
|
68
|
-
t.string
|
|
69
|
-
t.integer
|
|
70
|
-
t.text
|
|
70
|
+
t.integer "context_id"
|
|
71
|
+
t.string "context_type"
|
|
72
|
+
t.integer "coalescing_panda_lti_account_id"
|
|
73
|
+
t.text "options"
|
|
71
74
|
end
|
|
72
75
|
|
|
73
76
|
create_table "coalescing_panda_courses", force: :cascade do |t|
|
|
74
|
-
t.integer
|
|
75
|
-
t.integer
|
|
76
|
-
t.string
|
|
77
|
-
t.string
|
|
78
|
-
t.string
|
|
77
|
+
t.integer "coalescing_panda_lti_account_id", null: false
|
|
78
|
+
t.integer "coalescing_panda_term_id"
|
|
79
|
+
t.string "name"
|
|
80
|
+
t.string "canvas_course_id", null: false
|
|
81
|
+
t.string "sis_id"
|
|
79
82
|
t.datetime "start_at"
|
|
80
83
|
t.datetime "conclude_at"
|
|
81
|
-
t.string
|
|
82
|
-
t.string
|
|
84
|
+
t.string "workflow_state"
|
|
85
|
+
t.string "course_code"
|
|
83
86
|
t.datetime "created_at"
|
|
84
87
|
t.datetime "updated_at"
|
|
85
|
-
t.index ["coalescing_panda_lti_account_id", "canvas_course_id"], name: "index_courses_account", unique: true
|
|
86
|
-
t.index ["coalescing_panda_term_id", "canvas_course_id"], name: "index_courses_term", unique: true
|
|
87
|
-
t.index ["sis_id"], name: "index_coalescing_panda_courses_on_sis_id"
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
add_index "coalescing_panda_courses", ["coalescing_panda_lti_account_id", "canvas_course_id"], name: "index_courses_account", unique: true
|
|
91
|
+
add_index "coalescing_panda_courses", ["coalescing_panda_term_id", "canvas_course_id"], name: "index_courses_term", unique: true
|
|
92
|
+
add_index "coalescing_panda_courses", ["sis_id"], name: "index_coalescing_panda_courses_on_sis_id"
|
|
93
|
+
|
|
90
94
|
create_table "coalescing_panda_enrollments", force: :cascade do |t|
|
|
91
|
-
t.integer
|
|
92
|
-
t.integer
|
|
93
|
-
t.string
|
|
94
|
-
t.string
|
|
95
|
-
t.string
|
|
96
|
-
t.string
|
|
95
|
+
t.integer "coalescing_panda_user_id", null: false
|
|
96
|
+
t.integer "coalescing_panda_section_id", null: false
|
|
97
|
+
t.string "workflow_state"
|
|
98
|
+
t.string "sis_id"
|
|
99
|
+
t.string "canvas_enrollment_id", null: false
|
|
100
|
+
t.string "enrollment_type"
|
|
97
101
|
t.datetime "start_at"
|
|
98
102
|
t.datetime "end_at"
|
|
99
103
|
t.datetime "created_at"
|
|
100
104
|
t.datetime "updated_at"
|
|
101
|
-
t.index ["coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type"], name: "index_enrollments_user_and_section", unique: true
|
|
102
|
-
t.index ["sis_id"], name: "index_coalescing_panda_enrollments_on_sis_id"
|
|
103
105
|
end
|
|
104
106
|
|
|
107
|
+
add_index "coalescing_panda_enrollments", ["coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type"], name: "index_enrollments_user_and_section", unique: true
|
|
108
|
+
add_index "coalescing_panda_enrollments", ["sis_id"], name: "index_coalescing_panda_enrollments_on_sis_id"
|
|
109
|
+
|
|
105
110
|
create_table "coalescing_panda_group_categories", force: :cascade do |t|
|
|
106
|
-
t.
|
|
107
|
-
t.
|
|
108
|
-
t.integer
|
|
109
|
-
t.string
|
|
111
|
+
t.integer "context_id"
|
|
112
|
+
t.string "context_type"
|
|
113
|
+
t.integer "canvas_group_category_id"
|
|
114
|
+
t.string "name"
|
|
110
115
|
t.datetime "created_at"
|
|
111
116
|
t.datetime "updated_at"
|
|
112
|
-
t.index ["context_id", "context_type"], name: "index_group_categories_context_and_context_type"
|
|
113
117
|
end
|
|
114
118
|
|
|
119
|
+
add_index "coalescing_panda_group_categories", ["context_id", "context_type"], name: "index_group_categories_context_and_context_type"
|
|
120
|
+
|
|
115
121
|
create_table "coalescing_panda_group_memberships", force: :cascade do |t|
|
|
116
|
-
t.integer
|
|
117
|
-
t.integer
|
|
118
|
-
t.string
|
|
119
|
-
t.string
|
|
122
|
+
t.integer "coalescing_panda_group_id"
|
|
123
|
+
t.integer "coalescing_panda_user_id"
|
|
124
|
+
t.string "canvas_group_membership_id"
|
|
125
|
+
t.string "workflow_state"
|
|
120
126
|
t.datetime "created_at"
|
|
121
127
|
t.datetime "updated_at"
|
|
122
|
-
t.boolean
|
|
123
|
-
t.index ["coalescing_panda_group_id", "coalescing_panda_user_id"], name: "index_group_memberships_user_and_group", unique: true
|
|
128
|
+
t.boolean "moderator"
|
|
124
129
|
end
|
|
125
130
|
|
|
131
|
+
add_index "coalescing_panda_group_memberships", ["coalescing_panda_group_id", "coalescing_panda_user_id"], name: "index_group_memberships_user_and_group", unique: true
|
|
132
|
+
|
|
126
133
|
create_table "coalescing_panda_groups", force: :cascade do |t|
|
|
127
|
-
t.
|
|
128
|
-
t.
|
|
129
|
-
t.string
|
|
130
|
-
t.string
|
|
131
|
-
t.string
|
|
132
|
-
t.string
|
|
133
|
-
t.integer
|
|
134
|
+
t.integer "context_id"
|
|
135
|
+
t.string "context_type"
|
|
136
|
+
t.string "description"
|
|
137
|
+
t.string "group_category_id"
|
|
138
|
+
t.string "canvas_group_id"
|
|
139
|
+
t.string "name"
|
|
140
|
+
t.integer "members_count"
|
|
134
141
|
t.datetime "created_at"
|
|
135
142
|
t.datetime "updated_at"
|
|
136
|
-
t.integer
|
|
137
|
-
t.integer
|
|
138
|
-
t.index ["context_id", "canvas_group_id"], name: "index_groups_context_and_group_id", unique: true
|
|
143
|
+
t.integer "leader_id"
|
|
144
|
+
t.integer "coalescing_panda_group_category_id"
|
|
139
145
|
end
|
|
140
146
|
|
|
147
|
+
add_index "coalescing_panda_groups", ["context_id", "canvas_group_id"], name: "index_groups_context_and_group_id", unique: true
|
|
148
|
+
|
|
141
149
|
create_table "coalescing_panda_lti_accounts", force: :cascade do |t|
|
|
142
|
-
t.string
|
|
143
|
-
t.string
|
|
144
|
-
t.string
|
|
145
|
-
t.string
|
|
146
|
-
t.string
|
|
147
|
-
t.string
|
|
148
|
-
t.text
|
|
150
|
+
t.string "name"
|
|
151
|
+
t.string "key"
|
|
152
|
+
t.string "secret"
|
|
153
|
+
t.string "oauth2_client_id"
|
|
154
|
+
t.string "oauth2_client_key"
|
|
155
|
+
t.string "canvas_account_id"
|
|
156
|
+
t.text "settings"
|
|
149
157
|
t.datetime "created_at"
|
|
150
158
|
t.datetime "updated_at"
|
|
151
159
|
end
|
|
152
160
|
|
|
153
161
|
create_table "coalescing_panda_lti_nonces", force: :cascade do |t|
|
|
154
|
-
t.integer
|
|
155
|
-
t.string
|
|
162
|
+
t.integer "coalescing_panda_lti_account_id"
|
|
163
|
+
t.string "nonce"
|
|
156
164
|
t.datetime "timestamp"
|
|
157
165
|
end
|
|
158
166
|
|
|
159
167
|
create_table "coalescing_panda_oauth_states", force: :cascade do |t|
|
|
160
|
-
t.string
|
|
161
|
-
t.text
|
|
168
|
+
t.string "state_key"
|
|
169
|
+
t.text "data"
|
|
162
170
|
t.datetime "created_at"
|
|
163
171
|
t.datetime "updated_at"
|
|
164
|
-
t.index ["state_key"], name: "index_coalescing_panda_oauth_states_on_state_key", unique: true
|
|
165
172
|
end
|
|
166
173
|
|
|
174
|
+
add_index "coalescing_panda_oauth_states", ["state_key"], name: "index_coalescing_panda_oauth_states_on_state_key", unique: true
|
|
175
|
+
|
|
167
176
|
create_table "coalescing_panda_persistent_sessions", force: :cascade do |t|
|
|
168
|
-
t.string
|
|
169
|
-
t.text
|
|
170
|
-
t.integer
|
|
171
|
-
t.datetime "created_at",
|
|
172
|
-
t.datetime "updated_at",
|
|
173
|
-
t.index ["coalescing_panda_lti_account_id"], name: "index_persistent_session_on_lti_account_id"
|
|
174
|
-
t.index ["session_key"], name: "index_coalescing_panda_persistent_sessions_on_session_key", unique: true
|
|
177
|
+
t.string "session_key"
|
|
178
|
+
t.text "data"
|
|
179
|
+
t.integer "coalescing_panda_lti_account_id"
|
|
180
|
+
t.datetime "created_at", null: false
|
|
181
|
+
t.datetime "updated_at", null: false
|
|
175
182
|
end
|
|
176
183
|
|
|
184
|
+
add_index "coalescing_panda_persistent_sessions", ["coalescing_panda_lti_account_id"], name: "index_persistent_session_on_lti_account_id", using: :btree
|
|
185
|
+
add_index "coalescing_panda_persistent_sessions", ["session_key"], name: "index_coalescing_panda_persistent_sessions_on_session_key", unique: true, using: :btree
|
|
186
|
+
|
|
177
187
|
create_table "coalescing_panda_sections", force: :cascade do |t|
|
|
178
|
-
t.integer
|
|
179
|
-
t.string
|
|
180
|
-
t.string
|
|
181
|
-
t.string
|
|
182
|
-
t.string
|
|
188
|
+
t.integer "coalescing_panda_course_id", null: false
|
|
189
|
+
t.string "name"
|
|
190
|
+
t.string "canvas_section_id", null: false
|
|
191
|
+
t.string "sis_id"
|
|
192
|
+
t.string "workflow_state"
|
|
183
193
|
t.datetime "start_at"
|
|
184
194
|
t.datetime "end_at"
|
|
185
195
|
t.datetime "created_at"
|
|
186
196
|
t.datetime "updated_at"
|
|
187
|
-
t.index ["coalescing_panda_course_id", "canvas_section_id"], name: "index_sections_course", unique: true
|
|
188
|
-
t.index ["sis_id"], name: "index_coalescing_panda_sections_on_sis_id"
|
|
189
197
|
end
|
|
190
198
|
|
|
199
|
+
add_index "coalescing_panda_sections", ["coalescing_panda_course_id", "canvas_section_id"], name: "index_sections_course", unique: true
|
|
200
|
+
add_index "coalescing_panda_sections", ["sis_id"], name: "index_coalescing_panda_sections_on_sis_id"
|
|
201
|
+
|
|
191
202
|
create_table "coalescing_panda_sessions", force: :cascade do |t|
|
|
192
|
-
t.string
|
|
193
|
-
t.text
|
|
203
|
+
t.string "token"
|
|
204
|
+
t.text "data"
|
|
194
205
|
t.datetime "created_at"
|
|
195
206
|
t.datetime "updated_at"
|
|
196
207
|
end
|
|
197
208
|
|
|
198
209
|
create_table "coalescing_panda_submissions", force: :cascade do |t|
|
|
199
|
-
t.integer
|
|
200
|
-
t.integer
|
|
201
|
-
t.string
|
|
202
|
-
t.string
|
|
203
|
-
t.string
|
|
210
|
+
t.integer "coalescing_panda_user_id", null: false
|
|
211
|
+
t.integer "coalescing_panda_assignment_id", null: false
|
|
212
|
+
t.string "url"
|
|
213
|
+
t.string "grade"
|
|
214
|
+
t.string "score"
|
|
204
215
|
t.datetime "submitted_at"
|
|
205
|
-
t.string
|
|
206
|
-
t.string
|
|
216
|
+
t.string "workflow_state"
|
|
217
|
+
t.string "canvas_submission_id", null: false
|
|
207
218
|
t.datetime "created_at"
|
|
208
219
|
t.datetime "updated_at"
|
|
209
|
-
t.index ["canvas_submission_id"], name: "index_coalescing_panda_submissions_on_canvas_submission_id"
|
|
210
|
-
t.index ["coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id"], name: "index_submissions_user_and_assignment", unique: true
|
|
211
220
|
end
|
|
212
221
|
|
|
222
|
+
add_index "coalescing_panda_submissions", ["canvas_submission_id"], name: "index_coalescing_panda_submissions_on_canvas_submission_id"
|
|
223
|
+
add_index "coalescing_panda_submissions", ["coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id"], name: "index_submissions_user_and_assignment", unique: true
|
|
224
|
+
|
|
213
225
|
create_table "coalescing_panda_terms", force: :cascade do |t|
|
|
214
|
-
t.integer
|
|
215
|
-
t.string
|
|
216
|
-
t.string
|
|
217
|
-
t.string
|
|
218
|
-
t.string
|
|
226
|
+
t.integer "coalescing_panda_lti_account_id", null: false
|
|
227
|
+
t.string "name"
|
|
228
|
+
t.string "code"
|
|
229
|
+
t.string "sis_id"
|
|
230
|
+
t.string "canvas_term_id", null: false
|
|
219
231
|
t.datetime "start_at"
|
|
220
232
|
t.datetime "end_at"
|
|
221
|
-
t.string
|
|
233
|
+
t.string "workflow_state"
|
|
222
234
|
t.datetime "created_at"
|
|
223
235
|
t.datetime "updated_at"
|
|
224
|
-
t.index ["canvas_term_id", "coalescing_panda_lti_account_id"], name: "index_terms_account", unique: true
|
|
225
|
-
t.index ["sis_id"], name: "index_coalescing_panda_terms_on_sis_id"
|
|
226
236
|
end
|
|
227
237
|
|
|
238
|
+
add_index "coalescing_panda_terms", ["canvas_term_id", "coalescing_panda_lti_account_id"], name: "index_terms_account", unique: true
|
|
239
|
+
add_index "coalescing_panda_terms", ["sis_id"], name: "index_coalescing_panda_terms_on_sis_id"
|
|
240
|
+
|
|
228
241
|
create_table "coalescing_panda_users", force: :cascade do |t|
|
|
229
|
-
t.integer
|
|
230
|
-
t.string
|
|
231
|
-
t.string
|
|
232
|
-
t.string
|
|
233
|
-
t.string
|
|
234
|
-
t.string
|
|
235
|
-
t.string
|
|
242
|
+
t.integer "coalescing_panda_lti_account_id", null: false
|
|
243
|
+
t.string "name"
|
|
244
|
+
t.string "email"
|
|
245
|
+
t.string "roles"
|
|
246
|
+
t.string "workflow_state"
|
|
247
|
+
t.string "sis_id"
|
|
248
|
+
t.string "canvas_user_id", null: false
|
|
236
249
|
t.datetime "created_at"
|
|
237
250
|
t.datetime "updated_at"
|
|
238
|
-
t.string
|
|
239
|
-
t.index ["coalescing_panda_lti_account_id", "canvas_user_id"], name: "index_users_account", unique: true
|
|
240
|
-
t.index ["sis_id"], name: "index_coalescing_panda_users_on_sis_id"
|
|
251
|
+
t.string "login_id"
|
|
241
252
|
end
|
|
242
253
|
|
|
254
|
+
add_index "coalescing_panda_users", ["coalescing_panda_lti_account_id", "canvas_user_id"], name: "index_users_account", unique: true
|
|
255
|
+
add_index "coalescing_panda_users", ["sis_id"], name: "index_coalescing_panda_users_on_sis_id"
|
|
256
|
+
|
|
243
257
|
create_table "delayed_jobs", force: :cascade do |t|
|
|
244
|
-
t.integer
|
|
245
|
-
t.integer
|
|
246
|
-
t.text
|
|
247
|
-
t.text
|
|
258
|
+
t.integer "priority", default: 0, null: false
|
|
259
|
+
t.integer "attempts", default: 0, null: false
|
|
260
|
+
t.text "handler", null: false
|
|
261
|
+
t.text "last_error"
|
|
248
262
|
t.datetime "run_at"
|
|
249
263
|
t.datetime "locked_at"
|
|
250
264
|
t.datetime "failed_at"
|
|
251
|
-
t.string
|
|
252
|
-
t.string
|
|
265
|
+
t.string "locked_by"
|
|
266
|
+
t.string "queue"
|
|
253
267
|
t.datetime "created_at"
|
|
254
268
|
t.datetime "updated_at"
|
|
255
|
-
t.index ["priority", "run_at"], name: "delayed_jobs_priority"
|
|
256
269
|
end
|
|
257
270
|
|
|
271
|
+
add_index "delayed_jobs", ["priority", "run_at"], name: "delayed_jobs_priority"
|
|
272
|
+
|
|
258
273
|
end
|
metadata
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coalescing_panda
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.2.
|
|
4
|
+
version: 5.2.2.beta1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Mills
|
|
8
8
|
- Cody Tanner
|
|
9
9
|
- Jake Sorce
|
|
10
|
-
autorequire:
|
|
10
|
+
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2023-
|
|
13
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|
|
@@ -42,46 +42,18 @@ dependencies:
|
|
|
42
42
|
version: 4.2.11.1
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
44
|
name: bearcat
|
|
45
|
-
requirement: !ruby/object:Gem::Requirement
|
|
46
|
-
requirements:
|
|
47
|
-
- - "~>"
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: '1.3'
|
|
50
|
-
type: :runtime
|
|
51
|
-
prerelease: false
|
|
52
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
53
|
-
requirements:
|
|
54
|
-
- - "~>"
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
version: '1.3'
|
|
57
|
-
- !ruby/object:Gem::Dependency
|
|
58
|
-
name: browser
|
|
59
45
|
requirement: !ruby/object:Gem::Requirement
|
|
60
46
|
requirements:
|
|
61
47
|
- - ">="
|
|
62
48
|
- !ruby/object:Gem::Version
|
|
63
|
-
version:
|
|
49
|
+
version: 1.3.0
|
|
64
50
|
type: :runtime
|
|
65
51
|
prerelease: false
|
|
66
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
67
53
|
requirements:
|
|
68
54
|
- - ">="
|
|
69
55
|
- !ruby/object:Gem::Version
|
|
70
|
-
version:
|
|
71
|
-
- !ruby/object:Gem::Dependency
|
|
72
|
-
name: macaddr
|
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
|
74
|
-
requirements:
|
|
75
|
-
- - '='
|
|
76
|
-
- !ruby/object:Gem::Version
|
|
77
|
-
version: 1.6.1
|
|
78
|
-
type: :runtime
|
|
79
|
-
prerelease: false
|
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
81
|
-
requirements:
|
|
82
|
-
- - '='
|
|
83
|
-
- !ruby/object:Gem::Version
|
|
84
|
-
version: 1.6.1
|
|
56
|
+
version: 1.3.0
|
|
85
57
|
- !ruby/object:Gem::Dependency
|
|
86
58
|
name: ims-lti
|
|
87
59
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -102,76 +74,6 @@ dependencies:
|
|
|
102
74
|
- - "<"
|
|
103
75
|
- !ruby/object:Gem::Version
|
|
104
76
|
version: '2.0'
|
|
105
|
-
- !ruby/object:Gem::Dependency
|
|
106
|
-
name: haml-rails
|
|
107
|
-
requirement: !ruby/object:Gem::Requirement
|
|
108
|
-
requirements:
|
|
109
|
-
- - ">="
|
|
110
|
-
- !ruby/object:Gem::Version
|
|
111
|
-
version: '0'
|
|
112
|
-
type: :runtime
|
|
113
|
-
prerelease: false
|
|
114
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
115
|
-
requirements:
|
|
116
|
-
- - ">="
|
|
117
|
-
- !ruby/object:Gem::Version
|
|
118
|
-
version: '0'
|
|
119
|
-
- !ruby/object:Gem::Dependency
|
|
120
|
-
name: sass-rails
|
|
121
|
-
requirement: !ruby/object:Gem::Requirement
|
|
122
|
-
requirements:
|
|
123
|
-
- - ">="
|
|
124
|
-
- !ruby/object:Gem::Version
|
|
125
|
-
version: '3.2'
|
|
126
|
-
type: :runtime
|
|
127
|
-
prerelease: false
|
|
128
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
129
|
-
requirements:
|
|
130
|
-
- - ">="
|
|
131
|
-
- !ruby/object:Gem::Version
|
|
132
|
-
version: '3.2'
|
|
133
|
-
- !ruby/object:Gem::Dependency
|
|
134
|
-
name: jquery-rails
|
|
135
|
-
requirement: !ruby/object:Gem::Requirement
|
|
136
|
-
requirements:
|
|
137
|
-
- - ">="
|
|
138
|
-
- !ruby/object:Gem::Version
|
|
139
|
-
version: '0'
|
|
140
|
-
type: :runtime
|
|
141
|
-
prerelease: false
|
|
142
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
143
|
-
requirements:
|
|
144
|
-
- - ">="
|
|
145
|
-
- !ruby/object:Gem::Version
|
|
146
|
-
version: '0'
|
|
147
|
-
- !ruby/object:Gem::Dependency
|
|
148
|
-
name: coffee-rails
|
|
149
|
-
requirement: !ruby/object:Gem::Requirement
|
|
150
|
-
requirements:
|
|
151
|
-
- - ">="
|
|
152
|
-
- !ruby/object:Gem::Version
|
|
153
|
-
version: '0'
|
|
154
|
-
type: :runtime
|
|
155
|
-
prerelease: false
|
|
156
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
157
|
-
requirements:
|
|
158
|
-
- - ">="
|
|
159
|
-
- !ruby/object:Gem::Version
|
|
160
|
-
version: '0'
|
|
161
|
-
- !ruby/object:Gem::Dependency
|
|
162
|
-
name: p3p
|
|
163
|
-
requirement: !ruby/object:Gem::Requirement
|
|
164
|
-
requirements:
|
|
165
|
-
- - ">="
|
|
166
|
-
- !ruby/object:Gem::Version
|
|
167
|
-
version: '0'
|
|
168
|
-
type: :runtime
|
|
169
|
-
prerelease: false
|
|
170
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
171
|
-
requirements:
|
|
172
|
-
- - ">="
|
|
173
|
-
- !ruby/object:Gem::Version
|
|
174
|
-
version: '0'
|
|
175
77
|
- !ruby/object:Gem::Dependency
|
|
176
78
|
name: delayed_job_active_record
|
|
177
79
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -410,7 +312,7 @@ dependencies:
|
|
|
410
312
|
- - ">="
|
|
411
313
|
- !ruby/object:Gem::Version
|
|
412
314
|
version: '0'
|
|
413
|
-
description:
|
|
315
|
+
description:
|
|
414
316
|
email:
|
|
415
317
|
- nathanm@instructure.com
|
|
416
318
|
- ctanner@instructure.com
|
|
@@ -540,9 +442,7 @@ files:
|
|
|
540
442
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
541
443
|
- spec/dummy/config/locales/en.yml
|
|
542
444
|
- spec/dummy/config/routes.rb
|
|
543
|
-
- spec/dummy/db/development.sqlite3
|
|
544
445
|
- spec/dummy/db/schema.rb
|
|
545
|
-
- spec/dummy/db/test.sqlite3
|
|
546
446
|
- spec/dummy/public/404.html
|
|
547
447
|
- spec/dummy/public/422.html
|
|
548
448
|
- spec/dummy/public/500.html
|
|
@@ -579,7 +479,7 @@ files:
|
|
|
579
479
|
homepage: http://www.instructure.com
|
|
580
480
|
licenses: []
|
|
581
481
|
metadata: {}
|
|
582
|
-
post_install_message:
|
|
482
|
+
post_install_message:
|
|
583
483
|
rdoc_options: []
|
|
584
484
|
require_paths:
|
|
585
485
|
- lib
|
|
@@ -590,81 +490,80 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
590
490
|
version: '0'
|
|
591
491
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
592
492
|
requirements:
|
|
593
|
-
- - "
|
|
493
|
+
- - ">"
|
|
594
494
|
- !ruby/object:Gem::Version
|
|
595
|
-
version:
|
|
495
|
+
version: 1.3.1
|
|
596
496
|
requirements: []
|
|
597
|
-
|
|
598
|
-
|
|
497
|
+
rubyforge_project:
|
|
498
|
+
rubygems_version: 2.6.14.4
|
|
499
|
+
signing_key:
|
|
599
500
|
specification_version: 4
|
|
600
501
|
summary: Canvas LTI and OAUTH2 mountable engine
|
|
601
502
|
test_files:
|
|
602
|
-
- spec/rails_helper.rb
|
|
603
|
-
- spec/models/coalescing_panda/canvas_api_auth_spec.rb
|
|
604
|
-
- spec/models/coalescing_panda/assignment_spec.rb
|
|
605
|
-
- spec/models/coalescing_panda/group_membership_spec.rb
|
|
606
|
-
- spec/models/coalescing_panda/lti_account_spec.rb
|
|
607
|
-
- spec/models/coalescing_panda/section_spec.rb
|
|
608
|
-
- spec/models/coalescing_panda/workers/course_miner_spec.rb
|
|
609
|
-
- spec/models/coalescing_panda/workers/account_miner_spec.rb
|
|
610
|
-
- spec/models/coalescing_panda/group_spec.rb
|
|
611
|
-
- spec/models/coalescing_panda/lti_nonce_spec.rb
|
|
612
|
-
- spec/models/coalescing_panda/submission_spec.rb
|
|
613
|
-
- spec/models/coalescing_panda/term_spec.rb
|
|
614
|
-
- spec/models/coalescing_panda/canvas_batch_spec.rb
|
|
615
|
-
- spec/models/coalescing_panda/enrollment_spec.rb
|
|
616
|
-
- spec/models/coalescing_panda/course_spec.rb
|
|
617
|
-
- spec/models/coalescing_panda/user_spec.rb
|
|
618
|
-
- spec/models/coalescing_panda/assignment_group_spec.rb
|
|
619
|
-
- spec/controllers/coalescing_panda/oauth2_controller_spec.rb
|
|
620
|
-
- spec/controllers/coalescing_panda/lti_controller_spec.rb
|
|
621
|
-
- spec/controllers/coalescing_panda/canvas_batches_controller_spec.rb
|
|
622
503
|
- spec/spec_helper.rb
|
|
623
|
-
- spec/dummy/db/schema.rb
|
|
624
|
-
- spec/dummy/db/test.sqlite3
|
|
625
|
-
- spec/dummy/db/development.sqlite3
|
|
626
|
-
- spec/dummy/public/422.html
|
|
627
|
-
- spec/dummy/public/favicon.ico
|
|
628
|
-
- spec/dummy/public/404.html
|
|
629
|
-
- spec/dummy/public/500.html
|
|
630
|
-
- spec/dummy/Rakefile
|
|
631
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
|
632
504
|
- spec/dummy/app/models/account.rb
|
|
633
505
|
- spec/dummy/app/models/course.rb
|
|
634
506
|
- spec/dummy/app/controllers/application_controller.rb
|
|
635
|
-
- spec/dummy/app/
|
|
636
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
|
507
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
637
508
|
- spec/dummy/app/assets/javascripts/application.js
|
|
509
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
|
510
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
511
|
+
- spec/dummy/bin/rake
|
|
512
|
+
- spec/dummy/bin/bundle
|
|
513
|
+
- spec/dummy/bin/rails
|
|
514
|
+
- spec/dummy/config/routes.rb
|
|
515
|
+
- spec/dummy/config/locales/en.yml
|
|
516
|
+
- spec/dummy/config/environments/production.rb
|
|
517
|
+
- spec/dummy/config/environments/development.rb
|
|
518
|
+
- spec/dummy/config/environments/test.rb
|
|
519
|
+
- spec/dummy/config/environment.rb
|
|
638
520
|
- spec/dummy/config/application.rb
|
|
521
|
+
- spec/dummy/config/database.yml
|
|
522
|
+
- spec/dummy/config/boot.rb
|
|
639
523
|
- spec/dummy/config/initializers/lti_initializer.rb
|
|
524
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
525
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
526
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
640
527
|
- spec/dummy/config/initializers/session_store.rb
|
|
641
|
-
- spec/dummy/config/initializers/secret_token.rb
|
|
642
528
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
529
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
643
530
|
- spec/dummy/config/initializers/inflections.rb
|
|
644
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
645
|
-
- spec/dummy/config/initializers/mime_types.rb
|
|
646
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
647
|
-
- spec/dummy/config/environments/development.rb
|
|
648
|
-
- spec/dummy/config/environments/test.rb
|
|
649
|
-
- spec/dummy/config/environments/production.rb
|
|
650
|
-
- spec/dummy/config/database.yml
|
|
651
|
-
- spec/dummy/config/boot.rb
|
|
652
|
-
- spec/dummy/config/routes.rb
|
|
653
|
-
- spec/dummy/config/environment.rb
|
|
654
|
-
- spec/dummy/config/locales/en.yml
|
|
655
|
-
- spec/dummy/README.rdoc
|
|
656
531
|
- spec/dummy/config.ru
|
|
657
|
-
- spec/dummy/
|
|
658
|
-
- spec/dummy/
|
|
659
|
-
- spec/dummy/
|
|
660
|
-
- spec/
|
|
661
|
-
- spec/
|
|
662
|
-
- spec/
|
|
663
|
-
- spec/
|
|
664
|
-
- spec/
|
|
665
|
-
- spec/
|
|
666
|
-
- spec/
|
|
532
|
+
- spec/dummy/Rakefile
|
|
533
|
+
- spec/dummy/public/favicon.ico
|
|
534
|
+
- spec/dummy/public/422.html
|
|
535
|
+
- spec/dummy/public/500.html
|
|
536
|
+
- spec/dummy/public/404.html
|
|
537
|
+
- spec/dummy/db/schema.rb
|
|
538
|
+
- spec/dummy/README.rdoc
|
|
539
|
+
- spec/models/coalescing_panda/enrollment_spec.rb
|
|
540
|
+
- spec/models/coalescing_panda/section_spec.rb
|
|
541
|
+
- spec/models/coalescing_panda/lti_nonce_spec.rb
|
|
542
|
+
- spec/models/coalescing_panda/lti_account_spec.rb
|
|
543
|
+
- spec/models/coalescing_panda/canvas_batch_spec.rb
|
|
544
|
+
- spec/models/coalescing_panda/term_spec.rb
|
|
545
|
+
- spec/models/coalescing_panda/assignment_spec.rb
|
|
546
|
+
- spec/models/coalescing_panda/submission_spec.rb
|
|
547
|
+
- spec/models/coalescing_panda/assignment_group_spec.rb
|
|
548
|
+
- spec/models/coalescing_panda/group_spec.rb
|
|
549
|
+
- spec/models/coalescing_panda/workers/account_miner_spec.rb
|
|
550
|
+
- spec/models/coalescing_panda/workers/course_miner_spec.rb
|
|
551
|
+
- spec/models/coalescing_panda/canvas_api_auth_spec.rb
|
|
552
|
+
- spec/models/coalescing_panda/group_membership_spec.rb
|
|
553
|
+
- spec/models/coalescing_panda/user_spec.rb
|
|
554
|
+
- spec/models/coalescing_panda/course_spec.rb
|
|
667
555
|
- spec/factories/courses.rb
|
|
556
|
+
- spec/factories/submissions.rb
|
|
557
|
+
- spec/factories/assignment_groups.rb
|
|
668
558
|
- spec/factories/assignments.rb
|
|
669
|
-
- spec/factories/users.rb
|
|
670
559
|
- spec/factories/canvas_api_auths.rb
|
|
560
|
+
- spec/factories/enrollments.rb
|
|
561
|
+
- spec/factories/canvas_batches.rb
|
|
562
|
+
- spec/factories/sections.rb
|
|
563
|
+
- spec/factories/accounts.rb
|
|
564
|
+
- spec/factories/users.rb
|
|
565
|
+
- spec/factories/terms.rb
|
|
566
|
+
- spec/controllers/coalescing_panda/canvas_batches_controller_spec.rb
|
|
567
|
+
- spec/controllers/coalescing_panda/oauth2_controller_spec.rb
|
|
568
|
+
- spec/controllers/coalescing_panda/lti_controller_spec.rb
|
|
569
|
+
- spec/rails_helper.rb
|
|
Binary file
|
data/spec/dummy/db/test.sqlite3
DELETED
|
Binary file
|