3150 Commits

Author SHA1 Message Date
Tuxedo Takodachi
7d32e364c5 Time module: cache Intl.DateTimeFormat objects,
callbackNodesDB: increase nr of callbacks because the setTimeout triggers a reflow
2023-06-17 16:36:08 +02:00
Tuxedo Takodachi
0c1b6a7f0d Clean up Array.froms from migration 2023-06-16 22:22:04 +02:00
Tuxedo Takodachi
0c2d652e85 Remove font awesome, use utf-8 icons instead 2023-04-30 13:36:40 +02:00
Tuxedo Takodachi
817ddd51bf Port: Avoid breaking sauce settings of people with links to original Google Images and Google Lens, provided they didn't already update to v1.14.22.3.
from 7295b21b73eb13ec53fdc61767ada341c2e13144
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
b2e4b345a0 Port: Replace Google image search link with Google Lens.
And: Switch Google image search back to old version, thanks to https://boards.4channel.org/g/thread/91737566#p91789527
from f3f03f5e79fb5f26c0fd4406b2ab6796851ea471 and c68a8afbdf30e3cbb35f0834b364f20600151adf
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
8f52b8be52 Fix some bugs after decaffeinate, fix some imports 2023-03-17 19:50:17 +01:00
Tuxedo Takodachi
567a1fe45e Squash and cleanup of the following:
- cca085e60090ca21edf0dee6aa012fc4c949809a
  start of import/export

- f816da146c32f010476872d15b58ec8301b9fdf2
  start of changing stuff until I can get a bundle

- c92adde147792356ff206107b2311590e8b2c054
  first bundle without errors

- e652dd2b785e355e0ac33566da7eaaaa19c7c539
  Bundling works with ts files

- 60fdb2539a757ca2f66258b21adf81246873893f
  meta info in compilation

- 8ccae783cbf65ac186d5669dedd9f945f7608694
  new build doesn't cause errors on page load as userscript

- 6fa11c42a05572779870f94b7ef4ea8dac373450
  work in progress: load userscript in browser and fix bugs

- b15c557d483de544a38a28cb78f25139d1d8421f
  migrated yotsuba templates to plain js

  the old templates caused some variable be in a wrong scope after
decaffeinate, causing them to be unreadable from the old template

  the old templates caused some variable be in a wrong scope after
decaffeinate, causing them to be unreadable from the old template

- 9d763e852fde74808ca14d5a8d6be45f51ae2765
  update readme

- 924eda8268bcfc4f1c0a83062ecd1d0d65bd92aa
  added more imports, and now the circular dependencies are haunting me

- ddd2d23315d801c7deaa28313833e667698aadd3
  jsx templates for escaped strings,
  more bug fixed from circular dependencies

- fee484dd447820d908c77b1e9d31235ab95a481c
  some fixes, clarify jsx

- e1d01d02eba5db2f604a5df786c525e95f32a2f9
  Unpacked extension
  more fixes

- 97d9090b712d20f7d851c82af84c65060f1a9c6e
  fixed class on post that caused catalog to appear empty

- 96a2c7b4a1e69f5812d1e53b2e4c90f6d8447b02
  A child class that's not supposed to run the parents constructor? That needs a workaround in es6 classes.

- fc06b4e1b2769550d4c69377b84d3ccacdb2e013
  changed jsx to make the tests pass

- 7b317b2a0feabe8caa547c76baf0c908b21592f1
  revert archive and banners to json
