1008 Commits

Author SHA1 Message Date
Mayhem
9127179e0d Nuke the Enable 4chan's Extension setting. 2014-03-07 04:23:01 +01:00
Mayhem
59f2ca6a51 rm as many id attributes in posts as possible.
Add root.dataset.fullID, simplify Get.postFromRoot().
Also figured Menu.toggle() could be simplified since stub of threads do not exist anymore.
2014-02-27 19:02:32 +01:00
Mayhem
a853bd5e8e Make hiding threads on all threads index mode faster. #1484 2014-02-27 17:54:31 +01:00
Mayhem
2924711db4 Get rid of Index.nodes, -1 Get.threadFromRoot call. 2014-02-27 17:42:52 +01:00
Mayhem
fba0571efb rm dead code 2014-02-25 04:25:29 +01:00
Mayhem
ac8e05dd22 Simplify import/export of settings.
Also clear all stored data before importing.
2014-02-24 23:56:30 +01:00
Mayhem
c3fd98551a Less <i>s. 2014-02-24 20:33:58 +01:00
Mayhem
5c6c0b7bd7 Use FontAwesome for the announcement hiding button. 2014-02-24 19:48:18 +01:00
Mayhem
397e936765 Wait for the pagelist to be replaced before removing .index-loading. 2014-02-24 15:27:00 +01:00
Mayhem
3f2aeff448 Fix #1473. 2014-02-23 02:08:51 +01:00
Mayhem
49c9156c30 Optimize the index by using a sorted list of threads instead of nodes.
Only one call to Get.threadFromRoot() per thread now.
2014-02-22 00:17:49 +01:00
Mayhem
27fa3f2bf7 Switching between the un/hidden thread index should navigate us to page 0. 2014-02-22 00:17:48 +01:00
Mayhem
8613e11bc2 Hiding threads will hide empty index pages too.
Rebuilding the paged index should navigate us to the last available page.
2014-02-22 00:17:48 +01:00
Mayhem
ab2ea29dd6 Hiding threads should be able to hide other posts recursively too. 2014-02-22 00:17:48 +01:00
Mayhem
498dfda2ef Update code related to hidden threads. 2014-02-22 00:17:48 +01:00
Mayhem
0ea3c733a4 Hide threads like we hide them in the catalog. 2014-02-22 00:17:48 +01:00
Mayhem
0e3f90fe4f Make use of Post::getNameBlock(). 2014-02-22 00:17:48 +01:00
Mayhem
463947820f Simpler code for stubs. 2014-02-22 00:17:48 +01:00
Mayhem
785f5b39dc Make Thread::{hide,show} handle the catalog view. 2014-02-22 00:17:48 +01:00
Mayhem
0d7190b4d6 regexp -> string 2014-02-22 00:17:47 +01:00
Mayhem
ce2b9ee170 Add post labelling. 2014-02-22 00:17:47 +01:00
Mayhem
d052bfc186 Optimize the index by dealing with HRs as little as possible. 2014-02-22 00:17:47 +01:00
Mayhem
61510ca272 Add {Post,Thread}::{hide,show}(). Merge reply hiding and thread hiding. 2014-02-22 00:17:47 +01:00
Mayhem
4860b59d1b Fix quoting on Firefox. 2014-02-22 00:17:22 +01:00
Mayhem
f456495160 Quoting now also includes the spoiler and code tags. 2014-02-21 17:45:39 +01:00
Mayhem
5ca21b1f4a Refresh the index when trying to navigate to the same board.
Close #1461.
2014-02-21 17:07:00 +01:00
Mayhem
cbf60059b8 Fix the QR. 2014-02-20 20:29:11 +01:00
Mayhem
756722e184 Merge branch 'v3' into cr32 2014-02-19 00:55:33 +01:00
Mayhem
b9896b48d2 Add some default booleans to Posts and Threads.
Remove timeOfDeath as I won't get to use it anytime soon.
Fix #1456.
2014-02-17 18:07:51 +01:00
Mayhem
70fd543073 Hide the .page-num in archived posts. 2014-02-15 22:58:34 +01:00
Mayhem
8e423493ac Fix quote markers on backlinks in clones. 2014-02-15 22:43:03 +01:00
Mayhem
d8049013f5 Fix incorrect OP/cross-thread markers on some backlinks. 2014-02-15 22:35:15 +01:00
Mayhem
7df0fd1414 Simplify QuoteMarkers.parseQuotelink arguments. 2014-02-15 22:24:10 +01:00
Mayhem
004c3f74ed Re-think the Quote Backlink implementation.
Before this rewrite, containers and backlinks were created even if the relevant
post did not exist in the page. If the post would never end up existing, it
resulted in a waste of resources. QuoteBacklink's cache also prevented these
containers and backlinks from being garbage collected.
We now only store a map of fullIDs. This feature should be faster since less
elements gets allocated, although the difference is probably negligible.
2014-02-15 21:49:04 +01:00
Mayhem
8b5912b77d Archive links with no archive should keep custom text.
Don't return too early then.
2014-02-15 16:08:17 +01:00
Mayhem
216f7c3abb rm Clean Links config. 2014-02-15 00:51:47 +01:00
Mayhem
e6198d4014 Remove <wbr>s in links, use CSS to break. 2014-02-15 00:37:39 +01:00
Mayhem
fe5f19d705 Add board-mode and board-sort to custom board navigation. 2014-02-14 21:44:29 +01:00
Mayhem
7ec83c24bc Add a tooltip showing the OP's post info in the catalog. 2014-02-13 18:30:55 +01:00
Mayhem
349009ab67 Close #1449. 2014-02-13 17:24:14 +01:00
Mayhem
740e408798 Add Open threads in a new tab setting. 2014-02-13 15:43:15 +01:00
Mayhem
e2f26cfa66 Keep the title in 404'd tabs. 2014-02-13 15:04:12 +01:00
Mayhem
cbc85407df Optimize setting data operations.
Setting local data on Chrome is not throttled, only debounce sync.
Don't make DBs save data on every page load, don't save cleaning operations if nothing's changed.
Debounce Unread.saveLastReadPost() on Chrome to every 5 seconds.
2014-02-13 14:41:24 +01:00
ahodesuka
c97112d0ee Change ordering to be the same as the dropdown. 2014-02-12 02:21:08 -06:00
ahodesuka
1c47e1c197 Remove unneeded parentheses, change default keybindings, remove unneeded slice and filter. 2014-02-12 02:09:02 -06:00
ahodesuka
165fad8623 Add hotkeys for index modes. 2014-02-12 00:11:29 -06:00
Mayhem
b6b86cc599 Close #1439. 2014-02-11 12:39:56 +01:00
Mayhem
ab739fd446 Add keybind to cycle through index sort types. 2014-02-11 10:13:53 +01:00
Mayhem
fb1257b4c6 Toggle index size classes when switching index mode too. 2014-02-11 09:55:26 +01:00
Mayhem
87dafbe643 Move .catalog-mode to doc. 2014-02-11 09:49:40 +01:00