coalescing_panda 1.1.12 → 1.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/coalescing_panda/application_controller.rb +17 -0
- data/lib/coalescing_panda/version.rb +1 -1
- data/lib/coalescing_panda.rb +1 -1
- data/spec/dummy/db/{development.sqlite3 → test.sqlite3} +0 -0
- data/spec/dummy/log/test.log +336 -0
- metadata +21 -7
- data/spec/dummy/log/development.log +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fe17501cb6fead8f62051c8ff8f0322c1502507
|
4
|
+
data.tar.gz: 10a20edfb1cf72463579ce9e57138ad4391cbaf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e781160a622df9b9f1a61f36d9564e64a578b4700e9a1835e20012ee50eed882e1ae8dc87ea4a0f1fac7cdde6ae31a802a461bfa237fb4c2a424ad722213a9
|
7
|
+
data.tar.gz: 869926c854820710cf4742008fae2355f1b00e655f9be002354d307f19eec007ca549f004b305f7f5c783949944a707ba18d321f28beefb6899fc038e39de531
|
@@ -1,4 +1,21 @@
|
|
1
1
|
module CoalescingPanda
|
2
2
|
class ApplicationController < ActionController::Base
|
3
|
+
|
4
|
+
before_filter :session_check
|
5
|
+
|
6
|
+
def session_check
|
7
|
+
user_agent = UserAgent.parse(request.user_agent) # Uses useragent gem!
|
8
|
+
if user_agent.browser == 'Safari' # we apply the fix..
|
9
|
+
return if session[:safari_cookie_fixed] # it is already fixed.. continue
|
10
|
+
if params[:safari_cookie_fix].present? # we should be top window and able to set cookies.. so fix the issue :)
|
11
|
+
session[:safari_cookie_fixed] = true
|
12
|
+
redirect_to params[:return_to]
|
13
|
+
else
|
14
|
+
# Redirect the top frame to your server..
|
15
|
+
query = params.to_query
|
16
|
+
render :text => "<script>var referrer = document.referrer; top.window.location='?safari_cookie_fix=true&return_to='.concat(encodeURI(referrer));</script>"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
3
20
|
end
|
4
21
|
end
|
data/lib/coalescing_panda.rb
CHANGED
@@ -6,6 +6,7 @@ require 'oauth/request_proxy/rack_request'
|
|
6
6
|
require 'haml'
|
7
7
|
require 'sass-rails'
|
8
8
|
require 'coffee-rails'
|
9
|
+
require 'p3p'
|
9
10
|
|
10
11
|
module CoalescingPanda
|
11
12
|
class LtiNavigationInUse < StandardError;end
|
@@ -51,4 +52,3 @@ module CoalescingPanda
|
|
51
52
|
end
|
52
53
|
|
53
54
|
end
|
54
|
-
|
Binary file
|
@@ -0,0 +1,336 @@
|
|
1
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
|
5
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
|
8
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
9
|
+
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
10
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
12
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
|
13
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
14
|
+
Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
|
15
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) [0m
|
17
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
|
18
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
19
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
20
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
21
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
23
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
24
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
25
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
27
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
28
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
29
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1[0m
|
31
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
32
|
+
[1m[36mSQL (4.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?)[0m [["created_at", Wed, 08 Jan 2014 15:08:34 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:08:34 UTC +00:00], ["user_id", "arbitrary_string"]]
|
33
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
35
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
36
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"[0m
|
37
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
|
38
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m
|
39
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
40
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
42
|
+
Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
|
43
|
+
[1m[35mCoalescingPanda::LtiAccount Load (0.2ms)[0m SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
|
44
|
+
Completed 500 Internal Server Error in 30ms
|
45
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46
|
+
[1m[35m (0.1ms)[0m begin transaction
|
47
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
48
|
+
Parameters: {"error"=>"your face"}
|
49
|
+
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
|
50
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m
|
51
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
56
|
+
Completed 500 Internal Server Error in 0ms
|
57
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
58
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
61
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63
|
+
[1m[35m (0.1ms)[0m begin transaction
|
64
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
65
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
67
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
68
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
71
|
+
Parameters: {"error"=>"your face"}
|
72
|
+
Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
|
73
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m
|
74
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
75
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
77
|
+
Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
|
78
|
+
[1m[35mCoalescingPanda::LtiAccount Load (0.1ms)[0m SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
|
79
|
+
Completed 500 Internal Server Error in 9ms
|
80
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81
|
+
[1m[35m (0.1ms)[0m begin transaction
|
82
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1[0m
|
83
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
84
|
+
[1m[36mSQL (5.7ms)[0m [1mINSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?)[0m [["created_at", Wed, 08 Jan 2014 15:10:28 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:10:28 UTC +00:00], ["user_id", "arbitrary_string"]]
|
85
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
87
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
88
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"[0m
|
89
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
|
90
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m
|
91
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
92
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
93
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
94
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
95
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
96
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
97
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
98
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
99
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
100
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
101
|
+
[1m[35m (0.1ms)[0m begin transaction
|
102
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
103
|
+
[1m[35m (0.1ms)[0m begin transaction
|
104
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
105
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
106
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
107
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
109
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
110
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
111
|
+
[1m[35m (0.1ms)[0m begin transaction
|
112
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1[0m
|
113
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
114
|
+
[1m[36mSQL (5.7ms)[0m [1mINSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?)[0m [["created_at", Wed, 08 Jan 2014 15:12:07 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:12:07 UTC +00:00], ["user_id", "arbitrary_string"]]
|
115
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
116
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
117
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
118
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"[0m
|
119
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
|
120
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m
|
121
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
123
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
124
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
125
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
126
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
127
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
128
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
129
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
131
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
132
|
+
Parameters: {"error"=>"your face"}
|
133
|
+
Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)
|
134
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
|
135
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
136
|
+
[1m[35m (0.1ms)[0m begin transaction
|
137
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
138
|
+
Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
|
139
|
+
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1[0m
|
140
|
+
Completed 500 Internal Server Error in 8ms
|
141
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
142
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
143
|
+
[1m[35m (0.1ms)[0m begin transaction
|
144
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
145
|
+
[1m[35m (0.1ms)[0m begin transaction
|
146
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
147
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
148
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
149
|
+
[1m[35m (0.1ms)[0m begin transaction
|
150
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
152
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1[0m
|
153
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
154
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?)[0m [["created_at", Wed, 08 Jan 2014 15:17:23 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:17:23 UTC +00:00], ["user_id", "arbitrary_string"]]
|
155
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
156
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
157
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
158
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"[0m
|
159
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
|
160
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m
|
161
|
+
[1m[35m (1.5ms)[0m rollback transaction
|
162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
163
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
164
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
165
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
167
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
168
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
170
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
171
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
172
|
+
Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
|
173
|
+
[1m[35mCoalescingPanda::LtiAccount Load (0.1ms)[0m SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
|
174
|
+
Completed 500 Internal Server Error in 29ms
|
175
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
177
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
178
|
+
Parameters: {"error"=>"your face"}
|
179
|
+
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
|
180
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m
|
181
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
182
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
183
|
+
[1m[35m (0.1ms)[0m begin transaction
|
184
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
186
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
187
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
188
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
189
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
191
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
192
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
193
|
+
[1m[35m (0.1ms)[0m begin transaction
|
194
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1[0m
|
195
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
196
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?)[0m [["created_at", Wed, 08 Jan 2014 15:21:24 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:21:24 UTC +00:00], ["user_id", "arbitrary_string"]]
|
197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
198
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
199
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
200
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m [1mSELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"[0m
|
201
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
|
202
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m
|
203
|
+
[1m[35m (1.8ms)[0m rollback transaction
|
204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
205
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
206
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
207
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
208
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
209
|
+
[1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
|
210
|
+
[1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m
|
211
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
213
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
214
|
+
Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
|
215
|
+
[1m[35mCoalescingPanda::LtiAccount Load (0.1ms)[0m SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
|
216
|
+
Completed 500 Internal Server Error in 8ms
|
217
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
219
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
220
|
+
Parameters: {"error"=>"your face"}
|
221
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
|
222
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m
|
223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
224
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
226
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
228
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
229
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
230
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
231
|
+
[1m[35m (0.1ms)[0m begin transaction
|
232
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
233
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
234
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
235
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
236
|
+
[1m[35m (0.1ms)[0m begin transaction
|
237
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
238
|
+
[1m[35m (0.1ms)[0m begin transaction
|
239
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
240
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
241
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
243
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
244
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
245
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
246
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
247
|
+
[1m[35m (0.1ms)[0m begin transaction
|
248
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
249
|
+
[1m[35m (0.1ms)[0m begin transaction
|
250
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
251
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
252
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
254
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
255
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
256
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
257
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
259
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
261
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
262
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
263
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
264
|
+
[1m[35m (0.1ms)[0m begin transaction
|
265
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
266
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
267
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
268
|
+
[1m[35m (0.1ms)[0m begin transaction
|
269
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
271
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
272
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
273
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
274
|
+
[1m[35m (0.1ms)[0m begin transaction
|
275
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
276
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
277
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
278
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
279
|
+
[1m[35m (0.1ms)[0m begin transaction
|
280
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
282
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
283
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
284
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
285
|
+
[1m[35m (0.1ms)[0m begin transaction
|
286
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
287
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
288
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
289
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
290
|
+
[1m[35m (0.1ms)[0m begin transaction
|
291
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
292
|
+
[1m[35m (0.1ms)[0m begin transaction
|
293
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
294
|
+
[1m[35m (0.1ms)[0m begin transaction
|
295
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
296
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
297
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
298
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
299
|
+
[1m[35m (0.1ms)[0m begin transaction
|
300
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
301
|
+
[1m[35m (0.1ms)[0m begin transaction
|
302
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
303
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
304
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
305
|
+
[1m[35m (0.1ms)[0m begin transaction
|
306
|
+
Processing by CoalescingPanda::LtiController#lti_config as HTML
|
307
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
308
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
309
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
310
|
+
[1m[35m (0.1ms)[0m begin transaction
|
311
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
312
|
+
Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
|
313
|
+
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1[0m
|
314
|
+
Completed 500 Internal Server Error in 10ms
|
315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
317
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
318
|
+
Parameters: {"error"=>"your face"}
|
319
|
+
Completed 200 OK in 39ms (Views: 38.7ms | ActiveRecord: 0.0ms)
|
320
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
|
321
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
322
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
323
|
+
[1m[35m (0.1ms)[0m begin transaction
|
324
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
325
|
+
Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
|
326
|
+
[1m[36mCoalescingPanda::LtiAccount Load (0.2ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts"[0m
|
327
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_lti_accounts"
|
328
|
+
[1m[36mCoalescingPanda::LtiAccount Load (0.2ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1[0m
|
329
|
+
Completed 500 Internal Server Error in 441449ms
|
330
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
332
|
+
Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
|
333
|
+
Parameters: {"error"=>"your face"}
|
334
|
+
Completed 200 OK in 40ms (Views: 39.7ms | ActiveRecord: 0.0ms)
|
335
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
|
336
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coalescing_panda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Mills
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - '>='
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: useragent
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: sqlite3
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -322,9 +336,9 @@ files:
|
|
322
336
|
- spec/dummy/config/locales/en.yml
|
323
337
|
- spec/dummy/config/routes.rb
|
324
338
|
- spec/dummy/config.ru
|
325
|
-
- spec/dummy/db/development.sqlite3
|
326
339
|
- spec/dummy/db/schema.rb
|
327
|
-
- spec/dummy/
|
340
|
+
- spec/dummy/db/test.sqlite3
|
341
|
+
- spec/dummy/log/test.log
|
328
342
|
- spec/dummy/public/404.html
|
329
343
|
- spec/dummy/public/422.html
|
330
344
|
- spec/dummy/public/500.html
|
@@ -352,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
352
366
|
version: '0'
|
353
367
|
requirements: []
|
354
368
|
rubyforge_project:
|
355
|
-
rubygems_version: 2.0.
|
369
|
+
rubygems_version: 2.0.3
|
356
370
|
signing_key:
|
357
371
|
specification_version: 4
|
358
372
|
summary: Canvas LTI and OAUTH2 mountable engine
|
@@ -385,9 +399,9 @@ test_files:
|
|
385
399
|
- spec/dummy/config/locales/en.yml
|
386
400
|
- spec/dummy/config/routes.rb
|
387
401
|
- spec/dummy/config.ru
|
388
|
-
- spec/dummy/db/development.sqlite3
|
389
402
|
- spec/dummy/db/schema.rb
|
390
|
-
- spec/dummy/
|
403
|
+
- spec/dummy/db/test.sqlite3
|
404
|
+
- spec/dummy/log/test.log
|
391
405
|
- spec/dummy/public/404.html
|
392
406
|
- spec/dummy/public/422.html
|
393
407
|
- spec/dummy/public/500.html
|
@@ -1,31 +0,0 @@
|
|
1
|
-
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
-
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
|
5
|
-
[1m[35m (0.1ms)[0m begin transaction
|
6
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
|
8
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9
|
-
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
10
|
-
[1m[35m (0.1ms)[0m begin transaction
|
11
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
12
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
|
13
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
14
|
-
Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
|
15
|
-
[1m[35m (0.1ms)[0m begin transaction
|
16
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) [0m
|
17
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
|
18
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
19
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
20
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
21
|
-
Migrating to AddSettingsToCoalescingPandaLtiAccount (20140722210735)
|
22
|
-
[1m[35m (0.1ms)[0m begin transaction
|
23
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "coalescing_panda_lti_accounts" ADD "settings" text[0m
|
24
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140722210735"]]
|
25
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
26
|
-
Migrating to CreateCoalescingPandaSessions (20140904223159)
|
27
|
-
[1m[35m (0.0ms)[0m begin transaction
|
28
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime) [0m
|
29
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]
|
30
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
31
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|