d266f7fa7f
Add ESLint configuration and switch to pnpm
2023-11-16 05:33:13 +01:00
baa5d413f5
clean up shit
2023-11-16 04:11:04 +01:00
2f1b66e793
Update .gitignore file to ignore all files in
...
builds directory and test directory
2023-11-14 05:05:07 +01:00
be9701305e
Change from js to Typescript
2023-11-14 05:04:27 +01:00
Tuxedo Takodachi
ebe35f2972
2.2.3: Fixed error when "Force Noscript Captcha" is enabled.
2023-11-08 17:30:57 +01:00
Tuxedo Takodachi
45a3a49da8
XT2.2.2
...
- Fixed trying to get thread JSON from unsupported archives.
- Fixed type in Redirect.ts
2023-10-29 14:06:36 +01:00
Tuxedo Takodachi
d19d34e91a
2.2.1
...
- Fixed thread not scrolling to last read post.
- Set default 'Exempt Archives from Encryption' to false. This setting will _not_ change automatically when updating.
- Enabled automatic updates. If you don't want updates, turn them off in your user script manager.
- Removed build files related to upstream 4chan X
- Updated CONTRIBUTING.md and README.md
2023-10-28 20:14:40 +02:00
Tuxedo Takodachi
b047925392
XT 2.2.0: ability to restore posts from external archives
2023-10-27 16:16:19 +02:00
Tuxedo Takodachi
f5ba6a0941
Move some files to ts
2023-10-27 12:15:54 +02:00
Tuxedo Takodachi
0372d676e1
Also minify css.
...
The minifier didn't keep the newlines anyway.
Also, now I'm working on the build, return empty source mappings for a warning in the console less.
2023-09-08 20:10:32 +02:00
Tuxedo Takodachi
1973f87414
Fix Settings.upgrade to work with version numbers prepended with XT
2023-09-02 17:30:43 +02:00
Tuxedo Takodachi
5815070572
Fix DataBoard
...
Related to bug https://github.com/TuxedoTako/4chan-xt/issues/7
2023-09-02 16:36:06 +02:00
Tuxedo Takodachi
d8c74f02ca
XT v2.1.3
...
- Embed x.com links.
- Settings no longer close when the mouse ends up outside of the modal when selecting text in an input or textarea.
2023-08-21 20:11:24 +02:00
Tuxedo Takodachi
144143e2b0
Fix inlining/previewing of archive links like quote links. #5
2023-07-22 17:54:11 +02:00
Tuxedo Takodachi
3f34c5fb75
XT 2.1.1: fix error when date format locale not set
2023-07-16 10:55:01 +02:00
Tuxedo Takodachi
52a847bfa5
XT 2.1 release
2023-06-24 18:04:13 +02:00
Tuxedo Takodachi
7d6dd7c653
Audio posts
...
Not yet available int the gallery. Ill add that if someone asks for it.
2023-06-24 17:52:48 +02:00
Tuxedo Takodachi
e4236c62c8
Rename ImageExpand from js to ts
2023-06-24 14:30:17 +02:00
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
2a9a8ba7de
Rename Time.js to .ts
2023-06-17 15:20:31 +02:00
Tuxedo Takodachi
0c1b6a7f0d
Clean up Array.froms from migration
2023-06-16 22:22:04 +02:00
Tuxedo Takodachi
486b0df990
XT release
2023-04-30 16:04:01 +02:00
Tuxedo Takodachi
2358ca2cd8
Port youtube live embed fix from https://github.com/ccd0/4chan-x/pull/3352
2023-04-30 15:43:14 +02:00
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