Commit Graph

2340 Commits

Author SHA1 Message Date
Oscar Hinton 4ff38c7148
Add validation to ensure maximum vault timeout is larger than 0 (#1215) 2021-10-06 17:27:55 +02:00
Matt Gibson 998d36a5d1
Feature/split manage collections permission (#1211)
* Update guard services and routing

* Add depenent checkbox to handle sub permissions

* Present new collections premissions

* Use new split permissions

* Rename to nested-checkbox.component

* Clarify css class name

* update jslib
2021-10-05 11:12:44 -05:00
Thomas Rittson 7a43510cf5
Various Dark Theme fixes per QA feedback (#1212)
* Fix CORS issue on in-line theming javascript

* Fix date picker icon color

* Add comment

* Fix table theming in dark mode

* Selfhosted navbar fix

* Rename selector to avoid clashing with bootstrap

* Do not set initial theme if default

* Fix .text-danger style in dropdown lists

* Fix toast style, restructure toast and card scss

* Fix table and dropdown list hover color

* Use callout component for Disable Send warning

* Remove unneeded theming for hovering over links

* Undo changes to register enterprise2 layout

* Apply theming to Safari input field icons

e.g. Caps lock, password autofill

* Selectively apply themed logo CSS

* Fix unrelated linting

* Fix webpack config to bundle theme.js

Co-authored-by: Danny Murphy <6512845+dltmurphy@users.noreply.github.com>
2021-10-05 20:03:24 +10:00
Danny Murphy 0c02cfea2f
Dark Theme (#1017)
* Stylesheets

* Theme Configuration

* Options Area

* swal2 style

* Icon styling

* Fix theme not saving

* Update English

* Update messages.json

* dropdown and login logo

* btn-link and totp fix

* Organisation Styling

* Update webauthn-fallback.ts

* Fix contrast issues

* Add Paypal Container and Loading svg file

* Password Generator contrast fix

* Dark Mode Fix buttons and foreground

* Fix button hover

* Fix Styles after rebase

* Add hover on nav dropdown-item

* Disable Theme Preview

* Options Fix for Default Theme Changes

* Updated Colour Scheme

* Toast fix

* Button and Text Styling

* Options Update and Messages Fix

* Added Search Icon and Fixed Callout styling

* Add theme styling to Stripe

* Refactor logic for setting color

* Reorder logic to avoid race condition

* PayPal Loading and Misc Fix

* text-state bug fix

* Badge Colour Fix

* Remove PayPal Tagline

The colour cannot be styled so it's not visible on a dark theme

* Adding the Styling from #1131

* Update to New Design

* Form and Nav restyle

* Modal Opacity and Callout

* Nav Colours

* Missing Borders

* Light theme fix

* Improved border for listgroup

* Change Org Nav Colour

* Save theme to localStorage for persistence

* Undo change to Wired image

* !Important removal and tweaks

* Fix regression with navbar

* Light theme by default

* Refactor to use getEffectiveTheme

* Refactor theme constants to use enum

* Set theme in index.html before app loads

* Use scss selector to set logo image

* Export Sass to TS

* Update jslib

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-09-30 08:06:20 +10:00
Oscar Hinton aa58749b34
Bump signalr to 5.0.10 (#1207) 2021-09-28 16:19:07 +02:00
Matt Gibson c98a189430
Organization autoscaling (#1193)
* Add seat autoscale component

* Move small description under title

* tweak autoscale terminology

* Linter fixes

* Use single component for org subscription updates

* Delete unused localization string

* Clarify max bill copy

* Remove cancel from org subscription adjustment

* Update jslib

* PR review

* update jslib

* Simplify success toast
2021-09-27 14:23:12 -05:00
Joseph Flinn 1df2225a52
Ran the new linter over the web project and found some errors (#1197) 2021-09-24 09:28:37 -07:00
Oscar Hinton f8b0c2ffe4
Use Webfonts from jslib instead of downloading them using gulp (#1205)
* Use Webfonts from jslib instead of downloading them using gulp

* Bump jslib.
2021-09-24 12:24:58 -04:00
Vincent Salucci ce3311a0dc
[Reset Password v1] Refactor ForcePasswordReset flow (#1188)
* [Reset Password v1] Refactor ForcePasswordReset flow

* Update jslib
2021-09-24 08:33:45 -05:00
Joseph Flinn 15ea87d6b6
Revert "adding temp workflow to enable the deploy workflow on the rc branch (#1201)" (#1203)
This reverts commit 0481bf07e2.
2021-09-23 06:15:13 -07:00
Joseph Flinn 0481bf07e2
adding temp workflow to enable the deploy workflow on the rc branch (#1201) 2021-09-21 18:58:22 -07:00
Joseph Flinn 7d01ad4e20
Version Bump (#1200)
* Bumping version for September's release

* Manually updating the version in the package-lock.json
2021-09-21 14:49:26 -07:00
github-actions[bot] 9db6f0bfc2
Autosync the updated translations (#1199)
Co-authored-by: github-actions <>
2021-09-21 13:54:05 -07:00
Joseph Flinn ab0ce71db8
Updating to new CI model (#1196)
* starting the new pipeline model update

* updating the deploy portion of the pipeline

* adding a stub for the release notes

* removing the redundant deploy workflow

* fixing the cloud job. Adding a npm pre-cache

* updating the hashFile for the caches

* removing the cache-hit check since the logic doesn't work for node_modules

* checking out the repo in the precache

* removing the pre-cache step. Seems to slow down the pipeline overall

* ghpage-deploy with the correct input for the versions

* testing a custom action for the DCT setup

* fixing a typo

* fixing the shell issue in the custom action

* removing a conditional to run a test

* testing redaction

* fixing the weird colon inline with run issue

* commenting out the DCT for testing

* test passed. Updating the release pipeline with the new Setup DCT action

* updating the DCT setup action hash

* updating the release workflow with the linter suggestions
2021-09-21 09:37:17 -07:00
Thomas Rittson 582ddc041b
Move custom fields to separate components (#1192)
* Move add-edit custom fields to own component

* Update jslib

* Fix import

* Update jslib
2021-09-21 10:48:36 +10:00
Oscar Hinton f1e0f70375
Use explicit import paths (#1195)
* Update imports to not use index files

* Bump jslib
2021-09-17 15:44:34 +02:00
Vincent Salucci eaba23d4ba
[SSO/Auto Enroll] Fixed typo for banner (#1194) 2021-09-16 23:00:57 -05:00
Vincent Salucci ebb945a0c4
Update jslib (#1191) 2021-09-15 21:32:55 -05:00
Oscar Hinton 7daba63c56
Add policy for disabling personal vault export (#1189) 2021-09-15 21:05:02 +02:00
Oscar Hinton 30d2aeb6a3
Update build commands (#1180) 2021-09-14 13:26:26 +02:00
Matt Gibson c82d1b3c50
Use api action directive for confirm action (#1153) 2021-09-13 07:46:16 -05:00
Thomas Rittson 8180aaa4cc
Add warning about 2FA when changing account email (#1186)
* Add warning about 2FA when changing account email

* Fix linting

* Fix code style and warning wording
2021-09-13 10:49:24 +10:00
Oscar Hinton a1c1fea976
Vault Timeout Policy (#1171) 2021-09-10 15:27:00 +02:00
Thomas Rittson 17166dad4d
Update jslib (#1185) 2021-09-10 07:50:54 +10:00
Joseph Flinn 7f76084109
Move WebConstants values to environment config files (#1184)
* Moving the web constants to the app config for more flexibility

* removing personal integrations from QA

* changing the PayPal Configuration setup to match the pattern in the services module

* removing the webConstants file after successful test

* renaming the braintree config key to something more understandable
2021-09-09 14:18:46 -07:00
Matt Portune fb89421b09
Remove redundant error messaging (#1187)
* Remove redundant error messaging

Remove the "WebAuth Error" prefix from WebAuthn error strings

* Update src/connectors/webauthn.ts

Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>

Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
2021-09-09 11:13:33 -04:00
Joseph Flinn 9972c8ac61
Updating jslib for the removal of the web constants (#1183) 2021-09-08 12:50:44 -07:00
Joseph Flinn 7e95476dce
Adding QA info.json file (#1182)
* adding a file to the QA container to enable easy tracking the version of the currently deployed web client

* adding another visual representation of the QA version
2021-09-08 10:08:31 -07:00
Matt Portune ded636ba0c
Possible fix for blocked nav on some devices (#1181)
I have a device that is blocking navigation (per chrome dev tools) on the success callback for reasons unknown.  After comparing with the captcha connector (which works flawlessly), the only difference I can find is that captcha doesn't do anything else after `document.location.replace` for mobile.  I'm not sure if this is the culprit but it can't hurt to try.
2021-09-08 10:32:53 -04:00
Oscar Hinton 9269774aed
Add additional context to issue template (#1179) 2021-09-08 10:58:46 +02:00
Thomas Rittson dd47eed7c7
Disable personal imports if Personal Ownership policy applies (#1176)
* Disable imports if personal ownership policy set

* Add missing await
2021-09-08 07:19:49 +10:00
Vincent Salucci f584950dda
[SSO/Auto Enroll] Set Password banner (#1169)
* [SSO/Auto Enroll] Set Password banner

* Update jslib
2021-09-03 16:26:38 -05:00
Thomas Rittson 3a25b1fb20
Add event logging for ResetSsoLink (#1173)
* Add event logging for ResetSsoLink

* Updated jslib with new event-type

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2021-09-03 10:20:59 -04:00
Vince Grassia 9832deb20c
Update workflows with linter suggestions (#1174) 2021-09-02 16:05:17 -04:00
Vincent Salucci ca00fda023
[Policy] Reset Password data bugfix (#1175) 2021-09-02 11:42:27 -05:00
Thomas Rittson bc73452400
Move policy checks within policyService (#1149)
* Refactor: use new policyService methods

* Update jslib
2021-09-02 07:51:04 +10:00
Oscar Hinton cc359e905b
Add issue template and template chooser (#1164)
* Add issue template, and template chooser
2021-09-01 16:18:26 +02:00
Oscar Hinton 7fd9427801
Bump version to 2.22.3 (#1170) 2021-09-01 09:54:19 +02:00
Oscar Hinton 6878794bd0
Add notifications to development config (#1166) 2021-08-31 20:05:41 +02:00
Oscar Hinton e69e85d8b3
[Provider] Verify user is owner of organization (#1167) 2021-08-31 19:01:29 +02:00
Oscar Hinton 2235664bed
Fix ModalService refactor bugs (#1168) 2021-08-31 16:42:43 +02:00
Matt Portune f08b6e7975
Remove assetlinks (#1165)
* remove assetlinks copy command

* remove android debug key hash

* Delete assetlinks.json

delete assetlinks file

* remove assetlinks copy command
2021-08-30 21:40:34 -04:00
Vincent Salucci 2e868c8111
[Callout] Removed redundant code (#1131)
* [Callout] ARemoved redundant code

* Fixed formatting

* Update jslib

* Updated ul styling for policy options callout

* Update jslib
2021-08-30 16:19:31 -05:00
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