66 Commits

Author SHA1 Message Date
ccd0
b01c372c1a Merge from Appchan X: src/General/lib
deferred: changes to Callbacks.execute
2015-02-06 20:59:54 -08:00
ccd0
a85d5b2335 Don't pause WebMs with audio when off screen. 2015-01-31 11:48:28 -08:00
ccd0
8df52a0b24 Merge from Appchan X: Whitespace and other changes not affecting compiled script. 2015-01-31 02:50:38 -08:00
ccd0
44cd4d842a Prevent unnecessary loading of fallback iframe when Javascript is disabled. 2014-12-21 12:24:01 -08:00
ccd0
ab40bfbe69 Implement $.onExists. 2014-12-21 11:48:46 -08:00
ccd0
f1ef4b6c3c Prevent adding custom CSS multiple times. 2014-12-20 01:32:00 -08:00
ccd0
d08583e2e6 Exit gallery on fullscreen exit. 2014-11-22 19:52:26 -08:00
ccd0
5e971532b4 Trust Greasemonkey's value instead of the value from the storage event.
Also fix $.set and $.delete breaking check on whether sync is needed.
2014-10-18 18:30:41 -07:00
ccd0
ade9191eed fix return values of $.ajax, $.cache 2014-10-11 21:18:43 -07:00
ccd0
8b7275df22 Move yourPosts out of synced storage.
Also try to make it easier to move stuff in and out of synched storage if necessary.
2014-10-07 23:03:44 -07:00
ccd0
05fc008f44 Cooldown update, bugfixes.
- implement new 300s global thread cooldown
- update cooldown on post/thread deletion
- delays from error messages only apply to posts like the one that caused the error
- duplicate post delay ignored
2014-10-05 16:05:48 -07:00
ccd0
3f64823fc8 fix data loss when HTTP and HTTPS pages are open in different tabs 2014-09-28 12:40:33 -07:00
ccd0
014af473f4 simplify ImageLoader 2014-09-11 01:33:49 -07:00
ccd0
9cdac0c9f4 recheck threads when quoted post not found in cached data 2014-09-10 01:19:28 -07:00
ccd0
d1fbe50319 ImageLoader: refactoring, little fixes 2014-09-07 17:02:38 -07:00
ccd0
5c46064306 remove stale requests from cache on index refresh 2014-08-29 22:22:37 -07:00
ccd0
626991eae6 remove email filtering and email search archive link 2014-08-23 11:16:40 -07:00
ccd0
cff287c9c3 HTML templates 2014-08-02 22:43:01 -07:00
ccd0
4ce947d686 more informative messages for Adblock/Noscript induced errors 2014-07-19 10:28:29 -07:00
Mayhem
13cffb606d $.delete needs to take into account $.localKeys. 2014-07-18 23:20:17 -07:00
Mayhem
039464603a Setting local data on Chrome is not throttled, only debounce sync. 2014-07-18 23:19:06 -07:00
Mayhem
79758ec37b Fix setArea never actually retrying after an error. 2014-07-18 23:14:49 -07:00
Mayhem
8643b8e9af Drop data that exceeds QUOTA_BYTES_PER_ITEM. 2014-07-18 23:12:45 -07:00
Mayhem
7f0e719d19 Harden the Chrome storage API lib.
Clear/delete should clear/delete data that's about to get set.
2014-07-18 23:06:34 -07:00
ccd0
c606cc05a0 temp reformatting 2014-07-18 23:06:30 -07:00
ccd0
8d4ea7d8f9 remove $.desync 2014-07-18 23:01:36 -07:00
Mayhem
d5fb02e98e Slightly safer Chrome storage setting.
try/catch is probably useless.
2014-07-18 22:43:39 -07:00
ccd0
63d7372ad2 a few more tweaks from Mayhem 2014-06-18 23:59:17 -07:00
ccd0
718dc126db structured-clone detail of event 2014-06-18 03:37:11 -07:00
ccd0
3d28405268 remove unused $.extend 2014-06-17 18:52:06 -07:00
ccd0
c9e62f3889 this should never be used 2014-06-15 12:21:35 -07:00
ccd0
27558ba6d6 use $.asap instead of specializing $.ready 2014-05-18 20:43:44 -07:00
ccd0
8fb98b785a better solution to the loading problem 2014-05-18 09:27:01 -07:00
ccd0
de5f4e0a85 no need to rush 2014-05-13 03:09:31 -07:00
Zixaphir
2ac2286ad5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	src/General/lib/$.coffee
	src/Images/Sauce.coffee
