Commit Graph

743 Commits

Author SHA1 Message Date
Mohamed Marrouchi
a607247d56 test: add unit tests 2025-02-04 18:26:46 +01:00
Mohamed Marrouchi
21301b9702 fix: handover/handback lifecycle hook 2025-02-04 17:57:37 +01:00
Mohamed Marrouchi
a0f2701e3e refactor: multer upload middleware 2025-02-04 17:54:34 +01:00
abdou6666
1f8285a09c fix: remove casting 2025-02-04 17:54:16 +01:00
abdou6666
7332f77624 fix: apply feedback 2025-02-04 17:51:31 +01:00
abdou6666
5150b2e3a6 fix: refactor blockMessageSchema 2025-02-04 17:30:55 +01:00
abdou6666
c66b3c3f9d fix: unnecessary type casting 2025-02-04 17:15:42 +01:00
abdou6666
6879ff77b5 fix: pluginNameSchema typing 2025-02-04 17:13:59 +01:00
abdou6666
1337c8cb6b fix: remove if plugin in msg check 2025-02-04 16:17:31 +01:00
abdou6666
ccd8d95f8f fix: apply feedback 2025-02-04 16:13:14 +01:00
abdou6666
abb90fcd12 fix: apply feedback 2025-02-04 15:54:02 +01:00
abdou6666
1b2687d84d fix: attachment validation bug 2025-02-04 15:34:19 +01:00
hexastack
02c50d76a1 fix: update dynamicfields default values 2025-02-04 14:51:27 +01:00
abdou6666
183a24198e fix: uninstall joi 2025-02-04 11:09:48 +01:00
abdou6666
af536a9f48 feat: zod validation message 2025-02-04 11:05:22 +01:00
abdou6666
42c7d110a2 feat: button zod validation 2025-02-03 18:54:25 +01:00
Med Marrouchi
427321859b
Merge pull request #677 from Hexastack/feat/add-channelSchema-zod-validation
Feat: add channel schema zod validation
2025-02-03 18:53:30 +01:00
Mohamed Marrouchi
8955ec38f0 feat: handle plain text payloads 2025-02-03 18:42:03 +01:00
abdou6666
a648fec828 fix: accept other key,values in channelDataSchema 2025-02-03 18:30:14 +01:00
Mohamed Marrouchi
e8f031da02 fix: handle multer upload in middleware (long pooling only) 2025-02-03 18:20:38 +01:00
abdou6666
ac01cc7269 fix: apply feedback naming 2025-02-03 18:02:42 +01:00
abdou6666
768feb70e2 fix: apply feedback 2025-02-03 17:44:55 +01:00
abdou6666
5108169174 fix: add regex for context_var 2025-02-03 15:14:22 +01:00
abdou6666
011bc69db9 feat: channelSchema validation with zod 2025-02-03 14:58:57 +01:00
abdou6666
e341f2d3da feat: replace joi with zod captureVar 2025-02-03 14:37:55 +01:00
abdou6666
a3cecf0977 feat: replace join with zod is-position 2025-02-03 14:21:33 +01:00
abdou6666
37486150df fix: apply feedback 2025-02-03 14:18:47 +01:00
abdou6666
d4a6c26919 fix: ensure the input being passed is an array 2025-02-03 14:00:32 +01:00
abdou6666
7a8545e646 feat: replace joi with zod is-pattern-list 2025-02-03 13:52:49 +01:00
abdou6666
a6d4f78c39 fix: change payloadPatternSchema to camel case 2025-02-03 13:38:03 +01:00
abdou6666
22007e451a fix: update pattern schema camel case 2025-02-03 12:36:32 +01:00
abdou6666
aa8c54c511 feat: zod pattern 2025-02-03 11:09:23 +01:00
abdou6666
22046d57e9 feat: zod quick reply 2025-02-03 10:58:53 +01:00
abdou6666
b09f198da3 feat: zod subscriber-context 2025-02-03 10:52:43 +01:00
abdou6666
8084623b06 feat: zod position 2025-02-03 10:48:40 +01:00
abdou6666
87e068b2fe feat: zod capture-var 2025-02-03 10:44:56 +01:00
abdou6666
8ca12e3a3d feat: zod attachment 2025-02-03 10:40:17 +01:00
yassinedorbozgithub
ee23ef1f3e fix(api): use sessionId instead of cookie to close sockets 2025-01-30 16:51:59 +01:00
yassinedorbozgithub
79cb85f74f fix: logout disconnection sockets 2025-01-29 14:50:05 +01:00
Mohamed Marrouchi
1288eb87cf build: v2.2.3
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled
2025-01-28 19:45:32 +01:00
Med Marrouchi
1b219c42c3
Merge pull request #639 from Hexastack/fix/mailing
fix: nest mailing + minor css tweaks
2025-01-28 19:44:55 +01:00
Med Marrouchi
ad07884fb0
Merge pull request #631 from Hexastack/fix/logger-2nd-attempt
Fix/logger 2nd attempt
2025-01-28 19:21:47 +01:00
abdou6666
1f81775844 fix: logger import 2025-01-28 18:49:46 +01:00
Mohamed Marrouchi
44eff3de7b fix: nest mailing + minor css tweaks 2025-01-28 18:44:48 +01:00
abdou6666
3756235a76 fix: apply feedback 2025-01-28 17:58:16 +01:00
abdou6666
e8cbe253d3 fix: apply feedback 2025-01-28 11:50:20 +01:00
abdou6666
495cc06094 fix: refactor code 2025-01-27 17:11:47 +01:00
Aditya
29c0912de6 fix: update return type of findOneByForeignId to include null 2025-01-27 17:47:26 +05:30
abdou6666
32d57874cd fix: remove service name prefix from logged messages 2025-01-27 12:36:50 +01:00
abdou6666
da1b1711f6 feat: update logging logic 2025-01-27 12:34:57 +01:00
Mohamed Marrouchi
988141f5a2 fix: logger ctx 2025-01-27 10:46:40 +01:00
Mohamed Marrouchi
f52c82e82a fix: logger ctx 2025-01-27 10:46:14 +01:00
Aditya
4bc783ccbe fix: update return type of findOneByForeignId to include null 2025-01-24 20:06:50 +05:30
Mohamed Marrouchi
ae4bfcfe89 build: v2.2.2
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled
2025-01-24 08:10:24 +01:00
Med Marrouchi
fe5420e3f8
Merge pull request #624 from Hexastack/fix/nlu-helper-format
fix: nlu format return
2025-01-24 07:40:42 +01:00
Mohamed Marrouchi
43d63cfa82 fix: return type 2025-01-23 18:21:35 +01:00
Mohamed Marrouchi
1452638a64 fix: load setting 2025-01-23 18:10:31 +01:00
Mohamed Marrouchi
97cff8acff fix: add config allowed origins 2025-01-23 18:07:56 +01:00
Mohamed Marrouchi
0243c71740 fix: nlu format return 2025-01-23 17:14:40 +01:00
Mohamed Marrouchi
395b033f74 feat: add unit test 2025-01-23 16:36:41 +01:00
Mohamed Marrouchi
2694a4f802 fix: load origins from settings 2025-01-23 16:31:49 +01:00
abdou6666
d9ef2152b7 fix: cors issue for http server 2025-01-23 15:59:26 +01:00
Med Marrouchi
d6d757bf64
Merge pull request #617 from Hexastack/fix/remove-duplicate-event-new-user
fix: remove duplicate emitted event 'new_users'
2025-01-23 11:16:37 +01:00
Mohamed Marrouchi
dee2eb5c81 build: v2.2.1
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
2025-01-22 18:32:36 +01:00
hexastack
3051e84251 feat: fix unit test 2025-01-22 18:11:45 +01:00
abdou6666
40b0a605a2 fix: remove duplicate emitted event 'new_user' 2025-01-22 17:56:37 +01:00
abdou6666
ab5ff6e2b7 fix: optimize docker cache api 2025-01-22 10:27:56 +01:00
Mohamed Marrouchi
bbff215381 build: v2.2.0
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
2025-01-21 14:42:22 +01:00
Mohamed Marrouchi
be1a79f3ea fix: ensure retro-compatibility (we hope) 2025-01-21 14:25:47 +01:00
Mohamed Marrouchi
f01d5a4ee3 fix: ts issue 2025-01-21 14:18:14 +01:00
Med Marrouchi
9c0a358977
Merge pull request #589 from Hexastack/feat/refactor-attachment-helper
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
feat: refactor attachment storage to use helpers
2025-01-20 19:01:45 +01:00
Mohamed Marrouchi
da981ed972 fix: apply pr review feedback 2025-01-20 18:49:28 +01:00
Mohamed Marrouchi
6a4746dccd fix: apply review feedback 2025-01-20 11:58:29 +01:00
Med Marrouchi
854cfd856f
Merge pull request #579 from Hexastack/576-issue---refactor-updateone-logic-to-centralize-logs
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
update(api): centralize updateOne error handling logic
2025-01-20 10:24:48 +01:00
Mohamed Marrouchi
81aed2e5db feat: refactor attachment storage to use helpers 2025-01-20 09:59:03 +01:00
Med Marrouchi
caae1344c8
Merge pull request #535 from Hexastack/feat/attachments-extra-attrs
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled
Feat/attachments extra attrs
2025-01-17 20:44:23 +01:00
hexastack
3ed8bbcbe3 feat: make storage mode configurable env var 2025-01-17 19:10:39 +01:00
Mohamed Marrouchi
b74c4a4e3a fix: migration 2025-01-17 17:50:35 +01:00
Med Marrouchi
7cf87607e0
Merge pull request #574 from Hexastack/fix/event-missing-payload
fix: event returning users missing required payload
2025-01-17 17:44:09 +01:00
yassinedorbozgithub
6eb29e9a96 fix: handle object error messages 2025-01-17 11:56:59 +01:00
yassinedorbozgithub
f941fc9ff6 Merge branch 'main' into 576-issue---refactor-updateone-logic-to-centralize-logs 2025-01-17 11:41:41 +01:00
Med Marrouchi
24f0a6d85a
Merge pull request #566 from Hexastack/fix/assignedAt-missing-value
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
fix: missing value assignedAt
2025-01-17 10:18:04 +01:00
Mohamed Marrouchi
356b16aa9d fix: rename payload to ensure consistency 2025-01-17 08:27:43 +01:00
Mohamed Marrouchi
a355ef0155 fix: console channel session.web 2025-01-16 18:51:43 +01:00
yassinedorbozgithub
6c75e6df4a refactor(api): Refactor updateOne logic 2025-01-16 18:47:25 +01:00
Mohamed Marrouchi
359049ff3d refactor: use enums 2025-01-16 17:41:30 +01:00
Mohamed Marrouchi
4fac5d4fc9 feat: enforce security to access own attachment 2025-01-16 17:25:16 +01:00
abdou6666
c9870aa912 fix: where assignedAt attribute gets updated 2025-01-16 11:13:50 +01:00
Mohamed Marrouchi
c27f37a6e6 feat: rename enum instead of string 2025-01-16 10:14:50 +01:00
Mohamed Marrouchi
3f9dd692bf refactor: rename context to resourceRef 2025-01-16 08:36:21 +01:00
Mohamed Marrouchi
505cd247a1 feat: add the access attribute 2025-01-16 06:46:41 +01:00
Mohamed Marrouchi
0b4a1085ec fix: minor 2025-01-15 19:05:28 +01:00
abdou6666
d64674170c fix: event returning users missing required payload 2025-01-15 18:42:27 +01:00
Mohamed Marrouchi
bdf1763503 refactor: rename owner to createdBy 2025-01-15 18:05:57 +01:00
Mohamed Marrouchi
90aad93356 fix: update migration to populate the message attachments with extra attributes 2025-01-15 18:05:57 +01:00
Mohamed Marrouchi
39213e8b0b refactor: channels design to allow attachment ownership 2025-01-15 18:05:53 +01:00
Mohamed Marrouchi
e859cf1930 feat: add migration to populate block attachment new attributes 2025-01-15 18:05:23 +01:00
Mohamed Marrouchi
e8c917affd feat: migrate setting attachments 2025-01-15 18:05:23 +01:00
Mohamed Marrouchi
65fad2f9e6 feat: update migration to populate user avatar attachments 2025-01-15 18:05:23 +01:00
Mohamed Marrouchi
9e96055a55 feat: update migration to populate subscriber avatar attachments 2025-01-15 18:05:23 +01:00
Mohamed Marrouchi
67831034ad fix(api): unit test 2025-01-15 18:05:23 +01:00
Mohamed Marrouchi
994c8857e9 feat(api): add attachment extra attributes 2025-01-15 18:05:21 +01:00
yassinedorbozgithub
7186d9587b fix: update llm-nlu confidence value 2025-01-15 12:16:40 +01:00
yassinedorbozgithub
c9f411e813 fix: feedback udaptes 2025-01-15 12:11:20 +01:00
yassinedorbozgithub
b684c6832d fix: NlpValue update make entity property optional 2025-01-15 11:57:31 +01:00
yassinedorbozgithub
2744c51736 fix: NLP Value update DTO + base logic 2025-01-15 11:45:44 +01:00
yassinedorbozgithub
16e34531b0 fix: NLP Value update DTO 2025-01-15 11:43:24 +01:00
yassinedorbozgithub
bac79cd74a fix: update error.constraints conditions 2025-01-15 11:04:18 +01:00
yassinedorbozgithub
2a25f19448 fix: update attachment.controller unit tests 2025-01-15 10:45:14 +01:00
yassinedorbozgithub
630191c334 fix: update nlp value controller 2025-01-15 10:43:01 +01:00
yassinedorbozgithub
b4006f591c fix: upatate migration script 2025-01-15 10:40:26 +01:00
yassinedorbozgithub
e42d8aad39 fix: resolve file conflicts 2025-01-15 10:39:59 +01:00
yassinedorbozgithub
91e61b2e5a fix: upadte chat module unit tests 2025-01-15 10:29:06 +01:00
yassinedorbozgithub
904397d3fe fix: update conversation context condition 2025-01-15 09:17:26 +01:00
yassinedorbozgithub
a11ee925a6 fix: update bot service processMessage method 2025-01-15 09:15:45 +01:00
yassinedorbozgithub
2a48974336 fix: update conversation fixtures + service 2025-01-15 08:34:59 +01:00
yassinedorbozgithub
b574295d8c fix: update context-var.service getContextVarsByBlock method 2025-01-15 08:30:26 +01:00
yassinedorbozgithub
7f6b481988 fix: update chat.service onSubscriberCreate, onSubscriberUpdate methods 2025-01-15 08:28:22 +01:00
yassinedorbozgithub
227630d6c6 fix: update conversation fixtures 2025-01-15 08:25:14 +01:00
yassinedorbozgithub
ff4577d125 Merge branch '545-issue-chat-module-strictnullchecks-issues' into 562-issue-strict-null-check 2025-01-14 20:33:41 +01:00
yassinedorbozgithub
60677c0435 fix: apply feedback updates 2025-01-14 20:32:49 +01:00
yassinedorbozgithub
f87b2d53ad fix: resolve file conflicts 2025-01-14 20:10:16 +01:00
Med Marrouchi
cbbae7e274
Merge pull request #546 from Hexastack/refactor/attachment-payload
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
feat: Refactor attachment payload + use public signed urls in web channel
2025-01-14 19:12:00 +01:00
Mohamed Marrouchi
46f15e2931 fix: update UI attachment avatar + messenger send image feature 2025-01-14 18:55:59 +01:00
abdou6666
28a3ac68ab fix: missing value assignedAt 2025-01-14 12:13:00 +01:00
yassinedorbozgithub
d2223d6bfd feat: implement strict null check 2025-01-13 20:10:19 +01:00
yassinedorbozgithub
11ef58d048 fix: adapt chat Module to strict null checks 2025-01-13 19:14:41 +01:00
Mohamed Marrouchi
514f5dd8a3 docs: add comment 2025-01-13 18:00:35 +01:00
Mohamed Marrouchi
716c48f3b4 fix: omit jwt extra attrs + add stream support for storing attachments 2025-01-13 17:55:20 +01:00
Mohamed Marrouchi
f399416553 fix: leave support for url in attachment payload (case for external urls) 2025-01-13 16:20:01 +01:00
yassinedorbozgithub
817785ad8c fix: update bot service currenBlock category 2025-01-13 15:40:08 +01:00
yassinedorbozgithub
2e269d390e fix: update Chat module unit tests 2025-01-13 15:37:55 +01:00
yassinedorbozgithub
848bf79005 fix: resolve file conflicts 2025-01-13 15:37:05 +01:00
yassinedorbozgithub
e8c6ff3406 fix: update NLP module unit tests 2025-01-13 15:10:17 +01:00
yassinedorbozgithub
36dabc53c0 Merge branch '548-issue-generic-support-of-multiple-dto-per-service' into 540-issue-nlp-module-strictnullchecks-issues 2025-01-13 14:14:40 +01:00
yassinedorbozgithub
43f92b7774 fix: apply feedbacsk 2025-01-13 12:08:29 +01:00
yassinedorbozgithub
efc3ebb9b6 fix: update fixture default values variable naming 2025-01-13 08:48:25 +01:00
yassinedorbozgithub
ae2a13ec76 fix: update block fixture 2025-01-12 14:27:57 +01:00
yassinedorbozgithub
c6c1e2a755 fix: add base-controller DTO typing 2025-01-12 09:13:04 +01:00
yassinedorbozgithub
8a1039148c fix: enhance dynamic DTO typing 2025-01-12 08:32:05 +01:00
yassinedorbozgithub
156d10210b feat: add Fixtures Type Builder 2025-01-11 20:09:35 +01:00
yassinedorbozgithub
ed928ad597 fix: update subscriber DTO 2025-01-11 17:29:03 +01:00
yassinedorbozgithub
0b85e72e42 fix: revert permission.controller.ts update 2025-01-11 17:22:53 +01:00
yassinedorbozgithub
07fe025c6e fix: update DTO type naming 2025-01-11 17:17:05 +01:00
Mohamed Marrouchi
d7cb39f9f4 fix: message attachment id 2025-01-11 11:14:16 +01:00
yassinedorbozgithub
61f159010e feat: implement dynamic create DTO for NLP Module 2025-01-10 19:24:49 +01:00
yassinedorbozgithub
571ba1d568 fix: update role active field 2025-01-10 18:44:24 +01:00
yassinedorbozgithub
1936e6a0e7 feat: implement dynamic create DTO for Role 2025-01-10 18:42:11 +01:00
yassinedorbozgithub
e0e773454d feat: implement dynamic create DTO for Permission 2025-01-10 18:38:17 +01:00
yassinedorbozgithub
b6102b3843 feat: implement dynamic create DTO for Language 2025-01-10 17:47:13 +01:00