239 Commits

Author SHA1 Message Date
ccd0
a2725a16de Merge branch 'master' into filter 2015-04-24 18:41:25 -07:00
ccd0
b83c2c9811 Fix whitespace being stripped from the comment before filtering.
This makes it possible to filter whitespace spam.
2015-04-24 01:02:57 -07:00
ccd0
88d1aafe28 Start working on keyboard navigation in image captcha.
Still having some issues with focusing in Firefox.
2015-04-17 00:46:23 -07:00
ccd0
27e8c59297 Add file.dimensions to Build.coffee object. 2015-04-13 01:44:27 -07:00
ccd0
c1f62d1612 Don't crash if link (which could be from archive) is not a 4chan filename. 2015-04-13 01:28:11 -07:00
ccd0
9c795c95b2 turl -> thumbURL 2015-04-13 00:40:19 -07:00
ccd0
20a31c2ba5 Include protocol in URLs. 2015-04-13 00:25:08 -07:00
ccd0
0847161bf5 Make file.size, file.sizeInBytes match Post class. 2015-04-12 23:01:27 -07:00
ccd0
c2080e8629 file.URL -> file.url 2015-04-12 22:45:36 -07:00
ccd0
3f22852412 Remove unused file.timestamp. 2015-04-12 21:43:46 -07:00
ccd0
e64815c24b comment -> commentHTML 2015-04-12 21:36:53 -07:00
ccd0
d0ab95a3fe date -> dateText 2015-04-12 20:12:33 -07:00
ccd0
08a8069d2a flagName -> flag 2015-04-12 20:06:14 -07:00
ccd0
b1201aa515 Make name/subject treatment more consistent. 2015-04-12 19:32:23 -07:00
ccd0
4fcc2d02f3 Make Build.coffee capcode property consistent with post.info.capcode. 2015-04-12 17:49:38 -07:00
ccd0
6ad0064f41 Suppress post thumbnails from loading until they are actually inserted into the index.
Hopefully a temporary way of doing this until we get filtering working on JSON
so we don't have to build the posts at all.
2015-03-28 18:27:09 -07:00
ccd0
897bdac327 Merge branch 'master' into html 2015-03-28 16:34:11 -07:00
ccd0
dded914e41 And a few more conditionals. 2015-03-28 16:24:27 -07:00
ccd0
bf34d8cacb Allow other names here. 2015-03-28 15:11:04 -07:00
ccd0
1c81838a91 Remove unneeded escaping. 2015-03-28 15:06:45 -07:00
ccd0
afaf6178e8 Merge branch 'master' into next 2015-03-26 19:12:05 -07:00
ccd0
4c9c386429 Make post and clone file parsing are consistent. 2015-03-25 02:20:12 -07:00
ccd0
f0be015897 Third attempt: Fix conflict with 4chan imgur thumbnail script. #363 2015-03-22 23:00:45 -07:00
ccd0
f47a1e959d Second attempt: Fix conflict with 4chan imgur thumbnail script. #363 2015-03-22 21:58:18 -07:00
ccd0
b5dca335fe Revert "Fix conflict with 4chan imgur thumbnail script. #363"
This reverts commit a20c4ad95ff55b8f71d9c1568fc96db1bd9db2ec.
2015-03-22 21:04:13 -07:00
ccd0
a20c4ad95f Fix conflict with 4chan imgur thumbnail script. #363 2015-03-22 16:40:33 -07:00
ccd0
faa7263bd3 Merge branch 'bstable'
Conflicts:
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
2015-03-16 12:43:51 -07:00
ccd0
83aa975211 Revert "Work around GM3.0 GM_openInTab bug."
It seems to be fixed in GM3.1 but we don't have a way to distinguish.

This reverts commit d46d02f2497240163699782cb55c6480a87d93b8.
2015-03-16 12:37:30 -07:00
ccd0
3f8ff45a54 Merge branch 'bstable' 2015-03-15 00:14:02 -07:00
ccd0
d46d02f249 Work around GM3.0 GM_openInTab bug. 2015-03-14 23:58:15 -07:00
ccd0
d6f2d9492e Parse /f/ files. 2015-03-14 17:50:37 -07:00
ccd0
ba8e6cbdb9 New test for fake deletions. Also restore post.resurrect. #354 2015-03-10 22:36:37 -07:00
ccd0
01af49fd52 Better fix for false-positive deleted posts: Check Last-Modified header. 2015-03-08 18:54:03 -07:00
ccd0
56918627a2 Merge branch 'bstable'
Conflicts:
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
2015-02-26 22:18:35 -08:00
ccd0
726e3d4e01 Fix most likely cause of thread watcher data corruption. #341
This was feeding bad results to ThreadWatcher.set404 when the g.THREADID was falsy.
2015-02-26 22:03:59 -08:00
ccd0
c8d56e621c Legibility. 2015-02-22 11:12:37 -08:00
ccd0
bb3cbf5822 As of CoffeeScript 1.9.0, parameters like @x are no longer available as x. 2015-02-22 11:05:04 -08:00
ccd0
7f86dd4fbf Merge branch 'bstable'
Conflicts:
	LICENSE
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
2015-02-18 21:37:42 -08:00
ccd0
5e62950fb8 Fix settings resetting for Firefox, again.
"Note that only the first denied property access from a given global object will be reported."
2015-02-18 21:28:06 -08:00
ccd0
aa9d0cf7c5 Really fix $.sync. 2015-02-17 20:22:23 -08:00
ccd0
d295e77f7e Fix $.sync. 2015-02-16 21:29:01 -08:00
ccd0
414be72b4a Make use of archive.json for cleaning DataBoards. 2015-02-15 22:15:12 -08:00
ccd0
dca84b6d2d More unused argument cleanup. 2015-02-15 01:21:57 -08:00
ccd0
6dcf2adcc2 Cleanup "that". 2015-02-15 00:46:20 -08:00
ccd0
6dd2a4103c Add callback to $.set and use it.
We can now:

- Update status of 404'd threads in watcher before redirecting.
- Wait until imported settings are saved before prompting to reload.

Also $.clear now passes errors to the callback rather than simply failing.
2015-02-14 16:05:16 -08:00
ccd0
5ad84a700e Reduce unnecessary storage writes. 2015-02-14 14:05:14 -08:00
ccd0
321813f537 Improve reading/writing of settings on Chromium.
Don't let failures to write synced storage break setting saving.
2015-02-14 12:09:38 -08:00
ccd0
862fd39b00 Merge branch 'bstable'
Conflicts:
	LICENSE
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
2015-02-12 09:59:28 -08:00
ccd0
e2a6ccef60 Work around GM_listValues issue in Firefox 35+. 2015-02-12 09:46:46 -08:00
ccd0
bb41c3a2ee Merge branch 'bstable'
Conflicts:
	LICENSE
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
	src/General/Build.coffee
	src/General/Get.coffee
2015-02-11 23:58:04 -08:00