421 Commits

Author SHA1 Message Date
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
kitajchuk 052ea4d6cb Reorganize some styles 2022-10-01 16:21:31 -07:00
kitajchuk 831a593e99 Better UI styling for mobile-level gateways trash button 2022-09-29 08:00:25 -07:00
kitajchuk 67193e168e Better UI styling for global error message 2022-09-29 07:54:42 -07:00
Brandon Lee Kitajchuk 76857c0a4b Implement initial Cypress testing configuration (#115)
* Implement initial Cypress testing configuration

* Add docs on cypress for testing

* Cypress cache for GitHub actions
2022-09-26 10:14:41 -07:00
kitajchuk a6aee3802c Fix unnecessary extra conditions for predefinedCarriers effect 2022-09-26 07:30:32 -07:00
kitajchuk a9b120c9fb Make useRedirect custom hook generic 2022-09-26 07:27:55 -07:00
kitajchuk 05985f2370 Fix PredefinedCarriers fetch -- find all for the interface accidentally changed this 2022-09-26 07:24:38 -07:00
kitajchuk 15d70362f9 Concise slim logic, better list view render conditions 2022-09-26 07:21:24 -07:00
Brandon Lee Kitajchuk dc873c6e00 Fix MS Teams view bug for #113 (#114) 2022-09-26 07:10:17 -07:00
kitajchuk 6bf8d6959b Update some API type interface names 2022-09-24 15:43:11 -07:00
Brandon Lee Kitajchuk c4ebe6d429 Better local limits ref 2022-09-24 10:29:19 -07:00
kitajchuk 6ac0ce824a Bump package version to v1.0.0 2022-09-24 08:09:34 -07:00
Brandon Lee Kitajchuk f381eba694 jambonz webapp refresh (#64)
initial scaffold

switch to preact/compat

add feather icons dep

jambonz-ui, index.html

stub auth and store

readme tweaks

alias preact in vite config

more readme tweaks

Update README.md

lots of things

login flow...

add notes on apis by route

lots of work...

readmes

constants

Update login.tsx

Update index.ts

Update index.ts

Update create-password.tsx

Update actions.ts

Update index.tsx

Update index.tsx

Update actions.ts

Update index.ts

react version for eslint

some refactor and cleanup

Update api.ts

Update create-password.tsx

fetch transport wrapper

api util

toast time -- oops

msg constants

img path for docs/readmes

global dispatch, generic actions etc...

unreachable and stuff

properly wrap require-auth routes

support promise chain and async/await for api fetch transport

initial responsive navi menu

Update navi-data.ts

Update navi.tsx

Update styles.scss

Rename navi-data.ts to navi-items.ts

Update navi.tsx

Update index.ts

Update layout.tsx

Update index.ts

Update layout.tsx

Update index.tsx

Update index.tsx

Update actions.ts

Update index.tsx

Update index.tsx

Update create-password.tsx

Update login.tsx

Update create-password.tsx

move things around

access control interface

Update index.tsx

acl component etc

working on settings form..

more settings, forms, HOCs

service providers workflow

button up modals and toasts

mobile navi and toast timeout

Update index.tsx

Update index.ts

Update and rename index.ts to index.tsx

Update create-password.tsx

Update create-password.tsx

Update Dockerfile

Update entrypoint.sh

Update Dockerfile

Update navi.tsx

Update auth.tsx

Update auth.tsx

Update layout.tsx

Update layout.tsx

Update login.tsx

Update login.tsx

Update settings.tsx

Update index.tsx

Update index.ts

better lint-staged

fix sp undefined

toast dispatch helpers

sass vars -- no magic numbers

Update index.ts

Update create-password.tsx

Update login.tsx

Update index.ts

Update settings.tsx

Update accounts.tsx

working on settings...

Update index.ts

Update settings.tsx

Update index.tsx

more settings view...

get rid of most any usage

Update index.tsx

better api hook

get strong with types

obscured text component

HOC for dispatch type-safety

tweak api types

github icon on login layout

responsive grid -- api keys

better fetch transport with resolve/reject

fix generic action/dispatch typings

prefer interface for GlobalDispatch

Update index.ts

Update auth.tsx

Update auth.tsx

Update create-password.tsx

checkzones

wrap up checkzones

move styles around...

alias src

stub internal views

stub not found container

contrib readme and codeowners

Update README.md

Update and rename setup.md to environment.md

Update environment.md

Update environment.md

Update contrib.md

Update contrib.md

Update contrib.md

Update and rename contrib.md to contributors.md

Update contributors.md

Update index.ts

use api data hook

accounts stub, generic apikeys container

account edit form

Update edit.tsx

Update edit.tsx

add/edit for account form

lots of good refactors

check current sp on settings

grid stuff

Update index.scss

Update styles.scss

Update contributors.md

Update constants.ts

stubbing accounts as card view

Update types.ts

Update types.ts

Update auth.tsx

Update create-password.tsx

Update index.ts

Update index.tsx

fix enum status codes

component cleanup

delete account flow

Update types.ts

Update delete.tsx

Update use-mobile-media.ts

acl hoc

Update types.ts

Update index.ts

Update types.ts

fix generic useapidata

Update types.ts

Update types.ts

Update types.ts

Create index.tsx

Create types.ts

Update types.ts

Create types.ts

Update index.tsx

button up acl, feature flags and docs

subspace initial feature stub

fix some things

wrap up subspace feature

tooltip

Update subspace.tsx

Delete styles.scss

Update types.ts

Update auth.tsx

Update index.ts

some more type stuff

add react/jsx-key error for missing shorthand frag keys

basic spinner...

no accounts

data files for regions and speech

vendor selector logic

tighten up vendor stuff

bit more cleanup

Update types.ts

Update index.tsx

Update index.tsx

Update subspace.tsx

fix some type things

stub mock dev server implementation

add parity for account siprec_hook_sid

latest jambonz-ui update

cleanup package.json

fix docker stuff

docker notes in readme

adding github actions

package lock version

remove unused jest deps

update jambonz-ui

new new jambonz-ui

list view vs cards view

fix no accounts list view

fix prettier config

some house cleaning

file upload component

update pr-checks wildcard

wrappers for fetch transport -- any method (#78)

Refresh tweaks (#80)

* add alerts to mock api dev server

add webhook methods types

fix focus for file upload

update contrib readme

blob fetching

rest props spread for file-upload

* multi element fieldset structure, unique basic auth field names for accounts form

* Fix and simplify webhook state setting

* some ad-hoc cleanup for temp work

Adding generic account filter component (#82)

adding focused styles for account-filter

more robust account-filter props

updates to contrib readme

fix add service provider form a la new styles

required form field UI and labeling

Application page for refresh  (#79)

* Adding barely working Application page (#70)

* resolve conflict and update, still barely working

* perfectly working application page

* Fix the duplicated name logic

* strip some comments

* changes to sync

* delete more condition

* some more changes for parity

* revert changes

* applying b1a9a77

* changes requested

* changes suggested

* changes suggested

* sync changes

organize some styles a bit more

refactor generic small selector styles

use portals for modals and toasts

add new classNames to applications form

handle applications view without accounts condition

sweep through with some cleanup

type-safety for :POST and :PUT api methods

Speech service page for refresh (#84)

* initial commit

* more update, probably one more

* properly rebase

* check box works okay

* properly rebase**2

* initial cleanup and ux-flow evaluation

* obscure secrets on frontend for local state

* refine ui for credential status checks

* ignore error set on unmount for CredentialStatus

* fix obscure field type crash bug

* Update utils.ts

* Update utils.ts

* Update constants.ts

* wrap up the speech credentials flow

Co-authored-by: kitajchuk <bk@kitajchuk.com>

tweaks to ui elements etc

tweak some typings and minor ui styles

better not tested messaging for TTS/STT

better placeholder feature flag for dev

Adding some conditional utilities (#87)

Microsoft Tenant page for refresh (#86)

* initial commit

* fix backend error with adding

* changes suggested

* changes requested

* use all accounts for ms teams tenants

* ui tweaks, add last ditch redirect back to form

Co-authored-by: kitajchuk <bk@kitajchuk.com>

Phone number page for refresh (#85)

* initial commit so I can hop back

* working properly

* carrier related change and mass edit

* mvoing around

* UI for mass edit

* unset selected for mass edit

* some minor ui cleanup

* fix empty/bad classNames on edit action icon

Co-authored-by: kitajchuk <bk@kitajchuk.com>

Update .dockerignore

cleanup and port some helpers

fix applications index useEffect

group synthesis fields and recognizer fields for application form

tweak contrib readme

just run tsc in pre-commit

update contrib readme

Carrier page for refresh  (#89)

* initial commit

* working form but no put/post for gateways yet

* put/post for sip/smpp

* crud app done

* all the functionalities are here, unless it isnt

* changes suggested and delete sip/smpp when delete carrier

* Some initial UI cleanup etc...

* More UI cleanup and what not...

* No need for the 'Status' text here

* Remove the Grid component -- not reused

* Remove as much explicit null type as possible

* Use webhook methods constant in account form

* Some API constants and fix inbound/outbound smpp gateways delete with filter logic

* Tab handling logic for carrier form (#91)

* similar validation logic of sip for smpp

* Tech prefix tab validation

* revert to working sip gateway validation

* More validation cleanup

* Update index.ts

* Update index.ts

* More cleanup and form clarity for if/when required fields

* Fix some logic and reset gateways to delete when deleted

* use api data hooks for index partials

* smpp gateway validation and fqdn validations

* default application selector

* Fix up the SMPP dilemma...

* Typo and remove console log

* Tab switch for all validations

* Move empty SIP check to validation getter

* Render gateway validation messages near the invalid fields

* Explicit return on first active tab condition for browser constraints

* Use IP pattern for outbound smpp gateway since fqdn is disallowed here

* Add fqdn example to ip placeholders

* sticky tabs

* Tweak info text

* Gateway refetch code change

* delete gateways on demand

* move shared api fetching down into forms -- seems better actually

* Fix re-render glitch for gateways UI

Co-authored-by: kitajchuk <bk@kitajchuk.com>

Tweaks and minor cleanups

Few more minor tweaks

prettier package.json -- duh

Functional recent-calls dev server api

switch from moment to dayjs

Functional alerts dev server api

Dev server notes in readme

Fix applications bug which fixes current SP switch

Create hooks for vendor async data

No lazy load for routes (#97)

better speech hook

match dev mock paged response to api server paged response

Generic AccountSelect component

Generic useRedirect hook

Recent call page for refresh (#93)

* initial commit

* changes requested but yet to pcap

* pcap?

* Initial cleanup on RecentCalls

* Normalize set page number and fix status for mock dev server

* Listt item styles and details/pcap fix

* Refactor recent calls subcomponents

* Tighter section padding and smaller page titles

* Update _lists.scss

* Recent calls cleanup and some other tweaks

Co-authored-by: kitajchuk <bk@kitajchuk.com>

Implement proper Checkzone initial checked for carrier form

Add handleSelect prop to SelectFilter component and fix perPageFilter changes for recent calls

Alert view page for refresh  (#99)

* initial commit

* changes suggested

* changes requested

* Style alerts UI

Co-authored-by: kitajchuk <bk@kitajchuk.com>

Refresh enhancement pagination logic (#101)

* initial commit

* Sort of secret props...

Co-authored-by: kitajchuk <bk@kitajchuk.com>

Quick small screen mobile sweep -- add logout button to mobile navi

Update index.tsx

Tweak some styles and restyle navi SP selector

Add key prop to ApiKeys on Settings so SP switch refetches data

fix checkbox margin now that grid-gap is used

Style tweaks

Update types.ts

Update delete.tsx

Update delete.tsx

Move some variable declarations around

Generic application select for forms

Fix issue #105 for carrier form applications

Use memo for filtered carriers on list view

Refactor generic application filter component

Update application-filter.tsx

Update types.ts

Update index.tsx

Update index.tsx

Update index.tsx

Update index.tsx

Cleanup some stuff -- add locked prop for Passwd

Fix unauthorized logout scenarios -- no react state errors :)

Normalize React types usage

Fuzzy search filter for collection lists (#106)

* Fuzzy search filter for collection lists

* Tweak some things for responsiveness

* Carrier preset label and fix All accounts filter for carriers list

Set text overflow on search filter

PR checklist items

Match 'No ...' text for speech services

Return rawCollection if hasLength check is false

Responsive styling for list item--action rows

Fix defaultOption for AccountSelector

Refresh: Add API limits for issue #109 (#111)

* Add API limits for issue #109

* Tighten up initial field renders

Cleanup for issue #104 (#108)

Co-authored-by: kitajchuk <bk@kitajchuk.com>

Tweak local limits

Generic local limits component

No default local limits -- move to forms components

Safe set values for limits -- maintain controlled inputs

Ref support for local limits form component

Handle empty data for local limits effect

Implement DELETE for limits

Singular nomenclature for post limit(s)
2022-09-22 08:38:21 -07:00
kitajchuk 1276687cc0 Add package-lock changes for moment lib update v0.7.7-rc4 2022-09-22 08:26:41 -07:00
Paulo Telles b97d5e538f update moment lib (#95)
Co-authored-by: p.souza <p.souza@cognigy.com>
v0.7.7-rc2
2022-09-07 15:06:02 +02:00
Paulo Telles 2704e97a96 update node image (#94)
Co-authored-by: p.souza <p.souza@cognigy.com>
2022-09-07 13:47:36 +02:00
Dave Horton 4cfdfc3b49 sync package-lock.json v0.7.6 2022-08-28 22:18:17 +02:00
Dave Horton 47d73a7edd bump version to 0.7.6 2022-08-26 20:07:36 +02:00
Lê Hàn Minh Khang c14fa5db34 remove dummy text from siprec tooltip (#69) v0.7.6-rc6 v0.7.6-rc5 v0.7.6-rc7 v0.7.6-rc8 v0.7.6-rc9 2022-08-06 08:46:28 +01:00
Lê Hàn Minh Khang 668d7f05f6 for #66 (#67) 2022-08-03 17:25:35 +01:00
Dave Horton 5ae88ff13e Dockerfile: update base image v0.7.6-rc4 2022-07-28 12:59:18 +01:00
Joan 06c21f2545 Add z-index property to Add button (#63)
* extended AWS region list

* added z-index to add button

Co-authored-by: Joan Salvatella <joan@bookline.io>
v0.7.6-rc3
2022-07-11 10:33:11 +02:00
Joan 663aabc80c extended AWS region list (#62)
Co-authored-by: Joan Salvatella <joan@bookline.io>
v0.7.6-rc2
2022-07-01 11:54:32 -04:00
Dave Horton a7de0a494e update deps v0.7.6-rc1 2022-06-11 12:30:33 -04:00
Lê Hàn Minh Khang b742e67715 Fix speech form dropdown menu reference (#61) 2022-05-26 08:51:49 -04:00
Lê Hàn Minh Khang 013681e7eb Update Azure speech list (#60)
* update azure region list

* format

* more meaningful name

* sorting and prettifying

* making sense of africa server
2022-05-25 11:02:07 -04:00
Lê Hàn Minh Khang 4912758120 Fix issue #57 (#58)
* fix issue #57

* fix further

* fix to phone page
2022-05-24 08:38:13 -04:00
Dave Horton bb335d0838 Sp apikey UI fix (#56)
* service provider add/view/delete features added

* reverting .env back to port 3002

* fix ui

Co-authored-by: Conner Luzier <connerluzier@protonmail.com>
v0.7.5 v0.7.5-rc15
2022-05-16 11:20:34 -04:00
Dave Horton 38d26dddc8 new Microsoft languages added in 1.21.0 v0.7.5-rc14 v0.7.5-rc12 2022-05-12 19:34:49 -04:00
Conner Luzier c0d531c63f removed radio buttons, replaced with dropdown (#53)
* removed radio buttons, replaced with dropdown

* disabled button if no vendor, moved checkboxes up
v0.7.5-rc10 v0.7.5-rc11
2022-05-06 20:37:05 -04:00
Kieron Lawson 420080ba84 Updater FQDN regex to accept numeric characters (#42) v0.7.5-rc9 2022-04-27 14:39:06 -04:00
Conner Luzier c40fb9cc01 fix add account error message (#51)
Co-authored-by: Conner Luzier <connerluzier@outlook.com>
2022-04-27 14:35:40 -04:00
Dave Horton 40143ae79d update package-lock.json v0.7.5-rc8 v0.7.5-rc6 v0.7.5-rc7 2022-04-22 12:39:50 -04:00
Conner Luzier 536b183535 regions field added to aws, default to us-east-1 (#50)
* regions field added to aws, default to us-east-1

* added aws_region to post request

* no default setting on aws region

* aws_region required before saving

* no longer showing default on dropdown

Co-authored-by: Conner Luzier <connerluzier@outlook.com>
2022-04-21 13:33:04 -04:00
Dave Horton bf88a27330 add data file for aws regions 2022-04-18 10:10:50 -04:00
Dave Horton 831450306d docs v0.7.5-rc5 2022-04-14 14:18:28 -04:00
Dave Horton c8d1034dc9 testing instructions 2022-04-14 14:14:44 -04:00
dependabot[bot] 37af9522aa Bump node-forge from 1.2.1 to 1.3.1 (#46)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 08:22:25 -04:00
Dave Horton 6bb81a499b bump version v0.7.5-rc1 v0.7.5-rc4 v0.7.5-rc2 v0.7.5-rc3 2022-04-06 08:19:56 -04:00