Commit graph

513 commits

Author SHA1 Message Date
Victor Seiji Hariki
7c7352a0eb fixed issue when migrating mouse listeners
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 20:03:08 -03:00
Victor Seiji Hariki
3088a9dfed forgot to remove types from commands.js
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 19:54:26 -03:00
Victor Seiji Hariki
83470ebba3 input.js types and move type definitions
Moved type definitions to .d.js files to avoid clutter and network
overhead. Added typing to input.js, but still no event typing

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 19:48:42 -03:00
Victor Seiji Hariki
fdb93bad26 remove history console prints
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:46:37 -03:00
Victor Seiji Hariki
593a37bdfc add error for non-existent commands
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:44:40 -03:00
Victor Seiji Hariki
17b75cb64b util doc tab instead of space
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:32:31 -03:00
Victor Seiji Hariki
4d874b5c9a observer fix
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:25:31 -03:00
Victor Seiji Hariki
54c381de8e added jsdoc to commands
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:17:07 -03:00
Victor Seiji Hariki
8d0b44e36b Some jsdoc for util
Also allows for downloadCanvas to open image in new tab. This may be
useful for debugging anything that has a canvas (such as overmasking).

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 12:11:19 -03:00
Victor Seiji Hariki
6ec27df919 add some guards to input handlers to easier debug
Sometimes before this I used mouse.listen.window.left.onclick = () =>
{thing}. Now it throws an error telling me not to do this.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 10:08:47 -03:00
Victor Seiji Hariki
42a1266da5 Add custom errors
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 10:08:47 -03:00
tim h
b75297e8f2 tiny fix to keep approve/reject controls in viewable area if generated image is particularly close to the left edge 2022-11-27 15:35:49 -06:00
tim h
3302017946
Update README.md 2022-11-27 13:30:02 -06:00
tim h
5600d360fb
Merge pull request #57 from zero01101/fix_overmask_before_brush_mask_already
fixes overmask application before brush mask
2022-11-27 13:26:04 -06:00
tim h
1496c88382 remove commented out console.log entries
just wanted to make sure they existed in history
2022-11-27 13:24:28 -06:00
tim h
2574793e4f finally 2022-11-27 13:21:17 -06:00
Victor Seiji Hariki
d91519226f
Merge pull request #56 from zero01101/bleeding-edge
Allow mask inversion in both dream tools
2022-11-26 23:21:57 -03:00
Victor Seiji Hariki
a417ec85db Now cursor is actually visible in preview
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 23:08:54 -03:00
Victor Seiji Hariki
bd98b8dbb1 add some mask actions for mask brush
Add clear to clear all mask, add preview to show mask in full opacity

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 23:00:41 -03:00
tim h
14abeac966 tiny change to auto-display currently loaded model in SD settings 2022-11-26 19:46:02 -06:00
Victor Seiji Hariki
fe2ebec569 Mask now colorful depending on inversion
Blue masking means SD will try to keep image as-is under the mask. Red
masking means SD will try to replace whatever is under the mask. (Red is
default masking, Blue is inverted masking)

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 22:35:16 -03:00
Victor Seiji Hariki
fe4b50cb8d fix mask brush and add full resolution img2img
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 16:59:24 -03:00
Victor Seiji Hariki
9c0f6df20b fixes console error on send to resource
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 16:45:37 -03:00
Victor Seiji Hariki
bd5c93ce58 Allow mask inversion in both dream tools
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 16:34:12 -03:00
tim h
77a5181df7
Update README.md 2022-11-26 13:04:31 -06:00
Victor Seiji Hariki
83c345a279
Merge pull request #55 from zero01101/bleeding-edge
improved network handling
2022-11-26 13:59:36 -03:00
Victor Seiji Hariki
d0439798c8 now actually checks network continuously
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 13:43:28 -03:00
Victor Seiji Hariki
73c441534b improved network handling
Detects if it is a CORS problem, checks for invalid saved host
configuration, webui connection status indicator

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 13:10:37 -03:00
tim h
690489c511
Update README.md
author markdown failure
2022-11-25 22:30:07 -06:00
tim h
c80e9a812b
Update README.md 2022-11-25 22:06:08 -06:00
tim h
75d551c491
update readme, demo "gif" 2022-11-25 21:53:45 -06:00
tim h
8667f94f12 change default prompt again, less quietly
gotta get those AWARD WINNER people outta there
2022-11-25 21:06:15 -06:00
tim h
4fb754ec9d
Merge pull request #52 from seijihariki/quick-patches
Quick patches 2
2022-11-25 18:16:47 -06:00
Victor Seiji Hariki
b5f9113d74
Merge branch 'zero01101:main' into quick-patches 2022-11-25 20:30:54 -03:00
Victor Seiji Hariki
ca3533c9e4
some more fixes and things
fixed scrolling on basically everything but the canvas, prompt fields
now automatically expand when focused, prompt, host and negprompt now
are stored on localstorage. on hover prompt and negprompt fields now
show full text in tooltips

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-25 20:27:44 -03:00
tim h
5db4ccace2
Merge pull request #51 from seijihariki/quick-patches
some fixes and comments
2022-11-25 16:56:46 -06:00
Victor Seiji Hariki
059c0759fe
fix border mask rendering
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-25 19:39:38 -03:00
Victor Seiji Hariki
bc19de9c4e
fix border mask
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-25 19:29:50 -03:00
Victor Seiji Hariki
72ebe5ba21
some fixes and comments
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
(cherry picked from commit 6299b561f196a7c78c66a8d21b2e1b27cecdee77)
2022-11-25 19:23:22 -03:00
tim h
e19f7af581
Update README.md 2022-11-25 10:58:19 -06:00
tim h
905a815cf2 Merge pull request #50 from seijihariki/quick-patches
Dream and Selection - Resource Manager Interaction and Selected Area saving

