1. 21 Oct, 2023 1 commit
    • pythongosssss's avatar
      Unit tests + widget input fixes (#1760) · 5818ca83
      pythongosssss authored
      * setup ui unit tests
      
      * Refactoring, adding connections
      
      * Few tweaks
      
      * Fix type
      
      * Add general test
      
      * Refactored and extended test
      
      * move to describe
      
      * for groups
      
      * Add test for converted widgets on missing nodes + fix crash
      
      * tidy
      
      * mores tests + refactor
      
      * throw earlier to get less confusing error
      
      * support outputs
      
      * more test
      
      * add ci action
      
      * use lts node
      
      * Fix?
      
      * Prevent connecting non matching combos
      
      * update
      
      * accidently removed npm i
      
      * Disable logging extension
      
      * added step to generate object_info
      
      * fix python
      
      * install python
      
      * install deps
      
      * fix cwd?
      
      * logging
      
      * Fix double resolve
      
      * create dir
      
      * update pkg
      5818ca83
  2. 19 Oct, 2023 1 commit
  3. 16 Oct, 2023 4 commits
  4. 14 Oct, 2023 3 commits
  5. 12 Oct, 2023 1 commit
  6. 08 Oct, 2023 2 commits
  7. 06 Oct, 2023 2 commits
  8. 05 Oct, 2023 2 commits
  9. 04 Oct, 2023 1 commit
  10. 03 Oct, 2023 1 commit
  11. 24 Sep, 2023 1 commit
  12. 21 Sep, 2023 2 commits
  13. 20 Sep, 2023 1 commit
  14. 19 Sep, 2023 2 commits
  15. 17 Sep, 2023 1 commit
  16. 16 Sep, 2023 2 commits
  17. 15 Sep, 2023 1 commit
  18. 13 Sep, 2023 1 commit
  19. 10 Sep, 2023 1 commit
  20. 09 Sep, 2023 2 commits
  21. 08 Sep, 2023 4 commits
  22. 06 Sep, 2023 1 commit
  23. 05 Sep, 2023 2 commits
  24. 03 Sep, 2023 1 commit
    • Michael Abrahams's avatar
      Add support for pasting images into the graph · 6f70227b
      Michael Abrahams authored
      It can be useful to paste images from the clipboard directly into the node graph.
      This commit modifies copy and paste handling to support this.
      
      When an image file is found in the clipboard, we check whether an image node is selected.
      If so, paste the image into that node. Otherwise, a new node is created.
      If no image data are found in the clipboard, we call the original Litegraph paste.
      To ensure that onCopy and onPaste events are fired, we override Litegraph's ctrl+c and ctrl+v handling.
      
      Try to detect whether the pasted image is a real file on disk, or just pixel data copied from e.g. Photoshop.
      Pasted pixel data will be called 'image.png' and have a creation time of now.
      If it is simply pasted data, we store it in the subfolder /input/clipboard/.
      
      This also adds support for the subfolder property in the IMAGEUPLOAD widget.
      6f70227b