Remove captchas.html from the repo.

This commit is contained in:
ccd0 2015-10-18 08:28:36 -07:00
parent fa3ac4a04c
commit 1431be8aad
3 changed files with 8 additions and 31 deletions

1
.gitignore vendored
View File

@ -6,4 +6,5 @@ tmp-crx/
tmp-userscript/
testbuilds/
test.html
captchas-*.html
Gruntfile.js

View File

@ -206,7 +206,7 @@ module.exports = (grunt) ->
git checkout gh-pages
git pull
git merge --no-commit -s ours -
git checkout - README.md index.html web.css img captchas.html
git checkout - README.md index.html web.css img
git commit -am "Update web page."
git checkout -
""".split('\n').join('&&')
@ -226,9 +226,10 @@ module.exports = (grunt) ->
aws s3 cp img/ s3://<%= pkg.meta.awsBucket %>/img/ --recursive --cache-control "max-age=600"
aws s3 cp index.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=600" --content-type "text/html; charset=utf-8"
aws s3 cp web.css s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=600" --content-type "text/css; charset=utf-8"
aws s3 cp captchas.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=0" --content-type "text/html; charset=utf-8"
git checkout -
""".split('\n').join('&&')
captchas:
'aws s3 cp captchas.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=0" --content-type "text/html; charset=utf-8"'
npm:
command: 'npm install'
update:
@ -465,6 +466,10 @@ module.exports = (grunt) ->
'shell:poststore'
]
grunt.registerTask 'captchas', [
'shell:captchas'
]
grunt.registerTask 'setversion', 'Set the version number', (version) ->
pkg = grunt.file.readJSON 'package.json'
oldversion = pkg.meta.version

View File

@ -1,29 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Captcha complaints</title>
<style>
body > * {
display: block;
text-align: center;
font-family: "Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;
line-height: 2;
}
h1 {
font-size: xx-large;
}
a {
margin: auto;
font-size: x-large;
}
</style>
</head>
<body>
<h1>Complain about broken captcha</h1>
<a target="_blank" href="https://www.4chan.org/feedback">4chan feedback page</a>
<a target="_blank" href="https://twitter.com/intent/tweet?text=%404chan%20%40hiroyuki_ni">Tweet to @4chan and @hiroyuki_ni</a>
<a target="_blank" href="https://groups.google.com/forum/#!forum/recaptcha">reCAPTCHA Google Group</a>
<a target="_blank" href="https://boards.4chan.org/qa/thread/288636">&quot;Post error problem Questionnaire&quot; thread</a>
</body>
</html>