{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/issues/1261","repository_url":"https://api.github.com/repos/mozilla/thimble.mozilla.org","labels_url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/issues/1261/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/issues/1261/comments","events_url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/issues/1261/events","html_url":"https://github.com/mozilla/thimble.mozilla.org/issues/1261","id":117695903,"number":1261,"title":"Warn users when they publish a project without an index.html file","user":{"login":"flukeout","id":25212,"avatar_url":"https://avatars.githubusercontent.com/u/25212?v=3","gravatar_id":"","url":"https://api.github.com/users/flukeout","html_url":"https://github.com/flukeout","followers_url":"https://api.github.com/users/flukeout/followers","following_url":"https://api.github.com/users/flukeout/following{/other_user}","gists_url":"https://api.github.com/users/flukeout/gists{/gist_id}","starred_url":"https://api.github.com/users/flukeout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flukeout/subscriptions","organizations_url":"https://api.github.com/users/flukeout/orgs","repos_url":"https://api.github.com/users/flukeout/repos","events_url":"https://api.github.com/users/flukeout/events{/privacy}","received_events_url":"https://api.github.com/users/flukeout/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/labels/design","name":"design","color":"207de5"},{"url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/labels/P2","name":"P2","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"flukeout","id":25212,"avatar_url":"https://avatars.githubusercontent.com/u/25212?v=3","gravatar_id":"","url":"https://api.github.com/users/flukeout","html_url":"https://github.com/flukeout","followers_url":"https://api.github.com/users/flukeout/followers","following_url":"https://api.github.com/users/flukeout/following{/other_user}","gists_url":"https://api.github.com/users/flukeout/gists{/gist_id}","starred_url":"https://api.github.com/users/flukeout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flukeout/subscriptions","organizations_url":"https://api.github.com/users/flukeout/orgs","repos_url":"https://api.github.com/users/flukeout/repos","events_url":"https://api.github.com/users/flukeout/events{/privacy}","received_events_url":"https://api.github.com/users/flukeout/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/milestones/17","html_url":"https://github.com/mozilla/thimble.mozilla.org/milestones/Accepting%20Contributions","labels_url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/milestones/17/labels","id":1544823,"number":17,"title":"Accepting Contributions","description":"","creator":{"login":"simonwex","id":25260,"avatar_url":"https://avatars.githubusercontent.com/u/25260?v=3","gravatar_id":"","url":"https://api.github.com/users/simonwex","html_url":"https://github.com/simonwex","followers_url":"https://api.github.com/users/simonwex/followers","following_url":"https://api.github.com/users/simonwex/following{/other_user}","gists_url":"https://api.github.com/users/simonwex/gists{/gist_id}","starred_url":"https://api.github.com/users/simonwex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonwex/subscriptions","organizations_url":"https://api.github.com/users/simonwex/orgs","repos_url":"https://api.github.com/users/simonwex/repos","events_url":"https://api.github.com/users/simonwex/events{/privacy}","received_events_url":"https://api.github.com/users/simonwex/received_events","type":"User","site_admin":false},"open_issues":101,"closed_issues":6,"state":"open","created_at":"2016-01-26T19:36:08Z","updated_at":"2016-04-14T01:42:28Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-18T22:24:19Z","updated_at":"2016-05-14T15:38:00Z","closed_at":null,"body":"When users publish a project without an index file, Thimble throws a 404 message (and eventually will show a directory listing) which might be different than what a user expects.\r\n\r\nLet's add a little warning / help message to the Publish popup when a user is about to publish without an index.html file. Something like...\r\n\r\n```\r\nThis project doesn't have an index.html file! Add one and it \r\nwill be shown automatically when visitors come to\r\nyour web site / project.\r\n```\r\n\r\nMigrated from #1203  "},"comment":{"url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/issues/comments/219226806","html_url":"https://github.com/mozilla/thimble.mozilla.org/issues/1261#issuecomment-219226806","issue_url":"https://api.github.com/repos/mozilla/thimble.mozilla.org/issues/1261","id":219226806,"user":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T15:38:00Z","updated_at":"2016-05-14T15:38:00Z","body":"In the past two months I have had about 4 users either file issues or comment on IRC that their published projects are showing 404s and all those times it has been because they were missing an index.html file.\r\n\r\nI think Warning + allow publish should be fine though, users should probably just need to be aware of it.\r\n\r\n@humphd but it's really tricky figuring out whether to show the regular 404 page or the \"missing index.html\" 404 page though. I'm not even sure if AWS supports adding that logic."}}