2023-03-15 21:01:03 +01:00
ccd0
98dcd7cd34 Rename files from .coffee to .js.
for f in src/*/*.coffee; do git mv -- "$f" "${f/.coffee/.js}"; done
2023-03-13 13:07:48 -07:00
ccd0
34e0f149dc Bulk decaffeinate; don't rename files yet.
node_modules/.bin/decaffeinate --loose --nullish-coalescing --optional-chaining src/*/*.coffee && for f in src/*/*.coffee; do mv -- "${f/.coffee/.js}" "$f"; done
2023-03-13 13:06:12 -07:00
Tuxedo Takodachi
8b0f4b5b7f temporary fix optional chaining before = 2023-02-23 21:28:52 +01:00
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
5dc65ebcd8 Remove obsolete 'Captcha Fixes' and 'Captcha Solving Service' options and related code. 2022-05-23 00:45:23 -07:00
ccd0
84e423d0d8 Update for flag changes on /mlp/ and /pol/. 2021-05-06 12:48:28 -07:00
ccd0
60fc13aa3b Make capitalization consistent. #2854 2021-01-13 23:36:48 -08:00
4chenz
f53c22e777 new threads to top 2021-01-06 22:12:03 -07:00
4chenz
81b5d525ff add Posts Per Minute 2020-11-18 18:27:54 -07:00
ccd0
2040b94895 Change default archives list to https://4chenz.github.io/archives.json/archives.json 2020-10-07 08:09:16 -07:00
ccd0
f3de925e42 Fix index not working on /vg/ when sort mode is last reply. https://github.com/ccd0/4chan-x/issues/2685#issuecomment-679311712 2020-08-24 14:47:37 -07:00
ccd0
f96810f70c Update for 4chan /vg/ change. 2020-08-24 08:39:47 -07:00
ccd0
ac8adbd496 Revert "Add option to use your own Youtube API key. #2327"
This reverts commit c7ce6187f2c601fc9daa9f1b4c6dea0c0375db69.
2020-04-26 21:24:28 -07:00
ccd0
bd1caa2568 Add hcaptcha.com and subdomains to Javascript Whitelist so that captcha on Cloudflare security check operates properly. #2584 2020-04-16 03:26:59 -07:00
ccd0
e3a29abe8b Sauce: Update ImgOps URL format. 2020-03-28 21:46:21 -07:00
ccd0
84e6510744 Sauce: Update DeviantArt URL format. #2563 2020-03-28 21:17:24 -07:00
ccd0
ae9f37e530 Update version threshold for archive list change for beta version. #2520 2019-12-29 20:33:33 -08:00
ccd0
2e0ae4bc8d Update location of archive list. #2520 2019-12-29 19:54:46 -08: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
c7ce6187f2 Add option to use your own Youtube API key. #2327 2019-12-13 12:53:18 -08:00
ccd0
6a3f0f44bb Add option to request captcha from captcha services when you start typing. 2019-09-05 18:29:51 -07: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
ccd0
e4eeabaf9e Merge remote-tracking branch 'saxamaphone69/patch-1' 2019-08-26 19:02:36 -07:00
ccd0
f26eb03888 Suggest disabling JSON Index if catalog.json is loading slowly. #2412 2019-08-22 15:09:19 -07:00
ccd0
53490d1d26 Maintain old default boardlist for people upgrading from previous versions. 2019-08-18 12:05:39 -07:00
Johnny
78b83f18b1
Add reference to new tab option in Settings 2019-08-18 22:19:17 +10:00
Johnny
8e626d5d94
Allow for links to open in a new tab
Closes #504
2019-08-18 22:17:29 +10:00
ccd0
154c627330 Merge branch 'bstable' 2019-08-09 08:03:56 -07:00
ccd0
6698d7e9de Assume Chrome is broken by default. #2378 2019-08-09 07:57:38 -07: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
2cc144b535 Update settings import from loadletter fork. 2019-08-04 21:43:47 -07:00
ccd0
58cbca6c46 Merge commit '5d0d957389c14a05eed8fe760ba4d713a8ccb57b' 2019-08-04 13:07:37 -07:00
ccd0
37cf4271ad Merge commit '5631d2877dbc10fe46e1c151b98a351ce3ec4428' 2019-08-04 12:48:57 -07:00
ccd0
bbed2d24a4 Merge commit '43661e8888fadbdf7796689cfb653604463a0f7e' 2019-08-04 12:46:22 -07:00
ccd0
6c31cbe54c Merge commit '375c717dea3ff136d8ebea8b938e9d90bd474c64' 2019-08-04 12:02:07 -07:00
ccd0
f430164b8c Fix regression in syncing with native catalog. 2019-08-03 09:18:05 -07:00
ccd0
e75700f5d9 Safer property access. 2019-08-03 00:23:08 -07:00
ccd0
5d0d957389 Where possible, move test functionality into Test.coffee. #829 2019-07-26 15:15:59 -07:00
ccd0
5631d2877d Include post HTML in error reports from post parsing. #862 2019-07-26 09:26:49 -07:00