1. 16 Jul, 2024 1 commit
    • Chenlei Hu's avatar
      Add `FrontendManager` to manage non-default front-end impl (#3897) · 99458e8a
      Chenlei Hu authored
      * Add frontend manager
      
      * Add tests
      
      * nit
      
      * Add unit test to github CI
      
      * Fix path
      
      * nit
      
      * ignore
      
      * Add logging
      
      * Install test deps
      
      * Remove 'stable' keyword support
      
      * Update test
      
      * Add web-root arg
      
      * Rename web-root to front-end-root
      
      * Add test on non-exist version number
      
      * Use repo owner/name to replace hard coded provider list
      
      * Inline cmd args
      
      * nit
      
      * Fix unit test
      99458e8a
  2. 09 Jul, 2024 1 commit
  3. 02 Jul, 2024 2 commits
    • comfyanonymous's avatar
      Remove some empty lines. · 2f032016
      comfyanonymous authored
      2f032016
    • shawnington's avatar
      Fix to #3465. Prevent, resaving of duplicate images if overwrite not specified (#3472) · 52aaee25
      shawnington authored
      * Fix to #3465. Prevent the, resaving of duplicate images if overwrite not specified
      
      This is a fix to #3465 
      
      Adds function compare_image_hash to do a sha256 hash comparison between an uploaded image and existing images with matching file names. 
      
      This changes the behavior so that only images having the same filename that are actually different are saved to input, existing images are instead now opened instead of resaved with increment. 
      
      Currently, exact duplicates with the same filename are resave saved with an incremented filename in the format:
      
      <filename> (n).ext 
      
      with the code: 
      
      ```
      while os.path.exists(filepath): 
                              filename = f"{split[0]} ({i}){split[1]}"
                              filepath = os.path.join(full_output_folder, filename)
                              i += 1
      ```
      
      This commit changes this to: 
      
      ```
      while os.path.exists(filepath): 
                              if compare_image_hash(filepath, image):
                                  image_is_duplicate = True
                                  break
                              filename = f"{split[0]} ({i}){split[1]}"
                              filepath = os.path.join(full_output_folder, filename)
                              i += 1
      ```
      
      a check for if image_is_duplicate = False is done before saving the file. 
      
      Currently, if you load the same image of a cat named cat.jpg into the LoadImage node 3 times, you will get 3 new files in your input folder with incremented file names.
      
      With this change, you will now only have the single copy of cat.jpg, that will be re-opened instead of re-saved. 
      
      However if you load 3 different images of cats named cat.jpg, you will get the expected behavior of having:
      cat.jpg
      cat (1).jpg
      cat (2).jpg
      
      This saves space and clutter. After checking my own input folder, I have 800+ images that are duplicates that were resaved with incremented file names amounting to more than 5GB of duplicated data.
      
      * fixed typo in expression
      52aaee25
  4. 20 Jun, 2024 1 commit
  5. 19 Jun, 2024 1 commit
  6. 01 May, 2024 1 commit
    • Garrett Sutula's avatar
      Add TLS Support (#3312) · bacce529
      Garrett Sutula authored
      * Add TLS Support
      
      * Add to readme
      
      * Add guidance for windows users on generating certificates
      
      * Add guidance for windows users on generating certificates
      
      * Fix typo
      bacce529
  7. 11 Mar, 2024 3 commits
  8. 25 Feb, 2024 1 commit
  9. 29 Jan, 2024 1 commit
  10. 08 Jan, 2024 1 commit
    • pythongosssss's avatar
      Store user settings/data on the server and multi user support (#2160) · 235727fe
      pythongosssss authored
      * wip per user data
      
      * Rename, hide menu
      
      * better error
      rework default user
      
      * store pretty
      
      * Add userdata endpoints
      Change nodetemplates to userdata
      
      * add multi user message
      
      * make normal arg
      
      * Fix tests
      
      * Ignore user dir
      
      * user tests
      
      * Changed to default to browser storage and add server-storage arg
      
      * fix crash on empty templates
      
      * fix settings added before load
      
      * ignore parse errors
      235727fe
  11. 06 Jan, 2024 1 commit
  12. 04 Jan, 2024 1 commit
  13. 02 Jan, 2024 1 commit
  14. 28 Nov, 2023 1 commit
  15. 20 Nov, 2023 1 commit
  16. 29 Oct, 2023 1 commit
  17. 03 Oct, 2023 1 commit
  18. 19 Sep, 2023 1 commit
  19. 09 Sep, 2023 1 commit
  20. 07 Sep, 2023 4 commits
  21. 30 Aug, 2023 1 commit
  22. 29 Aug, 2023 2 commits
  23. 28 Aug, 2023 1 commit
  24. 26 Aug, 2023 1 commit
  25. 20 Aug, 2023 2 commits
  26. 04 Aug, 2023 1 commit
  27. 19 Jul, 2023 1 commit
  28. 13 Jul, 2023 1 commit
  29. 24 Jun, 2023 1 commit
  30. 15 Jun, 2023 1 commit
  31. 12 Jun, 2023 1 commit
  32. 05 Jun, 2023 1 commit