Skip to content

Instantly share code, notes, and snippets.

@manuels
Created September 27, 2011 22:01
Show Gist options
  • Save manuels/1246383 to your computer and use it in GitHub Desktop.
Save manuels/1246383 to your computer and use it in GitHub Desktop.
log on disinherit-photos-version when receiving a photo-only post from the master-version
Started POST "/receive/users/88454cd3db1d8887/" for 127.0.0.1 at Wed Sep 28 00:41:20 +0200 2011 pid=28783 time=1317163280
SQL (0.2ms) BEGIN pid=28783 time=1317163281
SQL (0.1ms) COMMIT pid=28783 time=1317163281
Processing by PublicsController#receive as pid=28783 time=1317163283
Parameters: {"xml"=>"++++%3C%3Fxml+version%3D%271.0%27+encoding%3D%27UTF-8%27%3F%3E%0A++++%3Cdiaspora+xmlns%3D%22https%3A%2F%2Fjoindiaspora.com%2Fprotocol%22+xmlns%3Ame%3D%22http%3A%2F%2Fsalmon-protocol.org%2Fns%2Fmagic-env%22%3E%0A++++++++++++++%3Cencrypted_header%3E%0A++++++++++eyJjaXBoZXJ0ZXh0IjoiRmRnUFNsQ0VZV0lieDdwenVrRGFyeWJVRUN1YWJ2SjM1RU1DN0dXKzFyYXlGNVludXljSFc5UjJadnpBVFNXeFpWcVpUbVJnR01uTmkzWG9MdTFKSW1iTU9ESXptN3MvTS9Wdk5KNEJ3S1VUbXp3ME9zRmFJNWRJbW9YMUwwMStCSTh5Zjk4QnBjOXVJb21UdXRJVHhXSjBtNVNKMGJuNEdhYm5BV1NTUDNMcHNMMXNjUG14Ri9MTjNmTmI0aE02M2ZwTkI1aVM0OVhrZWdaQVJzZjZEYWVmTGZLVGpZRnlhc3l3MG5ueno5ZW9saW9XR3NkczhjalJYcU02QnJ3cnhaTXd3czh5QWV4aTRpNUFvdjE0Tmc9PSIsImFlc19rZXkiOiJsWUtNZ1RwdWNSenE0NmplV1o4UXpnUG5WOTlmOC9BRzdhSXFZY09HSndrRW9MMUdUYXhvYlN4V1ZhY0RCWGZJUTdIdzFJWG9aeER3RmF6bWpURFh0dXhuVDJxNXdTM1grY3FuRUpxdXFFMGZQ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56kGAong-NEdnRqkJOoxDXsWVzEPSl-ZAMoAoGlKvrU412hId-5t4qiFMuLOrKk%3D%3C%2Fme%3Asig%3E%0A++%3C%2Fme%3Aenv%3E%0A%0A++++%3C%2Fdiaspora%3E%0A", "guid"=>"88454cd3db1d8887"} pid=28783 time=1317163283
SQL (1.1ms) SHOW TABLES pid=28783 time=1317163283
SQL (1.1ms) SHOW TABLES pid=28783 time=1317163283
Person Load (0.3ms) SELECT `people`.* FROM `people` WHERE `people`.`guid` = '88454cd3db1d8887' LIMIT 1 pid=28783 time=1317163283
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1 pid=28783 time=1317163283
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1 pid=28783 time=1317163283
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.owner_id = 2) LIMIT 1 pid=28783 time=1317163283
event=webfinger status=initialized target=mrst@localhost:3001 pid=28783 time=1317163284
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'mrst@localhost:3001' LIMIT 1 pid=28783 time=1317163284
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 4) LIMIT 1 pid=28783 time=1317163284
event=webfinger status=success route=local target=mrst@localhost:3001 pid=28783 time=1317163284
event=receive status=pre-start recipient=mrt@localhost:3000 xml= <XML>
<post><status_message>
<raw_message></raw_message>
<guid>c9293fee44ec4ce2</guid>
<diaspora_handle>mrst@localhost:3001</diaspora_handle>
<public>false</public>
<created_at>2011-09-27 22:41:15 UTC</created_at>
</status_message></post>
</XML>
sender=mrst@localhost:3001 pid=28783 time=1317163284
SQL (1.2ms) SHOW TABLES pid=28783 time=1317163284
CACHE (0.0ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'mrst@localhost:3001' LIMIT 1 pid=28783 time=1317163284
event=receive status=start recipient=mrt@localhost:3000 payload_type=StatusMessage sender=mrst@localhost:3001 pid=28783 time=1317163284
Contact Load (0.2ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`user_id` = 2 AND `contacts`.`person_id` = 4 LIMIT 1 pid=28783 time=1317163284
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 4) pid=28783 time=1317163284
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 4) pid=28783 time=1317163284
SQL (0.2ms) BEGIN pid=28783 time=1317163284
Post Load (0.6ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`guid` = 'c9293fee44ec4ce2' LIMIT 1 pid=28783 time=1317163284
SQL (0.5ms) SELECT 1 FROM `posts` WHERE (`posts`.`guid` = BINARY 'c9293fee44ec4ce2') LIMIT 1 pid=28783 time=1317163284
event=receive payload_type=StatusMessage update=false status=abort sender=mrst@localhost:3001 reason=Status message requires a message or at least one photo pid=28783 time=1317163284
SQL (0.2ms) COMMIT pid=28783 time=1317163284
event=receive status=complete recipient=mrt@localhost:3000 sender=mrst@localhost:3001 payload_type=String pid=28783 time=1317163284
Rendered text template (0.0ms) pid=28783 time=1317163285
Completed 202 Accepted in 1809ms (Views: 190.8ms | ActiveRecord: 8.3ms) pid=28783 time=1317163285
Started POST "/receive/users/88454cd3db1d8887/" for 127.0.0.1 at Wed Sep 28 00:41:26 +0200 2011 pid=28783 time=1317163286
SQL (0.2ms) BEGIN pid=28783 time=1317163286
SQL (0.2ms) COMMIT pid=28783 time=1317163286
Processing by PublicsController#receive as pid=28783 time=1317163287
Parameters: {"xml"=>"++++%3C%3Fxml+version%3D%271.0%27+encoding%3D%27UTF-8%27%3F%3E%0A++++%3Cdiaspora+xmlns%3D%22https%3A%2F%2Fjoindiaspora.com%2Fprotocol%22+xmlns%3Ame%3D%22http%3A%2F%2Fsalmon-protocol.org%2Fns%2Fmagic-env%22%3E%0A++++++++++++++%3Cencrypted_header%3E%0A++++++++++eyJjaXBoZXJ0ZXh0IjoiVU9OSzN5VG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bmtJVUlvSERZWC9TYTlLTjJqMkx3LzJmY3lMTHNCNTVlNzM4Z3BHR2F3UlN6bDNMZz09%3C%2Fme%3Adata%3E%0A++%3Cme%3Aencoding%3Ebase64url%3C%2Fme%3Aencoding%3E%0A++%3Cme%3Aalg%3ERSA-SHA256%3C%2Fme%3Aalg%3E%0A++%3Cme%3Asig%3EIJ2SFUwSoc1o-D5zRKv9mktyUKOpOehKSKAek0KGSJrJDawjR11PZgB0kV9i6VCqi_o0sJ8RM6tE1-HF7_eOqmj65f4eI8oZGP3-9sLSQ7v9wA1pDu7pbNQO_vz8WvzBzWy_Drf7AYmba7Yd48MOU2aqejYqs9c48SQaWNyGdUBpEGz_sryuGNWr1JPjPOuxUIO9WxxzVeeshzbQe7gVfuHONiy4JZ0v3Eo_KB4wywYAct4ENv4A5ieO0v6T10DLJPvSOkzBkUHjauQ1_Eh2FCa0J1HGQtEyzHtuZHBPWQzGas8hOx0Ql8X9ETCvHDDFG9R6HPUxnAnhfZvfo5U4QUVm7U7lvBrrQ9lZFu1-32ipxIBXwWlLeh--zk8pnlD9qmfFS_9no01ZSZ9ap2fu_X3NiT5hachUgHazz6IVWzgIflkIs-EP46xPwRH9JpVXEl2gFcaPp7AOMqfsCDD8z-mZEvn1_okY4xmImoYZJ-6Vsy6F1bF7geEHOSDi2fdizzeburcwvwWLCD-ZOxdZh0vpPDGAIbICiYs2_fA_A1dxn2O5p0XrzcT52ooerNWAWIaBR5xxmpamZZiwFyuNLkbe8JkiCJc8k6y-A8Vg__prmzyk0GBdfKUUZzKiEDqOMnhsCXkaOVFwSM18tB2mCbzXYYSbbH4Ie7VHvFbfzzo%3D%3C%2Fme%3Asig%3E%0A++%3C%2Fme%3Aenv%3E%0A%0A++++%3C%2Fdiaspora%3E%0A", "guid"=>"88454cd3db1d8887"} pid=28783 time=1317163287
SQL (1.2ms) SHOW TABLES pid=28783 time=1317163287
Person Load (0.3ms) SELECT `people`.* FROM `people` WHERE `people`.`guid` = '88454cd3db1d8887' LIMIT 1 pid=28783 time=1317163287
User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1 pid=28783 time=1317163287
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1 pid=28783 time=1317163287
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.owner_id = 2) LIMIT 1 pid=28783 time=1317163287
event=webfinger status=initialized target=mrst@localhost:3001 pid=28783 time=1317163288
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'mrst@localhost:3001' LIMIT 1 pid=28783 time=1317163288
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 4) LIMIT 1 pid=28783 time=1317163288
event=webfinger status=success route=local target=mrst@localhost:3001 pid=28783 time=1317163288
event=receive status=pre-start recipient=mrt@localhost:3000 xml= <XML>
<post><photo>
<remote_photo_path>http://localhost:3001/uploads/images/</remote_photo_path>
<remote_photo_name>61f8899c3ac7a7371a85.jpg</remote_photo_name>
<status_message_guid>c9293fee44ec4ce2</status_message_guid>
<guid>ef765924946a9f78</guid>
<diaspora_handle>mrst@localhost:3001</diaspora_handle>
<public>false</public>
<created_at>2011-09-27 22:41:08 UTC</created_at>
</photo></post>
</XML>
sender=mrst@localhost:3001 pid=28783 time=1317163288
CACHE (0.0ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'mrst@localhost:3001' LIMIT 1 pid=28783 time=1317163288
event=receive status=start recipient=mrt@localhost:3000 payload_type=Photo sender=mrst@localhost:3001 pid=28783 time=1317163288
Contact Load (0.2ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`user_id` = 2 AND `contacts`.`person_id` = 4 LIMIT 1 pid=28783 time=1317163288
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 4) pid=28783 time=1317163288
Profile Load (0.3ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 4) pid=28783 time=1317163288
SQL (0.2ms) BEGIN pid=28783 time=1317163288
Photo Load (0.7ms) SELECT `photos`.* FROM `photos` WHERE `photos`.`guid` = 'ef765924946a9f78' LIMIT 1 pid=28783 time=1317163288
SQL (0.5ms) SELECT 1 FROM `photos` WHERE (`photos`.`guid` = BINARY 'ef765924946a9f78') LIMIT 1 pid=28783 time=1317163288
SQL (1.2ms) SHOW TABLES pid=28783 time=1317163288
StatusMessage Load (0.6ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`type` = 'StatusMessage' AND `posts`.`guid` = 'c9293fee44ec4ce2' LIMIT 1 pid=28783 time=1317163288
SQL (1.9ms) describe `photos` pid=28783 time=1317163288
AREL (0.5ms) INSERT INTO `photos` (`processed_image`, `image_height`, `image_width`, `image_url`, `youtube_titles`, `updated_at`, `author_id`, `comments_count`, `actor_url`, `likes_count`, `public`, `provider_display_name`, `root_guid`, `remote_photo_name`, `unprocessed_image`, `guid`, `remote_photo_path`, `pending`, `created_at`, `object_url`, `objectId`, `random_string`, `type`, `status_message_guid`, `diaspora_handle`, `text`) VALUES (NULL, NULL, NULL, NULL, NULL, '2011-09-27 22:41:28', 4, NULL, NULL, 0, 0, NULL, NULL, '61f8899c3ac7a7371a85.jpg', NULL, 'ef765924946a9f78', 'http://localhost:3001/uploads/images/', 0, '2011-09-27 22:41:08', NULL, NULL, NULL, NULL, 'c9293fee44ec4ce2', 'mrst@localhost:3001', NULL) pid=28783 time=1317163288
Photo Load (0.5ms) SELECT `photos`.* FROM `photos` WHERE `photos`.`id` = 15 LIMIT 1 pid=28783 time=1317163288
SQL (0.6ms) SELECT 1 FROM `photos` WHERE (`photos`.`guid` = BINARY 'ef765924946a9f78') AND (`photos`.id <> 15) LIMIT 1 pid=28783 time=1317163289
StatusMessage Load (0.4ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`type` = 'StatusMessage' AND `posts`.`guid` = 'c9293fee44ec4ce2' LIMIT 1 pid=28783 time=1317163289
Contact Load (0.2ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`user_id` = 2 AND `contacts`.`person_id` = 4 LIMIT 1 pid=28783 time=1317163289
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 4) pid=28783 time=1317163289
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 4) pid=28783 time=1317163289
SQL (1.2ms) describe `share_visibilities` pid=28783 time=1317163289
AREL (0.4ms) INSERT INTO `share_visibilities` (`created_at`, `hidden`, `updated_at`, `contact_id`, `shareable_id`, `shareable_type`) VALUES ('2011-09-27 22:41:29', 0, '2011-09-27 22:41:29', 3, 15, 'Photo') pid=28783 time=1317163289
Contact Load (0.5ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`user_id` = 2 AND `contacts`.`person_id` = 4 LIMIT 1 pid=28783 time=1317163289
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 4) pid=28783 time=1317163289
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 4) pid=28783 time=1317163289
event=receive payload_type=Photo update=false status=complete sender=mrst@localhost:3001 pid=28783 time=1317163289
SQL (59.2ms) COMMIT pid=28783 time=1317163289
event=receive status=complete recipient=mrt@localhost:3000 sender=mrst@localhost:3001 payload_type=Photo pid=28783 time=1317163289
Rendered text template (0.0ms) pid=28783 time=1317163289
Completed 202 Accepted in 2099ms (Views: 2.4ms | ActiveRecord: 72.6ms) pid=28783 time=1317163289
Started POST "/receive/users/88454cd3db1d8887/" for 127.0.0.1 at Wed Sep 28 00:41:31 +0200 2011 pid=28783 time=1317163291
SQL (0.2ms) BEGIN pid=28783 time=1317163291
SQL (0.1ms) COMMIT pid=28783 time=1317163291
Processing by PublicsController#receive as pid=28783 time=1317163291
Parameters: {"xml"=>"++++%3C%3Fxml+version%3D%271.0%27+encoding%3D%27UTF-8%27%3F%3E%0A++++%3Cdiaspora+xmlns%3D%22https%3A%2F%2Fjoindiaspora.com%2F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3E%0A++%3Cme%3Asig%3Eq3EAVXA0hmGWJcDYEPV5hETvReh2XeBNoa09RJb9R35mpgmqetNJxy-AutvWD2mVZcZV8FcA9CxrXMZ0aTl7WPM1b4OFKHzR1BxciL3lQEZb6ADqCAIcu0yX4PjM87olTe6T0XKoTypA2_FSQMS7yYnHzW7pctZzQ8mIb8TlPcNN_xBP-9Sdq7eKVmd0hgikCUP4QnNT06LlNnARU8-Hy2GvTGzsx7dnipmX8u99JpE_0nckxBagDiLO2X7IPkEZVH-NVVmZikCFsmHXX4PYMXO24ewAtZVRQXPqJVaqaoCicmi-AgMp_qnJEWsPHcva5piTEDTzgSqIX6_orhYIVZo79YSgglMKH5von9nCRNriMZoXW2tfr1WOjZtG1iiJl91JfitsVBhYGBAcSS2R5uenmW4uml8iBapEfUm0HUijPiiFyAyNM1Yn2kq9toFkRNH1d8vLCI7eJ3lYEOVBIg8NiX65z-ZDP9iY8zqBgye_FFkqzKFNaw8Ql2kG4_-rFo9l5if4Am9MazXs1drj-4F6MpgCxvAMgCujdVwv7MTsxpDWt3LPLOrzfOw3Dl6BdeHODkUNGGaMgJxF8G9Riar669lwJHkian3rX4xic9BZfGFY1Gf5k2bijJAlM-gTt-dA3P1tLDIJ0JiN-fnIuxSwePV-lSXxl2H-B8sMmS4%3D%3C%2Fme%3Asig%3E%0A++%3C%2Fme%3Aenv%3E%0A%0A++++%3C%2Fdiaspora%3E%0A", "guid"=>"88454cd3db1d8887"} pid=28783 time=1317163291
SQL (1.2ms) SHOW TABLES pid=28783 time=1317163291
Person Load (0.4ms) SELECT `people`.* FROM `people` WHERE `people`.`guid` = '88454cd3db1d8887' LIMIT 1 pid=28783 time=1317163292
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1 pid=28783 time=1317163292
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 2 LIMIT 1 pid=28783 time=1317163292
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.owner_id = 2) LIMIT 1 pid=28783 time=1317163292
event=webfinger status=initialized target=mrst@localhost:3001 pid=28783 time=1317163292
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'mrst@localhost:3001' LIMIT 1 pid=28783 time=1317163292
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 4) LIMIT 1 pid=28783 time=1317163292
event=webfinger status=success route=local target=mrst@localhost:3001 pid=28783 time=1317163292
event=receive status=pre-start recipient=mrt@localhost:3000 xml= <XML>
<post><status_message>
<raw_message></raw_message>
<guid>c9293fee44ec4ce2</guid>
<diaspora_handle>mrst@localhost:3001</diaspora_handle>
<public>false</public>
<created_at>2011-09-27 22:41:15 UTC</created_at>
</status_message></post>
</XML>
sender=mrst@localhost:3001 pid=28783 time=1317163292
SQL (1.2ms) SHOW TABLES pid=28783 time=1317163293
CACHE (0.0ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'mrst@localhost:3001' LIMIT 1 pid=28783 time=1317163293
event=receive status=start recipient=mrt@localhost:3000 payload_type=StatusMessage sender=mrst@localhost:3001 pid=28783 time=1317163293
Contact Load (0.2ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`user_id` = 2 AND `contacts`.`person_id` = 4 LIMIT 1 pid=28783 time=1317163293
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 4) pid=28783 time=1317163293
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 4) pid=28783 time=1317163293
SQL (0.2ms) BEGIN pid=28783 time=1317163293
Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`guid` = 'c9293fee44ec4ce2' LIMIT 1 pid=28783 time=1317163293
SQL (0.2ms) SELECT 1 FROM `posts` WHERE (`posts`.`guid` = BINARY 'c9293fee44ec4ce2') LIMIT 1 pid=28783 time=1317163293
event=receive payload_type=StatusMessage update=false status=abort sender=mrst@localhost:3001 reason=Status message requires a message or at least one photo pid=28783 time=1317163293
SQL (0.2ms) COMMIT pid=28783 time=1317163293
event=receive status=complete recipient=mrt@localhost:3000 sender=mrst@localhost:3001 payload_type=String pid=28783 time=1317163293
Rendered text template (0.0ms) pid=28783 time=1317163293
Completed 202 Accepted in 1704ms (Views: 2.3ms | ActiveRecord: 5.5ms) pid=28783 time=1317163293
@manuels
Copy link
Author

manuels commented Sep 27, 2011

I added some plain text xml information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment