Commit Graph

160 Commits (4e8c2e945d69ed87e2ecb95b30104e20f6fdb985)

Author SHA1 Message Date
Abdullah Alfaraj f1e28789cb method to toggle the background layer 2023-02-27 05:00:21 +03:00
Abdullah Alfaraj aacf1915c0 check for update methods 2023-02-27 04:42:30 +03:00
Abdullah Alfaraj aec5978f75 Request status should be set to ideal/finished on initialize. 2023-02-27 04:36:25 +03:00
Abdullah Alfaraj 49ad686990 only end the session if it's active 2023-02-27 04:33:56 +03:00
Abdullah Alfaraj 3d79954f0e setup the controlnet tab interface 2023-02-27 04:26:21 +03:00
Abdullah Alfaraj fcfa9b6f5a populate controlnet model and module menus 2023-02-27 04:24:55 +03:00
Abdullah Alfaraj 0ace53c512 utility function for creating menus 2023-02-27 04:22:07 +03:00
Abdullah Alfaraj af8c46b192 fix the update prompt message, get data from online file 2023-02-27 00:05:06 +03:00
Abdullah Alfaraj e2def41107 only get the controlnet settings when controlnet is enabled 2023-02-26 21:33:56 +03:00
Abdullah Alfaraj 36849efd83 delete duplicate code caused by merge on conflict 2023-02-26 02:19:45 +03:00
Abdullah Alfaraj b900c437d7 method to populate a html menu 2023-02-26 02:17:42 +03:00
Abdullah Alfaraj 90127378f5 general get request function 2023-02-26 02:17:16 +03:00
Abdullah Alfaraj ab0b18f624 populate the control net model list 2023-02-26 02:16:38 +03:00
Abdullah Alfaraj 6c74919240 Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into control_net_2 2023-02-25 07:38:39 +03:00
Abdullah Alfaraj 385d1060ae restore the settings after a generation 2023-02-25 07:21:29 +03:00
Abdullah Alfaraj 3c643b379f cover the background layer edge cases 2023-02-25 04:19:18 +03:00
Abdullah Alfaraj 194a196a87 bug fix: the interrupt button won't delete mask related layers 2023-02-24 22:26:39 +03:00
Abdullah Alfaraj 991b5b4c98 clean mask related layers when after canceling the generation 2023-02-24 08:28:50 +03:00
Abdullah Alfaraj 19b48c8488 refactor duplicateLayer() 2023-02-24 04:19:55 +03:00
Abdullah Alfaraj 5bbe77142c save the "settings tab" settings 2023-02-24 01:13:26 +03:00
Abdullah Alfaraj f6738936bd refactor settings tab, move all functionality to settings.js 2023-02-23 23:02:32 +03:00
Abdullah Alfaraj 8abbfc769c load horde settings on plugin start 2023-02-23 21:03:57 +03:00
Abdullah Alfaraj 05a51cd42c functional save horde settings 2023-02-23 21:03:35 +03:00
Abdullah Alfaraj 0d28631e58 setter for native horde api key 2023-02-23 21:00:37 +03:00
Abdullah Alfaraj ed2fdec08c add save and load files utility 2023-02-23 19:20:28 +03:00
Abdullah Alfaraj ef01cc0120 better notification message for when the webui is offline 2023-02-23 03:23:58 +03:00
Abdullah Alfaraj 9d7f5c79f2 return null when samplers list is empty 2023-02-23 01:29:48 +03:00
Abdullah Alfaraj fc1d88cf3e add a list of samplers for offline use 2023-02-23 01:17:12 +03:00
Abdullah Alfaraj 656664d393 convert the output of ControlNet api to a standard response the plugin can work with 2023-02-21 21:33:12 +03:00
Abdullah Alfaraj 047fc5c032 map plugin settings to the control net settings 2023-02-21 17:06:19 +03:00
Abdullah Alfaraj 0e14caeb4d functional set control image button 2023-02-21 03:29:35 +03:00
Abdullah Alfaraj 553f900cdd Merge branch 'notification' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into control_net 2023-02-21 01:54:38 +03:00
Abdullah Alfaraj 60a669de84 notification for an inactive selection area 2023-02-21 01:53:51 +03:00
Abdullah Alfaraj d1e7b74616 Merge branch 'notification' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into control_net 2023-02-20 23:54:32 +03:00
Abdullah Alfaraj a628b1454a Merge https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into control_net 2023-02-20 23:53:49 +03:00
Abdullah Alfaraj 718c5d02df Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into notification 2023-02-20 23:51:31 +03:00
Abdullah Alfaraj 058edea552 store and restore the selection area, and active layers 2023-02-20 23:49:19 +03:00
Abdullah Alfaraj 4996b72a59 display the res difference with width and height label 2023-02-20 20:29:56 +03:00
Abdullah Alfaraj 53e305de3d Merge branch 'notification' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into control_net 2023-02-20 17:52:52 +03:00
Abdullah Alfaraj c470b99258 test controlNet api 2023-02-20 16:24:45 +03:00
Abdullah Alfaraj ecd34a83d4 error message for when background layer is missing 2023-02-20 11:25:33 +03:00
Abdullah Alfaraj 8be47f74fd error messages for when webui is offline and when webui api flag is missing 2023-02-20 11:25:11 +03:00
Abdullah Alfaraj 4d081dbf50 add a notification utility class for display error messages to the user 2023-02-20 11:23:48 +03:00
Abdullah Alfaraj c097ba85e1 add an option to choose the background layer color 2023-02-20 11:21:14 +03:00
Abdullah Alfaraj 5d16bfefca deprecate createSolidLayer instead use the descriptor method 2023-02-20 11:20:37 +03:00
Abdullah Alfaraj 065c7e4d86 add method to create background layer if it doesn't exist 2023-02-19 21:48:31 +03:00
Abdullah Alfaraj 7b2d168c0a reset the viewer manager on session end 2023-02-19 13:33:37 +03:00
Abdullah Alfaraj 59ce8435ac missing timer export 2023-02-19 09:45:15 +03:00
Abdullah Alfaraj a311a2733f scale all output thumbnails while maintaining their ratio 2023-02-19 09:45:02 +03:00
Abdullah Alfaraj b014d9dc97 add an opacity option to when creating of a layer 2023-02-19 09:25:11 +03:00