297 Commits

Author SHA1 Message Date
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
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
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
4a8ee7e3a4 Make Shift+click to hide and Alt+click to watch work anywhere on catalog thread. 2016-09-22 01:48:14 -07:00
ccd0
9891f03bca Fix catalog crashing on hidden/filtered threads. 2016-09-21 05:25:06 -07:00
ccd0
e45eaea49f Move comment from index post to catalog post. Make quote previewing and embedding work in catalog. 2016-09-18 03:26:21 -07:00
ccd0
9bd1fb7648 Merge branch 'bstable' 2016-09-17 22:50:06 -07:00
ccd0
c01c078fd2 Fix TeX sometimes not working in /sci/ catalog. 2016-09-17 22:43:51 -07:00
ccd0
1aff1f87e7 Turn this into a loop over threads. 2016-09-17 21:37:09 -07:00
ccd0
c91ac0ba89 Add deferred option to SortIndex event.
Fixes bug where (un)watching threads wouldn't change the order
when you refreshed the index if the index hadn't changed.
2016-09-17 05:29:17 -07:00
ccd0
785abe09b7 Remove redundant index re-sorts. 2016-09-17 05:21:13 -07:00
ccd0
84735fee8c Make Index.pageLoad a bit cleaner. 2016-09-17 05:11:15 -07:00
ccd0
88a629ea0f Changing mode doesn't require setting page number. 2016-09-17 05:04:15 -07:00
ccd0
7327588ff8 Use SortIndex event rather than calling methods in Index. 2016-09-17 04:55:42 -07:00
ccd0
60bb314783 Sorting not needed here. 2016-09-17 04:36:14 -07:00
ccd0
4c77245428 Remove Index.followedThreadID. Changing pinned watched threads only immediately resorts in catalog mode now. 2016-09-17 04:25:09 -07:00
ccd0
4db8b753a6 Bring back IndexBuild event. 2016-09-17 02:26:01 -07:00
ccd0
696d3c37c3 Index.buildSinglePage returning nodes -> Index.threadsOnPage returning threads 2016-09-17 00:38:50 -07:00
ccd0
cfaa2a86b3 Index.sortedNodes -> Index.sortedThreads 2016-09-16 23:49:31 -07:00
ccd0
f390674ffc Remove parent container for JSON Index threads.
I don't think this is currently needed.
2016-09-16 22:12:07 -07:00
ccd0
2a13c80190 Merge commit 'e1b0d62ceb258f016377517182497d3572fae095' 2016-07-09 15:35:52 -07:00
ccd0
6a2b05a629 Make sure all shortcuts have IDs. #904 2016-06-17 17:59:53 -07:00
ccd0
e1b0d62ceb Have return hack be added by the compilation script. 2016-06-12 00:25:58 -07:00
ccd0
1eab048cad Index connection error should say 'Connection Error'. 2016-05-17 22:21:53 -07:00
ccd0
2909e88223 Bring back index argument for Header.addShortcut. 2016-04-27 08:38:33 -07:00