2874 Commits

Author SHA1 Message Date
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
78cf15a9cd Fix unwanted array comprehension. 2016-10-01 17:29:31 -07:00
ccd0
49b946199c Change postID to ID in Build.parseJSON output. 2016-10-01 17:27:09 -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
d671e88ac9 Shift hats into same position as on index. 2016-10-01 08:36:07 -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
0387df6259 Add ID to catalog threads. 2016-09-28 00:04:06 -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
65b12de90c Fix failure in ef3ee6afa2af623e45b541f824aa0ce1791d1938 to remove catalog-postContainer and catalog-post on thread rebuild. 2016-09-27 20:40:43 -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
8a6b6b5ec8 Add thread.nodes.root property. 2016-09-25 14:28:04 -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
ccd0
49a74fe6e1 Fix comments not being moved back to posts when threads are added by infinite scroll.
Fixes bug from e45eaea49f775bcb59727e9657e718ac3dcd5421.
2016-09-25 06:35:34 -07:00
ccd0
3a568ab366 Better thread data lookup. 2016-09-25 03:48:25 -07:00
ccd0
84b7f546a5 Move this code into the HTML template. 2016-09-25 02:54:19 -07:00
ccd0
94c0a60b77 Remove variable no longer used. 2016-09-25 02:42:40 -07:00
ccd0
67a54d383d Give links around thumbnails in catalog class catalog-link. 2016-09-25 02:35:07 -07:00
ccd0
e54a42edeb Have Post object track whether it is being used as a catalog OP. 2016-09-24 23:42:20 -07:00
ccd0
2917636bcf Reorganize thread building. 2016-09-24 22:06:15 -07:00
ccd0
e496de4f6a Move file div from post into catalog node; display file info on hover. 2016-09-23 01:10:21 -07:00
ccd0
350230d52c Show name and timestamp in catalog thread on hover by moving post info from post. 2016-09-22 07:49:23 -07:00
ccd0
9b33834bfc Fix code tags, exif data in catalog.
Fixes bug from e45eaea49f775bcb59727e9657e718ac3dcd5421.
2016-09-22 06:12:42 -07:00
ccd0
4a8ee7e3a4 Make Shift+click to hide and Alt+click to watch work anywhere on catalog thread. 2016-09-22 01:48:14 -07:00