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

feat(hitl-next): create webhook for hitlnext events #11976

Merged
merged 2 commits into from
Jul 18, 2022

Conversation

davidvitora
Copy link
Contributor

Creates a webhook that sends HITL events updates to the consumer. Authorization can be set by using the headers config

Copy link
Contributor

@laurentlp laurentlp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comments otherwise LGTM

modules/hitlnext/src/backend/webhook.ts Outdated Show resolved Hide resolved
modules/hitlnext/src/backend/webhook.ts Outdated Show resolved Hide resolved
modules/hitlnext/src/backend/webhook.ts Outdated Show resolved Hide resolved
@EFF EFF changed the title feat(hitl-next): create webhook for events feat(hitl-next): create webhook for hitlnext events Jul 14, 2022
@davidvitora davidvitora marked this pull request as ready for review July 15, 2022 19:58
Copy link
Contributor

@laurentlp laurentlp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice work!!!!

@davidvitora davidvitora merged commit 9ac31fb into master Jul 18, 2022
@laurentlp laurentlp deleted the hitl_next_webhook branch July 18, 2022 14:43
spg added a commit that referenced this pull request Jul 20, 2022
* chore(cloud): environement defaults to production (#11740)

* chore(cloud): environement defaults to production

* chore(admin): link to docs about cloud bots

* typo

* chore(ci_cd): set permissions for actions (#11749)

* chore(ci_cd): set permissions for actions

* improve security of all actions

* small improvement

* last adjustment

* fix(core): fix SAML SLO config as environment variables (#11757)

* fix(core): not possible to set SAML SLO config as environment variables

* Update packages/bp/src/core/config/botpress.config.ts

Co-authored-by: Laurent Leclerc Poulin <laurentlp@users.noreply.github.com>

Co-authored-by: Laurent Leclerc Poulin <laurentlp@users.noreply.github.com>

* chore(migrations): remove module entries of moved mods in migrations (#11758)

* chore(admin): change register message (#11766)

* chore(dev): change version from patch 12.26.13 to minor 12.27.0 (#11767)

* chore(dev): from patch 12.26.13 to minor 12.27.0

* remove patch changelog

* 12.26.13 to 12.27.0

* chore(server): release v12.27.0 (#11769)

Co-authored-by: EFF <EFF@users.noreply.github.com>

* chore(ci_cd): fix close issues gh action (#11772)

* fix(admin): add id to NPS, support white labeling (#11770)

* chore(channel-web) added nl translation (#11797)

* Added dutch translations

* added gitignore for docker build folder

* added new translation for reset

* reverted .gitignore change

* reverted changes in container.tsx and removed .gitignore

* reverted changes in container.tsx

* chore(deps): included dependency review (#11804)

* chore(deps): Included dependency review

* small refactor

* fix(builtin): fix action for storing files locally (#11798)

* fix(core): fix export with dotted folder (#11780)

* feat(hitlnext): add skill, fix lang & expired handoff (#11775)

* feat(hitlnext): add skill, fix lang & expired handoff

* pr comments

* fix

* chore(deps): remove dependency review (#11841)

* chore: bump messaging to v1.2.3 (#11843)

* chore(nlu): mv training queue to nlu-server and upgrade version (#11865)

* chore: mv training queue to nlu-server

* chore: bring back changes made in studio

* chore(nlu): rm all cloud client configuration

* chore: upgrade version of nlu bin

* chore(pro): rm auth header

* fix prettier

* pr review comments first pass

* bring back few fixes

* bring back no proxy if localhost

* fix typing

* rm unnecessary check in predictor

* chore(pro): update to e38bfa8 (#11877)

* chore(nlu): nlu config no longer need an auth token (#11879)

* fix(nlu): trainset hash is computed from sorted datastructure (#11878)

* chore: upgrade nlu to 1.0.1 (#11880)

* fix(redis): improved error handling when redis is down (#11885)

* fix(redis): improved error handling when redis is down

* update pro

* update pro

* chore(studio): bump studio to v0.0.52 (#11889)

* chore(botpress): bump to v12.28.0 (#11890)

* chore(server): release v12.28.0 (#11891)

Co-authored-by: laurentlp <laurentlp@users.noreply.github.com>

* fix(hitlnext): fix error when creating handoff from converse (#11921)

* fix(hitlnext): do not to create a handoff when event comes from converse (#11922)

* fix(hitlnext): fix error when creating handoff from converse

* fix(hitlnext): do not to create a handoff when event comes from converse

* fix(auth): auth strategies ignore subpath (#11917)

* fix(channel-web): glitch animations opening/closing chat (#11925)

* fix(core): send x-subject when calling controller's introspect endpoint (#11932)

* feat(core): adopt zxcvbn score as pwd policy (#11939)

* feat(core): adopt zxcvbn score as pwd policy

* yarn.lock

Co-authored-by: Laurent Leclerc-Poulin <laurentleclercpoulin@gmail.com>

* feat(ui-admin): password strength indicator (#11957)

* feat(ui-admin): password strength indicator

* change password and register forms

* added in update password and fix clear form

* I18N

* revert lockfile

* fix fr.json

* yarn.lock

Co-authored-by: Laurent Leclerc-Poulin <laurentleclercpoulin@gmail.com>

* feat(runtime): prefix Action and Hook logs with botId (#11950)

* actions: log with botid

* feat(runtime): prefix Action and Hook logs with botId

* rm

* Revert

* fix(debugger): escape html chars from logs (#11934)

* re-add nlu module

* fix(channel-web): escape html chars from messages (#11948)

* fix(channel-web): escape html chars from messages

* always escape html for user messages

* better condition

* fix conflict

* fix(core): make sure 1 node times out sessions (#11968)

* fix(core): make sure 1 node times out sessions

* better timeout

* fix(core): use same cors config as server for socket.io (#11971)

* fix(core): use same cors config as server

* fix transports array

* chore(server): bump studio to v0.0.54 and prepare for patch release (#11969)

* chore(server): bump studio to v0.0.53 and prepare for patch release

* bump studio to v0.0.54

* allow socket.io-client v2+

* chore(server): release v12.28.1 (#11972)

Co-authored-by: laurentlp <laurentlp@users.noreply.github.com>

* remove nlu module

* fix test workflows

* chore(server): bump botpress to 12.28.2 and add missing messaging mig (#11975)

* fix(webchat): add aria labels to header buttons for screen readers

Also add title attributes for mouse users

* chore: health now retruns data for only specified workspace (#11981)

* fix(security): validate bot access (#11978)

* fix(security): validate bot access

* fix e2e

* feat(admin): add support for .bot files

* fix(code-editor): remove current value from env var typings (#11990)

* feat(hitl-next): create webhook for hitlnext events (#11976)

* create_base

* add all events and pr comments

* test

* fix

* small fix

* test

* test

* removed console

Co-authored-by: Francois-Xavier P. Darveau <955524+EFF@users.noreply.github.com>
Co-authored-by: Laurent Leclerc Poulin <laurentlp@users.noreply.github.com>
Co-authored-by: David Vitor Antonio <david.vitora@gmail.com>
Co-authored-by: botpress-bot[bot] <99821434+botpress-bot[bot]@users.noreply.github.com>
Co-authored-by: EFF <EFF@users.noreply.github.com>
Co-authored-by: Berend-Kalberg <berend.kalberg@gmail.com>
Co-authored-by: Yann Allard <42552874+allardy@users.noreply.github.com>
Co-authored-by: Samuel Massé <samuelmasse4@gmail.com>
Co-authored-by: Samuel Massé <59894025+samuelmasse@users.noreply.github.com>
Co-authored-by: François Levasseur <francois_levasseur@hotmail.com>
Co-authored-by: Laurent Leclerc-Poulin <laurentleclercpoulin@gmail.com>
Co-authored-by: Andy Coates <andy@acoates.co.uk>
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.

None yet

3 participants