Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KOGITO-229: Update Jenkins build to set registry parameter #24

Merged
merged 7 commits into from
Oct 23, 2019

Conversation

domhanak
Copy link
Contributor

No description provided.

@domhanak domhanak requested a review from mareknovotny October 23, 2019 09:59
@domhanak
Copy link
Contributor Author

thanks @mareknovotny I merge this to unblock other PR's

@domhanak domhanak merged commit 5da10b6 into master Oct 23, 2019
@domhanak domhanak deleted the KOGITO-229-certifcate-fix branch October 24, 2019 05:54
tiagobento pushed a commit that referenced this pull request Aug 31, 2021
tiagobento pushed a commit that referenced this pull request Sep 2, 2021
ederign pushed a commit that referenced this pull request Jan 26, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (#11)

* feat: add fs.promises (#12)

* fix: ignore trailing slash (#14)

* Update README.md (#17)

* feat: make threadsafe with mutex (#19)

* fix(HttpBackend): fs.readFile should throw on 404s (#24)

* fix(rename): don't accidentally file if new filename invalid (#26)

* fix(unlink): deleting symlinks should not delete file contents (#30)

* fix(writeFile): preserve file mode when saving files (#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (#25)

* Fix for reading from nested symlinks (#35)

* feat: add 'backFile' function to add http-backed files to superblock (#32)

* fix: reading through symlinks to http-backed files (#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (#42)

* feat: add du method (#45)

* fix: add du to README (#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (#63)

* fix: allow changing 'backend' during 'init' (#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
hasys pushed a commit to hasys/kie-tools that referenced this pull request Jan 31, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 12, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 16, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 18, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 21, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
fantonangeli referenced this pull request in fantonangeli/kie-tools May 24, 2022
fantonangeli referenced this pull request in fantonangeli/kie-tools May 25, 2022
fantonangeli referenced this pull request in fantonangeli/kie-tools May 26, 2022
ederign pushed a commit that referenced this pull request Jul 11, 2022
…ing architecture (#1052)

* Add serverless-workflow-combined-editor package

* Add serverless-workflow-text-editor package (#20)

Add serverless-workflow-text-editor package

* Integration between combined, diagram and text editors

* Fixes after sync with tiagobento/swf-ls2-text-doc

* Fixes after cherry-picking commits

* Rename ServerlessWorkflowEditorChannelApi -> ServerlessWorkflowTextEditorChannelApi

* Workaround hoist issues while pnpm is not in

* Delete duplicated file after sync with main

* Fixes after pnpm migration

* Improve loading experience of the combined editor

* Bring back mermaid and load it for yaml files

* Add option to provide a custom KeyboardShortcutsService in the envelope app, and disable shortcuts where applicable

* Remove alias no longer necessary and replace yarn by pnpm

* Minor improvement to envelope paths

* Logging node click event (#24)

* Remove unnecessary dependencies

* Ignore WEB-INF folder when copying swEditor

* Fix build:prod

* Fix tests (@kie-tools-core/editor package)

* Remove throttle

* Minor fixes/improvements

* Use state control subscription from inner editors to add a new edit for the combined editor

* Create a generic text formatter

* Fix chrome-extension envelopes

* Copy stunner editor to chrome-extension deployment dir (staging/release)

* Fix test:it dev ports

* KOGITO-7171: [SWF Editor] GWT-REACT bridge for TextEditorAPI - 2 (#27)

* Applied changed from KOGITO-7171-GWT-REACT-bridge-for-TextEditorAPI-
branch

* Receiving node click event from vscode text editor

* Fixes comment: https://github.com/caponetto/kie-tools/pull/26#discussion_r881765809

* Removed TODO: fixed in another PR

* Sync with
KOGITO-7172--Analzyzing-and-Defining-a-API-to-manage-cursor-in-VSCode to
fix build production error

* Moved ShapeEventsHandler + moveCursorToNode code in sw-edit-kogito-app

* Created java package to call
window.envelope.diagramApi.moveCursorToNode()

* Code review

* Update packages/vscode-extension-serverless-workflow-editor/src/extension/ServerlessWorkflowEditorChannelApiImpl.ts

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#pullrequestreview-996610256

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#discussion_r890168519

* Fixed copyright year

Co-authored-by: Guilherme Caponetto <[email protected]>

* Update pnpm lock file

* KOGITO-7172 [SWF Editor] Analzyzing and Defining a API to manage cursor in VSCode (#29)

* Applied changed from KOGITO-7171-GWT-REACT-bridge-for-TextEditorAPI-
branch

* Receiving node click event from vscode text editor

* Moved the cursor to the right line of the wrong split

* serviceRegistryCommands: activate the left side of the window

* utils: write tests + accept YAML format

* Fixed findPositionByStateName was returning indexes instead of
line/character
numbers

* Renamed channel event to kogitoSwfLanguageService__moveCursorToNode,
moved method to serverless-workflow-language-service, implemented cursor
movement on SwfTextEditor

* Fixes comment: https://github.com/caponetto/kie-tools/pull/26#discussion_r881765809

* Removed TODO: fixed in another PR

* Add todo

* Code review

* Sync with
KOGITO-7172--Analzyzing-and-Defining-a-API-to-manage-cursor-in-VSCode to
fix build production error

* Moved ShapeEventsHandler + moveCursorToNode code in sw-edit-kogito-app

* Created java package to call
window.envelope.diagramApi.moveCursorToNode()

* Code review

* Update packages/vscode-extension-serverless-workflow-editor/src/extension/ServerlessWorkflowEditorChannelApiImpl.ts

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#pullrequestreview-996610256

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#discussion_r890168519

* Fixed copyright year

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891150456

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891153283

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891166549

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891118070

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891169431

* Fixes: When the user clicks on a node and then double/triple click on
another node, VSCode opens a new text editor on the right side

* Update packages/serverless-workflow-text-editor/src/editor/textEditor/SwfTextEditor.tsx

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes:
https://github.com/caponetto/kie-tools/pull/29#discussion_r891165726
Add ability to work with multiple tabs

* Code review

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r893478016

Co-authored-by: Guilherme Caponetto <[email protected]>

* KOGITO-7369:  [SWF Editor] Scroll text when selecting a node on the diagram (#30)

* Add scrolling to node action to Monaco and use updated content in case
user changes the content

* Add scrolling to node action to VSCode editor

* Rename envelope mapping type

* Fix cypress

* Fixes after sync with main

* KOGITO-7367:  [SWF Editor] Investigate on different ways to search a node name in TextEditor (#33)

* SwfOffsetsApi and SwfJsonOffsets implementations

* Fixed test offsets after json inputs linted

* Add yaml test files

* Add SwfYamlOffsets and make test more readable

* Call SwfJsonOffsets from TextEditor

* Removed temporary fix of editor.content

* Adapted and tested textEditor with yaml

* Moved the logic to the SwfTextEditorController and cached the offsets to avoid recalcs

* Use SwfOffsetsApi in vscode extension

* Check SwfOffsetsApi found an offset

* Moved offsets caching logic to SwfOffsetsApi for performance
improvements

* Code review

* Fixed import

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902625512
https://github.com/caponetto/kie-tools/pull/33#discussion_r902626199
https://github.com/caponetto/kie-tools/pull/33#discussion_r902626495

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902933312
https://github.com/caponetto/kie-tools/pull/33#discussion_r902956817

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902952369

* Closes #discussion_r903696115

* Add a feature flag to enable/disable stunner (default is false)

* Register feature toggle subscriber to context subscriptions

* Fixes after code review

Co-authored-by: Jaime Enriquez <[email protected]>
Co-authored-by: Fabrizio Antonangeli <[email protected]>
zdrapela referenced this pull request in zdrapela/kie-tools Jul 12, 2022
…ing architecture (apache#1052)

* Add serverless-workflow-combined-editor package

* Add serverless-workflow-text-editor package (#20)

Add serverless-workflow-text-editor package

* Integration between combined, diagram and text editors

* Fixes after sync with tiagobento/swf-ls2-text-doc

* Fixes after cherry-picking commits

* Rename ServerlessWorkflowEditorChannelApi -> ServerlessWorkflowTextEditorChannelApi

* Workaround hoist issues while pnpm is not in

* Delete duplicated file after sync with main

* Fixes after pnpm migration

* Improve loading experience of the combined editor

* Bring back mermaid and load it for yaml files

* Add option to provide a custom KeyboardShortcutsService in the envelope app, and disable shortcuts where applicable

* Remove alias no longer necessary and replace yarn by pnpm

* Minor improvement to envelope paths

* Logging node click event (#24)

* Remove unnecessary dependencies

* Ignore WEB-INF folder when copying swEditor

* Fix build:prod

* Fix tests (@kie-tools-core/editor package)

* Remove throttle

* Minor fixes/improvements

* Use state control subscription from inner editors to add a new edit for the combined editor

* Create a generic text formatter

* Fix chrome-extension envelopes

* Copy stunner editor to chrome-extension deployment dir (staging/release)

* Fix test:it dev ports

* KOGITO-7171: [SWF Editor] GWT-REACT bridge for TextEditorAPI - 2 (#27)

* Applied changed from KOGITO-7171-GWT-REACT-bridge-for-TextEditorAPI-
branch

* Receiving node click event from vscode text editor

* Fixes comment: https://github.com/caponetto/kie-tools/pull/26#discussion_r881765809

* Removed TODO: fixed in another PR

* Sync with
KOGITO-7172--Analzyzing-and-Defining-a-API-to-manage-cursor-in-VSCode to
fix build production error

* Moved ShapeEventsHandler + moveCursorToNode code in sw-edit-kogito-app

* Created java package to call
window.envelope.diagramApi.moveCursorToNode()

* Code review

* Update packages/vscode-extension-serverless-workflow-editor/src/extension/ServerlessWorkflowEditorChannelApiImpl.ts

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#pullrequestreview-996610256

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#discussion_r890168519

* Fixed copyright year

Co-authored-by: Guilherme Caponetto <[email protected]>

* Update pnpm lock file

* KOGITO-7172 [SWF Editor] Analzyzing and Defining a API to manage cursor in VSCode (#29)

* Applied changed from KOGITO-7171-GWT-REACT-bridge-for-TextEditorAPI-
branch

* Receiving node click event from vscode text editor

* Moved the cursor to the right line of the wrong split

* serviceRegistryCommands: activate the left side of the window

* utils: write tests + accept YAML format

* Fixed findPositionByStateName was returning indexes instead of
line/character
numbers

* Renamed channel event to kogitoSwfLanguageService__moveCursorToNode,
moved method to serverless-workflow-language-service, implemented cursor
movement on SwfTextEditor

* Fixes comment: https://github.com/caponetto/kie-tools/pull/26#discussion_r881765809

* Removed TODO: fixed in another PR

* Add todo

* Code review

* Sync with
KOGITO-7172--Analzyzing-and-Defining-a-API-to-manage-cursor-in-VSCode to
fix build production error

* Moved ShapeEventsHandler + moveCursorToNode code in sw-edit-kogito-app

* Created java package to call
window.envelope.diagramApi.moveCursorToNode()

* Code review

* Update packages/vscode-extension-serverless-workflow-editor/src/extension/ServerlessWorkflowEditorChannelApiImpl.ts

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#pullrequestreview-996610256

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#discussion_r890168519

* Fixed copyright year

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891150456

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891153283

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891166549

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891118070

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891169431

* Fixes: When the user clicks on a node and then double/triple click on
another node, VSCode opens a new text editor on the right side

* Update packages/serverless-workflow-text-editor/src/editor/textEditor/SwfTextEditor.tsx

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes:
https://github.com/caponetto/kie-tools/pull/29#discussion_r891165726
Add ability to work with multiple tabs

* Code review

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r893478016

Co-authored-by: Guilherme Caponetto <[email protected]>

* KOGITO-7369:  [SWF Editor] Scroll text when selecting a node on the diagram (#30)

* Add scrolling to node action to Monaco and use updated content in case
user changes the content

* Add scrolling to node action to VSCode editor

* Rename envelope mapping type

* Fix cypress

* Fixes after sync with main

* KOGITO-7367:  [SWF Editor] Investigate on different ways to search a node name in TextEditor (#33)

* SwfOffsetsApi and SwfJsonOffsets implementations

* Fixed test offsets after json inputs linted

* Add yaml test files

* Add SwfYamlOffsets and make test more readable

* Call SwfJsonOffsets from TextEditor

* Removed temporary fix of editor.content

* Adapted and tested textEditor with yaml

* Moved the logic to the SwfTextEditorController and cached the offsets to avoid recalcs

* Use SwfOffsetsApi in vscode extension

* Check SwfOffsetsApi found an offset

* Moved offsets caching logic to SwfOffsetsApi for performance
improvements

* Code review

* Fixed import

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902625512
https://github.com/caponetto/kie-tools/pull/33#discussion_r902626199
https://github.com/caponetto/kie-tools/pull/33#discussion_r902626495

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902933312
https://github.com/caponetto/kie-tools/pull/33#discussion_r902956817

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902952369

* Closes #discussion_r903696115

* Add a feature flag to enable/disable stunner (default is false)

* Register feature toggle subscriber to context subscriptions

* Fixes after code review

Co-authored-by: Jaime Enriquez <[email protected]>
Co-authored-by: Fabrizio Antonangeli <[email protected]>
tiagobento added a commit that referenced this pull request Jul 14, 2022
…in serverless-workflow-language-service (#1064)

* Add serverless-workflow-combined-editor package

* Add serverless-workflow-text-editor package (#20)

Add serverless-workflow-text-editor package

* Integration between combined, diagram and text editors

* Fixes after sync with tiagobento/swf-ls2-text-doc

* Fixes after cherry-picking commits

* Rename ServerlessWorkflowEditorChannelApi -> ServerlessWorkflowTextEditorChannelApi

* Workaround hoist issues while pnpm is not in

* Delete duplicated file after sync with main

* Fixes after pnpm migration

* Improve loading experience of the combined editor

* Bring back mermaid and load it for yaml files

* Add option to provide a custom KeyboardShortcutsService in the envelope app, and disable shortcuts where applicable

* Remove alias no longer necessary and replace yarn by pnpm

* Minor improvement to envelope paths

* Logging node click event (#24)

* Remove unnecessary dependencies

* Ignore WEB-INF folder when copying swEditor

* Fix build:prod

* Fix tests (@kie-tools-core/editor package)

* Remove throttle

* Minor fixes/improvements

* Use state control subscription from inner editors to add a new edit for the combined editor

* Create a generic text formatter

* Fix chrome-extension envelopes

* Copy stunner editor to chrome-extension deployment dir (staging/release)

* Fix test:it dev ports

* KOGITO-7171: [SWF Editor] GWT-REACT bridge for TextEditorAPI - 2 (#27)

* Applied changed from KOGITO-7171-GWT-REACT-bridge-for-TextEditorAPI-
branch

* Receiving node click event from vscode text editor

* Fixes comment: https://github.com/caponetto/kie-tools/pull/26#discussion_r881765809

* Removed TODO: fixed in another PR

* Sync with
KOGITO-7172--Analzyzing-and-Defining-a-API-to-manage-cursor-in-VSCode to
fix build production error

* Moved ShapeEventsHandler + moveCursorToNode code in sw-edit-kogito-app

* Created java package to call
window.envelope.diagramApi.moveCursorToNode()

* Code review

* Update packages/vscode-extension-serverless-workflow-editor/src/extension/ServerlessWorkflowEditorChannelApiImpl.ts

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#pullrequestreview-996610256

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#discussion_r890168519

* Fixed copyright year

Co-authored-by: Guilherme Caponetto <[email protected]>

* Update pnpm lock file

* KOGITO-7172 [SWF Editor] Analzyzing and Defining a API to manage cursor in VSCode (#29)

* Applied changed from KOGITO-7171-GWT-REACT-bridge-for-TextEditorAPI-
branch

* Receiving node click event from vscode text editor

* Moved the cursor to the right line of the wrong split

* serviceRegistryCommands: activate the left side of the window

* utils: write tests + accept YAML format

* Fixed findPositionByStateName was returning indexes instead of
line/character
numbers

* Renamed channel event to kogitoSwfLanguageService__moveCursorToNode,
moved method to serverless-workflow-language-service, implemented cursor
movement on SwfTextEditor

* Fixes comment: https://github.com/caponetto/kie-tools/pull/26#discussion_r881765809

* Removed TODO: fixed in another PR

* Add todo

* Code review

* Sync with
KOGITO-7172--Analzyzing-and-Defining-a-API-to-manage-cursor-in-VSCode to
fix build production error

* Moved ShapeEventsHandler + moveCursorToNode code in sw-edit-kogito-app

* Created java package to call
window.envelope.diagramApi.moveCursorToNode()

* Code review

* Update packages/vscode-extension-serverless-workflow-editor/src/extension/ServerlessWorkflowEditorChannelApiImpl.ts

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#pullrequestreview-996610256

* Fixes comment: https://github.com/caponetto/kie-tools/pull/27#discussion_r890168519

* Fixed copyright year

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891150456

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891153283

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891166549

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891118070

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r891169431

* Fixes: When the user clicks on a node and then double/triple click on
another node, VSCode opens a new text editor on the right side

* Update packages/serverless-workflow-text-editor/src/editor/textEditor/SwfTextEditor.tsx

Co-authored-by: Guilherme Caponetto <[email protected]>

* Fixes:
https://github.com/caponetto/kie-tools/pull/29#discussion_r891165726
Add ability to work with multiple tabs

* Code review

* Fixes comment: https://github.com/caponetto/kie-tools/pull/29#discussion_r893478016

Co-authored-by: Guilherme Caponetto <[email protected]>

* KOGITO-7369:  [SWF Editor] Scroll text when selecting a node on the diagram (#30)

* Add scrolling to node action to Monaco and use updated content in case
user changes the content

* Add scrolling to node action to VSCode editor

* Rename envelope mapping type

* Fix cypress

* Fixes after sync with main

* KOGITO-7367:  [SWF Editor] Investigate on different ways to search a node name in TextEditor (#33)

* SwfOffsetsApi and SwfJsonOffsets implementations

* Fixed test offsets after json inputs linted

* Add yaml test files

* Add SwfYamlOffsets and make test more readable

* Call SwfJsonOffsets from TextEditor

* Removed temporary fix of editor.content

* Adapted and tested textEditor with yaml

* Moved the logic to the SwfTextEditorController and cached the offsets to avoid recalcs

* Use SwfOffsetsApi in vscode extension

* Check SwfOffsetsApi found an offset

* Moved offsets caching logic to SwfOffsetsApi for performance
improvements

* Code review

* Fixed import

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902625512
https://github.com/caponetto/kie-tools/pull/33#discussion_r902626199
https://github.com/caponetto/kie-tools/pull/33#discussion_r902626495

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902933312
https://github.com/caponetto/kie-tools/pull/33#discussion_r902956817

* Fixes comment: https://github.com/caponetto/kie-tools/pull/33#discussion_r902952369

* Closes #discussion_r903696115

* WIP

* WIP conversions YAML ast -> jsonc format

* Conversion of first YAML ast

* Add a feature flag to enable/disable stunner (default is false)

* yaml parseContent() tests with real yaml

* WIP

* SwfJsonLanguageService ok, SwfYamlLanguageService WIP

* SwfYamlLanguageService tests passed

* Removed all direct references to jsonc in SwfLanguageService

* Fixed getFileLanguage yaml regex

* VSCode ext WIP

* Register feature toggle subscriber to context subscriptions

* Fixed: VsCodeSwfLanguageService: doesn't reinit on file change

* Moved matchNodeWithLocation outside of SwfLanguageService class

* Rewrite yaml astConvert() removing deprecated properties

* Removed unnecessary parseContent() call

* Fixes comment: https://github.com/kiegroup/kie-tools/pull/1064#discussion_r918124967

* Fixes comment: https://github.com/kiegroup/kie-tools/pull/1064#discussion_r918117886

* PR comments proposal

* Fixed imports

* Empty commit

Co-authored-by: Guilherme Caponetto <[email protected]>
Co-authored-by: Jaime Enriquez <[email protected]>
Co-authored-by: Tiago Bento <[email protected]>
jomarko added a commit to jomarko/kie-tools that referenced this pull request Mar 20, 2024
* initialize spec file

* invalid edge tests

* remove not needed test

* drop 'From' from test describe

* fix GROUP tests

* fix test describe - remove From

* add dim tests

* refactor dimmed class assertion

* incorporate review feedback

* remove custom assertion

* add dimmed class to the DOM top level lement of the InputData node

* test alternative input data shape
fantonangeli referenced this pull request in fantonangeli/kie-tools May 21, 2024
* Prod build config fixes

* Change the mvn lifecycle to download FE libs

* Add comments for future memory
dsimansk pushed a commit to dsimansk/kie-tools that referenced this pull request May 29, 2024
* Prod build config fixes

* Change the mvn lifecycle to download FE libs

* Add comments for future memory
rgdoliveira pushed a commit to rgdoliveira/kie-tools that referenced this pull request May 29, 2024
* Prod build config fixes

* Change the mvn lifecycle to download FE libs

* Add comments for future memory
ricardozanini pushed a commit to ricardozanini/kogito-tooling that referenced this pull request Sep 23, 2024
rgdoliveira added a commit to rgdoliveira/kie-tools that referenced this pull request Nov 15, 2024
ricardozanini pushed a commit to ricardozanini/kogito-tooling that referenced this pull request Nov 15, 2024
...in the PoC with the Design document

Signed-off-by: Achyut Madhusudan <[email protected]>
rgdoliveira added a commit to rgdoliveira/kie-tools that referenced this pull request Nov 19, 2024
rgdoliveira added a commit to rgdoliveira/kie-tools that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants