{"action":"created","issue":{"url":"https://api.github.com/repos/parse-server-modules/parse-files-utils/issues/9","repository_url":"https://api.github.com/repos/parse-server-modules/parse-files-utils","labels_url":"https://api.github.com/repos/parse-server-modules/parse-files-utils/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/parse-server-modules/parse-files-utils/issues/9/comments","events_url":"https://api.github.com/repos/parse-server-modules/parse-files-utils/issues/9/events","html_url":"https://github.com/parse-server-modules/parse-files-utils/pull/9","id":166685240,"number":9,"title":"Fix Parse file renaming so tfss- files don't become legacy files","user":{"login":"JeremyPlease","id":144322,"avatar_url":"https://avatars.githubusercontent.com/u/144322?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremyPlease","html_url":"https://github.com/JeremyPlease","followers_url":"https://api.github.com/users/JeremyPlease/followers","following_url":"https://api.github.com/users/JeremyPlease/following{/other_user}","gists_url":"https://api.github.com/users/JeremyPlease/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyPlease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyPlease/subscriptions","organizations_url":"https://api.github.com/users/JeremyPlease/orgs","repos_url":"https://api.github.com/users/JeremyPlease/repos","events_url":"https://api.github.com/users/JeremyPlease/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyPlease/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-20T21:22:00Z","updated_at":"2016-07-21T12:27:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/parse-server-modules/parse-files-utils/pulls/9","html_url":"https://github.com/parse-server-modules/parse-files-utils/pull/9","diff_url":"https://github.com/parse-server-modules/parse-files-utils/pull/9.diff","patch_url":"https://github.com/parse-server-modules/parse-files-utils/pull/9.patch"},"body":"Addresses issue mentioned in comments of [PR #7](https://github.com/parse-server-modules/parse-files-utils/pull/7#issuecomment-234084860)\r\n\r\n> Example:\r\n>  \r\n> * original url: http://files.parsetfss.com/75b8d55e-cb49-4169-8aa8-51c3252d7031/tfss-0e4d6293-5f8b-4382-be05-30ddb1cc686f-photo.jpeg\r\n* filename: tfss-0e4d6293-5f8b-4382-be05-30ddb1cc686f-photo.jpeg\r\n* new filename after renaming: 0e4d6293-5f8b-4382-be05-30ddb1cc686f-photo.jpeg\r\n* new url: http://files.parse.com/75b8d55e-cb49-4169-8aa8-51c3252d7031/0e4d6293-5f8b-4382-be05-30ddb1cc686f-photo.jpeg\r\n> \r\n> Then, Parse Server runs [this code](https://github.com/ParsePlatform/parse-server/blob/master/src/Controllers/FilesController.js#L63-L76) and determines that the new filename is hosted on Parse's legacy file server 😖 "},"comment":{"url":"https://api.github.com/repos/parse-server-modules/parse-files-utils/issues/comments/234238544","html_url":"https://github.com/parse-server-modules/parse-files-utils/pull/9#issuecomment-234238544","issue_url":"https://api.github.com/repos/parse-server-modules/parse-files-utils/issues/9","id":234238544,"user":{"login":"acinader","id":700572,"avatar_url":"https://avatars.githubusercontent.com/u/700572?v=3","gravatar_id":"","url":"https://api.github.com/users/acinader","html_url":"https://github.com/acinader","followers_url":"https://api.github.com/users/acinader/followers","following_url":"https://api.github.com/users/acinader/following{/other_user}","gists_url":"https://api.github.com/users/acinader/gists{/gist_id}","starred_url":"https://api.github.com/users/acinader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acinader/subscriptions","organizations_url":"https://api.github.com/users/acinader/orgs","repos_url":"https://api.github.com/users/acinader/repos","events_url":"https://api.github.com/users/acinader/events{/privacy}","received_events_url":"https://api.github.com/users/acinader/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T12:27:29Z","updated_at":"2016-07-21T12:27:29Z","body":"I'm getting ready to run it.\r\n\r\nmy one bit of feedback would be to make the newPrefix have some definite pattern to it, in case we need to pick them out with a regex to re-process if we discover a problem a few weeks down the road?\r\n\r\n"}}
{"actor":{"display_login":"acinader"}}