185 Commits

Author SHA1 Message Date
Tuxedo Takodachi
60ae31ead0 Resolve even more templating issues before decaffinating 2023-02-23 21:19:18 +01:00
Tuxedo Takodachi
166ecb42f7 Resolve templating issues before decaffinating 2023-02-23 21:04:32 +01:00
ccd0
a5099f0b20 Disable transformation of full board list except on 4chan. 2019-12-16 23:47:51 -08:00
ccd0
b3ca1df7a0 Fix display of board names containing special characters in custom board list. #2473 2019-12-13 13:08:59 -08:00
ccd0
67a8c6fa1f Make -nt work for current links on Tinyboard and for external links. #2403 2019-08-26 19:21:55 -07:00
ccd0
831ce556f2 We should consider adding noreferrer but it doesn't make sense to add it only for new tab links. #2403 2019-08-26 19:15:33 -07:00
ccd0
fea847ab89 Don't return here. #2403 2019-08-26 19:14:12 -07:00
Johnny
8e626d5d94
Allow for links to open in a new tab
Closes #504
2019-08-18 22:17:29 +10:00
ccd0
9ee9f2c2c6 Fix custom board links for boards without native catalog/archive being changed to nonexistent native catalog/archive links on catalog/archive pages. #2390 2019-08-06 23:38:17 -07:00
ccd0
fba3d2d18e Make HTML templates output Javascript, part 3. #829 2019-07-25 19:48:06 -07:00
ccd0
48022bb31b Remove last uses of $.globalEval. 2019-07-25 17:49:24 -07:00
ccd0
e38e6e254b Add Header.noticesRoot as early as possible to increase likelihood error messages show up in event of problem. 2019-07-25 16:22:15 -07:00
ccd0
898c8e0df9 Make External Catalog work on /f/. 2019-07-21 17:20:05 -07:00
ccd0
699c1f7be5 Make Catalog Links toggle work on Tinyboard/vichan. #2171 2019-07-21 17:14:18 -07:00
ccd0
a547904c11 Merge commit '38f63e6aa8c913e95e418235283c8fc2113a1c5c' into next2 2019-07-10 12:20:13 -07:00
ccd0
4d9dae9095 Make bottom board list code work on Tinyboard/vichan sites. 2019-07-08 18:30:10 -07:00
ccd0
f6c37ce57f Fix links to boards with same name on other sites being highlighted as the current board. 2019-07-08 18:04:31 -07:00
ccd0
8ee847133a Don't insert 4chan native settings link on non-4chan boards. 2019-07-08 17:59:42 -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
67d5af480f Remove remaining places where list of boards without archive is hardcoded. #525 2019-03-08 23:44:38 -08:00
ccd0
91472e371e Support current-catalog link in custom board list on Tinyboard/vichan. 2018-12-11 18:54:38 -08:00
ccd0
a1a084acca Update for 4channel.org 2018-11-23 14:11:00 -08:00
ccd0
2249da91e8 Fix g-full text in custom board list. #1774
Also addresses #384, #642.
2018-01-24 10:52:40 -08:00
ccd0
f8969bbc1e Revert broken part of c1d8b08746af343c690dea954e13fdfb772c085e commit. 2018-01-24 00:46:05 -08:00
ccd0
c1d8b08746 Fix 4chan board links in header when on other boards. 2018-01-24 00:12:48 -08:00
ccd0
97b29d60b1 Custom board list fixes for multisite. 2017-12-25 05:17:58 -08:00
name
5a177796a8 Make header and board list work on Tinyboard. 2017-12-11 16:01:54 -08:00
ccd0
3b1bc9fcbc Minor fixes for new board /bant/. 2017-05-13 14:24:47 -07:00
ccd0
7ab8282607 Fix typo/regression from 95b12e3240f10e129cdbc946d1a9d6c9c00775a6 causing header to use incomplete board list. 2016-11-07 00:51:16 -08:00
ccd0
95b12e3240 Clean up the callback spaghetti in Header and CatalogLinks a bit. 2016-10-08 16:36:44 -07:00
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
ccd0
394812b2df Fix header autohide state when turning off 'Auto-hide header on scroll' with 'Auto-hide header' on. 2016-09-10 18:57:15 -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
7ac2ce33da Use 4chan icon for native settings instead of leaf. 2016-04-27 09:48:47 -07:00
ccd0
2909e88223 Bring back index argument for Header.addShortcut. 2016-04-27 08:38:33 -07:00
ccd0
64bb62a075 No more having to hack the contents of the coffee-generated JS. 2016-04-19 16:27:05 -07:00
ccd0
0e8fade646 Scrolling to post hidden by Reply Pruning unhides post. This includes 'Scroll to Last Read Post'. 2016-04-03 21:34:19 -07:00
ccd0
6296393365 Make mode/sort options for custom board links compatible with Catalog Links. 2016-03-12 18:29:16 -08:00
ccd0
1e528eabe2 Add mode and sort options for custom board links. 2016-03-12 17:58:40 -08:00
ccd0
e8cce848e7 Better handling of scrolling to hash in JSON index. 2016-03-12 16:32:16 -08:00
ccd0
0ea4509d3a JSON Index: Support multiple commands in hash by separating with slashes.
Also generalize Header.hashScroll to support scrolling to last item in list
as well as scrolling to non-post elements.
2016-03-12 12:06:23 -08:00
ccd0
806d352367 Avoid error from incomplete pageload. 2016-01-23 14:21:27 -08:00
ccd0
939638b480 Fix Header.hashScroll.
Regression from 3750c5bdf552bc374c600373aae033a302facddc.
2015-12-13 11:58:51 -08:00
ccd0
90b16fc2ab Fix duplicate IDs from inlined quotes. #533 2015-12-13 11:17:50 -08:00
ccd0
51d8851f8d Fix 4chan X scrolling to wrong position when back button is used. 2015-12-07 20:42:35 -08:00
ccd0
e27858216f Remove unwanted execute permissions. 2015-11-15 14:00:17 -08:00
ccd0
a88db556b5 /trash/ has no internal archive. #576 2015-11-07 13:54:02 -08:00
ccd0
1c81838a91 Remove unneeded escaping. 2015-03-28 15:06:45 -07:00