375 Commits

Author SHA1 Message Date
ccd0
6717a23f66 Use bump order when index sort type is unrecognized instead of throwing an error. 2016-10-30 10:58:55 -07:00
ccd0
cd51c53e40 Simplify reverse sort code. 2016-10-29 23:26:43 -07:00
ccd0
6a04dae6a0 Don't accept hash commands as reverse sort hash commands unless they actually end with '-rev'. 2016-10-29 23:01:24 -07:00
Koushien
1d0d7f3f2c Revise reverse sort implementation details
On setup, immediately check box if '-rev'
appended to current sort.

For custom board navigation, prefer to account for
'-rev' option in processHash().

Bring sorting work outside nested function.
2016-10-29 12:19:00 -07:00
Koushien
1c7e85ea7b Add box to reverse index, appends -rev if checked
When box element is toggled, invoke a revised
sort option that appends "-rev" to the sort
dropdown value when box is checked. If this value
changes while box is checked, the new sort is
still reversed.

If "-rev" is already given by previously saved
sort or custom board navigation option, pick the
correct dropdown value and check box
automatically.

Wrap previous sorting implementation, determining
if "-rev" is tacked on and doing the reverse work
at the end.
2016-10-28 22:52:43 -07:00
Koushien
0e739d6711 Let custom board navigation accept "rev" option.
Explicitly add reversed hash commands and suggest
option in settings description.
2016-10-28 22:50:44 -07:00
ccd0
baa14a2765 Fix bug from v1.13.0.3 causing index/catalog search to not search comment. 2016-10-22 21:08:47 -07:00
ccd0
3a98275bb0 Fix bug from v1.13.0.3 causing threads to be incorrectly pruned / marked dead in Thread Watcher.
Fixes bug from 293fca67dda7091916cf7483ff6d021cb25cf73c.
2016-10-04 19:42:21 -07:00
ccd0
f3e2cbb19e Thread Hiding currently needs thread.nodes.root to exist.
Fixes bug from e4a1f6d4a36bc683056573c8ce86098016031931.
2016-10-04 03:09:37 -07:00
ccd0
fa1aaa224c Mirror most of Index Navigation menu settings in main settings panel. #186 2016-10-04 01:35:15 -07:00
ccd0
80b652c508 Don't show excerpts of hidden replies in the catalog either. 2016-10-03 02:51:16 -07:00
ccd0
3c96afc0b6 Don't show excerpts of filtered replies in catalog. 2016-10-03 02:26:33 -07:00
ccd0
c370ca0ddd Delay catalog reply building until hover. 2016-10-03 02:20:04 -07:00
ccd0
28e2ea7af7 Fix race condition between clearing index and inserting rest of catalog. 2016-10-03 00:19:39 -07:00
ccd0
e4a1f6d4a3 Reduce needless rebuilding of threads. 2016-10-02 22:53:01 -07:00
ccd0
6067243ecb Tweak progressive catalog loading. 2016-10-02 14:08:19 -07:00
ccd0
f63a8b8a4b Restore page numbers to cross-thread quotes. 2016-10-02 13:13:38 -07:00
ccd0
d69775ed39 Make first part of catalog load faster. 2016-10-02 04:31:13 -07:00
ccd0
ddb0c3b048 Get rid of obsolete thread.nodes.placeholder. 2016-10-02 00:52:10 -07:00
ccd0
7f64cd9c26 Move Index.buildThreads call into buildStructure / buildCatalog. 2016-10-02 00:18:29 -07:00
ccd0
59bc4143db Remove deferred thumbnail loading; no longer needed. 2016-10-01 21:02:26 -07:00
ccd0
293fca67dd Only build the threads we need. 2016-10-01 20:46:14 -07:00
ccd0
80b350b3a6 Get page numbers from Index.threadPosition. 2016-10-01 20:30:42 -07:00
ccd0
b64b513841 Fix needless call to Index.buildIndex. 2016-10-01 20:15:03 -07:00
ccd0
2947665a29 Get rid of Index.nodes. 2016-10-01 20:00:21 -07:00
ccd0
a117e3ed36 Fix oversight. Index needs to keep track of hidden threads, not just filtered ones.
Fixes bug from 445b6fdf6f180db22f7cc1505d67f460858e1f35.
2016-10-01 19:25:25 -07:00
ccd0
d68ec9ecfd No email to search anymore. 2016-10-01 18:10:57 -07:00
ccd0
4c6701f2f7 Cache filter results so we don't run all OP filters twice. 2016-10-01 18:09:48 -07:00
ccd0
445b6fdf6f Sort and filter index based on JSON data. 2016-10-01 17:10:33 -07:00
ccd0
93f303da51 Index.sortedThreads -> Index.sortedThreadIDs 2016-10-01 16:38:37 -07:00
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
ccd0
0d3ad8a1ec Move this code into Build.catalogReply function. 2016-09-28 22:55:51 -07:00
ccd0
b63d5bb892 Don't build reply excerpts in catalog if 'Catalog Hover Expand' is off. 2016-09-28 22:15:23 -07:00
ccd0
a5cc57c38f Improve 'Catalog Hover Expand' description. 2016-09-28 22:08:52 -07:00
ccd0
79721044cf Remove 'Catalog Reply Hover' option. 2016-09-28 22:05:26 -07:00
ccd0
a9bde55965 Consolidate code to add/remove catalog classes from posts. 2016-09-28 21:13:21 -07:00
ccd0
420368219c Only fire IndexRefresh when there are new posts. #1106 2016-09-28 03:13:08 -07:00
ccd0
dc3daab07f Make sure IndexRefresh fires after 4chanXInitFinished. #1106 2016-09-27 23:18:23 -07:00
ccd0
76d31e5408 Merge branch 'indexrefresh' 2016-09-27 21:00:02 -07:00
ccd0
8b05eb326f Only show full reply in catalog when hovering over '...' link. 2016-09-27 14:50:24 -07:00
ccd0
ea86d2ffe4 Add Catalog hover expand option. 2016-09-27 03:21:53 -07:00
ccd0
b8884818d5 Change IndexBuild to IndexRefresh. #1106 2016-09-27 02:42:53 -07:00
ccd0
ef3ee6afa2 Add catalog-postContainer and catalog-post classes, and use them in CSS. 2016-09-27 01:33:49 -07:00
ccd0
9bb9be1f67 Show excerpts of replies in catalog with full reply on hover. 2016-09-26 21:37:29 -07:00
ccd0
7c7d79e436 Consistency. placeholder is inited to null in Thread class. 2016-09-26 14:36:10 -07:00
ccd0
9c30295b8e Fix shift+click and alt+click in catalog.
Was broken by 9cee88ce3a9676adb999b6fc2536716a7e8debfb which
removed data-full-i-d on catalog threads.
2016-09-25 18:59:20 -07:00
ccd0
9cee88ce3a Put catalog stuff into post rather than moving post stuff into catalog thread. 2016-09-25 18:21:02 -07:00
ccd0
1fc0c94f7d Reorganize Index.buildIndex etc. 2016-09-25 15:43:49 -07:00
ccd0
3997cf354d Pull Index references out of Build.catalogThread. 2016-09-25 14:26:41 -07:00
ccd0
378d2be2da Simplify Build.thread arguments. 2016-09-25 14:25:51 -07:00