Commit Graph

2297 Commits

Author SHA1 Message Date
Oscar Hinton 1c3488a8db
Fix Require SSO Policy prerequisite check (#1163) 2021-08-28 16:27:37 +02:00
Joseph Flinn 9c187e9430
Simplifying the crowdin sync workflow (#1155) 2021-08-27 10:08:26 -07:00
Joseph Flinn b9d0226ede
fixing env var spelling error (#1160) 2021-08-27 09:12:50 -07:00
Joseph Flinn bb30f3b7c3
Enable redeploying same image for QA (#1159)
* Fixing the redeploy of the same docker image to QA

* removing a line that snuck in
2021-08-27 08:40:35 -07:00
Oscar Hinton fa4e5250b9
Add show/hide button to password prompt (#1034) 2021-08-27 14:50:58 +02:00
Oscar Hinton 7c8e95d408
Disable auto prompt for mobile chrome (#1156) 2021-08-26 18:14:18 +02:00
Oscar Hinton ccdf05a635
Add connector for mobile webauthn (#1154)
Adds a dedicated connector for handling WebAuthN for our mobile application. Which uses redirects instead of postMessage.
2021-08-26 17:39:52 +02:00
Matt Gibson 66bd8be2c9
Set urls from config file (#1151)
* Set environment URLs in webpack config.

* Provide non NULL dev server

* QA env uses the pq TLD

* Include icons in qa env

* Move base configs to develop.

local configurations should be done in the `./config/local.json` file.

* Fix config override loading to default to development

* Standardize url formatting

* Limit QA settings to those set in production

* Set self hosted in a config

* Specify cloud instead of production

Self hosted and cloud are both production environments.
The ENV setting is used to specify the env type while
NODE_ENV specifies whether development error handling and services.

* Update config instructions

* Remove invalid json

* Change env `production` references to `cloud`

* Fix formatting
2021-08-25 13:15:31 -05:00
Oscar Hinton 2cbe023a38
Refactor orgnaization policy management (#1147) 2021-08-25 16:10:17 +02:00
Joseph Flinn 8a259516df
reverting the Chinese translations that got swapped (#1150) 2021-08-24 14:41:52 -07:00
Joseph Flinn 9bb252f954
Crowdin Automation Cleanup (#1148)
* adding a "global variable" syntax for env vars

* switching diff branch to a testing branch instead of master

* adding base branch to the PR creation

* adding the diff branch to be the base branch to branch off of

* switching the diff branch back to master

* updating the last half of the workflow to use the new global var format
2021-08-24 11:58:34 -07:00
Chad Scharf 26cc36a91e
Version bump 2.22.2 (#1142) 2021-08-20 16:13:42 -04:00
Oscar Hinton f9e375f5ad
Fix role not being displayed in organization user table (#1141) 2021-08-20 15:36:13 -04:00
Daniel James Smith c7de347cec
Fixed order of supportedLocales to have en as fallback again (#1140) 2021-08-19 22:41:20 +02:00
Oscar Hinton f2e591086e
Bump version to 2.22.1 (#1138) 2021-08-19 13:27:23 +02:00
Oscar Hinton 361022fc26
Overwrite icon service url for prod (#1137) 2021-08-19 10:13:35 +02:00
github-actions[bot] d8a684da92
Autosync Crowdin translations (#1134)
Co-authored-by: github-actions <>
2021-08-18 15:27:07 -07:00
Joseph Flinn c1cdd8a843
adding in a line that was mistakenly removed (#1133) 2021-08-18 14:24:34 -07:00
Oscar Hinton 4e134823df
Avoid showing provider form if proivder is set up (#1128) 2021-08-18 11:35:43 +02:00
Matt Gibson cdab6e7091
2.22.0 (#1130) 2021-08-17 14:03:59 -05:00
Matt Portune a7153d183b
Update app-id.json (#1129)
testing sha256 apk key hash against debug build
2021-08-17 10:29:20 -04:00
Thomas Rittson bbdddcef6e
Fix bug causing duplicate error messages (#1124) 2021-08-16 13:29:48 +10:00
Joseph Flinn 55b27d4607
adding logic to gracefully handle scenarios with no crowdin changes (#1126) 2021-08-13 13:27:56 -07:00
Matt Gibson b47835df68
Set iframe allow on window load (#1125)
* Set webauthn allow on initial page load

* Update jslib
2021-08-13 09:23:51 -05:00
Matt Gibson 919af717b9
Do not call parent if callback given (#1123) 2021-08-12 17:01:18 -05:00
Joseph Flinn b9b20bc36b
Fix crowdin sync (#1122)
* fixing syntax error

* changing the way we check the number of build status tries

* adding in the Crowdin Api Token env var to the main step

* Breaking up the Crowdin update step into smaller manageable steps

* fixing env var for the download step

* fixing build id env for download

* Fixing PR branch env vars

* adding in a different way of pushing if branch already exists

* fixing the git bot user
2021-08-11 09:01:29 -07:00
Thomas Rittson 709d187498
Update jslib (#1120) 2021-08-11 12:51:13 +10:00
Joseph Flinn 392e29a371
Fixing Automated Web Deploy (#1082)
* switching back to npm install because duo_web_sdk is in the package-lock.json as an ssh url

* trying the workaround found in https://github.com/npm/cli/issues/2610

* adding in the jslib to see if that fixes the original problem. Removing the workaround to isolate the solution

* adding in back the workaround
2021-08-10 07:52:53 -07:00
Joseph Flinn 77a401a931
QA deploy to CI push (#1119)
* updating the way we are deploying the web qa project

* adding double quotes to try to fix the new image tag

* trying the env var on a multi-line

* fixed the git ref image name in the build workflow

* fixing the the image tag in the qa deploy workflow

* adding in the k8s namespace to the set image
2021-08-10 07:28:21 -07:00
Matt Portune f0678418d5
Revert "Revert "Add assetlinks.json to webpack.config.js (#1110)" (#1114)" (#1116)
This reverts commit 7844c23fba.
2021-08-10 09:55:52 -04:00
Vincent Salucci 3857ee2370
[Reset Password v1] Update Temp Password (#1111)
* [Reset Password v1] Update Temp Password

* Updated event string

* updated jslib

Co-authored-by: addison <addisonbeck1@gmail.com>
2021-08-10 08:10:54 -04:00
Matt Gibson 9bdda9cc4c
Provider qa feedback (#1118)
* Ensure business plan is selected for providers

* Show add organization button on if user has valid orgs to add

* Correct client owner description

* No drop down options if you can't manage organizations
2021-08-09 12:24:12 -05:00
Matt Gibson 2b0d3f9e0d
Handle vault accessed event types (#1115)
* Handle vault accessed event types

* update jslib
2021-08-05 13:30:47 -05:00
Thomas Rittson 75b0b7a1e1
Move ciphers paging logic from jslib to web (#1094)
* Move cipher paging logic from jslib to web

* Fix missing constructor argument

* Fix protected/private class property

* Install ngx-infinite-scroll (moved from jslib)

* Update jslib
2021-08-05 12:05:15 +10:00
Matt Gibson ebbdea8f88
Batch web provider fixes (#1113)
* Style provider set up toast

* Correct translation strings

* Do not show provider organization management for non admins

* Product feedback for provider org description

* Correct message grammar
2021-08-04 20:53:15 -05:00
Matt Portune 7844c23fba
Revert "Add assetlinks.json to webpack.config.js (#1110)" (#1114)
This reverts commit 2c1b06a5d8.
2021-08-04 19:06:55 -04:00
Matt Portune a34844511c
Update app-id.json (#1112) 2021-08-04 15:50:03 -04:00
Matt Gibson 44f624e9a6
Instantiate all status map arrays on load (#1107)
* Instantiate all status map arrays on load

* Update jslib

* Linter fixes
2021-08-04 08:30:06 -05:00
Matt Portune 2c1b06a5d8
Add assetlinks.json to webpack.config.js (#1110)
* Update webpack.config.js

* add assetlinks.json
2021-08-03 13:23:04 -04:00
Matt Gibson a23c2523d2
Show only business org create form if provider (#1104)
* Show only business org create form if provider

* Show only business-level orgs to add to providers

* business name was previously removed
2021-08-03 11:42:02 -05:00
Matt Gibson f6df9983a3
Add owner email to provider org creation (#1101)
* Add owner email to provider org creation

* Use Correct request model

* Update jslib

* Remove unused input

* Remove unused input

* Improve client owner email description
2021-08-03 09:33:08 -05:00
Matt Gibson 8ebefb9a2e
Clarify admin provider description (#1109) 2021-08-02 13:19:12 -05:00
Matt Gibson 9fabdbd0a1
Fix setup provider page (#1106)
* Show only business org create form if provider

* Remove business name from provider views
2021-07-30 08:10:00 -05:00
Matt Gibson 18aeeef6fe
Use `!=` for null checks (#1105) 2021-07-29 10:38:35 -05:00
Addison Beck aafcc88162
Removed create account button from provider setup email (#1100) 2021-07-28 13:56:52 -04:00
Daniel James Smith 5a3bd22132
Remove dependency on duo_web_sdk and update jslib (#1099) 2021-07-28 19:51:55 +02:00
Matt Gibson 4119713ace
Validate permissions before API calls (#1098)
Manage users is required to list provider users. If this permission is
missing the event is listed as done by the provider name
2021-07-28 11:40:01 -05:00
Joseph Flinn 851a53ec31
initial trial of automating the crowdin syncing (#1096) 2021-07-26 07:53:35 -07:00
Matt Gibson 686c0e854f
Set env with EnvironmentPlugin (#1097)
* Set env with EnvironmentPlugin

* Remove stringify

EnvironmentPlugin applies stringify itself.
2021-07-26 08:51:25 -05:00
Matt Gibson a73cbbb672
Feature/use hcaptcha if bot (#1089)
* Add captcha to login page

* pull out shared method

* Update parse parameter logic

* Load captcha

* responsive iframe height
* correct i18n
* site key provided by server

* Fix locale parsing

* Add optional success callbackUri

* Make captcha connector responsive

* Handle parameter versions in webauthn

* Move variables to top of script

* Add captcha to registration

* Move captcha above `<hr>` div to be part of input form

* Add styled mobile captcha connector

* Linter Fixes

* Remove duplicate import

* Use listener to load captcha

* PR review
2021-07-23 14:30:04 -05:00