601 Commits

Author SHA1 Message Date
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
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
227bd828f8 Clean up selectors for Thread Watcher open thread links. 2021-05-08 07:38:34 -07:00
ccd0
096086cc28 Merge remote-tracking branch 'paradox460/add-open-unread-to-watch' 2021-05-08 07:20:17 -07:00
ccd0
6bae7403cc Merge remote-tracking branch 'puckzxz/master' 2021-05-08 06:11:20 -07:00
ccd0
36a3e7cdcc Fix race condition causing unread posts tracking to malfunction. 2021-05-07 00:47:29 -07:00
Jeff Sandberg
93e9510fe5
Add a menu item to open unread in ThreadWatcher 2021-02-25 12:27:37 -07:00
Chris
29d37253bd Added option to open dead threads 2021-01-23 13:48:23 -05:00
ccd0
dc499dab90 ThreadWatcher.update call in Unread must set isArchived. 2019-12-13 12:21:47 -08:00
ccd0
93407ba23c Need to fetch status here to determine whether thread is dead or archived. 2019-12-13 12:02:52 -08:00
ccd0
2bc7b175dc Support archived threads on kissu.moe in Thread Watcher. 2019-12-13 03:09:12 -08:00
ccd0
7488ff9a6c Add isArchived property to Thread Watcher data. 2019-12-12 20:59:55 -08:00
ccd0
05405b68e5 Fix bug from v1.14.7.0 (commit af00c711ff) causing excerpt in thread watcher to not be set. #2404 2019-08-18 10:13:55 -07:00
ccd0
58cbca6c46 Merge commit '5d0d957389c14a05eed8fe760ba4d713a8ccb57b' 2019-08-04 13:07:37 -07:00
ccd0
bbed2d24a4 Merge commit '43661e8888fadbdf7796689cfb653604463a0f7e' 2019-08-04 12:46:22 -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
e58eefc5e6 More changes to expedite compiling Coffeescript before interpolating templates. #829 2019-07-26 12:48:17 -07:00
ccd0
fba3d2d18e Make HTML templates output Javascript, part 3. #829 2019-07-25 19:48:06 -07:00
ccd0
093bbc9905 Fix exception when Thread Watcher keybind pressed on Tinyboard/vichan sites. 2019-07-22 17:46:15 -07:00
ccd0
1bad329294 Apply filters to first unread post in watched thread and to first post quoting you. 2019-07-16 23:32:06 -07:00
ccd0
b154a4a79e Multifile support in site.Build.parseJSON, and account for some differences in vichan JSON. #2171 2019-07-15 19:29:40 -07:00
ccd0
35bbf9e129 Fix bug from 473cbf122853db399fefa0efd21fdbb8f21637eb causing Thread Watcher refresh button to spin indefinitely after switching tabs. 2019-07-15 12:37:10 -07:00
ccd0
b221ed8da2 Fix bug in page number highlighting when sticky causes overflow to page 11. #753
Getting the page count from boards.json would be better here but this is probably good enough.

Also implement highlighting for prune position on /f/.
2019-07-15 00:00:49 -07:00
ccd0
f718dd7a04 Add Dismiss posts quoting you item to Thread Watcher menu to unhighlight the icon and threads until there are new replies quoting you. 2019-07-14 21:39:12 -07:00
ccd0
63fefa2357 Make sure thread data is refetched on next update if Thread Watcher updated with stale data. 2019-07-14 11:47:49 -07:00
ccd0
ca11d70ef6 Prevent filtered posts from counting in Thread Watcher unread count regardless if they are quoting you. 2019-07-14 10:49:50 -07:00
ccd0
a8264df928 Merge branch 'bstable' 2019-07-13 11:05:14 -07:00
ccd0
473cbf1228 Fix excessive thread watcher checking when switching tabs if cookies disabled. 2019-07-13 10:58:18 -07:00
ccd0
8091065f03 Make Thread Stats work on Tinyboard/vichan sites. #2171 2019-07-13 05:09:54 -07:00
ccd0
a650efe9ab Change this test to test a property. 2019-07-13 03:15:22 -07:00
ccd0
393ee447d7 Implement thread.lastPost. 2019-07-13 03:14:03 -07:00
ccd0
fa7f2cb20b These features are 4chan-specific. 2019-07-11 05:54:22 -07:00
ccd0
3a379000cb Fix your posts appearing to the side of the last post on Tinyboard/vichan. #2217 2019-07-11 05:31:47 -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
57a5509765 Merge branch 'next' into next2 2019-07-10 12:41:05 -07:00
ccd0
6f1165da9f Merge commit '794027e355ba117ae533d15907a45e1e5e85173a' into next2 2019-07-10 12:30:49 -07:00
ccd0
a547904c11 Merge commit '38f63e6aa8c913e95e418235283c8fc2113a1c5c' into next2 2019-07-10 12:20:13 -07:00
ccd0
2d64d48ac8 Only update thread last modified time if thread data fetch succeeds. 2019-07-10 07:59:20 -07:00
ccd0
5660b8701c Add link to header menu to mark all posts in a thread as unread. #1299 2019-06-29 23:11:49 -07:00
ccd0
a214f51755 Move Build to SW.yotsuba.Build. 2019-04-09 06:49:13 -07:00
ccd0
ca373dcf36 Use g.sites instead of parsing Conf['siteProperties'] everywhere. 2019-04-09 04:22:59 -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