* [chore] updated services.module to use account services
* [refactor] sorted services provided by services.module
* [chore] removed references to deleted jslib services
* [chore] used activeAccount over storageService for account level storage items
* [chore] resolved linter warnings
* Refactor activeAccountService to stateService
* [bug] Remove uneeded calls to state service on logout
This was causing console erros on logout. Clearing of data is handled fully in dedicated services, clearing them in state afterwards is essentially a redundant call.
* [bug] Add back null locked callback to VaultTimeoutService
* Move call to get showUpdateKey
* [bug] Ensure HtmlStorageService does not override StateService options and locations
* [bug] Adjust theme logic to pull from the new storage locations
* [bug] Correct theme not sticking on refresh
* [bug] Add enableFullWidth to the account model
* [bug] fix theme option empty when light is selected
* [bug] init state on application start
* [bug] Reinit state when coming back from a lock
* [style] Fix lint complaints
* [bug] Clean state on logout
* [chore] Resolved merge issues
* [bug] Correct default for enableGravitars
* Bump angular to 12.
* Remove angular.json
* Bump rxjs
* Fix build errors, remove file-loader with asset/resource
* Use contenthash
* Bump jslib
* Bump ngx-toastr
* [chore] resolve issues from merge
* [chore] resolve issues from merge
* [bug] Add missing bracket
* Use newer import syntax
* [bug] Correct service orge
* [style] Fix lint complaints
* [chore] update jslib
* [review] Address code review
* [review] Address code review
* [review] Rename providerService to webProviderService
Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>
Co-authored-by: Hinton <oscar@oscarhinton.com>
* Added manual routing
* Families for enterprise/account settings (#1290)
* Added sponsored families page
* Revert "Added manual routing"
This reverts commit a970ba78ffa98545176b636630e48115efcf51cc.
* Add messages to page
* Remove stages and simplify design
* Switch to new figma design
* Add screen reader
* Add calls to server
* Reorder methods
* Used to organization filters
* Connected page to server
* Add preliminary text to subscription page
* Sponsor existing family organization flow
* Update jslib
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
* Add revoke sponsorship flow
* Add spinner to send offer button
* Determine if subscription has sponsored items
* Work on subscription button
* Add message for new family organization
* Families for enterprise/subscription page (#1292)
* Work on subscription button
* Determine if subscription has sponsored items
* Work on subscriptions page
* Add message for new family organization
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
* Families for enterprise/redeem card (#1295)
* Add toast localization message
* Use helpers to property display sponsorship items
* Split table rows into component so buttons load (#1296)
* Split table rows into component so buttons load
* Update jslib
* Families for enterprise/localizations (#1299)
* Add more localizations
* Remove unneeded comments
* Fix help article
* Run linting
* Do not show redeem button if no orgs exist to redeem
* Implement new process for accepting sponsorships
* Hide business checkbox
* Update jslib
* Removed commented code
* Remove commented html
* Cleaned up imports
* Use proper message
* Remove merge conflict message
* Remove confusing comment
* Listened to PR feedback
* Remove unused property
* Update help text
* Fix aria labels
* Add try catch
* Made toast before emit
* Minor copy changes
* Update jslib
* Remove unneeded loading
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
* Fix jumbo sized WebAuthn logo
* Fix styling on 2FA modals
* Fix so that text does not go below image
* Rearrange items in modal and add new icons
* make spacing a little wider
* Remove 1 from mfaTypes, we now have both versions
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
* Use rxjs first instead of unsubscribe
* Use rxjs first instead of unsubscribe
* Update jslib
* Update jslib
* Downgrade jslib to before breaking changes
* 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>
* 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>
* 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
* Stylesheets
* Theme Configuration
* Options Area
* swal2 style
Missed the swal2 styling and improved the table theming
* Icon styling
* Fix theme not saving
* Update English
Remove colour to make it more translatable between English and American
* Update messages.json
* Login logo
* dropdown and login logo
* btn-link and totp fix
Added a border for extra readability on the btn-link
* Organisation Styling
* Update messages.json
* Update webauthn-fallback.ts
Add missing semicolon and enable console.error bypass for tslint
* Fix contrast issues
Update the blue to match the browser extension and lighten the grey for text-muted variable
* Add Paypal Container and Loading svg file
* Update jslib
* Password Generator contrast fix
* Change all remaining modals to be scrollable
* Fix password-generator-history and two-factor-options not using modal-body
* Remove modal-dialog-scrollable on two-factor-setup components
* Add support for Emergency Access
* Cleanup & Bugfix
* Apply suggestions from code review
Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
* Cleanup some more imports
* Restrict emergency access invite to premium users
* Restrict editing existing emergency accesses to premium account.
* Handle changes in jslib
* Add some info messages for when you haven't been granted or invited emergency contacts
* Resolve review comments
* Update jslib
Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
* Update web sso content to indicate window OK to close
This is done after the authResult handoff message is delivered to the
extension. It is not possible to close the window from javascript as
closing a window is limited to the script that opened it.
If we maintain a reference to the web window, it should be possible to
subscribe to the authResult message and close the web windows from the
browser.
* Use i18n for close tab message
* delete cookie after it is used
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Preparing for new jslib // removed resetMasterPassword variable // Added sync service
* initial commit of loading set password
* Update jslib (e55528e -> 700e945)
* center justify text
* Reverted testing data