183 Commits

Author SHA1 Message Date
Tuxedo Takodachi
6381ae463b Port: Disable Javascript Whitelist on captcha iframe. #3292
from 2a8bf2adb0737ce7bb1e21f6b959e4c6e1de1bc7
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
d65a607293 Revert "Use $.queueTask (MessageChannel based) instead of setTimeout."
This reverts commit 2e2fe4a82b27b5ff8f637cebdb283669ee5116a7.
2021-05-06 12:21:57 -07:00
ccd0
2e2fe4a82b Use $.queueTask (MessageChannel based) instead of setTimeout. 2021-05-06 10:32:02 -07:00
ccd0
fde01e20f1 Revert "Add link on recently-departed Samachan to proposed move to SushiChan."
This reverts commit 60976ccde9c5a1113cf18ab2613b74f46c055241.
2020-05-21 12:26:58 -07:00
ccd0
60976ccde9 Add link on recently-departed Samachan to proposed move to SushiChan. 2020-05-19 02:52:11 -07:00
ccd0
d0b492760c Preliminary support for new Kissu UI. 2020-04-01 02:52:24 -07:00
ccd0
4f20d47b97 Fix for unclosed link in https://sushigirl.us/ announcement. 2020-02-03 00:19:40 -08:00
ccd0
d52f725ec1 Make sure isDead is set on archived threads on kissu.moe. 2019-12-13 11:58:05 -08:00
ccd0
334f7e2a52 Recognize archived threads on kissu.moe as threads. 2019-10-21 20:54:51 -07:00
ccd0
50000b2fa5 Don't try to insert header etc. on .rss URLs. 2019-09-14 20:41:19 -07:00
ccd0
f086c2ec52 Add message to 4chan Pass buyers. 2019-09-04 12:06:28 -07:00
ccd0
19deb7c065 Add small announcement on /qa/. 2019-08-18 01:47:12 -07:00
ccd0
b7706ee4b1 Fix spacing in /qa/ board title. #2369 2019-08-06 23:42:11 -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
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
ccd0
d87dc0af6c Add userscript manager to error reports. #862 2019-07-26 02:42:54 -07:00
ccd0
43661e8888 Put backticks around template to make transition so we can compile Coffeescript before interpolating it. #829 2019-07-25 20:41:06 -07:00
ccd0
fba3d2d18e Make HTML templates output Javascript, part 3. #829 2019-07-25 19:48:06 -07:00
ccd0
53f2252f38 Detect conflicts with native extension and show appropriate error message. #1627 2019-07-25 18:49:57 -07:00
ccd0
25dd9d5985 Take Coffeescript stuff out of this template. #829 2019-07-25 16:27:00 -07:00
ccd0
57ab3cf5d1 Make parsing of location on init available for arbitrary URLs. 2019-07-21 10:49:07 -07:00
ccd0
c6684f5ba2 Add option Filter in Native Catalog to apply 4chan X filters on native catalog. Also works on vichan sites. #2351 2019-07-18 15:15:05 -07:00
ccd0
31b4097999 Don't insert header etc. on .json URLs. 2019-07-17 10:54:54 -07:00
ccd0
a6ab951170 Fix Tinyboard/vichan post form redirecting before your posts can be recorded as yours. #2171 2019-07-11 00:29:48 -07:00
ccd0
28ba2df7d4 Make Volume in New Tab and Loop in New Tab work on Tinyboard/vichan sites. 2019-07-10 17:00:54 -07:00
ccd0
32ebd6a318 Move tests on image filename before redirecting to more appropriate place. 2019-07-10 16:46:28 -07:00
ccd0
566c8bffd0 "Change Use Faster Image Host setting to Override 4chan Image Host in Advanced menu, which can be set to whichever image host you want to use. #2046 2019-07-10 16:29:22 -07:00
ccd0
a547904c11 Merge commit '38f63e6aa8c913e95e418235283c8fc2113a1c5c' into next2 2019-07-10 12:20:13 -07:00
ccd0
6a88344481 Merge commit '2450d041737bd08bc65c43690ec3bc72f79a6287' into next2 2019-07-10 11:58:58 -07:00
ccd0
667495e641 Make sure thread watcher icon is visible on sites with dark backgrounds. 2019-07-08 19:59:23 -07:00
ccd0
e891f69bca Fix dialog color not being set in some Tinyboard site catalogs. 2019-07-08 18:53:47 -07:00
ccd0
0437e1a11e Mechanism to insert site-specific selectors. #2169 2019-07-08 13:39:35 -07:00
ccd0
96e204ff41 Merge remote-tracking branch 'ebinBuddha/postjumper' 2019-07-06 14:18:09 -07:00
ccd0
175350bb3d Support captcha solving services. 2019-07-05 17:45:09 -07:00
ccd0
086175a668 Add contact links to mod and other capcode posts. 2019-06-23 11:17:16 -07:00
ccd0
4004b5c84f Do AJAX requests from page context in Chrome extension. #2228 2019-06-22 21:54:31 -07:00
ccd0
d78f100309 Fix conflict with thread-stats element on some vichan boards. 2019-05-07 17:58:06 -07:00