Remove some unwanted changes

This commit is contained in:
seaweedchan 2013-08-12 01:21:22 -07:00
parent ca9b52258d
commit 58d06b4db6
9 changed files with 17 additions and 132 deletions

3
.gitignore vendored
View File

@ -3,6 +3,5 @@ node_modules/
*.db *.db
tmp-crx/ tmp-crx/
tmp-userscript/ tmp-userscript/
builds/4chan-X-Chrome.zip builds/4chan-X.zip
builds/4chan-X-Opera.nex
Gruntfile.js Gruntfile.js

View File

@ -168,10 +168,9 @@ module.exports = (grunt) ->
grunt.registerTask 'release', [ grunt.registerTask 'release', [
'build' 'build'
'compress:crx'
'shell:commit' 'shell:commit'
'shell:push' 'shell:push'
'build-crx'
'compress:crx'
] ]
grunt.registerTask 'patch', [ grunt.registerTask 'patch', [
'bump' 'bump'
@ -191,12 +190,11 @@ module.exports = (grunt) ->
'release' 'release'
] ]
grunt.registerTask 'updcl', 'Update the changelog', (headerLevel) -> grunt.registerTask 'updcl', 'Update the changelog', (i) ->
headerPrefix = new Array(+headerLevel + 1).join '#' # i is the number of #s for markdown.
{version} = grunt.config 'pkg' version = []
today = grunt.template.today 'yyyy-mm-dd' version.length = +i + 1
changelog = grunt.file.read 'CHANGELOG.md' version = version.join('#') + ' v' + pkg.version + '\n*' + grunt.template.today('yyyy-mm-dd') + '*\n'
grunt.file.write 'CHANGELOG.md', version + '\n' + grunt.file.read('CHANGELOG.md')
grunt.file.write 'CHANGELOG.md', "#{headerPrefix} #{version} - *#{today}*\n\n#{changelog}" grunt.log.ok 'Changelog updated for v' + pkg.version + '.'
grunt.log.ok "Changelog updated for v#{version}."

View File

