14034 Commits

Author SHA1 Message Date
Tuxedo Takodachi
4da80d4400 Added option to minify user script with -min 2023-04-30 13:38:41 +02:00
Tuxedo Takodachi
0c2d652e85 Remove font awesome, use utf-8 icons instead 2023-04-30 13:36:40 +02:00
Tuxedo Takodachi
be62c12b9e Fix post parsing and package.json meta links 2023-04-09 11:13:22 +02:00
Tuxedo Takodachi
ff51e38e9c Merge branch 'pr' into project-XT 2023-04-08 21:00:05 +02:00
Tuxedo Takodachi
d5ccb5bfe1 Fix image embedding 2023-04-08 20:59:01 +02:00
Tuxedo Takodachi
efacdd60a0 Point package.json to TuxedoTako/4chan-xt, update readme.
Done to make the GitHub repo match the PR more, old version is available on branch xt-old, but using it isn't recommended.
2023-04-06 18:59:57 +02:00
Tuxedo Takodachi
4bd91ce2d8 Optimize filters:
- Use Map for string
- in valueF functions return empty array instead of \[undefined\] to skip iterating over filters for empty values
2023-03-31 19:19:05 +02:00
Tuxedo Takodachi
f80be7613a Rename filter.js to .ts 2023-03-31 19:02:54 +02:00
Tuxedo Takodachi
35eefa3d09 Add types to Post 2023-03-31 19:02:10 +02:00
Tuxedo Takodachi
f1b998bd7c Rename post.js to .ts to keep git history 2023-03-31 17:17:44 +02:00
Tuxedo Takodachi
0aba9d72ba Merge remote-tracking branch 'origin/master' into port-changes-since-decaffeinate 2023-03-19 12:54:46 +01:00
Tuxedo Takodachi
0f4b964d17 Port releases v1.14.22.2 trough v1.14.22.4.
from 27957c25af5d182adc38f1e67a098ab338631ccd, 14e67e9a958633e37b4e4a6293cfa3a921c1eab0 and ea2462ecc47327c6f0c31348d95fd2b1b6447cb3
2023-03-19 12:52:35 +01:00
Tuxedo Takodachi
a66505c5c0 Port: Recognize JPEG files with .jfif extensions as images for purposes of Image Hover etc.; also recognize .avif and .jxl files as images.
from 71873cd7b22a565c2a41fa24f63f7504152683eb
2023-03-19 12:52:34 +01: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
1235fd9b9f Port: Update chrome-webstore-upload.
from eb25d6e797a1673fd7cddb257fce04055383ec9b
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
59af4ba8fe Port: Catch errors due to "Restricted" selection. #2905
from 2a47dfd8ba724b17f5bc5f9214bea8ce8b469398
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
f547779106 Port: Update Randomize Filename to match current 4chan format. https://boards.4channel.org/g/thread/91737566#p91784238
from 19268975ea2d49a753624315b0928f27496aac02
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
3cb910790f Port: Remove empty space from ads if they don't load. https://kissu.moe/b/res/7155#11052
from aef984da1a6af4d0003b51e7f03bce252ac71dff
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
94ae31f6f5 Port: Add Google Lens image search url
from 8795b1c56dbdfb52a32ddb3ea80b549f0048dc7b
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
36fb1ac6f2 Port: Make QR post more like original form post. #3330
from e9c1529da7844a42a1b40458c2c77b77e23ca537
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
6381ae463b Port: Disable Javascript Whitelist on captcha iframe. #3292
from 2a8bf2adb0737ce7bb1e21f6b959e4c6e1de1bc7
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
cae0fa5a0b Port: Update archive list.
from 944b04210c119aedf8da1a8bcabaca9b80312118
2023-03-19 12:52:34 +01:00
Tuxedo Takodachi
06a72ee79b Cleaner PostClone constructor workaround 2023-03-19 12:49:50 +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
ccd0
ea2462ecc4 Release 4chan X v1.14.22.4. 2023-02-28 14:23:33 -08:00
ccd0
71873cd7b2 Recognize JPEG files with .jfif extensions as images for purposes of Image Hover etc.; also recognize .avif and .jxl files as images. 2023-02-28 14:15:43 -08:00
ccd0
7295b21b73 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. 2023-02-28 14:03:21 -08:00
ccd0
14e67e9a95 Release 4chan X v1.14.22.3. 2023-02-26 23:12:51 -08:00
ccd0
c68a8afbdf Switch Google image search back to old version, thanks to https://boards.4channel.org/g/thread/91737566#p91789527 2023-02-26 22:48:30 -08:00
ccd0
eb25d6e797 Update chrome-webstore-upload. 2023-02-26 22:25:54 -08:00
ccd0
27957c25af Release 4chan X v1.14.22.2. 2023-02-26 21:33:29 -08:00
ccd0
944b04210c Update archive list. 2023-02-26 21:26:51 -08:00
ccd0
2a47dfd8ba Catch errors due to "Restricted" selection. #2905 2023-02-26 21:20:17 -08:00
ccd0
19268975ea Update Randomize Filename to match current 4chan format. https://boards.4channel.org/g/thread/91737566#p91784238 2023-02-26 20:33:35 -08:00
ccd0
aef984da1a Remove empty space from ads if they don't load. https://kissu.moe/b/res/7155#11052 2023-02-26 20:22:06 -08:00
ccd0
f3f03f5e79 Replace Google image search link with Google Lens. 2023-02-26 20:12:11 -08:00
ccd0
d16062a8fa Merge remote-tracking branch '4chenz/master' 2023-02-26 20:00:43 -08:00
ccd0
e9c1529da7 Make QR post more like original form post. #3330 2023-02-26 19:49:42 -08:00
ccd0
2a8bf2adb0 Disable Javascript Whitelist on captcha iframe. #3292 2023-02-26 19:38:47 -08: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
4chenz
451a06f54b alice.al domain change
https://archive.fo/PsB08
2023-01-16 00:33:58 -06:00
4chenz
8a6392b1cf add Eientei
update archived.moe
2023-01-14 14:09:12 -06:00
4chenz
86071184aa archived.moe adds /pw/ search, tokyochronos has hosting issues
https://archive.ph/b5dYW
2022-09-17 10:38:57 -05:00
notevenaperson
402679e33a desuarchive removes /wsg/ files
fireden.net doesn't have /tg/ anymore
2022-09-17 10:23:52 -05:00