368 Commits

Author SHA1 Message Date
ccd0
b154a4a79e Multifile support in site.Build.parseJSON, and account for some differences in vichan JSON. #2171 2019-07-15 19:29:40 -07:00
ccd0
393ee447d7 Implement thread.lastPost. 2019-07-13 03:14:03 -07:00
ccd0
57a5509765 Merge branch 'next' into next2 2019-07-10 12:41:05 -07:00
ccd0
a547904c11 Merge commit '38f63e6aa8c913e95e418235283c8fc2113a1c5c' into next2 2019-07-10 12:20:13 -07:00
ccd0
8cd7b2cc08 Support searching for threads by regular expressions on a given field using syntax field:/regexp/ 2019-06-28 21:09:47 -07:00
ccd0
a214f51755 Move Build to SW.yotsuba.Build. 2019-04-09 06:49:13 -07:00
ccd0
38f63e6aa8 Move most stuff from Site to g.SITE; Site.hostname -> g.SITE.ID; put data for other sites in g.sites. 2019-04-09 03:30:58 -07:00
ccd0
e5ab4ffb5b Clean up index notification code and handle aborting previous request better. 2019-03-24 02:41:56 -07:00
ccd0
e77fa69c53 Move If-Modified-Since code to separate function $.whenModified 2019-03-23 13:03:45 -07:00
ccd0
e975035ac6 Merge branch 'bstable' 2019-03-10 21:12:22 -07:00
ccd0
697d16192f Index refresh should also fetch freshest copy.
Fixes bug from 52128775e1edb69f83c93526516e6531511725fd.
2019-03-09 22:29:40 -08:00
ccd0
496043342f No longer needed since 44feaf4eb700d13b218076bc11188cd5cdeab9f4 2019-03-08 23:49:18 -08:00
ccd0
67d5af480f Remove remaining places where list of boards without archive is hardcoded. #525 2019-03-08 23:44:38 -08:00
ccd0
44feaf4eb7 Eliminate use of onabort and event in Index.coffee. 2019-03-08 20:54:41 -08:00
ccd0
6671afc690 Fix issue from v1.14.5.6 causing display of 'NaN seconds' before index is loaded. 2019-01-22 21:17:20 -08:00
ccd0
1cbd4907f2 Fix bug from 9bb9be1f67e81a4907eaf886e1ae0951672190eb causing Last Index Refresh time to not update with passing time until index/catalog reloaded. 2018-12-09 23:28:22 -08:00
ccd0
87fe975ac6 Implement PostsRemoved event. 2018-12-07 12:59:26 -08:00
ccd0
481a775a80 Add Unread Line in Index option, combined with previous work on Mark Read button. #625
Also fix various bugs with the old implementation.
2018-10-20 22:43:34 -07:00
ccd0
96cae8339a Fire PostsInserted event on common ancestor of inserted posts. 2018-10-20 12:40:52 -07:00
ccd0
8be6bd3898 Add optional link to mark threads read from index. #625 2018-10-17 05:57:37 -07:00
ccd0
8d727ed555 Fix bug in reply count shown on thread stubs. 2018-10-17 05:33:36 -07:00
ccd0
02daf4b05a Fix removal of stale cached thread data on index refresh which was broken by updates for GM4. 2018-01-01 17:59:02 -08:00
ccd0
c41c6d412b WebExtensions doesn't like protocol relative URLs in AJAX requests. 2017-09-28 02:23:59 -07:00
ccd0
7a41c7462e Last Long Reply order will now ignore hidden and filtered replies. 2017-08-12 10:44:16 -07:00
ccd0
eda9b121c5 Move reply hiding test into function for reuse. 2017-08-12 10:39:16 -07:00
ccd0
e02e5a4f2d Speed up last long reply sorting. 2017-08-12 10:00:07 -07:00
ccd0
67e7b5ac58 Eliminate redundant network request for reply data for preview in 4chan X catalog. 2017-07-14 19:48:57 -07:00
ccd0
39b65a63fd In Last Long Reply order, if no visible reply meets threshold and there are omitted replies, sort by first visible reply. 2017-06-29 19:39:15 -07:00
ccd0
f06be36805 Support adjusting the length thresholds for 'Last Long Reply' order. Thresholds can be set separately for replies with and without images. 2017-06-28 22:40:43 -07:00
ccd0
3b1bc9fcbc Minor fixes for new board /bant/. 2017-05-13 14:24:47 -07:00
ccd0
9745dcc707 Fix iframes from Embedding being reloaded when switching to catalog. 2016-11-26 02:08:33 -08:00
ccd0
d40495fba8 Add Catalog Hover Toggle setting: whether clicking in the catalog toggles Catalog Hover Expand. #489 2016-11-12 20:57:10 -08:00
ccd0
6147bd8b2f Merge branch 'bstable' 2016-11-08 01:39:06 -08:00
ccd0
ab33c571e5 Revert "Sorting not needed here."
This reverts commit 60bb3147833bfe3bc45754cd63cefc4d2350253b.

The sorting is needed because of threads which have had their
shown/hidden changed since the last sort. Due to 'Anchor Hidden Threads'
these can be out of order.
2016-11-08 01:07:42 -08:00
ccd0
fb02a2104a Move removal of threads from catalog to ThreadHiding.hide/show.
This allows the call to ThreadHiding.hide in Filter.quickFilterMD5 to work.
2016-11-08 00:51:49 -08:00
ccd0
88be17aeb1 Let Index.updateHideLabel keep track of whether Index is enabled rather than its callers. 2016-11-08 00:43:52 -08:00
ccd0
05bffd36c5 Don't try to toggle catalog hover expansion from non-catalog mode. 2016-11-08 00:04:28 -08:00
ccd0
379dd13e0f Fix bug causing replies to not immediately show when catalog thread is clicked. 2016-11-07 03:04:53 -08:00
ccd0
d17550b802 Merge branch 'next' 2016-11-06 22:17:11 -08:00
ccd0
2cc3fc4572 Only activate Catalog Hover Expand when catalog is clicked. Deactivate on second click. #489 2016-11-06 22:04:37 -08:00
ccd0
c2a2dafe7f Move repeated code into $.modifiedClick. 2016-11-06 21:25:06 -08:00
ccd0
0d09c63d7c Prevent hovered catalog threads from going offscreen if the extra padding on .board is removed. 2016-11-06 15:02:48 -08:00
ccd0
aa7a35307a Merge branch 'reverse' into next 2016-10-30 21:35:15 -07:00
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