@ -1,5 +1,5 @@
/* /*
* 4chan X - Version 1.2.25 - 2013-08-11 * 4chan X - Version 1.2.25 - 2013-08-12
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

View File

@ -19,7 +19,7 @@
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.2.25 - 2013-08-11 * 4chan X - Version 1.2.25 - 2013-08-12
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -9238,7 +9238,7 @@
Report = { Report = {
init: function() { init: function() {
if (!(/report/.test(location.search) && !d.cookie.contains('pass_enabled=1'))) { if (!/report/.test(location.search)) {
return; return;
} }
return $.asap((function() { return $.asap((function() {

View File

@ -15,8 +15,7 @@
"run_at": "document_start" "run_at": "document_start"
}], }],
"homepage_url": "http://seaweedchan.github.io/4chan-x/", "homepage_url": "http://seaweedchan.github.io/4chan-x/",
"minimum_chrome_version": "27", "minimum_chrome_version": "26",
"minimum_opera_version": "15",
"permissions": [ "permissions": [
"storage" "storage"
] ]

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // Generated by CoffeeScript
/* /*
* 4chan X - Version 1.2.25 - 2013-08-11 * 4chan X - Version 1.2.25 - 2013-08-12
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -9224,7 +9224,7 @@
Report = { Report = {
init: function() { init: function() {
if (!(/report/.test(location.search) && !d.cookie.contains('pass_enabled=1'))) { if (!/report/.test(location.search)) {
return; return;
} }
return $.asap((function() { return $.asap((function() {

View File

@ -1,110 +0,0 @@
[{
"uid": 0,
"name": "Foolz",
"domain": "archive.foolz.us",
"http": true,
"https": true,
"software": "foolfuuka",
"boards": ["a", "co", "gd", "jp", "m", "q", "sp", "tg", "tv", "v", "vg", "vp", "vr", "wsg"],
"files": ["a", "gd", "jp", "m", "q", "tg", "vg", "vp", "vr", "wsg"]
}, {
"uid": 1,
"name": "NSFW Foolz",
"domain": "nsfw.foolz.us",
"http": true,
"https": true,
"software": "foolfuuka",
"boards": ["u"],
"files": ["u"]
}, {
"uid": 2,
"name": "The Dark Cave",
"domain": "archive.thedarkcave.org",
"http": true,
"https": true,
"software": "foolfuuka",
"boards": ["c", "int", "out", "po"],
"files": ["c", "po"]
}, {
"uid": 3,
"name": "4plebs",
"domain": "archive.4plebs.org",
"http": true,
"https": false,
"software": "foolfuuka",
"boards": ["hr", "tg", "tv", "x"],
"files": ["hr", "tg", "tv", "x"]
}, {
"uid": 4,
"name": "Nyafuu",
"domain": "archive.nyafuu.org",
"http": true,
"https": true,
"software": "foolfuuka",
"boards": ["c", "w", "wg"],
"files": ["c", "w", "wg"]
}, {
"uid": 11,
"name": "Foolz a Shit",
"domain": "archive.foolzashit.com",
"http": true,
"https": true,
"software": "foolfuuka",
"boards": ["adv", "asp", "cm", "e", "i", "lgbt", "n", "o", "p", "pol", "s", "s4s", "t", "trv", "y"],
"files": ["adv", "asp", "cm", "e", "i", "lgbt", "n", "o", "p", "s", "s4s", "t", "trv", "y"]
}, {
"uid": 12,
"name": "fap archive",
"domain": "fuuka.worldathleticproject.org",
"http": true,
"https": false,
"software": "foolfuuka",
"boards": ["b", "e", "h", "hc", "p", "s", "u"],
"files": ["b", "e", "h", "hc", "p", "s", "u"]
}, {
"uid": 7,
"name": "Install Gentoo",
"domain": "archive.installgentoo.net",
"http": false,
"https": true,
"software": "fuuka",
"boards": ["diy", "g", "sci"],
"files": []
}, {
"uid": 8,
"name": "Rebecca Black Tech",
"domain": "rbt.asia",
"http": true,
"https": true,
"software": "fuuka",
"boards": ["cgl", "g", "mu", "w"],
"files": ["cgl", "g", "mu", "w"]
}, {
"uid": 9,
"name": "Heinessen",
"domain": "archive.heinessen.com",
"http": true,
"https": false,
"software": "fuuka",
"boards": ["an", "fit", "k", "mlp", "r9k", "toy"],
"files": ["an", "fit", "k", "r9k", "toy"]
}, {
"uid": 10,
"name": "warosu",
"domain": "fuuka.warosu.org",
"http": true,
"https": true,
"software": "fuuka",
"boards": ["3", "cgl", "ck", "fa", "ic", "jp", "lit", "q", "tg", "vr"],
"files": ["3", "cgl", "ck", "fa", "ic", "jp", "lit", "q", "tg", "vr"]
}, {
"uid": 13,
"name": "Foolz Beta",
"domain": "beta.foolz.us",
"http": true,
"https": true,
"withCredentials": true,
"software": "foolfuuka",
"boards": ["a", "co", "gd", "h", "jp", "m", "mlp", "q", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"],
"files": ["a", "gd", "h", "jp", "m", "q", "tg", "u", "vg", "vp", "vr", "wsg"]
}]

View File

@ -15,8 +15,7 @@
"run_at": "document_start" "run_at": "document_start"
}], }],
"homepage_url": "<%= meta.page %>", "homepage_url": "<%= meta.page %>",
"minimum_chrome_version": "27", "minimum_chrome_version": "26",
"minimum_opera_version": "15",
"permissions": [ "permissions": [
"storage" "storage"
] ]

View File

@ -1,6 +1,6 @@
Report = Report =
init: -> init: ->
return unless /report/.test(location.search) and not d.cookie.contains 'pass_enabled=1' return unless /report/.test(location.search)
$.asap (-> $.id 'recaptcha_response_field'), Report.ready $.asap (-> $.id 'recaptcha_response_field'), Report.ready
ready: -> ready: ->
field = $.id 'recaptcha_response_field' field = $.id 'recaptcha_response_field'