push_type_auth 0.10.2 → 0.10.3
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 +4 -4
- data/app/controllers/concerns/push_type/api_authentication_methods.rb +1 -1
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20161221151131_create_push_type_users.push_type.rb → 20170130110823_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161221151132_create_push_type_nodes.push_type.rb → 20170130110824_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161221151133_create_push_type_node_hierarchies.push_type.rb → 20170130110825_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161221151134_create_push_type_assets.push_type.rb → 20170130110826_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161221151135_add_field_store_default_values.push_type.rb → 20170130110827_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161221151136_drop_legacy_push_type_taxonomies.push_type.rb → 20170130110828_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161221151137_devise_extend_push_type_users.push_type_auth.rb → 20170130110829_devise_extend_push_type_users.push_type_auth.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +949 -949
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{8b/8b4xkobgOfYieOlJzpl_RO86vloCGw5BOHOQmi2Wn9o.cache → 5O/5oSx9u5bWTMJuw7R5SS1kgD1-6em-qGFB5Dtiem3VRI.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{DM/DMoO5Vfw1xgLIEcEHizU4O2eiDZFqp0DmSw-S52apG0.cache → Le/Le4Ce9pqmasm4pY_e44MIgf0idX17AywIXq0O02QgCg.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{le → Le}/LeNwaaVdD0ZGishj5VsGjPyTXYzeoZFZUuuOzXCnN50.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{le → Le}/le77pXpWqSiDQU-50m4Bgj4xUDnP3N2z2dZlM748lys.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nu/NuhfvPTDloTFqZ8oNDMzEL6yMq-c5173C_eig2PglVs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nx/nxLR0lMxFzfBBKpNXx7WthIbO_gA6RQJlu681QaXJAA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/PL/plsjhVQ9Z_pERrWa9lf4D7OWYFBxUEGj908YMz0WUBA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cF/cFQAswd1euWrklVs-_7sxmhhtuuMHa9gvt9dhDXUcdg.cache → S4/S4QMlBb9qH9BzBF85RN3IJW-ez6beKLmRiCb0B474GQ.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/SJ/SJSKco2hBBjKKEO-nexiQu8cSVHBd9Okfoa4GknabZk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UI/uisrogUVYx_xiRQCKG3RAe1bamd4hctBPms7MbzWgIo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zg/ZgkrPk6MzpN7HmhXbK_xtVfqnIi4VFSRuXq8BtTbdA8.cache → UI/uixp4REYxOkku4JWWmDA9M3Vmwa8IXV8L7t3ZA33OU0.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{x6/x60by82yOt_KJs9QZKHEApE39ww9ljIVLWT3j1sxWaQ.cache → YI/YISuRMiaS6zXA3IXNXcl6VNA1aMFDxcRCdTPZUcAEFk.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zg → ZG}/ZGzmCPd1GqApgtqXTO9zaRxQdQRynfkSl74zrh4Fg_Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zg → ZG}/ZgljiSRp0wAR7vwKB531Y6LnA2PQWPhTwvz8d6xIShA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zg → ZG}/zgGHsSlX8eJxNiVGn1x0lp9f-lQE02yy6OywFLQvKPY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cF → cf}/cf_JXanhgxNES8jO5tz21KuT1yZMbhUQ-VFQbKkuh-g.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{DM → dM}/dMZj_GbLfuRLUK-h9i97Pgu2Ch-0qNUigWKCC1_OMfo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/fo/foWRCutGW14uCPyhFv_u9qOrXVyxak4CrPfYv9SVCw4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbhVrYBl4f54-OqjKRkfpIupTo9wELk4k_EZ45ZocJU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{rS/rSsXenjAK9ZGM4gcEMwTrnA3G-IKo0Dk-mQsMtaU8T4.cache → gt/gtpf9VoBF9gSDwkvVrZAhwswiM5lBH1KcKMGVz0L8fw.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{4T/4T84YPi0TSK6RB73by6SqUqRbbzM_qJf4B7QfcfuFTk.cache → i0/i0HR2mxLv1s1BCaid-LRYm_aFDjevPS1SfCUZRsytgU.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{b1/b1C7s0eYDoLd1bktLHb05ubzzBM5IcGDgVqnL5VK9CE.cache → oB/oBZGml_gmn9zvHdaBvwefFWXR4sZHKfpnESqWeknC4w.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sG/sgt3FIYS9DvkhX6Yp8HlCFxg9LfJU7QIut4wkuYX18k.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tk/tkycX5kvKxT8eE7KehdIWjBoez0ZvC2W1zVG5J14wB4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/uV/uVmR6TCC4tWulbphsO_NyETKUWU7d-WH8XqN9i-kqVU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vL/vLEv8Jkra3i7mYQOYsx4giUE3uB_ohJDsHB-19bNlRg.cache +0 -0
- metadata +52 -52
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28f0f8a20e108a47ca4bfc8ae3efac03612526a8
|
|
4
|
+
data.tar.gz: d3b0f977539fa61a9f19ca27a1066ddc9e365cc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c01adfe6f182420b74f70f9e8e508da1ef28df26a068979ad181b2e07508a70a46d9bfe69d63b1f7df8fcfb643da40bbb2c8dc278b08b8b4497a731c96f9bfce
|
|
7
|
+
data.tar.gz: 4ad97d91023d1a01b340100b3af07b722358f30b129b846f79f50cbbd4e9a7d898ba685bc63bb601feed3bc4e1a615b46f7cd0123300a7efc4cb7716304aab1e
|
|
@@ -45,6 +45,6 @@ PushType.setup do |config|
|
|
|
45
45
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
|
46
46
|
# }
|
|
47
47
|
|
|
48
|
-
# config.dragonfly_secret = '
|
|
48
|
+
# config.dragonfly_secret = 'a018d34a0c3359f477179af16c1463b2153e792bf216dd9313f8267f167de2cd'
|
|
49
49
|
|
|
50
50
|
end
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
# if you're sharing your code publicly.
|
|
12
12
|
|
|
13
13
|
development:
|
|
14
|
-
secret_key_base:
|
|
14
|
+
secret_key_base: 861beaab64add0294d6f10a3132e043ecaa9d1ca8444ec3dcee71c2c203441d5d0f8e9efaad395098c9cac679624f47ba55296a5ad51b55c6229ca576f8d1d9c
|
|
15
15
|
|
|
16
16
|
test:
|
|
17
|
-
secret_key_base:
|
|
17
|
+
secret_key_base: e06e74c545c2ca8cbc2795c456e36b41b931ca2c2b1b2a486bab28e2bb03068fa819294ed1511827cb5ecf2c65f6fcaca987f1afc854c41ade58564e3240597b
|
|
18
18
|
|
|
19
19
|
# Do not keep production secrets in the repository,
|
|
20
20
|
# instead read values from the environment.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
#
|
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
|
12
12
|
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
|
13
|
+
ActiveRecord::Schema.define(version: 20170130110829) do
|
|
14
14
|
|
|
15
15
|
# These are extensions that must be enabled in order to support this database
|
|
16
16
|
enable_extension "plpgsql"
|
data/test/dummy/log/test.log
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
|
1
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
|
2
2
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
3
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at",
|
|
3
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-01-30 11:08:17 UTC], ["updated_at", 2017-01-30 11:08:17 UTC]]
|
|
4
4
|
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
|
5
5
|
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
6
|
-
[1m[35m (0.
|
|
6
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
|
|
7
7
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
8
8
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
|
|
9
9
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
10
10
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
|
|
11
|
-
[1m[35m (
|
|
12
|
-
[1m[35m (
|
|
13
|
-
[1m[35m (
|
|
11
|
+
[1m[35m (190.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
|
12
|
+
[1m[35m (384.6ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
|
13
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
|
14
14
|
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
15
|
-
[1m[35m (0.
|
|
16
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
|
17
|
-
Migrating to CreatePushTypeUsers (
|
|
15
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(2735718569030447490);[0m
|
|
16
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
17
|
+
Migrating to CreatePushTypeUsers (20170130110823)
|
|
18
18
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
19
|
-
[1m[35mSQL (
|
|
20
|
-
[1m[35m (13.
|
|
21
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
22
|
-
[1m[35m (
|
|
23
|
-
Migrating to CreatePushTypeNodes (
|
|
19
|
+
[1m[35mSQL (12.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
|
20
|
+
[1m[35m (13.6ms)[0m [1m[35mCREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
21
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170130110823"]]
|
|
22
|
+
[1m[35m (4.8ms)[0m [1m[35mCOMMIT[0m
|
|
23
|
+
Migrating to CreatePushTypeNodes (20170130110824)
|
|
24
24
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
25
|
-
[1m[35m (
|
|
26
|
-
[1m[35mSQL (0.
|
|
25
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)[0m
|
|
26
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170130110824"]]
|
|
27
27
|
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
28
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
|
28
|
+
Migrating to CreatePushTypeNodeHierarchies (20170130110825)
|
|
29
29
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
30
|
-
[1m[35m (0.
|
|
31
|
-
[1m[35m (0.
|
|
32
|
-
[1m[35m (0.
|
|
33
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
30
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)[0m
|
|
31
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
|
32
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")[0m
|
|
33
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170130110825"]]
|
|
34
34
|
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
35
|
-
Migrating to CreatePushTypeAssets (
|
|
35
|
+
Migrating to CreatePushTypeAssets (20170130110826)
|
|
36
36
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
37
37
|
[1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)[0m
|
|
38
|
-
[1m[35mSQL (0.
|
|
38
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170130110826"]]
|
|
39
39
|
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20170130110827)
|
|
41
41
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
42
|
-
[1m[35m (0.
|
|
42
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
43
43
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
|
44
44
|
[1m[35m (0.2ms)[0m [1m[33mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
45
45
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL[0m
|
|
@@ -47,36 +47,36 @@ Migrating to AddFieldStoreDefaultValues (20161221151135)
|
|
|
47
47
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
|
48
48
|
[1m[35m (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
49
49
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL[0m
|
|
50
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
50
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170130110827"]]
|
|
51
51
|
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
52
|
-
Migrating to DropLegacyPushTypeTaxonomies (
|
|
52
|
+
Migrating to DropLegacyPushTypeTaxonomies (20170130110828)
|
|
53
53
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
54
|
-
[1m[35mSQL (0.
|
|
54
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170130110828"]]
|
|
55
55
|
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
56
|
-
Migrating to DeviseExtendPushTypeUsers (
|
|
56
|
+
Migrating to DeviseExtendPushTypeUsers (20170130110829)
|
|
57
57
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
58
|
-
[1m[35m (
|
|
58
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL[0m
|
|
59
59
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "reset_password_token" character varying[0m
|
|
60
60
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp[0m
|
|
61
61
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "remember_created_at" timestamp[0m
|
|
62
|
-
[1m[35m (2.
|
|
62
|
+
[1m[35m (2.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL[0m
|
|
63
63
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp[0m
|
|
64
64
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp[0m
|
|
65
65
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying[0m
|
|
66
66
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying[0m
|
|
67
67
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmation_token" character varying[0m
|
|
68
|
-
[1m[35m (0.
|
|
68
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmed_at" timestamp[0m
|
|
69
69
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp[0m
|
|
70
|
-
[1m[35m (0.
|
|
70
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")[0m
|
|
71
71
|
[1m[35m (0.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")[0m
|
|
72
|
-
[1m[35mSQL (0.
|
|
73
|
-
[1m[35m (1.
|
|
74
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
|
72
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170130110829"]]
|
|
73
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
|
74
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
|
75
75
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
76
|
-
[1m[35mSQL (0.
|
|
77
|
-
[1m[35m (0.
|
|
78
|
-
[1m[35m (0.
|
|
79
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
|
76
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-01-30 11:08:25 UTC], ["updated_at", 2017-01-30 11:08:25 UTC]]
|
|
77
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
78
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(2735718569030447490)[0m
|
|
79
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
80
80
|
[1m[35m (1.8ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
81
81
|
FROM pg_constraint c
|
|
82
82
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
@@ -101,7 +101,7 @@ WHERE c.contype = 'f'
|
|
|
101
101
|
AND t3.nspname = ANY (current_schemas(false))
|
|
102
102
|
ORDER BY c.conname
|
|
103
103
|
[0m
|
|
104
|
-
[1m[35m (1.
|
|
104
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
105
105
|
FROM pg_constraint c
|
|
106
106
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
107
107
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -130,195 +130,54 @@ Creating scope :published. Overwriting existing method PushType::Node.published.
|
|
|
130
130
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
131
131
|
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL[0m
|
|
132
132
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
133
|
-
[1m[35m (
|
|
133
|
+
[1m[35m (1.0ms)[0m [1m[34m SELECT schemaname || '.' || tablename
|
|
134
134
|
FROM pg_tables
|
|
135
135
|
WHERE
|
|
136
136
|
tablename !~ '_prt_' AND
|
|
137
137
|
tablename <> 'schema_migrations' AND
|
|
138
138
|
schemaname = ANY (current_schemas(false))
|
|
139
139
|
[0m
|
|
140
|
-
[1m[35m (
|
|
141
|
-
[1m[35m (
|
|
140
|
+
[1m[35m (0.9ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'dummy_test'[0m
|
|
141
|
+
[1m[35m (8.3ms)[0m [1m[35mTRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;[0m
|
|
142
142
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
143
143
|
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL[0m
|
|
144
144
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
145
145
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
146
|
-
|
|
147
|
-
PushType::
|
|
148
|
-
|
|
146
|
+
--------------------------------------------------------------------------------------------------------------
|
|
147
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
|
148
|
+
--------------------------------------------------------------------------------------------------------------
|
|
149
149
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
150
150
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
151
|
-
[1m[35m (0.
|
|
151
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
152
152
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
153
153
|
[1m[36mPushType::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-1@example.com"], ["LIMIT", 1]]
|
|
154
|
-
[1m[36mPushType::User Exists (0.
|
|
155
|
-
[1m[35mSQL (1.
|
|
156
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
157
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
158
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
|
159
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
|
160
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-12-21 15:11:38 UTC], ["updated_at", 2016-12-21 15:11:38 UTC], ["confirmation_token", "syd4fawY9ZvTZLB8btoL"], ["confirmation_sent_at", 2016-12-21 15:11:38 UTC]]
|
|
154
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-1@example.com"], ["LIMIT", 1]]
|
|
155
|
+
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2017-01-30 11:08:30 UTC], ["updated_at", 2017-01-30 11:08:30 UTC], ["confirmation_token", "CpawkFXMkAMgKRF-kx4v"], ["confirmation_sent_at", 2017-01-30 11:08:30 UTC]]
|
|
161
156
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
162
157
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
163
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (5.
|
|
158
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (5.1ms)
|
|
164
159
|
DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.1@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
|
|
165
160
|
in a future version of Sass. To preserve the current behavior, use quotes:
|
|
166
161
|
|
|
167
162
|
unquote("#{lower-bound($medium-range)}")
|
|
168
163
|
|
|
169
164
|
|
|
170
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
171
|
-
Sent mail to joe-
|
|
172
|
-
Date:
|
|
173
|
-
From: pushtype@example.com
|
|
174
|
-
Reply-To: pushtype@example.com
|
|
175
|
-
To: joe-2@example.com
|
|
176
|
-
Message-ID: <585a9bb789043_cf8c3ff7ee43f9d88924d@Aarons-iMac.local.mail>
|
|
177
|
-
Subject: [PushType] Confirm your account
|
|
178
|
-
Mime-Version: 1.0
|
|
179
|
-
Content-Type: multipart/alternative;
|
|
180
|
-
boundary="--==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186";
|
|
181
|
-
charset=UTF-8
|
|
182
|
-
Content-Transfer-Encoding: 7bit
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186
|
|
186
|
-
Content-Type: text/plain;
|
|
187
|
-
charset=UTF-8
|
|
188
|
-
Content-Transfer-Encoding: 7bit
|
|
189
|
-
|
|
190
|
-
PushType ( http://localhost:3000/admin/ )
|
|
191
|
-
|
|
192
|
-
Hello Joe Bloggs
|
|
193
|
-
|
|
194
|
-
You're receiving this email because a PushType account has been
|
|
195
|
-
created for you.
|
|
196
|
-
|
|
197
|
-
To get started, confirm your account and set your own password by
|
|
198
|
-
clicking the link below:
|
|
199
|
-
|
|
200
|
-
Confirm my account
|
|
201
|
-
( http://localhost:3000/admin/confirmation.d2850749-87a2-4525-82aa-23ee2666495b?confirmation_token=syd4fawY9ZvTZLB8btoL )
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
205
|
-
----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186
|
|
206
|
-
Content-Type: text/html;
|
|
207
|
-
charset=UTF-8
|
|
208
|
-
Content-Transfer-Encoding: 7bit
|
|
209
|
-
|
|
210
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
211
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
212
|
-
<head>
|
|
213
|
-
<meta name="viewport" content="width=device-width" />
|
|
214
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
215
|
-
<title>[PushType] Confirm your account</title>
|
|
216
|
-
|
|
217
|
-
</head>
|
|
218
|
-
|
|
219
|
-
<body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important;"><style type="text/css">
|
|
220
|
-
img {
|
|
221
|
-
max-width: 100%;
|
|
222
|
-
}
|
|
223
|
-
body {
|
|
224
|
-
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
|
|
225
|
-
}
|
|
226
|
-
</style>
|
|
227
|
-
|
|
228
|
-
<!-- body -->
|
|
229
|
-
<table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%;">
|
|
230
|
-
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
231
|
-
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
|
|
232
|
-
<td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px;">
|
|
233
|
-
|
|
234
|
-
<!-- content -->
|
|
235
|
-
<div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
|
|
236
|
-
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
237
|
-
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
238
|
-
<td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px;"><a href="http://localhost:3000/admin/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><img alt="PushType" src="/assets/push_type/pushtype-logo-a3af31e6141c9b155900c4cfde696ee92b3c080d35cd5d7afc82f8fb5a2fe6fa.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0;" /></a></td>
|
|
239
|
-
</tr>
|
|
240
|
-
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
241
|
-
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
242
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">Hello Joe Bloggs</p>
|
|
243
|
-
|
|
244
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">You're receiving this email because a PushType account has been created for you.</p>
|
|
245
|
-
|
|
246
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">To get started, confirm your account and set your own password by clicking the link below:</p>
|
|
247
|
-
|
|
248
|
-
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
249
|
-
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
250
|
-
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
251
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2850749-87a2-4525-82aa-23ee2666495b?confirmation_token=syd4fawY9ZvTZLB8btoL" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
252
|
-
</td>
|
|
253
|
-
</tr>
|
|
254
|
-
</table>
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
</td>
|
|
258
|
-
</tr>
|
|
259
|
-
</table>
|
|
260
|
-
</div>
|
|
261
|
-
<!-- /content -->
|
|
262
|
-
|
|
263
|
-
</td>
|
|
264
|
-
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
|
|
265
|
-
</tr>
|
|
266
|
-
</table>
|
|
267
|
-
<!-- /body -->
|
|
268
|
-
|
|
269
|
-
<!-- footer -->
|
|
270
|
-
<table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
271
|
-
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
272
|
-
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
|
|
273
|
-
<td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0;">
|
|
274
|
-
|
|
275
|
-
<!-- content -->
|
|
276
|
-
<div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
|
|
277
|
-
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
278
|
-
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
279
|
-
<td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
280
|
-
<p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">PushType CMS: <a href="http://www.pushtype.org" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">www.pushtype.org</a>.</p>
|
|
281
|
-
</td>
|
|
282
|
-
</tr>
|
|
283
|
-
</table>
|
|
284
|
-
</div>
|
|
285
|
-
<!-- /content -->
|
|
286
|
-
|
|
287
|
-
</td>
|
|
288
|
-
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
|
|
289
|
-
</tr>
|
|
290
|
-
</table>
|
|
291
|
-
<!-- /footer -->
|
|
292
|
-
|
|
293
|
-
</body>
|
|
294
|
-
</html>
|
|
295
|
-
|
|
296
|
-
----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186--
|
|
297
|
-
|
|
298
|
-
Processing by PushType::Admin::UsersController#invite as HTML
|
|
299
|
-
Parameters: {"id"=>"d2850749-87a2-4525-82aa-23ee2666495b"}
|
|
300
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "9bf48f97-0c2f-4d5f-88aa-95852e37b665"], ["LIMIT", 1]]
|
|
301
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "d2850749-87a2-4525-82aa-23ee2666495b"], ["LIMIT", 1]]
|
|
302
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
303
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
304
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
305
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
306
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
|
|
307
|
-
Sent mail to joe-2@example.com (3.9ms)
|
|
308
|
-
Date: Wed, 21 Dec 2016 15:11:51 +0000
|
|
165
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 12478.5ms
|
|
166
|
+
Sent mail to joe-1@example.com (10.5ms)
|
|
167
|
+
Date: Mon, 30 Jan 2017 11:08:42 +0000
|
|
309
168
|
From: pushtype@example.com
|
|
310
169
|
Reply-To: pushtype@example.com
|
|
311
|
-
To: joe-
|
|
312
|
-
Message-ID: <
|
|
170
|
+
To: joe-1@example.com
|
|
171
|
+
Message-ID: <588f1ebab554a_75b23ff6f243f9d09951@Aarons-iMac.local.mail>
|
|
313
172
|
Subject: [PushType] Confirm your account
|
|
314
173
|
Mime-Version: 1.0
|
|
315
174
|
Content-Type: multipart/alternative;
|
|
316
|
-
boundary="--==
|
|
175
|
+
boundary="--==_mimepart_588f1ebab3e48_75b23ff6f243f9d098d1";
|
|
317
176
|
charset=UTF-8
|
|
318
177
|
Content-Transfer-Encoding: 7bit
|
|
319
178
|
|
|
320
179
|
|
|
321
|
-
----==
|
|
180
|
+
----==_mimepart_588f1ebab3e48_75b23ff6f243f9d098d1
|
|
322
181
|
Content-Type: text/plain;
|
|
323
182
|
charset=UTF-8
|
|
324
183
|
Content-Transfer-Encoding: 7bit
|
|
@@ -334,11 +193,11 @@ To get started, confirm your account and set your own password by
|
|
|
334
193
|
clicking the link below:
|
|
335
194
|
|
|
336
195
|
Confirm my account
|
|
337
|
-
( http://localhost:3000/admin/confirmation.
|
|
196
|
+
( http://localhost:3000/admin/confirmation.47f8c8a3-58e2-49cf-8956-eeb469bc5f3f?confirmation_token=CpawkFXMkAMgKRF-kx4v )
|
|
338
197
|
|
|
339
198
|
|
|
340
199
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
341
|
-
----==
|
|
200
|
+
----==_mimepart_588f1ebab3e48_75b23ff6f243f9d098d1
|
|
342
201
|
Content-Type: text/html;
|
|
343
202
|
charset=UTF-8
|
|
344
203
|
Content-Transfer-Encoding: 7bit
|
|
@@ -384,7 +243,7 @@ body {
|
|
|
384
243
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
385
244
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
386
245
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
387
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
246
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.47f8c8a3-58e2-49cf-8956-eeb469bc5f3f?confirmation_token=CpawkFXMkAMgKRF-kx4v" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
388
247
|
</td>
|
|
389
248
|
</tr>
|
|
390
249
|
</table>
|
|
@@ -429,47 +288,103 @@ body {
|
|
|
429
288
|
</body>
|
|
430
289
|
</html>
|
|
431
290
|
|
|
432
|
-
----==
|
|
291
|
+
----==_mimepart_588f1ebab3e48_75b23ff6f243f9d098d1--
|
|
433
292
|
|
|
434
|
-
Redirected to http://test.host/push_type/users
|
|
435
|
-
Completed 302 Found in 42ms (ActiveRecord: 0.8ms)
|
|
436
293
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
437
294
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
|
438
295
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
296
|
+
--------------------------------------------------------------------------------------------
|
|
297
|
+
AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
|
|
298
|
+
--------------------------------------------------------------------------------------------
|
|
442
299
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
443
300
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
301
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
302
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
303
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
|
304
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
|
305
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2017-01-30 11:08:42 UTC], ["updated_at", 2017-01-30 11:08:42 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:42 UTC], ["confirmation_sent_at", 2017-01-30 11:08:42 UTC]]
|
|
306
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
307
|
+
Started GET "/api/nodes" for 127.0.0.1 at 2017-01-30 11:08:42 +0000
|
|
308
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
309
|
+
[1m[36mPushType::User Load (0.5ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "221c8cac-9c29-4aba-8d1d-c3b892832c42"], ["LIMIT", 1]]
|
|
310
|
+
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
311
|
+
[1m[36mPushType::Node Load (0.5ms)[0m [1m[34mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
312
|
+
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
313
|
+
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (7.9ms)
|
|
314
|
+
Completed 200 OK in 68ms (Views: 35.4ms | ActiveRecord: 1.0ms)
|
|
315
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
316
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
317
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
318
|
+
-------------------------------------------------------------
|
|
319
|
+
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
|
320
|
+
-------------------------------------------------------------
|
|
321
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
322
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
323
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
324
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
325
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
326
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
327
|
+
-----------------------------------------------------------------------------------
|
|
328
|
+
AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
|
|
329
|
+
-----------------------------------------------------------------------------------
|
|
444
330
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
331
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
332
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
445
333
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
446
|
-
[1m[36mPushType::User Exists (0.
|
|
334
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-3@example.com"], ["LIMIT", 1]]
|
|
447
335
|
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-3@example.com"], ["LIMIT", 1]]
|
|
448
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at",
|
|
336
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2017-01-30 11:08:42 UTC], ["updated_at", 2017-01-30 11:08:42 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:42 UTC], ["confirmation_sent_at", 2017-01-30 11:08:42 UTC]]
|
|
449
337
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
338
|
+
Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODU4NjA5MjIsInN1YiI6ImY0YzhkODJhLWY5ODEtNGVmYi04YzM2LTlmNjEyNTBmMGExYSJ9.9TC8w1GQaEagIBBwcGxhwO3hHumgqEvZEXGKskgKERg" for 127.0.0.1 at 2017-01-30 11:08:42 +0000
|
|
339
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
340
|
+
Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODU4NjA5MjIsInN1YiI6ImY0YzhkODJhLWY5ODEtNGVmYi04YzM2LTlmNjEyNTBmMGExYSJ9.9TC8w1GQaEagIBBwcGxhwO3hHumgqEvZEXGKskgKERg"}
|
|
341
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "f4c8d82a-f981-4efb-8c36-9f61250f0a1a"], ["LIMIT", 1]]
|
|
342
|
+
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
343
|
+
[1m[36mPushType::Node Load (0.3ms)[0m [1m[34mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
344
|
+
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
345
|
+
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (3.5ms)
|
|
346
|
+
Completed 200 OK in 40ms (Views: 31.3ms | ActiveRecord: 0.5ms)
|
|
347
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
348
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
349
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
350
|
+
--------------------------------------------------------------------------------------
|
|
351
|
+
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
352
|
+
--------------------------------------------------------------------------------------
|
|
353
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
354
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
355
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
356
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
357
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
358
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
359
|
+
----------------------------------------------------------------------------------------
|
|
360
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
361
|
+
----------------------------------------------------------------------------------------
|
|
362
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
363
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
364
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
450
365
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
366
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-4@example.com"], ["LIMIT", 1]]
|
|
451
367
|
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-4@example.com"], ["LIMIT", 1]]
|
|
452
|
-
[1m[
|
|
453
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "8Vs5vGdUn3QDsyXpXGW-"], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
|
|
368
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "75VYKgCrwMp2v54eWSbz"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
454
369
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
455
370
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
456
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
457
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
458
|
-
Sent mail to joe-4@example.com (3.
|
|
459
|
-
Date:
|
|
371
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
|
|
372
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 40.8ms
|
|
373
|
+
Sent mail to joe-4@example.com (3.4ms)
|
|
374
|
+
Date: Mon, 30 Jan 2017 11:08:43 +0000
|
|
460
375
|
From: pushtype@example.com
|
|
461
376
|
Reply-To: pushtype@example.com
|
|
462
377
|
To: joe-4@example.com
|
|
463
|
-
Message-ID: <
|
|
378
|
+
Message-ID: <588f1ebb123a8_75b23ff6f243f9d01023f@Aarons-iMac.local.mail>
|
|
464
379
|
Subject: [PushType] Confirm your account
|
|
465
380
|
Mime-Version: 1.0
|
|
466
381
|
Content-Type: multipart/alternative;
|
|
467
|
-
boundary="--==
|
|
382
|
+
boundary="--==_mimepart_588f1ebb11f81_75b23ff6f243f9d0101b7";
|
|
468
383
|
charset=UTF-8
|
|
469
384
|
Content-Transfer-Encoding: 7bit
|
|
470
385
|
|
|
471
386
|
|
|
472
|
-
----==
|
|
387
|
+
----==_mimepart_588f1ebb11f81_75b23ff6f243f9d0101b7
|
|
473
388
|
Content-Type: text/plain;
|
|
474
389
|
charset=UTF-8
|
|
475
390
|
Content-Transfer-Encoding: 7bit
|
|
@@ -485,11 +400,11 @@ To get started, confirm your account and set your own password by
|
|
|
485
400
|
clicking the link below:
|
|
486
401
|
|
|
487
402
|
Confirm my account
|
|
488
|
-
( http://localhost:3000/admin/confirmation.
|
|
403
|
+
( http://localhost:3000/admin/confirmation.3e7913ce-9726-442c-b57e-cd1078dac596?confirmation_token=75VYKgCrwMp2v54eWSbz )
|
|
489
404
|
|
|
490
405
|
|
|
491
406
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
492
|
-
----==
|
|
407
|
+
----==_mimepart_588f1ebb11f81_75b23ff6f243f9d0101b7
|
|
493
408
|
Content-Type: text/html;
|
|
494
409
|
charset=UTF-8
|
|
495
410
|
Content-Transfer-Encoding: 7bit
|
|
@@ -535,7 +450,7 @@ body {
|
|
|
535
450
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
536
451
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
537
452
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
538
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
453
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.3e7913ce-9726-442c-b57e-cd1078dac596?confirmation_token=75VYKgCrwMp2v54eWSbz" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
539
454
|
</td>
|
|
540
455
|
</tr>
|
|
541
456
|
</table>
|
|
@@ -580,32 +495,53 @@ body {
|
|
|
580
495
|
</body>
|
|
581
496
|
</html>
|
|
582
497
|
|
|
583
|
-
----==
|
|
498
|
+
----==_mimepart_588f1ebb11f81_75b23ff6f243f9d0101b7--
|
|
584
499
|
|
|
585
|
-
Processing by PushType::
|
|
586
|
-
Parameters: {"
|
|
587
|
-
[1m[36mPushType::User Load (0.
|
|
588
|
-
[1m[36mPushType::User
|
|
500
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
501
|
+
Parameters: {"user"=>{"confirmation_token"=>"75VYKgCrwMp2v54eWSbz", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
502
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "75VYKgCrwMp2v54eWSbz"], ["LIMIT", 1]]
|
|
503
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-4@example.com"], ["id", "3e7913ce-9726-442c-b57e-cd1078dac596"], ["LIMIT", 1]]
|
|
504
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
505
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$WjitcztD5k5zQAZU9iry3OIEzFEqGAJxjtC8nfwY7WtdO6Ewp8OEK"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "3e7913ce-9726-442c-b57e-cd1078dac596"]]
|
|
506
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
507
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
508
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2017-01-30 11:08:43 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2017-01-30 11:08:43 UTC], ["last_sign_in_at", 2017-01-30 11:08:43 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "3e7913ce-9726-442c-b57e-cd1078dac596"]]
|
|
509
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
510
|
+
Redirected to http://test.host/admin/
|
|
511
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.3ms)
|
|
512
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2[0m [["id", "3e7913ce-9726-442c-b57e-cd1078dac596"], ["LIMIT", 1]]
|
|
513
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
514
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
515
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
516
|
+
----------------------------------------------------------------------------------------
|
|
517
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
518
|
+
----------------------------------------------------------------------------------------
|
|
519
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
520
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
521
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
589
522
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
523
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-5@example.com"], ["LIMIT", 1]]
|
|
524
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-5@example.com"], ["LIMIT", 1]]
|
|
525
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "qZmxJo2tt4GhZvQYPiqs"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
590
526
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
591
527
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
592
528
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
593
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
594
|
-
Sent mail to joe-
|
|
595
|
-
Date:
|
|
529
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
|
530
|
+
Sent mail to joe-5@example.com (10.1ms)
|
|
531
|
+
Date: Mon, 30 Jan 2017 11:08:43 +0000
|
|
596
532
|
From: pushtype@example.com
|
|
597
533
|
Reply-To: pushtype@example.com
|
|
598
|
-
To: joe-
|
|
599
|
-
Message-ID: <
|
|
534
|
+
To: joe-5@example.com
|
|
535
|
+
Message-ID: <588f1ebb1f88b_75b23ff6f243f9d01058e@Aarons-iMac.local.mail>
|
|
600
536
|
Subject: [PushType] Confirm your account
|
|
601
537
|
Mime-Version: 1.0
|
|
602
538
|
Content-Type: multipart/alternative;
|
|
603
|
-
boundary="--==
|
|
539
|
+
boundary="--==_mimepart_588f1ebb1f362_75b23ff6f243f9d0104de";
|
|
604
540
|
charset=UTF-8
|
|
605
541
|
Content-Transfer-Encoding: 7bit
|
|
606
542
|
|
|
607
543
|
|
|
608
|
-
----==
|
|
544
|
+
----==_mimepart_588f1ebb1f362_75b23ff6f243f9d0104de
|
|
609
545
|
Content-Type: text/plain;
|
|
610
546
|
charset=UTF-8
|
|
611
547
|
Content-Transfer-Encoding: 7bit
|
|
@@ -621,11 +557,11 @@ To get started, confirm your account and set your own password by
|
|
|
621
557
|
clicking the link below:
|
|
622
558
|
|
|
623
559
|
Confirm my account
|
|
624
|
-
( http://localhost:3000/admin/confirmation.
|
|
560
|
+
( http://localhost:3000/admin/confirmation.4b24bbc8-51ec-4dd1-a9b0-12707d42b02b?confirmation_token=qZmxJo2tt4GhZvQYPiqs )
|
|
625
561
|
|
|
626
562
|
|
|
627
563
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
628
|
-
----==
|
|
564
|
+
----==_mimepart_588f1ebb1f362_75b23ff6f243f9d0104de
|
|
629
565
|
Content-Type: text/html;
|
|
630
566
|
charset=UTF-8
|
|
631
567
|
Content-Transfer-Encoding: 7bit
|
|
@@ -671,7 +607,7 @@ body {
|
|
|
671
607
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
672
608
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
673
609
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
674
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
610
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.4b24bbc8-51ec-4dd1-a9b0-12707d42b02b?confirmation_token=qZmxJo2tt4GhZvQYPiqs" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
675
611
|
</td>
|
|
676
612
|
</tr>
|
|
677
613
|
</table>
|
|
@@ -716,47 +652,52 @@ body {
|
|
|
716
652
|
</body>
|
|
717
653
|
</html>
|
|
718
654
|
|
|
719
|
-
----==
|
|
655
|
+
----==_mimepart_588f1ebb1f362_75b23ff6f243f9d0104de--
|
|
720
656
|
|
|
721
|
-
|
|
722
|
-
|
|
657
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
658
|
+
Parameters: {"user"=>{"confirmation_token"=>"qZmxJo2tt4GhZvQYPiqs", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
659
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "qZmxJo2tt4GhZvQYPiqs"], ["LIMIT", 1]]
|
|
660
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-5@example.com"], ["id", "4b24bbc8-51ec-4dd1-a9b0-12707d42b02b"], ["LIMIT", 1]]
|
|
661
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
662
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$EMRLpZkAMshx8OE0mudefewN9wSqdgruN3mjS..9yHvQrI7CQuGg2"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "4b24bbc8-51ec-4dd1-a9b0-12707d42b02b"]]
|
|
663
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
664
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
665
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2017-01-30 11:08:43 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2017-01-30 11:08:43 UTC], ["last_sign_in_at", 2017-01-30 11:08:43 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "4b24bbc8-51ec-4dd1-a9b0-12707d42b02b"]]
|
|
666
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
667
|
+
Redirected to http://test.host/admin/
|
|
668
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
|
|
723
669
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
724
670
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
725
671
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
726
|
-
|
|
727
|
-
PushType::
|
|
728
|
-
|
|
729
|
-
[1m[35m (0.
|
|
672
|
+
--------------------------------------------------------------------------------------------------------------
|
|
673
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
|
674
|
+
--------------------------------------------------------------------------------------------------------------
|
|
675
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
730
676
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
731
677
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
732
678
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
733
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
|
734
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
|
735
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "
|
|
736
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
737
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
738
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-6@example.com"], ["LIMIT", 1]]
|
|
739
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-6@example.com"], ["LIMIT", 1]]
|
|
740
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "ibPamMxzJz6bGPWTx1_k"], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
|
|
679
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-6@example.com"], ["LIMIT", 1]]
|
|
680
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-6@example.com"], ["LIMIT", 1]]
|
|
681
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "ixMBhXGutjoTxprE8tCa"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
741
682
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
742
683
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
743
684
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
744
685
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
745
|
-
Sent mail to joe-6@example.com (3.
|
|
746
|
-
Date:
|
|
686
|
+
Sent mail to joe-6@example.com (3.7ms)
|
|
687
|
+
Date: Mon, 30 Jan 2017 11:08:43 +0000
|
|
747
688
|
From: pushtype@example.com
|
|
748
689
|
Reply-To: pushtype@example.com
|
|
749
690
|
To: joe-6@example.com
|
|
750
|
-
Message-ID: <
|
|
691
|
+
Message-ID: <588f1ebb2d08a_75b23ff6f243f9d0108d5@Aarons-iMac.local.mail>
|
|
751
692
|
Subject: [PushType] Confirm your account
|
|
752
693
|
Mime-Version: 1.0
|
|
753
694
|
Content-Type: multipart/alternative;
|
|
754
|
-
boundary="--==
|
|
695
|
+
boundary="--==_mimepart_588f1ebb2cbdc_75b23ff6f243f9d01077f";
|
|
755
696
|
charset=UTF-8
|
|
756
697
|
Content-Transfer-Encoding: 7bit
|
|
757
698
|
|
|
758
699
|
|
|
759
|
-
----==
|
|
700
|
+
----==_mimepart_588f1ebb2cbdc_75b23ff6f243f9d01077f
|
|
760
701
|
Content-Type: text/plain;
|
|
761
702
|
charset=UTF-8
|
|
762
703
|
Content-Transfer-Encoding: 7bit
|
|
@@ -772,11 +713,11 @@ To get started, confirm your account and set your own password by
|
|
|
772
713
|
clicking the link below:
|
|
773
714
|
|
|
774
715
|
Confirm my account
|
|
775
|
-
( http://localhost:3000/admin/confirmation.
|
|
716
|
+
( http://localhost:3000/admin/confirmation.58df291c-7bc7-401c-9e7d-c3f89b086296?confirmation_token=ixMBhXGutjoTxprE8tCa )
|
|
776
717
|
|
|
777
718
|
|
|
778
719
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
779
|
-
----==
|
|
720
|
+
----==_mimepart_588f1ebb2cbdc_75b23ff6f243f9d01077f
|
|
780
721
|
Content-Type: text/html;
|
|
781
722
|
charset=UTF-8
|
|
782
723
|
Content-Transfer-Encoding: 7bit
|
|
@@ -822,7 +763,7 @@ body {
|
|
|
822
763
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
823
764
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
824
765
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
825
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
766
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.58df291c-7bc7-401c-9e7d-c3f89b086296?confirmation_token=ixMBhXGutjoTxprE8tCa" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
826
767
|
</td>
|
|
827
768
|
</tr>
|
|
828
769
|
</table>
|
|
@@ -867,32 +808,347 @@ body {
|
|
|
867
808
|
</body>
|
|
868
809
|
</html>
|
|
869
810
|
|
|
870
|
-
----==
|
|
811
|
+
----==_mimepart_588f1ebb2cbdc_75b23ff6f243f9d01077f--
|
|
871
812
|
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
[1m[
|
|
875
|
-
|
|
813
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
814
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
815
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
816
|
+
-----------------------------------------------------------------------
|
|
817
|
+
AuthenticatedControllerTest::authenticated request: test_0001_anonymous
|
|
818
|
+
-----------------------------------------------------------------------
|
|
819
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
820
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
821
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
876
822
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
823
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-7@example.com"], ["LIMIT", 1]]
|
|
824
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-7@example.com"], ["LIMIT", 1]]
|
|
825
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "encrypted_password", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["encrypted_password", "$2a$04$3v4sq1JJwvaTsnJnEEqkKOrNitFz850F0Q00dYEqjjIJl0lGRL6jC"], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
877
826
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
827
|
+
Started POST "/admin/sign_in" for 127.0.0.1 at 2017-01-30 11:08:43 +0000
|
|
828
|
+
Processing by PushType::SessionsController#create as HTML
|
|
829
|
+
Parameters: {"user"=>{"email"=>"joe-7@example.com", "password"=>"[FILTERED]"}}
|
|
830
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["email", "joe-7@example.com"], ["LIMIT", 1]]
|
|
831
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
832
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7[0m [["current_sign_in_at", 2017-01-30 11:08:43 UTC], ["last_sign_in_at", 2017-01-30 11:08:43 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "e0cc3e03-b742-432a-8f91-f40cba6274e9"]]
|
|
833
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
834
|
+
Redirected to http://www.example.com/admin/
|
|
835
|
+
Completed 302 Found in 65ms (ActiveRecord: 0.8ms)
|
|
836
|
+
Started GET "/admin/nodes" for 127.0.0.1 at 2017-01-30 11:08:43 +0000
|
|
837
|
+
Processing by PushType::Admin::NodesController#index as HTML
|
|
838
|
+
[1m[36mPushType::User Load (0.4ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "e0cc3e03-b742-432a-8f91-f40cba6274e9"], ["LIMIT", 1]]
|
|
839
|
+
Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
|
|
840
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2) subquery_for_count[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
841
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL[0m
|
|
842
|
+
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.0ms)
|
|
843
|
+
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (21.9ms)
|
|
844
|
+
Completed 200 OK in 41ms (Views: 33.5ms | ActiveRecord: 0.8ms)
|
|
845
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
846
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
847
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
848
|
+
--------------------------------------------------------------------------------------------
|
|
849
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
850
|
+
--------------------------------------------------------------------------------------------
|
|
851
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
852
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
853
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
854
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
855
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-8@example.com"], ["LIMIT", 1]]
|
|
856
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-8@example.com"], ["LIMIT", 1]]
|
|
857
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
858
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
859
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
860
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
861
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "2571a69f-3708-4700-b92a-a6e0f7c7f00b"], ["LIMIT", 1]]
|
|
862
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
863
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-8@example.com"], ["id", "2571a69f-3708-4700-b92a-a6e0f7c7f00b"], ["LIMIT", 1]]
|
|
864
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
865
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
866
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (14.9ms)
|
|
867
|
+
Completed 200 OK in 30ms (Views: 25.0ms | ActiveRecord: 0.6ms)
|
|
868
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
869
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
870
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
871
|
+
--------------------------------------------------------------------------------------------
|
|
872
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
873
|
+
--------------------------------------------------------------------------------------------
|
|
874
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
875
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
876
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
877
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
878
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-9@example.com"], ["LIMIT", 1]]
|
|
879
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-9@example.com"], ["LIMIT", 1]]
|
|
880
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
881
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
882
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
883
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
884
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "c9aa91a6-1980-457a-864f-344dab7499d1"], ["LIMIT", 1]]
|
|
885
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
886
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-9@example.com"], ["id", "c9aa91a6-1980-457a-864f-344dab7499d1"], ["LIMIT", 1]]
|
|
887
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
888
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
889
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
|
|
890
|
+
Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 0.5ms)
|
|
891
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
892
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
893
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
894
|
+
---------------------------------------------------------------
|
|
895
|
+
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
|
896
|
+
---------------------------------------------------------------
|
|
897
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
898
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
899
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
900
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
901
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
902
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
903
|
+
------------------------------------------------------------------------------------------
|
|
904
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
|
905
|
+
------------------------------------------------------------------------------------------
|
|
906
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
907
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
908
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
909
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
910
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-10@example.com"], ["LIMIT", 1]]
|
|
911
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-10@example.com"], ["LIMIT", 1]]
|
|
912
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
913
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
914
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
915
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
916
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "8735dbe4-7f44-4a62-8459-ea85dfa009b5"], ["LIMIT", 1]]
|
|
917
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
918
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-10@example.com"], ["id", "8735dbe4-7f44-4a62-8459-ea85dfa009b5"], ["LIMIT", 1]]
|
|
919
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "8735dbe4-7f44-4a62-8459-ea85dfa009b5"]]
|
|
920
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
921
|
+
Redirected to http://test.host/admin/profile/edit
|
|
922
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
923
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
924
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
925
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
926
|
+
------------------------------------------------------------------------------------------
|
|
927
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
928
|
+
------------------------------------------------------------------------------------------
|
|
929
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
930
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
931
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
932
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
933
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-11@example.com"], ["LIMIT", 1]]
|
|
934
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-11@example.com"], ["LIMIT", 1]]
|
|
935
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
936
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
937
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
938
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
939
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "f73fce6c-00f3-46a3-abb6-3f5ac8adeffe"], ["LIMIT", 1]]
|
|
940
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
941
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-11@example.com"], ["id", "f73fce6c-00f3-46a3-abb6-3f5ac8adeffe"], ["LIMIT", 1]]
|
|
942
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "f73fce6c-00f3-46a3-abb6-3f5ac8adeffe"]]
|
|
943
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
944
|
+
Redirected to http://test.host/admin/profile/edit
|
|
945
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
|
946
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
947
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
948
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
949
|
+
------------------------------------------------------------------------------------------
|
|
950
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
951
|
+
------------------------------------------------------------------------------------------
|
|
952
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
953
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
954
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
955
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
956
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-12@example.com"], ["LIMIT", 1]]
|
|
957
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-12@example.com"], ["LIMIT", 1]]
|
|
958
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
959
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
960
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
961
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
962
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "1dfc82be-925f-44d1-85f2-e430e0bd6e59"], ["LIMIT", 1]]
|
|
963
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
964
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-12@example.com"], ["id", "1dfc82be-925f-44d1-85f2-e430e0bd6e59"], ["LIMIT", 1]]
|
|
965
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "1dfc82be-925f-44d1-85f2-e430e0bd6e59"]]
|
|
966
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
967
|
+
Redirected to http://test.host/admin/profile/edit
|
|
968
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
969
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2[0m [["id", "1dfc82be-925f-44d1-85f2-e430e0bd6e59"], ["LIMIT", 1]]
|
|
970
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
971
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
972
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
973
|
+
------------------------------------------------------------------------------------------------------
|
|
974
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
975
|
+
------------------------------------------------------------------------------------------------------
|
|
976
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
977
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
978
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
979
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
980
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
981
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
|
982
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
|
983
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "20ff98320b86f376d97a8f714d07f35030940cd97ebf0bbc6a1b4b8e352d4e74"], ["LIMIT", 1]]
|
|
984
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
985
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
|
|
986
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (6.5ms)
|
|
987
|
+
Completed 200 OK in 194ms (Views: 18.7ms | ActiveRecord: 0.5ms)
|
|
988
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
989
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
990
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
991
|
+
------------------------------------------------------------------------------------------------------
|
|
992
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
993
|
+
------------------------------------------------------------------------------------------------------
|
|
994
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
995
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
996
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
997
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
998
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
999
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
|
1000
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
|
1001
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "20ff98320b86f376d97a8f714d07f35030940cd97ebf0bbc6a1b4b8e352d4e74"], ["LIMIT", 1]]
|
|
1002
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
1003
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1004
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.4ms)
|
|
1005
|
+
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms)
|
|
1006
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1007
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1008
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1009
|
+
-----------------------------------------------------------
|
|
1010
|
+
PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
|
|
1011
|
+
-----------------------------------------------------------
|
|
1012
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1013
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1014
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1015
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1016
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1017
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1018
|
+
-----------------------------------------------------------
|
|
1019
|
+
PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
|
|
1020
|
+
-----------------------------------------------------------
|
|
1021
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1022
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1023
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1024
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1025
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1026
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1027
|
+
-----------------------------------------------------------
|
|
1028
|
+
PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
|
|
1029
|
+
-----------------------------------------------------------
|
|
1030
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1031
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1032
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1033
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1034
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1035
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1036
|
+
-----------------------------------------------------------
|
|
1037
|
+
PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
|
|
1038
|
+
-----------------------------------------------------------
|
|
1039
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1040
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1041
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1042
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1043
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1044
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1045
|
+
----------------------------------------------------------------------------
|
|
1046
|
+
AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
|
|
1047
|
+
----------------------------------------------------------------------------
|
|
1048
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1049
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1050
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1051
|
+
Started GET "/api/nodes" for 127.0.0.1 at 2017-01-30 11:08:43 +0000
|
|
1052
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
1053
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
|
1054
|
+
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
|
1055
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1056
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1057
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1058
|
+
----------------------------------------------------
|
|
1059
|
+
PushType::InvitationMethodsTest: test_0001_anonymous
|
|
1060
|
+
----------------------------------------------------
|
|
1061
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1062
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1063
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1064
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1065
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1066
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1067
|
+
---------------------------------------------------------------
|
|
1068
|
+
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
1069
|
+
---------------------------------------------------------------
|
|
1070
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1071
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1072
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1073
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1074
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1075
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1076
|
+
---------------------------------------------------------------
|
|
1077
|
+
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
1078
|
+
---------------------------------------------------------------
|
|
1079
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1080
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1081
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1082
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1083
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1084
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1085
|
+
-----------------------------------------------------------------------
|
|
1086
|
+
PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
|
1087
|
+
-----------------------------------------------------------------------
|
|
1088
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1089
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1090
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1091
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1092
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-13@example.com"], ["LIMIT", 1]]
|
|
1093
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-13@example.com"], ["LIMIT", 1]]
|
|
1094
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
1095
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1096
|
+
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
1097
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "8309edf5-ec76-454e-87a5-83b44a12ab05"], ["LIMIT", 1]]
|
|
1098
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
1099
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (5.2ms)
|
|
1100
|
+
Completed 200 OK in 21ms (Views: 16.9ms | ActiveRecord: 0.2ms)
|
|
1101
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1102
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1103
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1104
|
+
-----------------------------------------------------------------------
|
|
1105
|
+
PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
1106
|
+
-----------------------------------------------------------------------
|
|
1107
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1108
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1109
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1110
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1111
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
|
1112
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
|
1113
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
1114
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1115
|
+
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
1116
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "96101f14-7f39-48c0-94dc-282e0a8e547b"], ["LIMIT", 1]]
|
|
1117
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
1118
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
|
|
1119
|
+
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms)
|
|
1120
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1121
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1122
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1123
|
+
----------------------------------------------------------------------------------------------------
|
|
1124
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
|
1125
|
+
----------------------------------------------------------------------------------------------------
|
|
1126
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1127
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1128
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1129
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1130
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-15@example.com"], ["LIMIT", 1]]
|
|
1131
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-15@example.com"], ["LIMIT", 1]]
|
|
1132
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "KKEYKiBoAR9mcA7igu9x"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
1133
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1134
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1135
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
|
|
1136
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 37.7ms
|
|
1137
|
+
Sent mail to joe-15@example.com (3.5ms)
|
|
1138
|
+
Date: Mon, 30 Jan 2017 11:08:43 +0000
|
|
1139
|
+
From: pushtype@example.com
|
|
1140
|
+
Reply-To: pushtype@example.com
|
|
1141
|
+
To: joe-15@example.com
|
|
1142
|
+
Message-ID: <588f1ebbbcd99_75b23ff6f243f9d011138@Aarons-iMac.local.mail>
|
|
887
1143
|
Subject: [PushType] Confirm your account
|
|
888
1144
|
Mime-Version: 1.0
|
|
889
1145
|
Content-Type: multipart/alternative;
|
|
890
|
-
boundary="--==
|
|
1146
|
+
boundary="--==_mimepart_588f1ebbbc904_75b23ff6f243f9d0110d2";
|
|
891
1147
|
charset=UTF-8
|
|
892
1148
|
Content-Transfer-Encoding: 7bit
|
|
893
1149
|
|
|
894
1150
|
|
|
895
|
-
----==
|
|
1151
|
+
----==_mimepart_588f1ebbbc904_75b23ff6f243f9d0110d2
|
|
896
1152
|
Content-Type: text/plain;
|
|
897
1153
|
charset=UTF-8
|
|
898
1154
|
Content-Transfer-Encoding: 7bit
|
|
@@ -908,11 +1164,11 @@ To get started, confirm your account and set your own password by
|
|
|
908
1164
|
clicking the link below:
|
|
909
1165
|
|
|
910
1166
|
Confirm my account
|
|
911
|
-
( http://localhost:3000/admin/confirmation.
|
|
1167
|
+
( http://localhost:3000/admin/confirmation.78ae17ec-a9c5-4484-8b79-1742ce92057e?confirmation_token=KKEYKiBoAR9mcA7igu9x )
|
|
912
1168
|
|
|
913
1169
|
|
|
914
1170
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
915
|
-
----==
|
|
1171
|
+
----==_mimepart_588f1ebbbc904_75b23ff6f243f9d0110d2
|
|
916
1172
|
Content-Type: text/html;
|
|
917
1173
|
charset=UTF-8
|
|
918
1174
|
Content-Transfer-Encoding: 7bit
|
|
@@ -958,7 +1214,7 @@ body {
|
|
|
958
1214
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
959
1215
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
960
1216
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
961
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1217
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.78ae17ec-a9c5-4484-8b79-1742ce92057e?confirmation_token=KKEYKiBoAR9mcA7igu9x" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
962
1218
|
</td>
|
|
963
1219
|
</tr>
|
|
964
1220
|
</table>
|
|
@@ -1003,60 +1259,47 @@ body {
|
|
|
1003
1259
|
</body>
|
|
1004
1260
|
</html>
|
|
1005
1261
|
|
|
1006
|
-
----==
|
|
1262
|
+
----==_mimepart_588f1ebbbc904_75b23ff6f243f9d0110d2--
|
|
1007
1263
|
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
[1m[
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
---------------------------------------------------------------------------
|
|
1016
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1017
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1018
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1019
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1020
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1021
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1022
|
-
---------------------------------------------------------------------------
|
|
1023
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
1024
|
-
---------------------------------------------------------------------------
|
|
1025
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1026
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1027
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1264
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
1265
|
+
Parameters: {"confirmation_token"=>"KKEYKiBoAR9mcA7igu9x"}
|
|
1266
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "KKEYKiBoAR9mcA7igu9x"], ["LIMIT", 1]]
|
|
1267
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
1268
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
|
|
1269
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.3ms)
|
|
1270
|
+
Completed 200 OK in 19ms (Views: 14.4ms | ActiveRecord: 0.2ms)
|
|
1028
1271
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1029
1272
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1030
1273
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1031
|
-
|
|
1032
|
-
PushType::ConfirmationsControllerTest::
|
|
1033
|
-
|
|
1274
|
+
----------------------------------------------------------------------------------------------------
|
|
1275
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
|
1276
|
+
----------------------------------------------------------------------------------------------------
|
|
1034
1277
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1035
1278
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1036
|
-
[1m[35m (0.
|
|
1279
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1037
1280
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1038
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
|
1039
|
-
[1m[36mPushType::User Exists (0.
|
|
1040
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
|
1281
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-16@example.com"], ["LIMIT", 1]]
|
|
1282
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-16@example.com"], ["LIMIT", 1]]
|
|
1283
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "pxDUPyV8RJyxm7uePyxj"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
1041
1284
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1042
1285
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1043
1286
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1044
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1045
|
-
Sent mail to joe-
|
|
1046
|
-
Date:
|
|
1287
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
|
|
1288
|
+
Sent mail to joe-16@example.com (4.0ms)
|
|
1289
|
+
Date: Mon, 30 Jan 2017 11:08:43 +0000
|
|
1047
1290
|
From: pushtype@example.com
|
|
1048
1291
|
Reply-To: pushtype@example.com
|
|
1049
|
-
To: joe-
|
|
1050
|
-
Message-ID: <
|
|
1292
|
+
To: joe-16@example.com
|
|
1293
|
+
Message-ID: <588f1ebbcbf99_75b23ff6f243f9d011487@Aarons-iMac.local.mail>
|
|
1051
1294
|
Subject: [PushType] Confirm your account
|
|
1052
1295
|
Mime-Version: 1.0
|
|
1053
1296
|
Content-Type: multipart/alternative;
|
|
1054
|
-
boundary="--==
|
|
1297
|
+
boundary="--==_mimepart_588f1ebbcba8e_75b23ff6f243f9d011326";
|
|
1055
1298
|
charset=UTF-8
|
|
1056
1299
|
Content-Transfer-Encoding: 7bit
|
|
1057
1300
|
|
|
1058
1301
|
|
|
1059
|
-
----==
|
|
1302
|
+
----==_mimepart_588f1ebbcba8e_75b23ff6f243f9d011326
|
|
1060
1303
|
Content-Type: text/plain;
|
|
1061
1304
|
charset=UTF-8
|
|
1062
1305
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1072,11 +1315,11 @@ To get started, confirm your account and set your own password by
|
|
|
1072
1315
|
clicking the link below:
|
|
1073
1316
|
|
|
1074
1317
|
Confirm my account
|
|
1075
|
-
( http://localhost:3000/admin/confirmation.
|
|
1318
|
+
( http://localhost:3000/admin/confirmation.455f934f-8e48-41ff-a603-290b8fe3d65f?confirmation_token=pxDUPyV8RJyxm7uePyxj )
|
|
1076
1319
|
|
|
1077
1320
|
|
|
1078
1321
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1079
|
-
----==
|
|
1322
|
+
----==_mimepart_588f1ebbcba8e_75b23ff6f243f9d011326
|
|
1080
1323
|
Content-Type: text/html;
|
|
1081
1324
|
charset=UTF-8
|
|
1082
1325
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1122,7 +1365,7 @@ body {
|
|
|
1122
1365
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1123
1366
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1124
1367
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
1125
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1368
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.455f934f-8e48-41ff-a603-290b8fe3d65f?confirmation_token=pxDUPyV8RJyxm7uePyxj" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1126
1369
|
</td>
|
|
1127
1370
|
</tr>
|
|
1128
1371
|
</table>
|
|
@@ -1167,48 +1410,74 @@ body {
|
|
|
1167
1410
|
</body>
|
|
1168
1411
|
</html>
|
|
1169
1412
|
|
|
1170
|
-
----==
|
|
1413
|
+
----==_mimepart_588f1ebbcba8e_75b23ff6f243f9d011326--
|
|
1171
1414
|
|
|
1172
|
-
Processing by PushType::ConfirmationsController#
|
|
1173
|
-
Parameters: {"
|
|
1174
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "
|
|
1175
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-7@example.com"], ["id", "a7839c70-b5ed-4b19-be07-6f8d18c66888"], ["LIMIT", 1]]
|
|
1415
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
1416
|
+
Parameters: {"confirmation_token"=>"pxDUPyV8RJyxm7uePyxj"}
|
|
1417
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "pxDUPyV8RJyxm7uePyxj"], ["LIMIT", 1]]
|
|
1176
1418
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
1177
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (
|
|
1178
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (
|
|
1179
|
-
Completed 200 OK in
|
|
1419
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1420
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
|
|
1421
|
+
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)
|
|
1422
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1423
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1424
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1425
|
+
----------------------------------------------------------------
|
|
1426
|
+
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
1427
|
+
----------------------------------------------------------------
|
|
1428
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1429
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1430
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1431
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1432
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1433
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1434
|
+
---------------------------------------------------------------------------
|
|
1435
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
1436
|
+
---------------------------------------------------------------------------
|
|
1437
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1438
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1439
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1440
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1441
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1442
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1443
|
+
---------------------------------------------------------------------------
|
|
1444
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
|
1445
|
+
---------------------------------------------------------------------------
|
|
1446
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1447
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1448
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1180
1449
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1181
1450
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1182
1451
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1183
1452
|
------------------------------------------------------------------------------------------
|
|
1184
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user:
|
|
1453
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
1185
1454
|
------------------------------------------------------------------------------------------
|
|
1186
1455
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1187
1456
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1188
1457
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1189
1458
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1190
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
|
1191
|
-
[1m[36mPushType::User Exists (0.
|
|
1192
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
|
1459
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-17@example.com"], ["LIMIT", 1]]
|
|
1460
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-17@example.com"], ["LIMIT", 1]]
|
|
1461
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "wT_spS1brBWRLhzcfS7q"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
1193
1462
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1194
1463
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1195
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1196
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1197
|
-
Sent mail to joe-
|
|
1198
|
-
Date:
|
|
1464
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
|
|
1465
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
|
1466
|
+
Sent mail to joe-17@example.com (4.0ms)
|
|
1467
|
+
Date: Mon, 30 Jan 2017 11:08:43 +0000
|
|
1199
1468
|
From: pushtype@example.com
|
|
1200
1469
|
Reply-To: pushtype@example.com
|
|
1201
|
-
To: joe-
|
|
1202
|
-
Message-ID: <
|
|
1470
|
+
To: joe-17@example.com
|
|
1471
|
+
Message-ID: <588f1ebbdbc13_75b23ff6f243f9d0117dc@Aarons-iMac.local.mail>
|
|
1203
1472
|
Subject: [PushType] Confirm your account
|
|
1204
1473
|
Mime-Version: 1.0
|
|
1205
1474
|
Content-Type: multipart/alternative;
|
|
1206
|
-
boundary="--==
|
|
1475
|
+
boundary="--==_mimepart_588f1ebbdb6c9_75b23ff6f243f9d011654";
|
|
1207
1476
|
charset=UTF-8
|
|
1208
1477
|
Content-Transfer-Encoding: 7bit
|
|
1209
1478
|
|
|
1210
1479
|
|
|
1211
|
-
----==
|
|
1480
|
+
----==_mimepart_588f1ebbdb6c9_75b23ff6f243f9d011654
|
|
1212
1481
|
Content-Type: text/plain;
|
|
1213
1482
|
charset=UTF-8
|
|
1214
1483
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1224,11 +1493,11 @@ To get started, confirm your account and set your own password by
|
|
|
1224
1493
|
clicking the link below:
|
|
1225
1494
|
|
|
1226
1495
|
Confirm my account
|
|
1227
|
-
( http://localhost:3000/admin/confirmation.
|
|
1496
|
+
( http://localhost:3000/admin/confirmation.38770a5f-d8dd-4229-8d1e-f3115b9b78f0?confirmation_token=wT_spS1brBWRLhzcfS7q )
|
|
1228
1497
|
|
|
1229
1498
|
|
|
1230
1499
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1231
|
-
----==
|
|
1500
|
+
----==_mimepart_588f1ebbdb6c9_75b23ff6f243f9d011654
|
|
1232
1501
|
Content-Type: text/html;
|
|
1233
1502
|
charset=UTF-8
|
|
1234
1503
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1274,7 +1543,7 @@ body {
|
|
|
1274
1543
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1275
1544
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1276
1545
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
1277
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1546
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.38770a5f-d8dd-4229-8d1e-f3115b9b78f0?confirmation_token=wT_spS1brBWRLhzcfS7q" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1278
1547
|
</td>
|
|
1279
1548
|
</tr>
|
|
1280
1549
|
</table>
|
|
@@ -1319,48 +1588,48 @@ body {
|
|
|
1319
1588
|
</body>
|
|
1320
1589
|
</html>
|
|
1321
1590
|
|
|
1322
|
-
----==
|
|
1591
|
+
----==_mimepart_588f1ebbdb6c9_75b23ff6f243f9d011654--
|
|
1323
1592
|
|
|
1324
1593
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
1325
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
1326
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "
|
|
1327
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-
|
|
1594
|
+
Parameters: {"user"=>{"confirmation_token"=>"wT_spS1brBWRLhzcfS7q", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
1595
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "wT_spS1brBWRLhzcfS7q"], ["LIMIT", 1]]
|
|
1596
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-17@example.com"], ["id", "38770a5f-d8dd-4229-8d1e-f3115b9b78f0"], ["LIMIT", 1]]
|
|
1328
1597
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
1329
1598
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1330
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (
|
|
1331
|
-
Completed 200 OK in
|
|
1599
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.1ms)
|
|
1600
|
+
Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.4ms)
|
|
1332
1601
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1333
1602
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1334
1603
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1335
1604
|
------------------------------------------------------------------------------------------
|
|
1336
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user:
|
|
1605
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
|
1337
1606
|
------------------------------------------------------------------------------------------
|
|
1338
1607
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1339
|
-
[1m[35m (0.
|
|
1340
|
-
[1m[35m (0.
|
|
1608
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1609
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1341
1610
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1342
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
|
1343
|
-
[1m[36mPushType::User Exists (0.
|
|
1344
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
|
1611
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-18@example.com"], ["LIMIT", 1]]
|
|
1612
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-18@example.com"], ["LIMIT", 1]]
|
|
1613
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "rvPSGPZKkBNbryUmiF4i"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
1345
1614
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1346
1615
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1347
1616
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1348
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1349
|
-
Sent mail to joe-
|
|
1350
|
-
Date:
|
|
1617
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
|
|
1618
|
+
Sent mail to joe-18@example.com (4.0ms)
|
|
1619
|
+
Date: Mon, 30 Jan 2017 11:08:43 +0000
|
|
1351
1620
|
From: pushtype@example.com
|
|
1352
1621
|
Reply-To: pushtype@example.com
|
|
1353
|
-
To: joe-
|
|
1354
|
-
Message-ID: <
|
|
1622
|
+
To: joe-18@example.com
|
|
1623
|
+
Message-ID: <588f1ebbeb65a_75b23ff6f243f9d0120c1@Aarons-iMac.local.mail>
|
|
1355
1624
|
Subject: [PushType] Confirm your account
|
|
1356
1625
|
Mime-Version: 1.0
|
|
1357
1626
|
Content-Type: multipart/alternative;
|
|
1358
|
-
boundary="--==
|
|
1627
|
+
boundary="--==_mimepart_588f1ebbeb120_75b23ff6f243f9d011992";
|
|
1359
1628
|
charset=UTF-8
|
|
1360
1629
|
Content-Transfer-Encoding: 7bit
|
|
1361
1630
|
|
|
1362
1631
|
|
|
1363
|
-
----==
|
|
1632
|
+
----==_mimepart_588f1ebbeb120_75b23ff6f243f9d011992
|
|
1364
1633
|
Content-Type: text/plain;
|
|
1365
1634
|
charset=UTF-8
|
|
1366
1635
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1376,11 +1645,11 @@ To get started, confirm your account and set your own password by
|
|
|
1376
1645
|
clicking the link below:
|
|
1377
1646
|
|
|
1378
1647
|
Confirm my account
|
|
1379
|
-
( http://localhost:3000/admin/confirmation.
|
|
1648
|
+
( http://localhost:3000/admin/confirmation.72177d7c-84e9-4963-8070-dfb723d245a2?confirmation_token=rvPSGPZKkBNbryUmiF4i )
|
|
1380
1649
|
|
|
1381
1650
|
|
|
1382
1651
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1383
|
-
----==
|
|
1652
|
+
----==_mimepart_588f1ebbeb120_75b23ff6f243f9d011992
|
|
1384
1653
|
Content-Type: text/html;
|
|
1385
1654
|
charset=UTF-8
|
|
1386
1655
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1426,7 +1695,7 @@ body {
|
|
|
1426
1695
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1427
1696
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1428
1697
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
1429
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1698
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.72177d7c-84e9-4963-8070-dfb723d245a2?confirmation_token=rvPSGPZKkBNbryUmiF4i" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1430
1699
|
</td>
|
|
1431
1700
|
</tr>
|
|
1432
1701
|
</table>
|
|
@@ -1471,107 +1740,48 @@ body {
|
|
|
1471
1740
|
</body>
|
|
1472
1741
|
</html>
|
|
1473
1742
|
|
|
1474
|
-
----==
|
|
1743
|
+
----==_mimepart_588f1ebbeb120_75b23ff6f243f9d011992--
|
|
1475
1744
|
|
|
1476
1745
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
1477
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
1478
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "
|
|
1479
|
-
[1m[36mPushType::User Exists (0.
|
|
1746
|
+
Parameters: {"user"=>{"confirmation_token"=>"rvPSGPZKkBNbryUmiF4i", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
1747
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "rvPSGPZKkBNbryUmiF4i"], ["LIMIT", 1]]
|
|
1748
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-18@example.com"], ["id", "72177d7c-84e9-4963-8070-dfb723d245a2"], ["LIMIT", 1]]
|
|
1480
1749
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
1481
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.
|
|
1482
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (
|
|
1483
|
-
Completed 200 OK in 10ms (Views:
|
|
1484
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1485
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1486
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1487
|
-
-------------------------------------------------------------
|
|
1488
|
-
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
|
1489
|
-
-------------------------------------------------------------
|
|
1490
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1491
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1492
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1750
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1751
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
|
|
1752
|
+
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.4ms)
|
|
1493
1753
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1494
1754
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1495
1755
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1500
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1501
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1502
|
-
Started GET "/admin/nodes" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
|
|
1503
|
-
Processing by PushType::Admin::NodesController#index as HTML
|
|
1504
|
-
Redirected to http://www.example.com/admin/sign_in
|
|
1505
|
-
Filter chain halted as :authenticate_user! rendered or redirected
|
|
1506
|
-
Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
|
|
1507
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1508
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1509
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1510
|
-
------------------------------------------------------------------------------------------------------
|
|
1511
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
1512
|
-
------------------------------------------------------------------------------------------------------
|
|
1756
|
+
------------------------------------------------------------------------------------------
|
|
1757
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
1758
|
+
------------------------------------------------------------------------------------------
|
|
1513
1759
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1514
1760
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1515
1761
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1516
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
1517
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
1518
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
|
1519
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
|
1520
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "863f4ab1ee10fcbe5942bfe44acb7deea150ed84c24f09579fbc18ddd3670130"], ["LIMIT", 1]]
|
|
1521
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
1522
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.3ms)
|
|
1523
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (7.6ms)
|
|
1524
|
-
Completed 200 OK in 208ms (Views: 32.4ms | ActiveRecord: 0.6ms)
|
|
1525
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1526
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1527
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1528
|
-
------------------------------------------------------------------------------------------------------
|
|
1529
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
1530
|
-
------------------------------------------------------------------------------------------------------
|
|
1531
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1532
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1533
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1534
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
1535
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
1536
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
|
1537
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
|
1538
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "863f4ab1ee10fcbe5942bfe44acb7deea150ed84c24f09579fbc18ddd3670130"], ["LIMIT", 1]]
|
|
1539
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
1540
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1541
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
|
|
1542
|
-
Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.4ms)
|
|
1543
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1544
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1545
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1546
|
-
----------------------------------------------------------------------------------------
|
|
1547
|
-
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
1548
|
-
----------------------------------------------------------------------------------------
|
|
1549
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1550
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1551
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1552
1762
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1553
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
|
1554
|
-
[1m[36mPushType::User Exists (0.
|
|
1555
|
-
[1m[35mSQL (0.
|
|
1763
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-19@example.com"], ["LIMIT", 1]]
|
|
1764
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-19@example.com"], ["LIMIT", 1]]
|
|
1765
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "QysrcBnRbbJNvTwx2p3F"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
|
|
1556
1766
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1557
1767
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1558
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1559
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1560
|
-
Sent mail to joe-
|
|
1561
|
-
Date:
|
|
1768
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
|
|
1769
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.2ms
|
|
1770
|
+
Sent mail to joe-19@example.com (4.0ms)
|
|
1771
|
+
Date: Mon, 30 Jan 2017 11:08:44 +0000
|
|
1562
1772
|
From: pushtype@example.com
|
|
1563
1773
|
Reply-To: pushtype@example.com
|
|
1564
|
-
To: joe-
|
|
1565
|
-
Message-ID: <
|
|
1774
|
+
To: joe-19@example.com
|
|
1775
|
+
Message-ID: <588f1ebc58cd_75b23ff6f243f9d012312@Aarons-iMac.local.mail>
|
|
1566
1776
|
Subject: [PushType] Confirm your account
|
|
1567
1777
|
Mime-Version: 1.0
|
|
1568
1778
|
Content-Type: multipart/alternative;
|
|
1569
|
-
boundary="--==
|
|
1779
|
+
boundary="--==_mimepart_588f1ebc53c4_75b23ff6f243f9d01223c";
|
|
1570
1780
|
charset=UTF-8
|
|
1571
1781
|
Content-Transfer-Encoding: 7bit
|
|
1572
1782
|
|
|
1573
1783
|
|
|
1574
|
-
----==
|
|
1784
|
+
----==_mimepart_588f1ebc53c4_75b23ff6f243f9d01223c
|
|
1575
1785
|
Content-Type: text/plain;
|
|
1576
1786
|
charset=UTF-8
|
|
1577
1787
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1587,11 +1797,11 @@ To get started, confirm your account and set your own password by
|
|
|
1587
1797
|
clicking the link below:
|
|
1588
1798
|
|
|
1589
1799
|
Confirm my account
|
|
1590
|
-
( http://localhost:3000/admin/confirmation.
|
|
1800
|
+
( http://localhost:3000/admin/confirmation.22523903-ca39-4a95-9111-c2cde67295c6?confirmation_token=QysrcBnRbbJNvTwx2p3F )
|
|
1591
1801
|
|
|
1592
1802
|
|
|
1593
1803
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1594
|
-
----==
|
|
1804
|
+
----==_mimepart_588f1ebc53c4_75b23ff6f243f9d01223c
|
|
1595
1805
|
Content-Type: text/html;
|
|
1596
1806
|
charset=UTF-8
|
|
1597
1807
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1637,7 +1847,7 @@ body {
|
|
|
1637
1847
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1638
1848
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1639
1849
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
1640
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1850
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.22523903-ca39-4a95-9111-c2cde67295c6?confirmation_token=QysrcBnRbbJNvTwx2p3F" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1641
1851
|
</td>
|
|
1642
1852
|
</tr>
|
|
1643
1853
|
</table>
|
|
@@ -1682,53 +1892,67 @@ body {
|
|
|
1682
1892
|
</body>
|
|
1683
1893
|
</html>
|
|
1684
1894
|
|
|
1685
|
-
----==
|
|
1895
|
+
----==_mimepart_588f1ebc53c4_75b23ff6f243f9d01223c--
|
|
1686
1896
|
|
|
1687
1897
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
1688
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
1689
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "
|
|
1690
|
-
[1m[36mPushType::User Exists (0.
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-12-21 15:11:52 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 15:11:52 UTC], ["last_sign_in_at", 2016-12-21 15:11:52 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "d7fb6762-b4be-469b-a8a7-81ff34d61954"]]
|
|
1696
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1697
|
-
Redirected to http://test.host/admin/
|
|
1698
|
-
Completed 302 Found in 35ms (ActiveRecord: 1.3ms)
|
|
1699
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2[0m [["id", "d7fb6762-b4be-469b-a8a7-81ff34d61954"], ["LIMIT", 1]]
|
|
1898
|
+
Parameters: {"user"=>{"confirmation_token"=>"QysrcBnRbbJNvTwx2p3F", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
1899
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "QysrcBnRbbJNvTwx2p3F"], ["LIMIT", 1]]
|
|
1900
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-19@example.com"], ["id", "22523903-ca39-4a95-9111-c2cde67295c6"], ["LIMIT", 1]]
|
|
1901
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
1902
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1903
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
|
|
1904
|
+
Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.4ms)
|
|
1700
1905
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1701
1906
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1702
1907
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
[1m[35m (0.
|
|
1908
|
+
-------------------------------------------------------------------------
|
|
1909
|
+
AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
|
|
1910
|
+
-------------------------------------------------------------------------
|
|
1911
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1707
1912
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1708
1913
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1914
|
+
Started GET "/admin/nodes" for 127.0.0.1 at 2017-01-30 11:08:44 +0000
|
|
1915
|
+
Processing by PushType::Admin::NodesController#index as HTML
|
|
1916
|
+
Redirected to http://www.example.com/admin/sign_in
|
|
1917
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
|
1918
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1919
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1920
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1921
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1922
|
+
----------------------------------------------------------------------
|
|
1923
|
+
PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
|
|
1924
|
+
----------------------------------------------------------------------
|
|
1925
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1926
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1927
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1928
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1929
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-20@example.com"], ["LIMIT", 1]]
|
|
1930
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-20@example.com"], ["LIMIT", 1]]
|
|
1931
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:44 UTC], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
|
|
1932
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1709
1933
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1710
|
-
[1m[36mPushType::User Exists (0.
|
|
1711
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
|
1712
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
|
1934
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-21@example.com"], ["LIMIT", 1]]
|
|
1935
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-21@example.com"], ["LIMIT", 1]]
|
|
1936
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "xjF6pqdhZEP7JXkNpuPc"], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
|
|
1713
1937
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1714
1938
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1715
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1716
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1717
|
-
Sent mail to joe-
|
|
1718
|
-
Date:
|
|
1939
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
|
|
1940
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 38.2ms
|
|
1941
|
+
Sent mail to joe-21@example.com (3.9ms)
|
|
1942
|
+
Date: Mon, 30 Jan 2017 11:08:44 +0000
|
|
1719
1943
|
From: pushtype@example.com
|
|
1720
1944
|
Reply-To: pushtype@example.com
|
|
1721
|
-
To: joe-
|
|
1722
|
-
Message-ID: <
|
|
1945
|
+
To: joe-21@example.com
|
|
1946
|
+
Message-ID: <588f1ebc1df98_75b23ff6f243f9d0126ba@Aarons-iMac.local.mail>
|
|
1723
1947
|
Subject: [PushType] Confirm your account
|
|
1724
1948
|
Mime-Version: 1.0
|
|
1725
1949
|
Content-Type: multipart/alternative;
|
|
1726
|
-
boundary="--==
|
|
1950
|
+
boundary="--==_mimepart_588f1ebc1dad2_75b23ff6f243f9d01252b";
|
|
1727
1951
|
charset=UTF-8
|
|
1728
1952
|
Content-Transfer-Encoding: 7bit
|
|
1729
1953
|
|
|
1730
1954
|
|
|
1731
|
-
----==
|
|
1955
|
+
----==_mimepart_588f1ebc1dad2_75b23ff6f243f9d01252b
|
|
1732
1956
|
Content-Type: text/plain;
|
|
1733
1957
|
charset=UTF-8
|
|
1734
1958
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1744,11 +1968,11 @@ To get started, confirm your account and set your own password by
|
|
|
1744
1968
|
clicking the link below:
|
|
1745
1969
|
|
|
1746
1970
|
Confirm my account
|
|
1747
|
-
( http://localhost:3000/admin/confirmation.
|
|
1971
|
+
( http://localhost:3000/admin/confirmation.7942f440-3b77-4972-a93a-87ebdb53f08f?confirmation_token=xjF6pqdhZEP7JXkNpuPc )
|
|
1748
1972
|
|
|
1749
1973
|
|
|
1750
1974
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1751
|
-
----==
|
|
1975
|
+
----==_mimepart_588f1ebc1dad2_75b23ff6f243f9d01252b
|
|
1752
1976
|
Content-Type: text/html;
|
|
1753
1977
|
charset=UTF-8
|
|
1754
1978
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1794,7 +2018,7 @@ body {
|
|
|
1794
2018
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1795
2019
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1796
2020
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
1797
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2021
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.7942f440-3b77-4972-a93a-87ebdb53f08f?confirmation_token=xjF6pqdhZEP7JXkNpuPc" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1798
2022
|
</td>
|
|
1799
2023
|
</tr>
|
|
1800
2024
|
</table>
|
|
@@ -1839,129 +2063,32 @@ body {
|
|
|
1839
2063
|
</body>
|
|
1840
2064
|
</html>
|
|
1841
2065
|
|
|
1842
|
-
----==
|
|
2066
|
+
----==_mimepart_588f1ebc1dad2_75b23ff6f243f9d01252b--
|
|
1843
2067
|
|
|
1844
|
-
Processing by PushType::
|
|
1845
|
-
Parameters: {"
|
|
1846
|
-
[1m[36mPushType::User Load (0.
|
|
1847
|
-
[1m[36mPushType::User
|
|
1848
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1849
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$AOzKawJSjH0jFkMEstqBqe8OyQPaKbJkbT6AMRFDzPHtUYXgktiC."], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "30337260-8f7a-467e-8563-476d89cea313"]]
|
|
1850
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1851
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1852
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-12-21 15:11:52 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 15:11:52 UTC], ["last_sign_in_at", 2016-12-21 15:11:52 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "30337260-8f7a-467e-8563-476d89cea313"]]
|
|
1853
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1854
|
-
Redirected to http://test.host/admin/
|
|
1855
|
-
Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
|
|
1856
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1857
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1858
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1859
|
-
-----------------------------------------------------------
|
|
1860
|
-
PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
|
|
1861
|
-
-----------------------------------------------------------
|
|
1862
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1863
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1864
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1865
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1866
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1867
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1868
|
-
-----------------------------------------------------------
|
|
1869
|
-
PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
|
|
1870
|
-
-----------------------------------------------------------
|
|
1871
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1872
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1873
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1874
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1875
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1876
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1877
|
-
-----------------------------------------------------------
|
|
1878
|
-
PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
|
|
1879
|
-
-----------------------------------------------------------
|
|
1880
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1881
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1882
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1883
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1884
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1885
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1886
|
-
-----------------------------------------------------------
|
|
1887
|
-
PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
|
|
1888
|
-
-----------------------------------------------------------
|
|
1889
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1890
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1891
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1892
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1893
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1894
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1895
|
-
---------------------------------------------------------------
|
|
1896
|
-
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
1897
|
-
---------------------------------------------------------------
|
|
1898
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1899
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1900
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1901
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1902
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1903
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1904
|
-
---------------------------------------------------------------
|
|
1905
|
-
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
1906
|
-
---------------------------------------------------------------
|
|
1907
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1908
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1909
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1910
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1911
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1912
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1913
|
-
-----------------------------------------------------------------------------------
|
|
1914
|
-
AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
|
|
1915
|
-
-----------------------------------------------------------------------------------
|
|
1916
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1917
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1918
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1919
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1920
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-12@example.com"], ["LIMIT", 1]]
|
|
1921
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-12@example.com"], ["LIMIT", 1]]
|
|
1922
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
1923
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1924
|
-
Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODI0MTk1MTIsInN1YiI6IjE3YWZkNmRhLWE4N2ItNDZlMS1iYzhhLTU4NjEyZWIzMmYxMSJ9.djKW7wHkFxMI-iTOwMCT4tZHpvU72RAdZ8ZySBeATxA" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
|
|
1925
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
1926
|
-
Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODI0MTk1MTIsInN1YiI6IjE3YWZkNmRhLWE4N2ItNDZlMS1iYzhhLTU4NjEyZWIzMmYxMSJ9.djKW7wHkFxMI-iTOwMCT4tZHpvU72RAdZ8ZySBeATxA"}
|
|
1927
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "17afd6da-a87b-46e1-bc8a-58612eb32f11"], ["LIMIT", 1]]
|
|
1928
|
-
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
1929
|
-
[1m[36mPushType::Node Load (0.6ms)[0m [1m[34mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
1930
|
-
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
1931
|
-
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (8.7ms)
|
|
1932
|
-
Completed 200 OK in 50ms (Views: 38.6ms | ActiveRecord: 0.9ms)
|
|
1933
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1934
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1935
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1936
|
-
--------------------------------------------------------------------------------------------------------------
|
|
1937
|
-
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
|
1938
|
-
--------------------------------------------------------------------------------------------------------------
|
|
1939
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1940
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1941
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2068
|
+
Processing by PushType::Admin::UsersController#invite as HTML
|
|
2069
|
+
Parameters: {"id"=>"7942f440-3b77-4972-a93a-87ebdb53f08f"}
|
|
2070
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "453e45e5-a9d7-45fe-a179-afc0a8635599"], ["LIMIT", 1]]
|
|
2071
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "7942f440-3b77-4972-a93a-87ebdb53f08f"], ["LIMIT", 1]]
|
|
1942
2072
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1943
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-13@example.com"], ["LIMIT", 1]]
|
|
1944
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-13@example.com"], ["LIMIT", 1]]
|
|
1945
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "qs6x91y-gED2Vn9zZzmU"], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
1946
2073
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1947
2074
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1948
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1949
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1950
|
-
Sent mail to joe-
|
|
1951
|
-
Date:
|
|
2075
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2076
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
|
|
2077
|
+
Sent mail to joe-21@example.com (3.8ms)
|
|
2078
|
+
Date: Mon, 30 Jan 2017 11:08:44 +0000
|
|
1952
2079
|
From: pushtype@example.com
|
|
1953
2080
|
Reply-To: pushtype@example.com
|
|
1954
|
-
To: joe-
|
|
1955
|
-
Message-ID: <
|
|
2081
|
+
To: joe-21@example.com
|
|
2082
|
+
Message-ID: <588f1ebc29ed8_75b23ff6f243f9d0129e5@Aarons-iMac.local.mail>
|
|
1956
2083
|
Subject: [PushType] Confirm your account
|
|
1957
2084
|
Mime-Version: 1.0
|
|
1958
2085
|
Content-Type: multipart/alternative;
|
|
1959
|
-
boundary="--==
|
|
2086
|
+
boundary="--==_mimepart_588f1ebc299d2_75b23ff6f243f9d012897";
|
|
1960
2087
|
charset=UTF-8
|
|
1961
2088
|
Content-Transfer-Encoding: 7bit
|
|
1962
2089
|
|
|
1963
2090
|
|
|
1964
|
-
----==
|
|
2091
|
+
----==_mimepart_588f1ebc299d2_75b23ff6f243f9d012897
|
|
1965
2092
|
Content-Type: text/plain;
|
|
1966
2093
|
charset=UTF-8
|
|
1967
2094
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1977,11 +2104,11 @@ To get started, confirm your account and set your own password by
|
|
|
1977
2104
|
clicking the link below:
|
|
1978
2105
|
|
|
1979
2106
|
Confirm my account
|
|
1980
|
-
( http://localhost:3000/admin/confirmation.
|
|
2107
|
+
( http://localhost:3000/admin/confirmation.7942f440-3b77-4972-a93a-87ebdb53f08f?confirmation_token=xjF6pqdhZEP7JXkNpuPc )
|
|
1981
2108
|
|
|
1982
2109
|
|
|
1983
2110
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1984
|
-
----==
|
|
2111
|
+
----==_mimepart_588f1ebc299d2_75b23ff6f243f9d012897
|
|
1985
2112
|
Content-Type: text/html;
|
|
1986
2113
|
charset=UTF-8
|
|
1987
2114
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2027,7 +2154,7 @@ body {
|
|
|
2027
2154
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2028
2155
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2029
2156
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
2030
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2157
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.7942f440-3b77-4972-a93a-87ebdb53f08f?confirmation_token=xjF6pqdhZEP7JXkNpuPc" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2031
2158
|
</td>
|
|
2032
2159
|
</tr>
|
|
2033
2160
|
</table>
|
|
@@ -2072,246 +2199,47 @@ body {
|
|
|
2072
2199
|
</body>
|
|
2073
2200
|
</html>
|
|
2074
2201
|
|
|
2075
|
-
----==
|
|
2202
|
+
----==_mimepart_588f1ebc299d2_75b23ff6f243f9d012897--
|
|
2076
2203
|
|
|
2204
|
+
Redirected to http://test.host/push_type/users
|
|
2205
|
+
Completed 302 Found in 48ms (ActiveRecord: 0.5ms)
|
|
2077
2206
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2078
2207
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2079
2208
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2080
|
-
|
|
2081
|
-
PushType::
|
|
2082
|
-
|
|
2083
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2084
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2085
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2086
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2087
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2088
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2089
|
-
----------------------------------------------------------------
|
|
2090
|
-
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
2091
|
-
----------------------------------------------------------------
|
|
2092
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2093
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2094
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2095
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2096
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2097
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2098
|
-
-----------------------------------------------------------------------
|
|
2099
|
-
AuthenticatedControllerTest::authenticated request: test_0001_anonymous
|
|
2100
|
-
-----------------------------------------------------------------------
|
|
2101
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2102
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2103
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2104
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2105
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
|
2106
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
|
2107
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "encrypted_password", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["encrypted_password", "$2a$04$alSiem1XocMZFyAjSiVspOAhuC16OsC8e2LXOS6pF8uqFMkJ8cmBS"], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
2108
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2109
|
-
Started POST "/admin/sign_in" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
|
|
2110
|
-
Processing by PushType::SessionsController#create as HTML
|
|
2111
|
-
Parameters: {"user"=>{"email"=>"joe-14@example.com", "password"=>"[FILTERED]"}}
|
|
2112
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
|
2113
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2114
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7[0m [["current_sign_in_at", 2016-12-21 15:11:52 UTC], ["last_sign_in_at", 2016-12-21 15:11:52 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "aeca0a7e-2c52-4841-8664-f02d54800c94"]]
|
|
2115
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2116
|
-
Redirected to http://www.example.com/admin/
|
|
2117
|
-
Completed 302 Found in 48ms (ActiveRecord: 0.8ms)
|
|
2118
|
-
Started GET "/admin/nodes" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
|
|
2119
|
-
Processing by PushType::Admin::NodesController#index as HTML
|
|
2120
|
-
[1m[36mPushType::User Load (0.4ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "aeca0a7e-2c52-4841-8664-f02d54800c94"], ["LIMIT", 1]]
|
|
2121
|
-
Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
|
|
2122
|
-
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2) subquery_for_count[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
2123
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL[0m
|
|
2124
|
-
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.2ms)
|
|
2125
|
-
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (23.2ms)
|
|
2126
|
-
Completed 200 OK in 44ms (Views: 35.6ms | ActiveRecord: 0.9ms)
|
|
2127
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2128
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2129
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
2130
|
-
--------------------------------------------------------------------------------------------
|
|
2131
|
-
AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
|
|
2132
|
-
--------------------------------------------------------------------------------------------
|
|
2133
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2134
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2135
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2136
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2137
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-15@example.com"], ["LIMIT", 1]]
|
|
2138
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-15@example.com"], ["LIMIT", 1]]
|
|
2139
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
2140
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2141
|
-
Started GET "/api/nodes" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
|
|
2142
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
2143
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "9bd310a5-c4e9-4141-bb81-e821efdf995f"], ["LIMIT", 1]]
|
|
2144
|
-
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
2145
|
-
[1m[36mPushType::Node Load (0.3ms)[0m [1m[34mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
2146
|
-
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
2147
|
-
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (4.1ms)
|
|
2148
|
-
Completed 200 OK in 53ms (Views: 43.0ms | ActiveRecord: 0.6ms)
|
|
2149
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2150
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2151
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2152
|
-
--------------------------------------------------------
|
|
2153
|
-
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
2154
|
-
--------------------------------------------------------
|
|
2155
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2156
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2157
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2158
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2159
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2160
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2161
|
-
--------------------------------------------------------
|
|
2162
|
-
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
2163
|
-
--------------------------------------------------------
|
|
2164
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2165
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2166
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2167
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2168
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2169
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2170
|
-
--------------------------------------------------------------------------------------------
|
|
2171
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
2172
|
-
--------------------------------------------------------------------------------------------
|
|
2173
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2174
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2175
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2176
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2177
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-16@example.com"], ["LIMIT", 1]]
|
|
2178
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-16@example.com"], ["LIMIT", 1]]
|
|
2179
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
2180
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2181
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2182
|
-
Parameters: {"user"=>{"name"=>""}}
|
|
2183
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "099dc6cf-b380-431f-a3b9-358edb948580"], ["LIMIT", 1]]
|
|
2184
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2185
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-16@example.com"], ["id", "099dc6cf-b380-431f-a3b9-358edb948580"], ["LIMIT", 1]]
|
|
2186
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
2187
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
2188
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (8.4ms)
|
|
2189
|
-
Completed 200 OK in 45ms (Views: 40.1ms | ActiveRecord: 0.6ms)
|
|
2190
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2191
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2192
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2193
|
-
--------------------------------------------------------------------------------------------
|
|
2194
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
2195
|
-
--------------------------------------------------------------------------------------------
|
|
2196
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2197
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2198
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2199
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2200
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-17@example.com"], ["LIMIT", 1]]
|
|
2201
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-17@example.com"], ["LIMIT", 1]]
|
|
2202
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
2203
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2204
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2205
|
-
Parameters: {"user"=>{"name"=>""}}
|
|
2206
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "814659b4-7d5a-4c6c-b8a9-56378b33420b"], ["LIMIT", 1]]
|
|
2207
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2208
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-17@example.com"], ["id", "814659b4-7d5a-4c6c-b8a9-56378b33420b"], ["LIMIT", 1]]
|
|
2209
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
2210
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
2211
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
|
2212
|
-
Completed 200 OK in 17ms (Views: 10.7ms | ActiveRecord: 0.8ms)
|
|
2213
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2214
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2215
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2216
|
-
------------------------------------------------------------------------------------------
|
|
2217
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
2218
|
-
------------------------------------------------------------------------------------------
|
|
2219
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2220
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2221
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2222
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2223
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-18@example.com"], ["LIMIT", 1]]
|
|
2224
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-18@example.com"], ["LIMIT", 1]]
|
|
2225
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
2226
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2227
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2228
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2229
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "0b20f70b-e425-4a55-b8cc-513d759ef810"], ["LIMIT", 1]]
|
|
2230
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2231
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-18@example.com"], ["id", "0b20f70b-e425-4a55-b8cc-513d759ef810"], ["LIMIT", 1]]
|
|
2232
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "0b20f70b-e425-4a55-b8cc-513d759ef810"]]
|
|
2233
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2234
|
-
Redirected to http://test.host/admin/profile/edit
|
|
2235
|
-
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
|
2236
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2[0m [["id", "0b20f70b-e425-4a55-b8cc-513d759ef810"], ["LIMIT", 1]]
|
|
2237
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2238
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2239
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2240
|
-
------------------------------------------------------------------------------------------
|
|
2241
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
|
2242
|
-
------------------------------------------------------------------------------------------
|
|
2243
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2244
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2245
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2246
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2247
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-19@example.com"], ["LIMIT", 1]]
|
|
2248
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-19@example.com"], ["LIMIT", 1]]
|
|
2249
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
2250
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2251
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2252
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2253
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "f9a4d0e7-0fc3-4d09-a7d1-5eaac2432984"], ["LIMIT", 1]]
|
|
2254
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2255
|
-
[1m[36mPushType::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-19@example.com"], ["id", "f9a4d0e7-0fc3-4d09-a7d1-5eaac2432984"], ["LIMIT", 1]]
|
|
2256
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "f9a4d0e7-0fc3-4d09-a7d1-5eaac2432984"]]
|
|
2257
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2258
|
-
Redirected to http://test.host/admin/profile/edit
|
|
2259
|
-
Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
|
|
2260
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2261
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2262
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2263
|
-
------------------------------------------------------------------------------------------
|
|
2264
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
2265
|
-
------------------------------------------------------------------------------------------
|
|
2266
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2267
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2268
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2269
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2270
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-20@example.com"], ["LIMIT", 1]]
|
|
2271
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-20@example.com"], ["LIMIT", 1]]
|
|
2272
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
|
|
2273
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2274
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2275
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2276
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "4da3cbf1-88b9-4787-ad39-3c62fa63e0f3"], ["LIMIT", 1]]
|
|
2277
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2278
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-20@example.com"], ["id", "4da3cbf1-88b9-4787-ad39-3c62fa63e0f3"], ["LIMIT", 1]]
|
|
2279
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "4da3cbf1-88b9-4787-ad39-3c62fa63e0f3"]]
|
|
2280
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2281
|
-
Redirected to http://test.host/admin/profile/edit
|
|
2282
|
-
Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
|
|
2283
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2284
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2285
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2286
|
-
----------------------------------------------------------------------------------------------------
|
|
2287
|
-
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
|
2288
|
-
----------------------------------------------------------------------------------------------------
|
|
2289
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2290
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2209
|
+
----------------------------------------------------------------------
|
|
2210
|
+
PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
|
|
2211
|
+
----------------------------------------------------------------------
|
|
2291
2212
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2213
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2214
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2215
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2216
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-22@example.com"], ["LIMIT", 1]]
|
|
2217
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-22@example.com"], ["LIMIT", 1]]
|
|
2218
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:44 UTC], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
|
|
2219
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2292
2220
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2293
|
-
[1m[36mPushType::User Exists (0.
|
|
2294
|
-
[1m[36mPushType::User Exists (0.
|
|
2295
|
-
[1m[35mSQL (0.
|
|
2221
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-23@example.com"], ["LIMIT", 1]]
|
|
2222
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-23@example.com"], ["LIMIT", 1]]
|
|
2223
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-23@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "aMrXizj1Uhepr9UdA1B9"], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
|
|
2296
2224
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2297
2225
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2298
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (
|
|
2299
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2300
|
-
Sent mail to joe-
|
|
2301
|
-
Date:
|
|
2226
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
|
|
2227
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
|
|
2228
|
+
Sent mail to joe-23@example.com (3.9ms)
|
|
2229
|
+
Date: Mon, 30 Jan 2017 11:08:44 +0000
|
|
2302
2230
|
From: pushtype@example.com
|
|
2303
2231
|
Reply-To: pushtype@example.com
|
|
2304
|
-
To: joe-
|
|
2305
|
-
Message-ID: <
|
|
2232
|
+
To: joe-23@example.com
|
|
2233
|
+
Message-ID: <588f1ebc36598_75b23ff6f243f9d01327@Aarons-iMac.local.mail>
|
|
2306
2234
|
Subject: [PushType] Confirm your account
|
|
2307
2235
|
Mime-Version: 1.0
|
|
2308
2236
|
Content-Type: multipart/alternative;
|
|
2309
|
-
boundary="--==
|
|
2237
|
+
boundary="--==_mimepart_588f1ebc3613c_75b23ff6f243f9d01317";
|
|
2310
2238
|
charset=UTF-8
|
|
2311
2239
|
Content-Transfer-Encoding: 7bit
|
|
2312
2240
|
|
|
2313
2241
|
|
|
2314
|
-
----==
|
|
2242
|
+
----==_mimepart_588f1ebc3613c_75b23ff6f243f9d01317
|
|
2315
2243
|
Content-Type: text/plain;
|
|
2316
2244
|
charset=UTF-8
|
|
2317
2245
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2327,11 +2255,11 @@ To get started, confirm your account and set your own password by
|
|
|
2327
2255
|
clicking the link below:
|
|
2328
2256
|
|
|
2329
2257
|
Confirm my account
|
|
2330
|
-
( http://localhost:3000/admin/confirmation.
|
|
2258
|
+
( http://localhost:3000/admin/confirmation.8d73adbd-9481-46a5-b254-f699af61d16e?confirmation_token=aMrXizj1Uhepr9UdA1B9 )
|
|
2331
2259
|
|
|
2332
2260
|
|
|
2333
2261
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2334
|
-
----==
|
|
2262
|
+
----==_mimepart_588f1ebc3613c_75b23ff6f243f9d01317
|
|
2335
2263
|
Content-Type: text/html;
|
|
2336
2264
|
charset=UTF-8
|
|
2337
2265
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2377,7 +2305,7 @@ body {
|
|
|
2377
2305
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2378
2306
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2379
2307
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
2380
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2308
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.8d73adbd-9481-46a5-b254-f699af61d16e?confirmation_token=aMrXizj1Uhepr9UdA1B9" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2381
2309
|
</td>
|
|
2382
2310
|
</tr>
|
|
2383
2311
|
</table>
|
|
@@ -2422,47 +2350,32 @@ body {
|
|
|
2422
2350
|
</body>
|
|
2423
2351
|
</html>
|
|
2424
2352
|
|
|
2425
|
-
----==
|
|
2353
|
+
----==_mimepart_588f1ebc3613c_75b23ff6f243f9d01317--
|
|
2426
2354
|
|
|
2427
|
-
Processing by PushType::
|
|
2428
|
-
Parameters: {"
|
|
2429
|
-
[1m[36mPushType::User Load (0.
|
|
2430
|
-
|
|
2431
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.6ms)
|
|
2432
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (12.0ms)
|
|
2433
|
-
Completed 200 OK in 31ms (Views: 24.2ms | ActiveRecord: 0.3ms)
|
|
2434
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2435
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2436
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2437
|
-
----------------------------------------------------------------------------------------------------
|
|
2438
|
-
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
|
2439
|
-
----------------------------------------------------------------------------------------------------
|
|
2440
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2441
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2442
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2355
|
+
Processing by PushType::Admin::UsersController#invite as HTML
|
|
2356
|
+
Parameters: {"id"=>"8d73adbd-9481-46a5-b254-f699af61d16e"}
|
|
2357
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "6a0a454d-5c98-4bbe-a42e-e97de062688d"], ["LIMIT", 1]]
|
|
2358
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "8d73adbd-9481-46a5-b254-f699af61d16e"], ["LIMIT", 1]]
|
|
2443
2359
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2444
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-22@example.com"], ["LIMIT", 1]]
|
|
2445
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-22@example.com"], ["LIMIT", 1]]
|
|
2446
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-12-21 15:11:53 UTC], ["updated_at", 2016-12-21 15:11:53 UTC], ["confirmation_token", "NBGvY_mvJG-yxXq54Xxn"], ["confirmation_sent_at", 2016-12-21 15:11:53 UTC]]
|
|
2447
2360
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2448
2361
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2449
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
2450
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2451
|
-
Sent mail to joe-
|
|
2452
|
-
Date:
|
|
2362
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2363
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
|
|
2364
|
+
Sent mail to joe-23@example.com (3.8ms)
|
|
2365
|
+
Date: Mon, 30 Jan 2017 11:08:44 +0000
|
|
2453
2366
|
From: pushtype@example.com
|
|
2454
2367
|
Reply-To: pushtype@example.com
|
|
2455
|
-
To: joe-
|
|
2456
|
-
Message-ID: <
|
|
2368
|
+
To: joe-23@example.com
|
|
2369
|
+
Message-ID: <588f1ebc41a79_75b23ff6f243f9d0135cd@Aarons-iMac.local.mail>
|
|
2457
2370
|
Subject: [PushType] Confirm your account
|
|
2458
2371
|
Mime-Version: 1.0
|
|
2459
2372
|
Content-Type: multipart/alternative;
|
|
2460
|
-
boundary="--==
|
|
2373
|
+
boundary="--==_mimepart_588f1ebc4160f_75b23ff6f243f9d0134b";
|
|
2461
2374
|
charset=UTF-8
|
|
2462
2375
|
Content-Transfer-Encoding: 7bit
|
|
2463
2376
|
|
|
2464
2377
|
|
|
2465
|
-
----==
|
|
2378
|
+
----==_mimepart_588f1ebc4160f_75b23ff6f243f9d0134b
|
|
2466
2379
|
Content-Type: text/plain;
|
|
2467
2380
|
charset=UTF-8
|
|
2468
2381
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2478,11 +2391,11 @@ To get started, confirm your account and set your own password by
|
|
|
2478
2391
|
clicking the link below:
|
|
2479
2392
|
|
|
2480
2393
|
Confirm my account
|
|
2481
|
-
( http://localhost:3000/admin/confirmation.
|
|
2394
|
+
( http://localhost:3000/admin/confirmation.8d73adbd-9481-46a5-b254-f699af61d16e?confirmation_token=aMrXizj1Uhepr9UdA1B9 )
|
|
2482
2395
|
|
|
2483
2396
|
|
|
2484
2397
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2485
|
-
----==
|
|
2398
|
+
----==_mimepart_588f1ebc4160f_75b23ff6f243f9d0134b
|
|
2486
2399
|
Content-Type: text/html;
|
|
2487
2400
|
charset=UTF-8
|
|
2488
2401
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2528,7 +2441,7 @@ body {
|
|
|
2528
2441
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2529
2442
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2530
2443
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
2531
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2444
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.8d73adbd-9481-46a5-b254-f699af61d16e?confirmation_token=aMrXizj1Uhepr9UdA1B9" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2532
2445
|
</td>
|
|
2533
2446
|
</tr>
|
|
2534
2447
|
</table>
|
|
@@ -2573,125 +2486,183 @@ body {
|
|
|
2573
2486
|
</body>
|
|
2574
2487
|
</html>
|
|
2575
2488
|
|
|
2576
|
-
----==
|
|
2489
|
+
----==_mimepart_588f1ebc4160f_75b23ff6f243f9d0134b--
|
|
2577
2490
|
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "NBGvY_mvJG-yxXq54Xxn"], ["LIMIT", 1]]
|
|
2581
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
2582
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
|
|
2583
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (3.1ms)
|
|
2584
|
-
Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.2ms)
|
|
2585
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2586
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2587
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2588
|
-
--------------------------------------------------------------------------------------
|
|
2589
|
-
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
2590
|
-
--------------------------------------------------------------------------------------
|
|
2591
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2592
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2593
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2594
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2595
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2596
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2597
|
-
----------------------------------------------------------------------------
|
|
2598
|
-
AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
|
|
2599
|
-
----------------------------------------------------------------------------
|
|
2600
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2601
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2602
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2603
|
-
Started GET "/api/nodes" for 127.0.0.1 at 2016-12-21 15:11:53 +0000
|
|
2604
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
2605
|
-
Filter chain halted as :authenticate_user! rendered or redirected
|
|
2606
|
-
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
|
2491
|
+
Redirected to http://test.host/push_type/users
|
|
2492
|
+
Completed 302 Found in 46ms (ActiveRecord: 0.4ms)
|
|
2607
2493
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2608
2494
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2609
2495
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2610
|
-
|
|
2611
|
-
PushType::Admin::
|
|
2612
|
-
|
|
2613
|
-
[1m[35m (0.
|
|
2614
|
-
[1m[35m (0.
|
|
2615
|
-
[1m[35m (0.
|
|
2496
|
+
----------------------------------------------------------------------
|
|
2497
|
+
PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
|
|
2498
|
+
----------------------------------------------------------------------
|
|
2499
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2500
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2501
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2616
2502
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2617
|
-
[1m[36mPushType::User Exists (0.
|
|
2618
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
|
2619
|
-
[1m[35mSQL (0.
|
|
2503
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-24@example.com"], ["LIMIT", 1]]
|
|
2504
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-24@example.com"], ["LIMIT", 1]]
|
|
2505
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-24@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:44 UTC], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
|
|
2620
2506
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2621
|
-
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
2622
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "19ed94f3-e790-40c3-a2da-5f79f13631cf"], ["LIMIT", 1]]
|
|
2623
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
2624
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (8.6ms)
|
|
2625
|
-
Completed 200 OK in 33ms (Views: 27.1ms | ActiveRecord: 0.2ms)
|
|
2626
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2627
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2628
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2629
|
-
-----------------------------------------------------------------------
|
|
2630
|
-
PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
2631
|
-
-----------------------------------------------------------------------
|
|
2632
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2633
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2634
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2635
2507
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2636
|
-
[1m[36mPushType::User Exists (0.
|
|
2637
|
-
[1m[36mPushType::User Exists (0.
|
|
2638
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "
|
|
2508
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-25@example.com"], ["LIMIT", 1]]
|
|
2509
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-25@example.com"], ["LIMIT", 1]]
|
|
2510
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-25@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "ZQXjTgckzo696E9Z2bk4"], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
|
|
2639
2511
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2512
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2513
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2514
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
|
2515
|
+
Sent mail to joe-25@example.com (3.6ms)
|
|
2516
|
+
Date: Mon, 30 Jan 2017 11:08:44 +0000
|
|
2517
|
+
From: pushtype@example.com
|
|
2518
|
+
Reply-To: pushtype@example.com
|
|
2519
|
+
To: joe-25@example.com
|
|
2520
|
+
Message-ID: <588f1ebc4dc9c_75b23ff6f243f9d01389a@Aarons-iMac.local.mail>
|
|
2521
|
+
Subject: [PushType] Confirm your account
|
|
2522
|
+
Mime-Version: 1.0
|
|
2523
|
+
Content-Type: multipart/alternative;
|
|
2524
|
+
boundary="--==_mimepart_588f1ebc4d824_75b23ff6f243f9d0137e9";
|
|
2525
|
+
charset=UTF-8
|
|
2526
|
+
Content-Transfer-Encoding: 7bit
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
----==_mimepart_588f1ebc4d824_75b23ff6f243f9d0137e9
|
|
2530
|
+
Content-Type: text/plain;
|
|
2531
|
+
charset=UTF-8
|
|
2532
|
+
Content-Transfer-Encoding: 7bit
|
|
2533
|
+
|
|
2534
|
+
PushType ( http://localhost:3000/admin/ )
|
|
2535
|
+
|
|
2536
|
+
Hello Joe Bloggs
|
|
2537
|
+
|
|
2538
|
+
You're receiving this email because a PushType account has been
|
|
2539
|
+
created for you.
|
|
2540
|
+
|
|
2541
|
+
To get started, confirm your account and set your own password by
|
|
2542
|
+
clicking the link below:
|
|
2543
|
+
|
|
2544
|
+
Confirm my account
|
|
2545
|
+
( http://localhost:3000/admin/confirmation.b89c4238-075e-4471-8366-e22045921532?confirmation_token=ZQXjTgckzo696E9Z2bk4 )
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2549
|
+
----==_mimepart_588f1ebc4d824_75b23ff6f243f9d0137e9
|
|
2550
|
+
Content-Type: text/html;
|
|
2551
|
+
charset=UTF-8
|
|
2552
|
+
Content-Transfer-Encoding: 7bit
|
|
2553
|
+
|
|
2554
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2555
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2556
|
+
<head>
|
|
2557
|
+
<meta name="viewport" content="width=device-width" />
|
|
2558
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
2559
|
+
<title>[PushType] Confirm your account</title>
|
|
2560
|
+
|
|
2561
|
+
</head>
|
|
2562
|
+
|
|
2563
|
+
<body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important;"><style type="text/css">
|
|
2564
|
+
img {
|
|
2565
|
+
max-width: 100%;
|
|
2566
|
+
}
|
|
2567
|
+
body {
|
|
2568
|
+
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
|
|
2569
|
+
}
|
|
2570
|
+
</style>
|
|
2571
|
+
|
|
2572
|
+
<!-- body -->
|
|
2573
|
+
<table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%;">
|
|
2574
|
+
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2575
|
+
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
|
|
2576
|
+
<td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px;">
|
|
2577
|
+
|
|
2578
|
+
<!-- content -->
|
|
2579
|
+
<div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
|
|
2580
|
+
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2581
|
+
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2582
|
+
<td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px;"><a href="http://localhost:3000/admin/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><img alt="PushType" src="/assets/push_type/pushtype-logo-a3af31e6141c9b155900c4cfde696ee92b3c080d35cd5d7afc82f8fb5a2fe6fa.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0;" /></a></td>
|
|
2583
|
+
</tr>
|
|
2584
|
+
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2585
|
+
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2586
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">Hello Joe Bloggs</p>
|
|
2587
|
+
|
|
2588
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">You're receiving this email because a PushType account has been created for you.</p>
|
|
2589
|
+
|
|
2590
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">To get started, confirm your account and set your own password by clicking the link below:</p>
|
|
2591
|
+
|
|
2592
|
+
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2593
|
+
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2594
|
+
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
2595
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.b89c4238-075e-4471-8366-e22045921532?confirmation_token=ZQXjTgckzo696E9Z2bk4" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2596
|
+
</td>
|
|
2597
|
+
</tr>
|
|
2598
|
+
</table>
|
|
2599
|
+
|
|
2600
|
+
|
|
2601
|
+
</td>
|
|
2602
|
+
</tr>
|
|
2603
|
+
</table>
|
|
2604
|
+
</div>
|
|
2605
|
+
<!-- /content -->
|
|
2606
|
+
|
|
2607
|
+
</td>
|
|
2608
|
+
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
|
|
2609
|
+
</tr>
|
|
2610
|
+
</table>
|
|
2611
|
+
<!-- /body -->
|
|
2612
|
+
|
|
2613
|
+
<!-- footer -->
|
|
2614
|
+
<table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2615
|
+
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2616
|
+
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
|
|
2617
|
+
<td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0;">
|
|
2618
|
+
|
|
2619
|
+
<!-- content -->
|
|
2620
|
+
<div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
|
|
2621
|
+
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2622
|
+
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2623
|
+
<td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2624
|
+
<p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">PushType CMS: <a href="http://www.pushtype.org" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">www.pushtype.org</a>.</p>
|
|
2625
|
+
</td>
|
|
2626
|
+
</tr>
|
|
2627
|
+
</table>
|
|
2628
|
+
</div>
|
|
2629
|
+
<!-- /content -->
|
|
2630
|
+
|
|
2631
|
+
</td>
|
|
2632
|
+
<td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
|
|
2633
|
+
</tr>
|
|
2634
|
+
</table>
|
|
2635
|
+
<!-- /footer -->
|
|
2636
|
+
|
|
2637
|
+
</body>
|
|
2638
|
+
</html>
|
|
2639
|
+
|
|
2640
|
+
----==_mimepart_588f1ebc4d824_75b23ff6f243f9d0137e9--
|
|
2641
|
+
|
|
2642
|
+
Processing by PushType::Admin::UsersController#invite as HTML
|
|
2643
|
+
Parameters: {"id"=>"b89c4238-075e-4471-8366-e22045921532"}
|
|
2644
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "31ee74c3-bd49-427e-babf-a501f679fd8c"], ["LIMIT", 1]]
|
|
2645
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "b89c4238-075e-4471-8366-e22045921532"], ["LIMIT", 1]]
|
|
2672
2646
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2673
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-25@example.com"], ["LIMIT", 1]]
|
|
2674
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-25@example.com"], ["LIMIT", 1]]
|
|
2675
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-25@example.com"], ["created_at", 2016-12-21 15:11:53 UTC], ["updated_at", 2016-12-21 15:11:53 UTC], ["confirmation_token", "XTCu6zqoELxy-gAGYokX"], ["confirmation_sent_at", 2016-12-21 15:11:53 UTC]]
|
|
2676
2647
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2677
2648
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2678
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (
|
|
2679
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2680
|
-
Sent mail to joe-25@example.com (3.
|
|
2681
|
-
Date:
|
|
2649
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2650
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
|
2651
|
+
Sent mail to joe-25@example.com (3.5ms)
|
|
2652
|
+
Date: Mon, 30 Jan 2017 11:08:44 +0000
|
|
2682
2653
|
From: pushtype@example.com
|
|
2683
2654
|
Reply-To: pushtype@example.com
|
|
2684
2655
|
To: joe-25@example.com
|
|
2685
|
-
Message-ID: <
|
|
2656
|
+
Message-ID: <588f1ebc5806e_75b23ff6f243f9d014150@Aarons-iMac.local.mail>
|
|
2686
2657
|
Subject: [PushType] Confirm your account
|
|
2687
2658
|
Mime-Version: 1.0
|
|
2688
2659
|
Content-Type: multipart/alternative;
|
|
2689
|
-
boundary="--==
|
|
2660
|
+
boundary="--==_mimepart_588f1ebc57c0c_75b23ff6f243f9d01409c";
|
|
2690
2661
|
charset=UTF-8
|
|
2691
2662
|
Content-Transfer-Encoding: 7bit
|
|
2692
2663
|
|
|
2693
2664
|
|
|
2694
|
-
----==
|
|
2665
|
+
----==_mimepart_588f1ebc57c0c_75b23ff6f243f9d01409c
|
|
2695
2666
|
Content-Type: text/plain;
|
|
2696
2667
|
charset=UTF-8
|
|
2697
2668
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2707,11 +2678,11 @@ To get started, confirm your account and set your own password by
|
|
|
2707
2678
|
clicking the link below:
|
|
2708
2679
|
|
|
2709
2680
|
Confirm my account
|
|
2710
|
-
( http://localhost:3000/admin/confirmation.
|
|
2681
|
+
( http://localhost:3000/admin/confirmation.b89c4238-075e-4471-8366-e22045921532?confirmation_token=ZQXjTgckzo696E9Z2bk4 )
|
|
2711
2682
|
|
|
2712
2683
|
|
|
2713
2684
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2714
|
-
----==
|
|
2685
|
+
----==_mimepart_588f1ebc57c0c_75b23ff6f243f9d01409c
|
|
2715
2686
|
Content-Type: text/html;
|
|
2716
2687
|
charset=UTF-8
|
|
2717
2688
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2757,7 +2728,7 @@ body {
|
|
|
2757
2728
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2758
2729
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2759
2730
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
|
|
2760
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2731
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.b89c4238-075e-4471-8366-e22045921532?confirmation_token=ZQXjTgckzo696E9Z2bk4" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2761
2732
|
</td>
|
|
2762
2733
|
</tr>
|
|
2763
2734
|
</table>
|
|
@@ -2802,7 +2773,36 @@ body {
|
|
|
2802
2773
|
</body>
|
|
2803
2774
|
</html>
|
|
2804
2775
|
|
|
2805
|
-
----==
|
|
2776
|
+
----==_mimepart_588f1ebc57c0c_75b23ff6f243f9d01409c--
|
|
2806
2777
|
|
|
2807
|
-
|
|
2778
|
+
Redirected to http://test.host/push_type/users
|
|
2779
|
+
Completed 302 Found in 42ms (ActiveRecord: 0.5ms)
|
|
2780
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2781
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
|
2782
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2783
|
+
---------------------------------------------------------------
|
|
2784
|
+
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
|
2785
|
+
---------------------------------------------------------------
|
|
2786
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2787
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2788
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2789
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2790
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2791
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2792
|
+
--------------------------------------------------------
|
|
2793
|
+
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
2794
|
+
--------------------------------------------------------
|
|
2795
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2796
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2797
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2798
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2799
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
2800
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2801
|
+
--------------------------------------------------------
|
|
2802
|
+
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
2803
|
+
--------------------------------------------------------
|
|
2804
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2805
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2806
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2807
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2808
2808
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|