210 Commits

Author SHA1 Message Date
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
166ecb42f7 Resolve templating issues before decaffinating 2023-02-23 21:04:32 +01: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
fba3d2d18e Make HTML templates output Javascript, part 3. #829 2019-07-25 19:48:06 -07:00
ccd0
d41c0cf96d Make scroll to post quoting you keybinds work on Tinyboard/vichan. #2171 2019-07-24 14:41:49 -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
a214f51755 Move Build to SW.yotsuba.Build. 2019-04-09 06:49:13 -07:00
ccd0
d0d3f1ed13 Redundant; set in @setEnabled. 2019-04-04 18:00:30 -07:00
Teasday
af42c636b4 Quote threading hotkey 2019-04-04 17:43:31 +03:00
ccd0
87fe975ac6 Implement PostsRemoved event. 2018-12-07 12:59:26 -08:00
ccd0
a1a084acca Update for 4channel.org 2018-11-23 14:11:00 -08:00
ccd0
f24ebbd648 Revert reversion of DataBoard / forceSync changes.
This reverts commit ea08bc882230289d675c58c64572d6a7bd0c4a7a.
2018-01-23 22:17:31 -08:00
ccd0
ea08bc8822 Revert "Asynchronous version of DataBoard.forceSync."
This reverts commit fbee3c2df256b5152efd0682904837f0e13b6411.

Revert "Eliminate $.forceSync from QuoteYou."

This reverts commit f924beb2801b232dcbfa04e6d9d1abb2f6810ec3.

Revert "Better protection against race conditions that can lead to data loss in DataBoard."

This reverts commit 8d0a6cf97f263e0735b3002466328285e5a37454.
2018-01-23 11:03:48 -08:00
ccd0
96f2a82205 Merge remote-tracking branch 'pentargency/filter-self-toggle' 2017-12-28 02:37:25 -08:00
ccd0
f924beb280 Eliminate $.forceSync from QuoteYou. 2017-12-10 21:59:48 -08:00
ccd0
fd191f95c5 Attempt to fix navigation keybind issue in Violentmonkey. #1656 2017-11-19 18:30:42 -08:00
pentargency
5c73d03915 Modified manner in which isYou accesses board and thread ID to fix issue with post objects not containing board and thread members on an index 2017-11-19 07:53:40 -08:00
ccd0
ecb4d5ea04 Update backlink container finding in clones for bottom backlinks. 2017-10-23 00:39:35 -07:00
ccd0
f63e9befa5 Put inlined quotes from bottom backlinks inside post. 2017-10-22 22:23:12 -07:00
ccd0
6570faff7a Move CSS class addition to init; remember value of setting so we stay consistent if setting changed. 2017-10-22 21:56:04 -07:00
Johnny
738dd8991a Implement Bottom Backlinks
- add a class to `html` to differentiate between backlink container positions
 - if enabled, have backlinks inserted into a container located at the bottom of the post
2017-10-23 12:18:11 +11:00
ccd0
07b5b52a2c Detect archive post linked to when link is of form '#q'. 2017-08-02 00:14:06 -07:00
ccd0
b96c39a6c6 Move You checkbox down in menu (beneath Archive). #1277 2017-02-07 10:02:57 -08:00
ccd0
a2c75ee237 Add CSS class toggle-you to menu entry for marking posts as yours. 2017-01-31 06:41:08 -08:00
ccd0
192eafa670 Add convenience function QuoteYou.isYou. 2017-01-29 18:02:33 -08:00
ccd0
dfb6e55bb2 Add menu item to mark/unmark posts as yours. #195 2017-01-28 12:18:09 -08:00
ccd0
fc8684282f Activate appropriate features on previews shown in archive. #1256 2017-01-28 03:48:07 -08:00
ccd0
edd7e14cf3 If Quote Preview is enabled, links to threads in the internal archive will show previews of the OP on hover, as the native extension does. #1256 2017-01-27 18:27:34 -08:00
ccd0
34d47e8f80 'Prune by Default' -> 'Prune All Threads' 2016-11-07 18:25:19 -08:00
ccd0
67d22a15e9 Add Prune by Default option (default: false): Turn Reply Pruning on by default in all threads, except when navigating to a post that would be hidden. #1115 2016-11-07 12:19:54 -08:00
ccd0
c2a2dafe7f Move repeated code into $.modifiedClick. 2016-11-06 21:25:06 -08:00
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
ccd0
8a6b6b5ec8 Add thread.nodes.root property. 2016-09-25 14:28:04 -07:00
ccd0
fd57ddac20 Fix Quote Preview not working in catalog if post is inlined in index. 2016-09-21 04:29:56 -07:00
ccd0
785fac50a7 Remove strikethrough from deadlinks if and only if Resurrect Quotes is on. 2016-09-21 04:10:59 -07:00
ccd0
823ddb9d46 Change quote markers from textContent to styleable spans. 2016-09-21 03:44:03 -07:00
ccd0
e45eaea49f Move comment from index post to catalog post. Make quote previewing and embedding work in catalog. 2016-09-18 03:26:21 -07:00
ccd0
e1b0d62ceb Have return hack be added by the compilation script. 2016-06-12 00:25:58 -07:00
ccd0
403b8dcfac Don't treat internal links as archive links. 2016-05-13 23:17:17 -07:00
ccd0
64d0bd0afd Put archive links in separate collection from quote links so features such as quote markers aren't run on them. 2016-05-13 23:12:14 -07:00
ccd0
cc69f4a3da Drop domain check for archive links. 2016-05-12 00:00:55 -07:00
ccd0
adf1d4716b Turn archive links into quotelinks. #512 2016-05-11 23:39:22 -07:00
ccd0
64bb62a075 No more having to hack the contents of the coffee-generated JS. 2016-04-19 16:27:05 -07:00
ccd0
f1b82d013f Remove dependency of Post, Thread, CatalogThread classes on Callbacks class. 2016-04-15 10:34:39 -07:00
ccd0
86cc721a56 Fix behavior of 'Inline Cross-thread Quotes Only' on backlinks to deleted posts, links to hidden posts. #825 2016-04-03 16:48:31 -07:00
ccd0
e7fce8d0ac Make entirety of 'Threading' menu item clickable. 2016-04-03 15:59:15 -07:00
ccd0
f6010ca298 Make 'Threading' and 'Show Last <n>' checkboxes turn each other off. 2016-04-03 00:07:31 -07:00