Commit Graph

410 Commits

Author SHA1 Message Date
EgleH
0b55cdcf85 add env VITE_APP_DISABLE_DEFAULT_TRUNK_ROUTING (#209)
Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-02-22 14:05:56 -05:00
Snyk bot
f1743a9129 fix: Dockerfile to reduce vulnerabilities (#208)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314624
- https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314641
- https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314641
- https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314643
- https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314643
2023-02-22 07:32:42 -05:00
EgleH
ec46121696 upgrade node image (#206)
Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-02-20 10:31:07 -05:00
Hoan Luu Huu
b0808187bc feat: add app_json to application (#188)
* feat: add app_json to application

* fix: review comment

* fix: review comment

* fix: review comment

* textarea for initial json in applications form

* check/uncheck overide app_json will not erase app_json, update faile still have app_json

---------

Co-authored-by: Quan HL <quanluuhoang8@gmail.com>
Co-authored-by: Dave Horton <daveh@beachdognet.com>
v0.8.0-rc17 v0.8.0-rc18 v0.8.0
2023-02-15 10:35:45 -05:00
Snyk bot
4a320b3c8c fix: Dockerfile to reduce vulnerabilities (#204)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035792
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035795
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3092932
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3092933
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3105822
2023-02-15 08:11:36 -05:00
EgleH
c09ce5947e Bug/speech backwards compatibility (#203)
* add /Accounts api call back

* add /accounts call back

* include sp user into check

---------

Co-authored-by: EgleHelms <e.helms@cognigy.com>
v0.8.0-rc16
2023-02-14 15:34:11 -05:00
Hoan Luu Huu
7890b7031f feat: update @jambonz/ui-kit:0.0.21 (#200)
* feat: update @jambonz/ui-kit:0.0.21

* fix security vulnerabilities

---------

Co-authored-by: Quan HL <quanluuhoang8@gmail.com>
Co-authored-by: Dave Horton <daveh@beachdognet.com>
2023-02-13 08:47:56 -05:00
Hoan Luu Huu
1be5dcc06b feat: nvidia tts/stt speech (#201)
* feat: nvidia tts/stt speech

* fix: rename riva server uri

* fix: review comments

* fix: review comments

* sort vendors in alphabetic order

---------

Co-authored-by: Quan HL <quanluuhoang8@gmail.com>
Co-authored-by: Dave Horton <daveh@beachdognet.com>
2023-02-13 08:37:32 -05:00
EgleH
6df9f0d6da Bug/sp user check before sp delete (#198)
* fix bug where you could not delete carriers and speech

* remove activeSP from localstore after delete

---------

Co-authored-by: EgleHelms <e.helms@cognigy.com>
v0.8.0-rc15 v0.8.0-rc14 v0.8.0-rc12
2023-02-08 07:29:04 -05:00
Brandon Lee Kitajchuk
8f849ef290 Update CODEOWNERS v0.8.0-rc11 v0.8.0-rc10 2023-02-05 08:22:23 -08:00
EgleH
ba7a4a706d Bug/fix recent calls refresh account assign (#194)
* fix applications add button

* fix persist implementation bugs

---------

Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-02-04 20:33:55 -05:00
EgleH
6a59b9d8d2 fix applications add button (#193)
Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-02-04 18:27:34 -05:00
EgleH
af3e724240 Feature/persist state (#191)
* persist SP implementation

* add account filter check after refresh

* store recent calls and alerts filter

---------

Co-authored-by: EgleHelms <e.helms@cognigy.com>
v0.8.0-rc8 v0.8.0-rc9
2023-02-02 09:53:04 -05:00
EgleH
51c2285bfb Fix fuzzy search to match against toLowerCase strings (#190)
* fix fuzzy search to match against toLowerCase strings

* add toLowercase to both sides

---------

Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-01-31 09:56:12 -05:00
EgleH
40c61eebca Combine account user lists for carriers and speech (#186)
* combine account user lists for carriers and speech

* edit application capitalization

---------

Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-01-30 10:36:54 -05:00
EgleH
4498f30beb Spinner spinning forever issue (#185)
* Spinner spinning forever issue

* fix mistake

Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-01-26 09:28:53 -05:00
EgleH
2a27730883 Improving naming consistency (#187)
* Improving naming consistency

* direct routing is a voice term

* fix more inconsistencies

* explicitly disable autocomplete

Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-01-26 09:01:18 -05:00
EgleH
2ae541c9b1 Fix issue where is_active user & force_change cannot be deactivated (#178)
* fix issue where is_active user & force_change cannot be deactivated

* fix API keys not visible for SP users

Co-authored-by: EgleHelms <e.helms@cognigy.com>
v0.8.0-rc v0.8.0-rc6
2023-01-23 08:07:45 -05:00
EgleH
4149930945 Always attach service_provider_sid to a carrier (#179)
* always attach service_provider_id to a carrier

* cleanup

Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-01-23 07:56:41 -05:00
EgleH
fd29f986e4 Date fix for alerts and recent calls (#176)
* date fix for alerts and recent calls

* add a check for value to exist

* getRecentCalls with sip_callid

Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-01-23 07:40:23 -05:00
EgleH
def7743b9e Scope optional limits (#169)
* scope optional limits

* hide and disable limits, initiate delete when unit changed

* add key to ScopedAccess component

Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-01-17 09:28:23 -05:00
EgleH
55c1b26ddc add instance ID field (#175)
Co-authored-by: EgleHelms <e.helms@cognigy.com>
2023-01-11 14:48:25 -05:00
Brandon Lee Kitajchuk
ef17ea9676 Fix logout with hard redirect -- dump state (#174) v0.8.0-rc5 2023-01-10 12:20:28 -05:00
kitajchuk
08dac043eb No more fixed position here 2023-01-10 08:42:59 -08:00
Brandon Lee Kitajchuk
ce48bdc8a4 Fix bug with bad user reference in internal accounts page (#172) v0.8.0-rc4 v0.8.0-rc3 2023-01-07 22:56:43 -05:00
EgleH
93d313b21c feature/scope limits (#159)
* limitations to carriers and speech

* post speech to a different path if scoped user

* add filtering to speech creds

* check reroute when logging in

* faulty checks

* fix access conditionals

* add restrictions to applications and accounts

* apply 1st review comments

* fix routing

* apply review comments

* discussed changes

* useScopedRedirect

* Refactor how we manage scope for navi (#163)

* fix user name

* Fix useScopedRedirect hook (#164)

* Fix useScopedRedirect hook

* Refactor user UI

* Move user-me to own directory

* add scope limits to routes

* scope optional limits

* cleanup

* apply review comments

* Refactor conditional apiUrl logic -- add apiPath to deps in useApiData hook (#168)

* apply review comments - accountFilter remove from AccountScoped Views

* remove account filtering as it is done on back-end now

* Cleanup some things

* Clean up some scope things

* Implement account user PUT method for carriers

* filterScopeOptions accorfing to user scope

Co-authored-by: eglehelms <e.helms@cognigy.com>
Co-authored-by: Brandon Lee Kitajchuk <bk@kitajchuk.com>
Co-authored-by: Dave Horton <daveh@beachdognet.com>
v0.8.0-rc2
2023-01-02 17:37:17 -05:00
EgleH
5af46101e1 fix state for tts_api_key and voice typo (#167)
Co-authored-by: eglehelms <e.helms@cognigy.com>
2022-12-14 19:15:21 -05:00
EgleH
86703dabfb Optional account call limits (#162)
* add optional account limits with env var

* add env sample and comment

* fix typo in selecti selection of unit

* apply review comments

Co-authored-by: eglehelms <e.helms@cognigy.com>
2022-12-10 12:00:02 -05:00
EgleH
6a82102b43 Add IBM as speech provider (#160)
* add ibm speech

* remove multimedia from recognizer languages

Co-authored-by: eglehelms <e.helms@cognigy.com>
2022-12-04 19:59:45 -05:00
kitajchuk
ce4c5bfb68 Changes for package-lock 2022-11-30 09:01:07 -08:00
kitajchuk
e0b5abc60a Remove unused acl stuff from navi 2022-11-30 08:58:33 -08:00
Brandon Lee Kitajchuk
bb4a4af2d5 Update contributors.md 2022-11-29 20:52:02 -08:00
EgleH
667e4a8883 ScopeAccess component implementation (#154)
* component based on enumScope

* apply review comments

* add store props

* Revert "add store props"

This reverts commit 0e0978c5f3.

* Tests for ScopedAccess (#156)

* Tests for ScopedAccess

* Create cypress mountTestProvider

Co-authored-by: eglehelms <e.helms@cognigy.com>
Co-authored-by: Brandon Lee Kitajchuk <bk@kitajchuk.com>
2022-11-29 10:19:27 -05:00
EgleH
5af7471886 Feature/users dashboard (#150)
* Add user list into nav, add user form with basic functionality

* add password check for temp password, add search filter

* apply review comments

* fix filters, apply review comments

* fix button placement

* handle SelfDelete

* apply review comments

* add conditional class

* creating scoped users

* apply review comments

* apply review comments

* apply review comments

Co-authored-by: eglehelms <e.helms@cognigy.com>
2022-11-23 13:12:19 -05:00
EgleH
a9edbdbd26 Add deepgram as STT (#151)
* add deepgram as stt

* add all languages

* remove unused types

* temporary remove Flemish

* apply review comments

Co-authored-by: eglehelms <e.helms@cognigy.com>
2022-11-16 10:18:28 -05:00
EgleH
29cd5a5fa7 Prefill predefined carrier gateways in a form (#147)
* add gateways api call to hook

* add route to carrier template

* apply review comments

* omit request.body if no payload is provided

* remove ternary where not needed

* fix typing of payload

* fix payload type to allow undefined

Co-authored-by: eglehelms <e.helms@cognigy.com>
2022-11-11 07:56:07 -05:00
EgleH
781ccb95f2 Add nuance speech provider (#144)
* add nuance as Synthesis recognizer

* fix getStatus for cred test check

* add all languages

* fixup nuance voice names

* fix label focus issue

Co-authored-by: eglehelms <e.helms@cognigy.com>
Co-authored-by: Dave Horton <daveh@beachdognet.com>
2022-11-06 11:01:55 -05:00
Brandon Lee Kitajchuk
3093f40e00 Feature: Multi-user: Changes to initial admin login processing / implement JWT (#140)
* Add simple JWT parsing function

* Implement user action for global store
2022-10-26 09:21:25 -07:00
Brandon Lee Kitajchuk
50d93b0089 Feature: Multi-user (#134)
* Feat: password settings (#130)

* wip: password settings

* wip: password settings

* wip: password settings

* wip: password settings

* fix: review comments

* fix: review comments

* fix: review comments

* fix: review comments

* Remove unnecessary selector

* Prefer self-closing syntax

* Add inputs to Carrier form to support outbound registration (#138)

* add fromUser fromDomain and usePublicIpInContact

* change label placement for usePublicIpInContact checkbox

* apply 1st review comments

Co-authored-by: eglehelms <e.helms@cognigy.com>

Co-authored-by: xquanluu <110280845+xquanluu@users.noreply.github.com>
Co-authored-by: EgleH <egle.helms@gmail.com>
Co-authored-by: eglehelms <e.helms@cognigy.com>
Co-authored-by: Dave Horton <daveh@beachdognet.com>
2022-10-25 09:04:59 -04:00
EgleH
da9ac66236 Add inputs to Carrier form to support outbound registration (#138)
* add fromUser fromDomain and usePublicIpInContact

* change label placement for usePublicIpInContact checkbox

* apply 1st review comments

Co-authored-by: eglehelms <e.helms@cognigy.com>
2022-10-23 11:35:05 -04:00
Brandon Lee Kitajchuk
3d14b4f411 Prefer self-closing syntax 2022-10-19 20:32:38 -07:00
Brandon Lee Kitajchuk
c8f1517421 Remove unnecessary selector 2022-10-19 20:10:23 -07:00
Brandon Lee Kitajchuk
2a6181615e Login layout container cypress test (#136) 2022-10-18 08:45:44 -07:00
xquanluu
874002386c fix: change custom speech label content (#133) 2022-10-04 20:13:00 -07:00
kitajchuk
18f531c478 Pagination optimizations 2022-10-04 07:28:53 -07:00
kitajchuk
584386c3ca Clear the temp state when credential is updated 2022-10-04 06:47:36 -07:00
xquanluu
1ece8bfbe4 Microsoft custom TTS and STT endpoints (#121)
* feat: custom voice and speech for microsoft

* remove checkzone

* fix: enable update region speech credential

* use tmp state to store custom tts/stt endpoint when enable/disable it

* feat: custom voice and speech for microsoft

* remove checkzone

* fix: enable update region speech credential

* use tmp state to store custom tts/stt endpoint when enable/disable it
2022-10-04 05:32:12 -07:00
Brandon Lee Kitajchuk
4a8eafe0e6 Add modal and toast portals to cypress index.html 2022-10-03 20:00:02 -07:00
kitajchuk
882a1bcf52 Change className for require-auth test div 2022-10-03 08:30:30 -07:00
kitajchuk
875cfb6b25 Provide component testing utils 2022-10-03 08:21:34 -07:00