Skip to content

Commit bfed22d

Browse files
Omri-LevyAfaqShuaib09Blokhblokhalonp99
authoredAug 3, 2023
Omri levy/fix/stale case data (#768)
* chore: add eslint unused import plugin to projects seperately (#425) * feat(generated assignee-asigned-guard): assign endpoint (#451) * feat(generated assignee-asigned-guard): generated assignee-asigned-guard for document desition updat generated assignee-asigned-guard for document desition updating * feat: added AssigneeAsignedGuard and assign endpoint * removed unnecessary changes * fixed comments and reverted unnecessary changes * updated wassigneed guard name * updated class validator on assgin workflow and query * reverted package json * feat(merged with dev): merged with dev --------- Co-authored-by: blokh <[email protected]> * Blokh/feat/backoffice image (#505) * feat(added env of image url): added env of image url which is fetched by env var * feat: minor refactoring * fixed minor bugs * fixed minor bugs * added logo url * fix image logo by updating name to VITE_IMAGE_LOGO_URL * refactor(db-schema): remove enduser unneccesary fields (#508) * refactor(db-schema): remove enduser unneccesary fields * feat(entities): add entities fields * fixes types * fixes types * fixes types * fixed document props update * backoffice: fixed addtional info on entity * add ajv keywords * update pnpm lock file * Create SECURITY.md (#513) * fix pdf view in backoffice * fix(backoffice-v2): fixed height for image viewer - addresses how pdfs are displayed * Blokh/feat/default case filter assignee (#480) * feat(user controller internal): generate endpoint for create user * updated the user creation + return values from the DB to be more secured * updated select placement * removed unnecessary return types * feat: merged with dev * format * generated pre-search-filter logic * feat: generate logic for onLoad to set default filters * navigateDefaultFilterParams refactoring * Update apps/backoffice-v2/src/routes/Entities/pre-search-filters.ts --------- Co-authored-by: blokh <[email protected]> Co-authored-by: Alon Peretz <[email protected]> * update doc type (#515) * began udaating view interface logic * added moving to commons the schema of workflows + policies * feat(updated common version): updated commmon version * feat: updated common * common release * common release * common release * feat(update doc type): finished updating doc type finished updating doc type - missing id * feat(docs): add id * fixed picking category and type * merged with update by id document * updated editable on submit * fixes * feat: updated assign document id if doesn't have any * feat: merged with dev * removed unnecessary git ignore * removed unnecessary ts ignore * fix(dd): d * fix(d): d d * pnpm lock file --------- Co-authored-by: blokh <[email protected]> * updated common reference * update common versions * fix: upgrade @astrojs/mdx from 0.18.4 to 0.19.2 (#518) Snyk has created this PR to upgrade @astrojs/mdx from 0.18.4 to 0.19.2. See this package in npm: https://www.npmjs.com/package/@astrojs/mdx See this project in Snyk: https://app.snyk.io/org/alonp99/project/2e88abf8-2761-42b7-a9df-9579a86ace21?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @ballerine/common from 0.4.3 to 0.4.4 (#519) Snyk has created this PR to upgrade @ballerine/common from 0.4.3 to 0.4.4. See this package in npm: https://www.npmjs.com/package/@ballerine/common See this project in Snyk: https://app.snyk.io/org/alonp99/project/4c2207cc-2b3d-4867-87d2-790f5c70fd2b?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * update pnpm lock file * backoffice signin logo regression fix * added test env ci * Cases pagination, sorting, filtering, and search (#516) * Apply filters on workflows instead of entity (#496) * feat(backoffice-v2): added react-router-dom * feat(backoffice-v2): added a react router provider * feat(backoffice-v2): re-added redirect to en locale * feat(backoffice-v2): re-added root error component * feat(backoffice-v2): the root route now uses the Root component * feat(backoffice-v2): added the locale route * feat(backoffice-v2): added the case management route * feat(backoffice-v2): added the sign in route * feat(backoffice-v2): added entities route and replaced imports of tanstack router * feat(backoffice-v2): added the entity by id route and refactored its loader * feat(backoffice-v2): wip work on search query params * refactor(backoffice-v2): removed tanstack router * feat(backoffice-v2): handling null values in search params and default filters * fix(backoffice-v2): it is now possible to remove filters with a catch clause * refactor(backoffice-v2): moved loaders to separate files * fix(backoffice-v2): fixed sign out redirect * refactor(backoffice-v2): moved locale component to the locale directory * fix(backoffice-v2): no longer encoding the url * fix(backoffice-v2): filters no longer revert to defaults when all filters are unselected * feat: implement backend * fix(backoffice-v2): fixes default search query params returning when unchecking filters solved by adding a placeholder for null and empty arrays for qs * fix(backoffice-v2): reduced padding on case list item - solves axis x overflow * refactor(backoffice-v2): refactored routes to pages * docs(backoffice-v2): added comments to the stringify/parse search params functions * feat: refactor completed * fix: pr fixes * fix: pr fixes * fix: tests * fix: pr comments --------- Co-authored-by: Omri Levy <[email protected]> * fix(useEntity): make actions disabled when there is a decision status * feat: split workflows endpoint into two * feat: support sorting * fix: pr review * Cases pagination (#509) * fix(useEntity): make actions disabled when there is a decision status * feat: split workflows endpoint into two * feat: support sorting * fix: pr review * feat: pagination * fix: remove filterName * feat: client pagination * feat: backend pagination * feat: search * fix: code review * fix: document id as uuid * fixed test * fix(workflows-service): added optional chaining to properties which previously resolved to null * fix: pagination * add entity to filters * fix --------- Co-authored-by: Omri Levy <[email protected]> Co-authored-by: Alon Peretz <[email protected]> * feat: create workflows websocket service (#499) * feat(workflows-websocket-service): create workflows websocket service create a new service for supporting websockets in workflows service and reduce the usage of polling in backoffice ui BREAKING CHANGE: Create a brand new service feat #328 --------- Co-authored-by: teselil <[email protected]> * feat(vite.config.ts): added sourcemaps * update common * Blokh/fix/refactor update category (#517) * added watch for form * feat: finalized update form of category type * removed log * feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown added usewatchdropdown logic for category to type logic * updated compose to edit naming * feat(merged with dev): merged with dev merged with dev + fixed conflicts + updated code after format changes * updated use initial category set * added types to uniqueArrayByKey * fixed entries to document * minor refactoring * updated common version * added find value * Blokh/feat/test infra (#500) * feat(database-infra): generated infra for test creations ( test & nest ) generate database infra for test creations, generated test for end-user in order to test the test-infra * feat: generated global setup and teardown * updated DATABASE_SCHEMA_NAME using zod * fixed comments * removed unnecessary actions and docker compose * updated lock * feat: running foramt * updated DB_CONTAINER type * feat(added testglobal): added TestGlobal * updated pnpm lock * feat: added TESTCONTAINERS_RYUK_DISABLED true * ran commitlint * removed unnecessary wawait * removed test using windows * updated test runnign strategy * removed windows test as it does not support db request * feat(added support for unit test ing test and e2e test): added support for unit test added support for unit test, integration test and e2e test * added different ci for ubuntu and windows * updated commons * removed unit test from browser sdk * removed unit test from workflow * fixed package json * removed unit test from node-sdk * added crossenv * merged with dev * fixed enduser test * reverted removal of unittest * ran format * updated nx json * added unit test for workflow core * fixed nx json * fixed duplicated tests configuration on nx * reverted remoival of lint * merged with dev * feat: added handling of prisma validation errors to workflow controller (#511) * feat: added handling of prisma validation errors to workflow /run controller * feat: moved prisma validation filter to global level * feat: implemented prisma validation errors parser & added parse output to filter * feat: added handling of unknown arguments exceptions from prisma * feat: added ansi codes removal from exception * use clean ansi fn --------- Co-authored-by: Alon Peretz <[email protected]> * add kyb w/ external request (#541) * feat(examples-kyb): kyb example w/ external request * feat(examples-kyb): kyb example w/ external request * fix(backoffice-v2): fixed document type resetting to "undefined" * fix(*): no longer using hardcoded propertiesSchema * update common lib * feat(workflow-def): enable mulitple active workflows * update pnpm lock * updated cookie secure to false for testing * added secure proxy to cookie logic * added trust proxy key to app * added trust proxy key to app * added trust proxy key to app * reverted unnecessary changes * reverted unnecessary changes * added secureProxy * removed secured of cookie * updated removed http only * added secured false * remove cookie domaun * WIP - Headless example fix (#510) * feat(headless-example): checkpoint * feat(*): checkpoint * fix(workflows-service): fixed wrong destination on diskStorage * fix(workflows-service): fixed de-sync between external uploadFile and internal affected the fileNameOnDisk property * fix(*): fixed headless-example file upload flow * fix(headless-example): updated the name of the mock certificate of incorporation pdf file * feat(headless-example): now using the workflow document decisions for rejected/approved/revisions * refactor(headless-example): updated the condition for displaying re-submission ui * refactor(headless-example): replaced header auth with api key auth for the headless example * Apply filters on workflows instead of entity (#496) * feat(backoffice-v2): added react-router-dom * feat(backoffice-v2): added a react router provider * feat(backoffice-v2): re-added redirect to en locale * feat(backoffice-v2): re-added root error component * feat(backoffice-v2): the root route now uses the Root component * feat(backoffice-v2): added the locale route * feat(backoffice-v2): added the case management route * feat(backoffice-v2): added the sign in route * feat(backoffice-v2): added entities route and replaced imports of tanstack router * feat(backoffice-v2): added the entity by id route and refactored its loader * feat(backoffice-v2): wip work on search query params * refactor(backoffice-v2): removed tanstack router * feat(backoffice-v2): handling null values in search params and default filters * fix(backoffice-v2): it is now possible to remove filters with a catch clause * refactor(backoffice-v2): moved loaders to separate files * fix(backoffice-v2): fixed sign out redirect * refactor(backoffice-v2): moved locale component to the locale directory * fix(backoffice-v2): no longer encoding the url * fix(backoffice-v2): filters no longer revert to defaults when all filters are unselected * feat: implement backend * fix(backoffice-v2): fixes default search query params returning when unchecking filters solved by adding a placeholder for null and empty arrays for qs * fix(backoffice-v2): reduced padding on case list item - solves axis x overflow * refactor(backoffice-v2): refactored routes to pages * docs(backoffice-v2): added comments to the stringify/parse search params functions * feat: refactor completed * fix: pr fixes * fix: pr fixes * fix: tests * fix: pr comments --------- Co-authored-by: Omri Levy <[email protected]> * fix(useEntity): make actions disabled when there is a decision status * feat: split workflows endpoint into two * refactor(headless-example): improved flow behavior and added clear user button * feat: support sorting * fix: pr review * Cases pagination (#509) * fix(useEntity): make actions disabled when there is a decision status * feat: split workflows endpoint into two * feat: support sorting * fix: pr review * feat: pagination * fix: remove filterName * feat: client pagination * feat: backend pagination * feat: search * fix: code review * added watch for form * feat: finalized update form of category type * removed log * added test env ci * feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown added usewatchdropdown logic for category to type logic * added test env ci * updated compose to edit naming * fix: document id as uuid * fixed test * fix(workflows-service): added optional chaining to properties which previously resolved to null * feat(merged with dev): merged with dev merged with dev + fixed conflicts + updated code after format changes * fix(*): can now see the re-submit ui and re-upload documents * updated use initial category set * added types to uniqueArrayByKey * fixed entries to document * minor refactoring * updated common version * fix(backoffice-v2): no longer rendering an empty block if there's no entity data * fix(*): now displaying the entity data when uploading docs from the headless example * feat(backoffice-v2): fixed the size of the navbar checkboxes * feat(*): checkpoint * fix(headless-example): fixed mock photos' names and removed the type field - broke dropdowns * fix(backoffice-v2): fixed document category initilizing with undefined * revert(backoffice-v2): reverted the changes to useInitialSetCategory * fix(backoffice-v2): fixed errors from the devtools logs due to wrong placement of controller shadcn select form controller placement * fix(backoffice-v2): fixed useWatchDropdownOptions no longer overrides document type to "undefined" * fix(seed.ts): updated seed.ts so information shows and is editable for the example * fix(*): fixed useUpdateWorkflowByIdMutation previously used the wrong query keys and updated data wrong * fix(*): no longer returning an empty function to appease eslint * fix(remove-ansi-escape-codes.ts): added eslint ignore for no-control-regex - makes sense here * refactor(workflows-service): moved assignIdToDocuments into the repository level for create moved to updateWorkflowRuntimeData for update * fix(setformdata): removed redundant useState * Fix E2E flow for headless example (affects backoffice, workflows service, and headless example) (#548) * feat(headless-example): checkpoint * feat(*): checkpoint * fix(workflows-service): fixed wrong destination on diskStorage * fix(workflows-service): fixed de-sync between external uploadFile and internal affected the fileNameOnDisk property * fix(*): fixed headless-example file upload flow * fix(headless-example): updated the name of the mock certificate of incorporation pdf file * feat(headless-example): now using the workflow document decisions for rejected/approved/revisions * refactor(headless-example): updated the condition for displaying re-submission ui * refactor(headless-example): replaced header auth with api key auth for the headless example * refactor(headless-example): improved flow behavior and added clear user button * feat(vite.config.ts): added sourcemaps * update common * fix(*): can now see the re-submit ui and re-upload documents * Blokh/fix/refactor update category (#517) * added watch for form * feat: finalized update form of category type * removed log * feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown added usewatchdropdown logic for category to type logic * updated compose to edit naming * feat(merged with dev): merged with dev merged with dev + fixed conflicts + updated code after format changes * updated use initial category set * added types to uniqueArrayByKey * fixed entries to document * minor refactoring * updated common version * added find value * Blokh/feat/test infra (#500) * feat(database-infra): generated infra for test creations ( test & nest ) generate database infra for test creations, generated test for end-user in order to test the test-infra * feat: generated global setup and teardown * updated DATABASE_SCHEMA_NAME using zod * fixed comments * removed unnecessary actions and docker compose * updated lock * feat: running foramt * updated DB_CONTAINER type * feat(added testglobal): added TestGlobal * updated pnpm lock * feat: added TESTCONTAINERS_RYUK_DISABLED true * ran commitlint * removed unnecessary wawait * removed test using windows * updated test runnign strategy * removed windows test as it does not support db request * feat(added support for unit test ing test and e2e test): added support for unit test added support for unit test, integration test and e2e test * added different ci for ubuntu and windows * updated commons * removed unit test from browser sdk * removed unit test from workflow * fixed package json * removed unit test from node-sdk * added crossenv * merged with dev * fixed enduser test * reverted removal of unittest * ran format * updated nx json * added unit test for workflow core * fixed nx json * fixed duplicated tests configuration on nx * reverted remoival of lint * merged with dev * feat: added handling of prisma validation errors to workflow controller (#511) * feat: added handling of prisma validation errors to workflow /run controller * feat: moved prisma validation filter to global level * feat: implemented prisma validation errors parser & added parse output to filter * feat: added handling of unknown arguments exceptions from prisma * feat: added ansi codes removal from exception * use clean ansi fn --------- Co-authored-by: Alon Peretz <[email protected]> * fix(backoffice-v2): no longer rendering an empty block if there's no entity data * fix(*): now displaying the entity data when uploading docs from the headless example * feat(backoffice-v2): fixed the size of the navbar checkboxes * feat(*): checkpoint * add kyb w/ external request (#541) * feat(examples-kyb): kyb example w/ external request * feat(examples-kyb): kyb example w/ external request * fix(headless-example): fixed mock photos' names and removed the type field - broke dropdowns * fix(backoffice-v2): fixed document category initilizing with undefined * revert(backoffice-v2): reverted the changes to useInitialSetCategory * fix(backoffice-v2): fixed errors from the devtools logs due to wrong placement of controller shadcn select form controller placement * fix(backoffice-v2): fixed useWatchDropdownOptions no longer overrides document type to "undefined" * fix(backoffice-v2): fixed document type resetting to "undefined" * fix(*): no longer using hardcoded propertiesSchema * update common lib * feat(workflow-def): enable mulitple active workflows * update pnpm lock * fix(seed.ts): updated seed.ts so information shows and is editable for the example * updated cookie secure to false for testing * added secure proxy to cookie logic * added trust proxy key to app * added trust proxy key to app * added trust proxy key to app * reverted unnecessary changes * reverted unnecessary changes * added secureProxy * removed secured of cookie * updated removed http only * added secured false * remove cookie domaun * fix(*): fixed useUpdateWorkflowByIdMutation previously used the wrong query keys and updated data wrong * fix(*): no longer returning an empty function to appease eslint * fix(remove-ansi-escape-codes.ts): added eslint ignore for no-control-regex - makes sense here * refactor(workflows-service): moved assignIdToDocuments into the repository level for create moved to updateWorkflowRuntimeData for update * fix(setformdata): removed redundant useState --------- Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Daniel Blokh <[email protected]> Co-authored-by: Ilya Rudnev <[email protected]> Co-authored-by: blokh <[email protected]> * refactor(backoffice-v2): made the parentMachine object have a default of an empty object creating workflows from the api will no longer fail if no parentMachine was specified * revert(backoffice-v2): reverted mistakenly workflow by id schema was removed * Fix workflow by id zod schema on test (#550) * feat(headless-example): checkpoint * feat(*): checkpoint * fix(workflows-service): fixed wrong destination on diskStorage * fix(workflows-service): fixed de-sync between external uploadFile and internal affected the fileNameOnDisk property * fix(*): fixed headless-example file upload flow * fix(headless-example): updated the name of the mock certificate of incorporation pdf file * feat(headless-example): now using the workflow document decisions for rejected/approved/revisions * refactor(headless-example): updated the condition for displaying re-submission ui * refactor(headless-example): replaced header auth with api key auth for the headless example * refactor(headless-example): improved flow behavior and added clear user button * feat(vite.config.ts): added sourcemaps * update common * fix(*): can now see the re-submit ui and re-upload documents * Blokh/fix/refactor update category (#517) * added watch for form * feat: finalized update form of category type * removed log * feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown added usewatchdropdown logic for category to type logic * updated compose to edit naming * feat(merged with dev): merged with dev merged with dev + fixed conflicts + updated code after format changes * updated use initial category set * added types to uniqueArrayByKey * fixed entries to document * minor refactoring * updated common version * added find value * Blokh/feat/test infra (#500) * feat(database-infra): generated infra for test creations ( test & nest ) generate database infra for test creations, generated test for end-user in order to test the test-infra * feat: generated global setup and teardown * updated DATABASE_SCHEMA_NAME using zod * fixed comments * removed unnecessary actions and docker compose * updated lock * feat: running foramt * updated DB_CONTAINER type * feat(added testglobal): added TestGlobal * updated pnpm lock * feat: added TESTCONTAINERS_RYUK_DISABLED true * ran commitlint * removed unnecessary wawait * removed test using windows * updated test runnign strategy * removed windows test as it does not support db request * feat(added support for unit test ing test and e2e test): added support for unit test added support for unit test, integration test and e2e test * added different ci for ubuntu and windows * updated commons * removed unit test from browser sdk * removed unit test from workflow * fixed package json * removed unit test from node-sdk * added crossenv * merged with dev * fixed enduser test * reverted removal of unittest * ran format * updated nx json * added unit test for workflow core * fixed nx json * fixed duplicated tests configuration on nx * reverted remoival of lint * merged with dev * feat: added handling of prisma validation errors to workflow controller (#511) * feat: added handling of prisma validation errors to workflow /run controller * feat: moved prisma validation filter to global level * feat: implemented prisma validation errors parser & added parse output to filter * feat: added handling of unknown arguments exceptions from prisma * feat: added ansi codes removal from exception * use clean ansi fn --------- Co-authored-by: Alon Peretz <[email protected]> * fix(backoffice-v2): no longer rendering an empty block if there's no entity data * fix(*): now displaying the entity data when uploading docs from the headless example * feat(backoffice-v2): fixed the size of the navbar checkboxes * feat(*): checkpoint * add kyb w/ external request (#541) * feat(examples-kyb): kyb example w/ external request * feat(examples-kyb): kyb example w/ external request * fix(headless-example): fixed mock photos' names and removed the type field - broke dropdowns * fix(backoffice-v2): fixed document category initilizing with undefined * revert(backoffice-v2): reverted the changes to useInitialSetCategory * fix(backoffice-v2): fixed errors from the devtools logs due to wrong placement of controller shadcn select form controller placement * fix(backoffice-v2): fixed useWatchDropdownOptions no longer overrides document type to "undefined" * fix(backoffice-v2): fixed document type resetting to "undefined" * fix(*): no longer using hardcoded propertiesSchema * update common lib * feat(workflow-def): enable mulitple active workflows * update pnpm lock * fix(seed.ts): updated seed.ts so information shows and is editable for the example * updated cookie secure to false for testing * added secure proxy to cookie logic * added trust proxy key to app * added trust proxy key to app * added trust proxy key to app * reverted unnecessary changes * reverted unnecessary changes * added secureProxy * removed secured of cookie * updated removed http only * added secured false * remove cookie domaun * fix(*): fixed useUpdateWorkflowByIdMutation previously used the wrong query keys and updated data wrong * fix(*): no longer returning an empty function to appease eslint * fix(remove-ansi-escape-codes.ts): added eslint ignore for no-control-regex - makes sense here * refactor(workflows-service): moved assignIdToDocuments into the repository level for create moved to updateWorkflowRuntimeData for update * fix(setformdata): removed redundant useState * refactor(backoffice-v2): made the parentMachine object have a default of an empty object creating workflows from the api will no longer fail if no parentMachine was specified * revert(backoffice-v2): reverted mistakenly workflow by id schema was removed --------- Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Daniel Blokh <[email protected]> Co-authored-by: Ilya Rudnev <[email protected]> Co-authored-by: blokh <[email protected]> * refactor(backoffice-v2): replaced default with optional for parentMachine validation * Omri levy/fix/fix headless example (#551) * feat(headless-example): checkpoint * feat(*): checkpoint * fix(workflows-service): fixed wrong destination on diskStorage * fix(workflows-service): fixed de-sync between external uploadFile and internal affected the fileNameOnDisk property * fix(*): fixed headless-example file upload flow * fix(headless-example): updated the name of the mock certificate of incorporation pdf file * feat(headless-example): now using the workflow document decisions for rejected/approved/revisions * refactor(headless-example): updated the condition for displaying re-submission ui * refactor(headless-example): replaced header auth with api key auth for the headless example * refactor(headless-example): improved flow behavior and added clear user button * feat(vite.config.ts): added sourcemaps * update common * fix(*): can now see the re-submit ui and re-upload documents * Blokh/fix/refactor update category (#517) * added watch for form * feat: finalized update form of category type * removed log * feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown added usewatchdropdown logic for category to type logic * updated compose to edit naming * feat(merged with dev): merged with dev merged with dev + fixed conflicts + updated code after format changes * updated use initial category set * added types to uniqueArrayByKey * fixed entries to document * minor refactoring * updated common version * added find value * Blokh/feat/test infra (#500) * feat(database-infra): generated infra for test creations ( test & nest ) generate database infra for test creations, generated test for end-user in order to test the test-infra * feat: generated global setup and teardown * updated DATABASE_SCHEMA_NAME using zod * fixed comments * removed unnecessary actions and docker compose * updated lock * feat: running foramt * updated DB_CONTAINER type * feat(added testglobal): added TestGlobal * updated pnpm lock * feat: added TESTCONTAINERS_RYUK_DISABLED true * ran commitlint * removed unnecessary wawait * removed test using windows * updated test runnign strategy * removed windows test as it does not support db request * feat(added support for unit test ing test and e2e test): added support for unit test added support for unit test, integration test and e2e test * added different ci for ubuntu and windows * updated commons * removed unit test from browser sdk * removed unit test from workflow * fixed package json * removed unit test from node-sdk * added crossenv * merged with dev * fixed enduser test * reverted removal of unittest * ran format * updated nx json * added unit test for workflow core * fixed nx json * fixed duplicated tests configuration on nx * reverted remoival of lint * merged with dev * feat: added handling of prisma validation errors to workflow controller (#511) * feat: added handling of prisma validation errors to workflow /run controller * feat: moved prisma validation filter to global level * feat: implemented prisma validation errors parser & added parse output to filter * feat: added handling of unknown arguments exceptions from prisma * feat: added ansi codes removal from exception * use clean ansi fn --------- Co-authored-by: Alon Peretz <[email protected]> * fix(backoffice-v2): no longer rendering an empty block if there's no entity data * fix(*): now displaying the entity data when uploading docs from the headless example * feat(backoffice-v2): fixed the size of the navbar checkboxes * feat(*): checkpoint * add kyb w/ external request (#541) * feat(examples-kyb): kyb example w/ external request * feat(examples-kyb): kyb example w/ external request * fix(headless-example): fixed mock photos' names and removed the type field - broke dropdowns * fix(backoffice-v2): fixed document category initilizing with undefined * revert(backoffice-v2): reverted the changes to useInitialSetCategory * fix(backoffice-v2): fixed errors from the devtools logs due to wrong placement of controller shadcn select form controller placement * fix(backoffice-v2): fixed useWatchDropdownOptions no longer overrides document type to "undefined" * fix(backoffice-v2): fixed document type resetting to "undefined" * fix(*): no longer using hardcoded propertiesSchema * update common lib * feat(workflow-def): enable mulitple active workflows * update pnpm lock * fix(seed.ts): updated seed.ts so information shows and is editable for the example * updated cookie secure to false for testing * added secure proxy to cookie logic * added trust proxy key to app * added trust proxy key to app * added trust proxy key to app * reverted unnecessary changes * reverted unnecessary changes * added secureProxy * removed secured of cookie * updated removed http only * added secured false * remove cookie domaun * fix(*): fixed useUpdateWorkflowByIdMutation previously used the wrong query keys and updated data wrong * fix(*): no longer returning an empty function to appease eslint * fix(remove-ansi-escape-codes.ts): added eslint ignore for no-control-regex - makes sense here * refactor(workflows-service): moved assignIdToDocuments into the repository level for create moved to updateWorkflowRuntimeData for update * fix(setformdata): removed redundant useState * refactor(backoffice-v2): made the parentMachine object have a default of an empty object creating workflows from the api will no longer fail if no parentMachine was specified * revert(backoffice-v2): reverted mistakenly workflow by id schema was removed * refactor(backoffice-v2): replaced default with optional for parentMachine validation --------- Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Daniel Blokh <[email protected]> Co-authored-by: Ilya Rudnev <[email protected]> Co-authored-by: blokh <[email protected]> * feat(workflows-service): added parentMachine id to an instance of update by id --------- Co-authored-by: Matan Yadaev <[email protected]> Co-authored-by: blokh <[email protected]> Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Daniel Blokh <[email protected]> Co-authored-by: Ilya Rudnev <[email protected]> * fix(swagger): dont open swagger in dev/prod (#533) * add timestamps to workflow webhooks (#561) * feat(wrofkflow webhooks): add timestamps to wrokflow webhooks * feat(wh): add timestamps to workflows webhooks \ * fixed tests * fixed tests * fix(docs): update astro (#565) * fix(docs): update astro * fixed tests * refactor(*): GET /workflows per entity instead of query params (#558) * refactor(*): gET /workflows now uses query instead of param for entity id and type * refactor(workflows-service): now using an endpoint per entity instead of using query params * refactor(workflows-service): refactored new endpoints to be DRY * fix(workflows-service): added missing nestjs module dependencies * refactor(workflows-service): removed redundant usage of the @UserData decorator * fix(tests): fixed broken tests * fix(ci): trying to fix tests * fix(workflows-service): added missing prisma service dependency * fix(tests): refactored the endpoint the internal unit test uses --------- Co-authored-by: Alon Peretz <[email protected]> * fix(webhooks): fix resolved ata (#574) * fix(webhooks): fix resolved ata * fixed test * fixed test * refactor(backoffice-v2): merged re-submit and reject into a single dialog (#578) * feat(backoffice-v2): added rotate button to selected image (#576) * feat(backoffice-v2): added a content block to display plugin output (#581) * Updated pluginOutput to pluginsOutput (#582) * feat(backoffice-v2): added a content block to display plugin output * refactor(useentity): replaced instances of pluginOutput with pluginsOutput * Backoffice - Zoom document images (#575) * feat(backoffice-v2): added the ability to zoom, pan, pinch on the selected image * feat(backoffice-v2): now disabling ocr when doc is rotated or transformed * Backoffice - feedback updates (#583) * refactor(backoffice-v2): renamed reject dialog fields * refactor(backoffice-v2): now tasks with a decision are no longer editable * Backoffice - Entity address + map block (#584) * feat(backoffice-v2): added a map cell * feat(map): divided the map block to columns with the address visible * feat(backoffice-v2): now travesing the plugins output for an address for the map component * refactor(backoffice-v2): added jsdocs to getAddressDeep and renamed remaining components instance * Docs site sturcutre changes (#580) * strucute changes * strucute changes * strucute changes * strucute changes * strucute changes * merged with dev * merged with dev * merged with dev * merged with dev * merged with dev * merged with dev * merged with dev * Update simple-kyb-guide.mdx (#586) * Tech/feat/dynamic workflows (#538) * opening branch * Blokh/feat/trans valid interface (#539) * feat(added transformation interface): add transformation and validation interfaces add transformation and validation interfaces for pre-transition and post transition actions * feat(added validator): added validator functionality add validator functionality * feat(fixed minor issues): fixed issues with schema validator fixed issue with schema validator * remove install * updated added types to common and refactored interfaces to abstract classes * fixed common - error with message * feat(ran format): ran format ran format * feat(updated base workers): updated base workfers for transform and validator * feat: support api plugins (#543) * add kyb w/ external request (#541) * feat(examples-kyb): kyb example w/ external request * feat(examples-kyb): kyb example w/ external request * feat: support api plugins * merged with trans and validator * refactor: pr fix * style: cleanup --------- Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: blokh <[email protected]> * workflow core rules cap (#542) * workflow rules draft 1 * event works * feat(wf-rules): basic rules functionality * Blokh/feat/api plugin trans validator (#549) * feat: support api plugins * merged with trans and validator * refactor: pr fix * generate api plugin entity * feat(generate api plugin): generate api plugin * removed unused packages * removed unused packages * feat(merged with dynamic workflow): merged with dynamic workflow --------- Co-authored-by: yairp <[email protected]> * fixed tests * fixed tests * feat(added tests functionality): finalized dynamic api plugin (#557) * feat(added tests functionality): added multiple tests functionality added multiple tests, handled error, tested payload * wrapped describe * feat(finished test logic + code): finished test logic + code finished test logic + code * merged with feature branch * updated pluginsOutput as all extentions output * removed duplicated imports * fixed import * fixed iapiconfig mport * updated test issues * fixed lint issues * Blokh/feat/e 2 e test (#577) * fix(swagger): dont open swagger in dev/prod (#533) * add timestamps to workflow webhooks (#561) * feat(wrofkflow webhooks): add timestamps to wrokflow webhooks * feat(wh): add timestamps to workflows webhooks \ * fixed tests * fixed tests * generate webhook plugin * generate branch for api * fix(docs): update astro (#565) * fix(docs): update astro * fixed tests * merged with pull * finished with webhook plugin * fixed test * refactor(*): GET /workflows per entity instead of query params (#558) * refactor(*): gET /workflows now uses query instead of param for entity id and type * refactor(workflows-service): now using an endpoint per entity instead of using query params * refactor(workflows-service): refactored new endpoints to be DRY * fix(workflows-service): added missing nestjs module dependencies * refactor(workflows-service): removed redundant usage of the @UserData decorator * fix(tests): fixed broken tests * fix(ci): trying to fix tests * fix(workflows-service): added missing prisma service dependency * fix(tests): refactored the endpoint the internal unit test uses --------- Co-authored-by: Alon Peretz <[email protected]> * updated webhook url + logic in e2e * finalize e2e runner test full flow * generated e2e seed workflow * feat(updated seed for e2e test): updated seed for e2e test * fix(webhooks): fix resolved ata (#574) * fix(webhooks): fix resolved ata * fixed test * fixed test * added send-event endpoint * generation of extentions by workflow definition * added return on workflow node-sdk dependency * refactor(backoffice-v2): merged re-submit and reject into a single dialog (#578) * feat(backoffice-v2): added rotate button to selected image (#576) * finalize testing full flow * feat(backoffice-v2): added a content block to display plugin output (#581) --------- Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Omri Levy <[email protected]> --------- Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Omri Levy <[email protected]> * feat(merged with dev): merged with dev * generated fetchObjectPlaceholderValue in api plugin * fixed lint * fixed some tests * ran foramt * removed weird test bug * removed test * merged with dev * added plugin logo * updated test schema * merged with dev * merged with dev * merged with dev * merged with dev * merged with dev * merged with dev --------- Co-authored-by: Yair Perman <[email protected]> Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: Omri Levy <[email protected]> * update docs * update docs * adding helm, dev * update docs * update docs * workflows dashboard (#567) * feat: implemented workflows-runtime controller * feat: added workflows-dashboard & implemented workflows table & filters & pagination * refactor: refactored implementation of workflow table to use react-table & added plugin checker * feat: updated table styles & updated layout & renamed components * feat: replaced dropdown with faceted filter & table layout fixes * feat: added .env.example & updated gitignore * feat: added health indicator & updted models & added jest * feat: updated workflow table cells & updated controller response model * feat: added date formatting to table * feat: added workflow status pie chart & added metrics controller * update docs --------- Co-authored-by: Illia Rudniev <[email protected]> * update docs * update workflows dashboard name * fix: fixed websocket-service path in init script (#594) * Illia rudniev/feat/winston logger (#544) * feat: implemented logger service & logger adapter(winston) & added cls to share state * chore: cleaned code * refactor: refactored initialization of exception filters to work with DI & cleaned code * fix: fixed typo in app-logger * add local env * fix: added missing logger service to test cases * fix: fixed lint issues --------- Co-authored-by: Alon Peretz <[email protected]> * feat: updated jq with jmespath (#600) * feat: updated jq with jmespath * fixed tests * removed jq transformer * Blokh/feat/plugins documentation (#611) * generated api plugin description and implementation * updated api plugin format * generated webhook plugin documentation * fix(docs): fixed docs (#612) * fix(docs): fixed docs * update workflows dashboard name * Illia rudniev/feat/overview page and charts (#596) * feat: added overview page & updated pie chart * feat: added sorting to worklofws table & added sorting to controller * fix: fixed sorting regexp cache bug * refactor: updated implementation of getSortingData helper & removed primitive return types * refactor: refactored way of aquiring entity type & removed entity fro… (#507) * refactor: refactored way of aquiring entity type & removed entity from query & updated loaders * refactor: refactored getFiltersFromQuery to use getQueryData * refactor: removed useFilterEntity hook & replaced with useEntityType --------- Co-authored-by: Alon Peretz <[email protected]> * fix(docs): add plugins section (#613) gst * test(headless-example): added an e2e smoke test - catches instances of blank white page (#609) in response to cases where there are logs in devtools and the app still runs * Illia rudniev/feat/workflow dashboard auth (#602) * feat: added overview page & updated pie chart * feat: added sorting to worklofws table & added sorting to controller * fix: fixed sorting regexp cache bug * feat: added signin from backoffice & session handling * refactor: added post-fixes to query/mutation hooks & useSession now uses query refetch method * fix: fixed typo and missing space * fix: fix logout in header & updated dev port * blokh/feat/definition-validator (#608) * generated validators for definition, api plugin and webhook * added zod to commons * updated method name to lowercased * feat(ran format): ran format * merged with dev * feat: implemented user activity tracker middleware & tests, connected middleware to app (#616) * Fix headless-exampe 401 unauthorized errors (#624) * refactor(workflows-service): now also using API key auth in local in addition to development * feat(monorepo root package.json): added VITE_API_KEY=secret to example scripts otherwise the headless-example breaks * Disable ability to change assignment on a case with a decision (#622) * feat(backoffice-v2): disabled assignment buttons client-side when all documents have a decision * feat(workflows-service): can no longer change assignment of cases with a decision (server-side) * Alphanumeric doc number (#623) * refactor(common): replaced instances of docNumber number with string + alphanumeric pattern * refactor(seed.ts): updated docNumber in seed to be alphanumeric of 9 characters --------- Co-authored-by: Alon Peretz <[email protected]> * feat(backoffice-v2): added a comment field for reject/revision reason (#620) Co-authored-by: Alon Peretz <[email protected]> * fix: fixed workflow dashboard port in env.example (#634) * Illia rudniev/feat/wf runtimes page metrics (#626) * feat: added metric endpoints & added mocked metric cards to ui * fix: fixed tests * feat: implmeneted active per workflow chart & code refactoring * feat: implementd case per agent & case per status chart & replaced moment -> dayjs * chore: lock fix * chore: lock fix * feat: implemented agents metric & added active-users endpoint * Illia rudniev/feat/overview page stats (#632) * feat: implemented user statistic endpoints * feat: implemented users resolve stats endpoint & removed keyauth guard from endpoints * feat: implemented overview page & fixed metric endpoints * fix: fixed env ports * feat: added online status indicator & updated title on user activity metric * feat: added x-state visualizer to wf table & added wf definition endpoint (#638) --------- Co-authored-by: Alon Peretz <[email protected]> --------- Co-authored-by: Alon Peretz <[email protected]> * add staging image publish * exper * fix: fixed imports & added preview port to vite config (#647) * fix(webhook-handler): null check on document changed (#648) * add: github actions to build & push docker images (#664) * Revert "add: github actions to build & push docker images (#664)" This reverts commit b610b1f4dc7e2a8d5a5881605a2e7fe0ce86ca64. * feat(schema): schema changes for kyb (#630) * feat(schema): schema changes for kyb * PR comments * refactor: metric moved to different module & renamed endpoints & fixed user stats metric bugs (#643) * refactor: metric moved to different module & renamed endpoints & fixed user stats metric bugs * feat: reworked sql queries to & updated endpoints to work with single or multiple users --------- Co-authored-by: Alon Peretz <[email protected]> * feat(doc-schemas): add mtn statement (#672) * feat(doc-schemas): add mtn statement * version release * version release * version release * keep the values up to date docker-compose.yml (#646) Co-authored-by: Alon Peretz <[email protected]> * fix: added biging serialization & updated models & FE types (#675) * fix: added biging serialization & updated models & FE types * feat: updated metrics agent cases & cases per status to all time stats & updated endpoints & sql * feat(docs): add docs schema type (#676) * feat(docs): add docs schema type * version release * fix: fixed wf processing stats queries, added missing key to user resolved cases list (#677) * update default context schema * fix: removed grouping from approval rate quer & review time query now… (#679) * fix: removed grouping from approval rate quer & review time query now ignores unassigned workflows * fix: lint * fix: format fix * fix: reworked approval rate query & updated models & types * alonp/fix/default context to js (#682) * fix(common-seed): create ts file with context schema instead of json * common version upgrade * common version upgrade * Illia rudniev/feat/react UI lib (#666) * feat: initialize react-ui lib & tailwind,storybook,build * feat: added stories & shadcn components & extended monorepo build with ui * fix: lock fix * feat: added eslint & vitetest & cleaned packag.json & changed scrollbar * fix: replaced enum with const object * fix: fixed build & updated test config * fix: updated tsconfig target & added overrides for types * fix: removed overrides & unused packages & context view now uses scrollarea * fix: renamed context view column to JsonDialog * Authentication layouts using react-router-dom (#617) * refactor(backoffice-v2): no longer using useEffect to redirect based on auth state now using <Navigate/> and navigating to the last page of the user * refactor(shouldredirect): wrapped in useMemo (PR comment) * feat(authprovider): added a full screen loader * fix(useselectentityfilteronmount): updated dependency array * feat(backoffice-v2): now returning full screen loader instead of null * publish ui package (#692) * fix(*): renamed lib to dist (#693) * publish ui package * Illia rudniev/fix/active agents stats (#697) * fix: agents stats now fetching all available users & updated endpoints & ui * feat: added favicon * fix(editabledetails): fixes status not updating from revision to approved or rejected (#687) Co-authored-by: Alon Peretz <[email protected]> * Revert "fix(editabledetails): fixes status not updating from revision to approved or rejected (#687)" This reverts commit d5c710aeb6acc9153996a8577667fe5e42ba6259. * lock ballerine node package * lock ballerine node package * feat(db): add plv8 (#727) * feat(db): add plv8 * feat(local-dev): change dev cors and cookie session to allow local comm with cloud dbs * feat(local-dev): change dev cors and cookie session to allow local comm with cloud dbs * feat(local-dev): update node-sdk * update packages * update packages * update packages * fix(postgres): change volume to avoid conflicts with all setup * feat(documents-schema): added now doc schema (#754) * feat(documents-schema): added now doc schema * Update GH.ts * change document type * fix: remove @ballerine/ui from build (#758) * fix(document schemas): fixed typo of regestration * fix(gh.ts): renamed businessName to companyName, and removed alphaNumberic constraint (#764) * fix(backoffice-v2): no longer sharing data between cases (different workflows) --------- Co-authored-by: Muhammad Afaq Shuaib <[email protected]> Co-authored-by: Daniel Blokh <[email protected]> Co-authored-by: blokh <[email protected]> Co-authored-by: blokh <[email protected]> Co-authored-by: Alon Peretz <[email protected]> Co-authored-by: snyk-bot <[email protected]> Co-authored-by: Matan Yadaev <[email protected]> Co-authored-by: TzlilSwimmer123 <[email protected]> Co-authored-by: teselil <[email protected]> Co-authored-by: Ilya Rudnev <[email protected]> Co-authored-by: nitzanballerine <[email protected]> Co-authored-by: Yair Perman <[email protected]> Co-authored-by: pratapalakshmi <[email protected]> Co-authored-by: Tomer Shvadron <[email protected]>
1 parent 67459ba commit bfed22d

File tree

789 files changed

+30516
-5857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

789 files changed

+30516
-5857
lines changed
 

‎.changeset/config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"fixed": [],
66
"linked": [],
77
"access": "public",
8-
"baseBranch": "main",
8+
"baseBranch": "dev",
99
"updateInternalDependencies": "patch",
10-
"ignore": ["@ballerine/docs", "@ballerine/backoffice-v2"]
10+
"ignore": ["@ballerine/docs-site", "@ballerine/backoffice-v2"]
1111
}

‎.changeset/smart-lobsters-turn.md

-5
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.