Former-commit-id: d361b4731686b52d5dc48a4717d637569a03180a
2022-11-25 10:28:28 -06:00
Victor Seiji Hariki
7bb2238056 clear canvas now has history
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 6ec970f947ee6a7472a6e376c236885d26f5b276
2022-11-25 13:26:44 -03:00
Victor Seiji Hariki
df5dc32eee Some quick lunch patches
Allows for selections and dreams to be sent to the resource manager,
allows resource deselection when clicking on the currently selected
item, put some extra comments and allow saving of a selected canvas area

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 963312115d4827de1c8d4fac88a97dd64db7fa15
2022-11-25 13:16:22 -03:00
tim h
5a633e1aeb update readme
Former-commit-id: d9bedc7812d8797bbccdb3da6fad77c027687453
2022-11-25 09:44:09 -06:00
tim h
62cbf4b002 version bump for readme
Former-commit-id: e3b76a8be131ef5b02749f300f44fc78d7f060ab
2022-11-25 09:43:03 -06:00
tim h
3336c66a00 Merge branch 'main' of github.com:zero01101/openOutpaint into main
Former-commit-id: d7280b3397ea488247020c2924d20a728c76f95d
2022-11-25 09:18:51 -06:00
tim h
7155e3d5ef Merge pull request #49 from seijihariki/image-editing-tools
Image editing tools

Former-commit-id: bbdfef937d28f607b601013c75de0f9049739488
2022-11-25 09:17:46 -06:00
tim h
317c921852 Merge branch 'pr/49' into main
Former-commit-id: d4295067d1ed96215cbe3d5bcc274e7b73ab388e
2022-11-25 09:14:26 -06:00
Victor Seiji Hariki
db73982df2 some general fixes
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 4434e218c4f67ac3c63c3a5b645013588a7ce770
2022-11-25 01:46:49 -03:00
tim h
e92976d158 hacky re-addition of painted mask auto disappearance after image generation
Former-commit-id: f34d1d077f0be69fce3f3b339eac596863d5846a
2022-11-24 22:44:38 -06:00