54 Commits

Author SHA1 Message Date
ccd0
fe12fb4a13 Validate and parenthesize JS in HTML templates so we don't accidentally break out of placeholders. 2016-04-14 17:56:56 -07:00
ccd0
378e1d26d4 Simplify: we always remove all the variables. 2016-04-13 17:19:06 -07:00
ccd0
d82418ed45 Make globals.js more like Coffeescript output; move $$ to its own file. 2016-04-13 16:54:39 -07:00
ccd0
5ec7a559be Alternate way of handling the concatenation. 2016-04-13 06:54:10 -07:00
ccd0
e8a86d893e Only depend on version.json where needed. 2016-04-12 23:44:57 -07:00
ccd0
3f265b33dc Merge branch 'bstable' 2016-04-12 20:56:46 -07:00
ccd0
6b75bbbc00 Fix assertion. 2016-04-12 20:48:02 -07:00
ccd0
e2aaefa7df Get rid of recursive file imports. 2016-04-12 20:14:19 -07:00
ccd0
18f0b779c3 Support partial rebuilds. #833 2016-04-12 08:11:36 -07:00
ccd0
15e928a278 Remove fs-extra. 2016-04-12 00:22:08 -07:00
ccd0
73bd06389d Lint tools/*.js 2016-04-12 00:13:41 -07:00
ccd0
5445327302 Rewrite template handler in JS, add much-needed comments and try to separate concerns. 2016-04-11 23:51:11 -07:00
ccd0
9226465b95 Create directories for targets in Makefile. 2016-04-11 18:29:06 -07:00
ccd0
d261f1d056 Remove fake grunt from templates. 2016-04-11 17:25:23 -07:00
ccd0
fe02be69b5 Replace cp.js by shell commands. 2016-04-11 16:26:06 -07:00
ccd0
e751b5e3be Create empty install.json if none exists. 2016-04-11 03:04:14 -07:00
ccd0
78972f5362 clean.js -> pair of shell commands 2016-04-11 00:48:18 -07:00
ccd0
f4ce7bae6d Record events to avoid needless repetition. 2016-04-11 00:14:24 -07:00
ccd0
c8fcf610c9 Avoid deprecated fs.existsSync. 2016-04-10 20:02:32 -07:00
ccd0
b746a0b054 Store tests_enabled flag in file. 2016-04-10 20:00:48 -07:00
ccd0
550d33bc0f Use fs-extra to make directories for target recursively. 2016-04-10 18:55:38 -07:00
ccd0
25a94f5f82 Simplify install.json format. 2016-04-10 17:18:10 -07:00
ccd0
dc8744851e Add .jsonhintrc to clean.js. 2016-04-10 17:11:24 -07:00
ccd0
5891173049 Revert "grunt-webstore-upload -> webstore-upload"
This reverts commit 49342e55619a126f3b2420f9b94a8aff16c97ed5.
2016-04-10 06:38:49 -07:00
ccd0
373439e49d Revert "tools/bump.coffee"
This reverts commit 2e34e1da4ccf5a5256616b663b8b3c2afdc0a9d5.
2016-04-10 06:15:27 -07:00
ccd0
2e34e1da4c tools/bump.coffee 2016-04-10 04:27:09 -07:00
ccd0
1ad999e12e tools/sign.js 2016-04-10 03:42:30 -07:00
ccd0
39f4e05520 tools/zip-crx.js 2016-04-10 03:33:54 -07:00
ccd0
da08e6dc2e tools/clean.js 2016-04-10 03:04:05 -07:00
ccd0
1e850028c9 tools/install.js 2016-04-10 02:52:03 -07:00
ccd0
a43908e133 tools/cp.js 2016-04-10 02:42:32 -07:00
ccd0
2e81bc99b5 Replace grunt-contrib-concat with tools/cat.js. 2016-04-10 01:13:18 -07:00
ccd0
8ae1a0df96 Make templates.coffee take keyword arguments. 2016-04-09 18:39:10 -07:00
ccd0
2d6702cbad More Windows compatibility. 2016-04-09 17:20:23 -07:00
ccd0
00487fb49a grunt-markdown -> marked 2016-04-09 16:38:44 -07:00
ccd0
49342e5561 grunt-webstore-upload -> webstore-upload 2016-04-09 16:04:58 -07:00
ccd0
d9c0b066eb Windows compatibility. 2016-04-09 05:35:24 -07:00
ccd0
c296b5b6cf Move template interpolation out of grunt into standalone script. 2016-04-09 04:55:29 -07:00
ccd0
5709305602 Retry once on urllib.error.URLError. 2015-11-01 12:12:02 -08:00
ccd0
ee379a2ec0 Remove tools/proxy.py; moved to https://github.com/ccd0/4chan-x-proxy. 2015-08-02 03:51:07 -07:00
ccd0
b20f669d77 Prevent caching of the local script. 2015-08-01 13:32:27 -07:00
ccd0
88a0f4db60 Serve a fresh copy of the file. 2015-08-01 13:06:02 -07:00
ccd0
d38ecd7f76 Allow reading script from local file. 2015-08-01 12:58:11 -07:00
ccd0
6b88335a6e 'ExtensionReplacer' isn't accurate anymore. 2015-08-01 12:27:38 -07:00
ccd0
93f1b1442c Break up do_GET. 2015-08-01 12:25:07 -07:00
ccd0
55e3dd3889 Make sure to close remote connections. 2015-08-01 12:21:51 -07:00
ccd0
dc63343d0a Use multiple threads in proxy server. 2015-08-01 12:15:21 -07:00
ccd0
a897c25e49 Generalize to allow other files served from localhost. 2015-08-01 11:15:09 -07:00
ccd0
65ff21f4e1 Only serve proxy.pac when hostname is localhost. 2015-08-01 10:50:14 -07:00
ccd0
e92e31b41b Switch proxy to operating on boards.4chan.org. 2015-07-31 23:50:24 -07:00