2014-01-28 01:11:06 -07:00
Zixaphir
51ba83538a Better $.rmAll
I verified an issue with the previous benchmark and even wrote a
more efficient method based off el.cloneNode(false);, which I would
use if cloneNode could inherit eventListeners

Speaking of events. there is still no interface for gather all
eventListeners on a given element (or its children). Apparently the
issue is that the w3c doesn't think there is a legitimate use case
for it. Heh.
2014-01-24 16:10:04 -07:00
Zixaphir
b6749b91a5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	css/style.css
	html/General/Settings-section-Main.html
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/$.coffee
	src/General/lib/thread.class
	src/Linkification/Linkify.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadStats.coffee
2014-01-22 12:10:34 -07:00
Zixaphir
9e6e9686e6 We don't need an entire method for a set of code we only use once 2014-01-15 15:25:57 -07:00
Zixaphir
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00
Zixaphir
32641549f2 Unread.disconnect() 2014-01-07 16:03:31 -07:00
Zixaphir
3d87a9cfb6 Gonna revert this for now, was causing weird issues. 2014-01-04 15:34:17 -07:00
Zixaphir
b38f63e313 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	Gruntfile.coffee
	src/Filtering/PostHiding.coffee
	src/General/Build.coffee
	src/General/lib/$.coffee
	src/Menu/Menu.coffee
	src/Posting/QuickReply.coffee
2013-12-25 10:54:21 -07:00
Zixaphir
b060a9c23e Cheats.
Don't do this. Why am I doing it, then? Because indexOf is so
slooooooooooooooooooooooooooooooooooooooooooooooooooooooooooow
2013-12-24 15:33:39 -07:00
Zixaphir
91233b8d61 remove [].contains. It was a bad idea.
I shouldn't be messing with stuff like this without a really good
reason for doing so, and the longer I thought about it, the more
it occurred to me that I didn't have one.
2013-12-24 14:41:21 -07:00
Zixaphir
a3c1afa5cd Merge -- probably bugged until I sort out everything
that's actually changed. Honestly, all I wanted was the
4cdn changes, but any excuse to merge was good enough, I guess.

Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3

Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	changelog-old
	css/style.css
	html/General/Settings.html
	html/Monitoring/ThreadUpdater.html
	html/Monitoring/ThreadWatcher.html
	html/Posting/QR.html
	package.json
	src/Filtering/ThreadHiding.coffee
	src/General/Build.coffee
	src/General/Config.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/post.class
	src/General/meta/manifest.json
	src/Images/ImageExpand.coffee
	src/Meta/banner.js
	src/Miscellaneous/ExpandComment.coffee
	src/Miscellaneous/ExpandThread.coffee
	src/Miscellaneous/Keybinds.coffee
	src/Miscellaneous/Nav.coffee
	src/Monitoring/Favicon.coffee
	src/Monitoring/ThreadStats.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Monitoring/ThreadWatcher.coffee
	src/Monitoring/Unread.coffee
	src/Posting/QuickReply.coffee
2013-11-22 17:25:06 -07:00
Zixaphir
d15f8ee728 Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	Gruntfile.coffee
	LICENSE
	css/style.css
	html/Posting/QR.html
	img/changelog/3.2.0/0.png
	package.json
	src/General/Get.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Notice.coffee
	src/General/Notification.coffee
	src/General/Settings.coffee
	src/General/img/icon.gif
	src/General/lib/notification.class
	src/Monitoring/Favicon.coffee
	src/Posting/QuickReply.coffee
	src/Quotelinks/QuoteOP.coffee
2013-08-17 20:33:48 -07:00
seaweedchan
b9b4efae5e Merge in new thread watcher and change a few things 2013-08-13 00:03:29 -07:00
Zixaphir
e0895c594a Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	css/style.css
	src/Archive/Redirect.coffee
	src/General/Build.coffee
	src/General/Config.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/$.coffee
	src/General/lib/databoard.class
	src/Monitoring/ThreadStats.coffee
	src/Monitoring/ThreadUpdater.coffee
	src/Monitoring/ThreadWatcher.coffee
2013-08-12 18:26:39 -07:00
seaweedchan
875f0cd4f8 Merge Zixaphir X 2013-08-12 00:07:39 -07:00
Zixaphir
8b992d42ed Merge branch 'v3' of git://github.com/MayhemYDG/4chan-x into v3
Conflicts:
	CHANGELOG.md
	src/General/Config.coffee
	src/General/Main.coffee
	src/General/lib/$.coffee
	src/Miscellaneous/Time.coffee
2013-08-09 19:36:40 -07:00