1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-05 09:10:53 +01:00
Commit Graph

51 Commits

Author SHA1 Message Date
Thomas Rittson
2c43249e98
Restore order of ngModule imports (#1560) 2022-03-24 07:25:10 +10:00
Thomas Rittson
9bb004923c
[JslibModule] Refactor to use JslibModule (#1556) 2022-03-21 20:40:26 +10:00
Oscar Hinton
9b40ce1024
Component Library Scaffolding (#1407) 2022-03-08 18:18:03 +01:00
Thomas Rittson
06e1af6d48
Improve SSO Config validation (#1332)
* Break form controls up into reusable components

* Add proper form styling, validation, inline error messages, etc

* Move control options into class instead of template

* Add accessibility
2022-03-03 11:08:41 +01:00
Chad Scharf
f832cb4138
Remove artifact binding from SSO config UI (#1502) 2022-02-28 13:43:31 -05:00
Oscar Hinton
1c495e87c9
Add eslint (#1437) 2022-02-24 12:10:07 +01:00
Vincent Salucci
d141ccca52
[Icons Bug] fa-remove -> bwi-close (#1487) 2022-02-20 17:03:58 -06:00
Justin Baur
0e5f2530a9
Switch option values to be a number (#1444) 2022-02-04 16:59:20 -05:00
Chad Scharf
61ab2fbda3
Hide unsolicited SSO option in config (#1425) 2022-01-31 17:43:56 -05:00
DanHillesheim
cc657eb853
Update help site URLs (#1409) 2022-01-31 20:11:27 +01:00
Vincent Salucci
2ae98887b7
[Icons] Update Font Sheet (#1343)
* [Icons] Update to new font sheet

* Rebased - updated all icon remaining icon references

* Temporarily Updating gitmodules branch

* Fixed class reference

* Revert temporary gitmodule branch

* Icon updates/changes

* Pull jslib m-icon-updates latest

* Prettier

* Update jslib to master

* Reset jslib to master

* Removed obsolete variable reference, replaced bolt references

* Removed all instances of base class - maps create automatically

* Updated toast icon references

* Imported styles to reference variable/map

* Reverted to using base class

* Update jslib

* Rename eye-2 to eye and eye-slash-2 to eye-slash

* Bump jslib

* Remove duplicate scss

* Remove old fa

* Update fallback image

* Bump jslib

* Rename eye-2 to eye, and eye-slash-2 to eye-slash

* Fix 404

* Fix integrity of bootstrap.min.css

* Fix callout missing bwi

* Add bwi to change-kdf

* Remove bwi from callout again

* Bump jslib

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-27 11:25:58 -06:00
Robyn MacCallum
6f408b871f
Rename fb to formBuilder (#1369) 2021-12-31 10:06:07 -05:00
Oscar Hinton
56477eb39c
Apply Prettier (#1347) 2021-12-17 15:57:11 +01:00
Jake Fink
214f82e142
send configType and redirectBehavior as int instead of string for request (#1339) 2021-12-14 13:25:48 -05:00
Addison Beck
17ae5ee57c
[Account Switching] [Refactor] Implement new account centric services (#1220)
* [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>
2021-12-14 11:10:26 -05:00
Oscar Hinton
f582d3e7a6
Bump angular to v12 (#1325) 2021-12-09 22:12:53 +01:00
Oscar Hinton
d5c0783619
Replace toaster library (#1322) 2021-12-07 20:41:45 +01:00
Thomas Rittson
2973d06c9f
[Key Connector] Fix Key Connector Url test (#1308) 2021-11-23 21:11:47 +10:00
Thomas Rittson
0d0eb609d3
[Key Connector] Test that Key Connector URL can be reached before saving (#1291)
* Test that Key Connector URL can be reached before saving

* Update jslib

* Add styling to validation messages

* Use inline button, fix styling

* Add accessibility call out to form validation
2021-11-19 21:22:05 +10:00
Oscar Hinton
d6c419bad8
Disable key connector when org doesn't have the feature (#1301) 2021-11-17 12:11:20 +01:00
Oscar Hinton
db5a8df64e
[KeyConnector] Add support for key connector OTP (#1256)
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-11-09 19:24:26 +01:00
Oscar Hinton
c46ca2f9e2
Crypto Agent (#1243) 2021-10-26 01:14:16 +02:00
Thomas Rittson
6c581b3ebc
Fixes for dynamic modal a11y (#1237)
* Remove tabindex from modal component templates

* Remove tabindex from modal component templates

* Update jslib
2021-10-22 07:30:25 +10:00
Matt Gibson
9dd859af7a
Limit collection actions presented to permitted (#1247)
* Limit collection actions presented to permitted

* Revert useless move

* Limit vault view to editable ciphers and collections

* Update jslib

* PR review
2021-10-20 16:17:27 -05:00
Oscar Hinton
044ac513ae
Remove empty catch blocks, and update tslint rule (#1226) 2021-10-20 18:30:04 +02:00
Thomas Rittson
98bd41d4b1
[Refactor] Use rxjs first instead of unsubscribe from queryParams (#1229)
* Use rxjs first instead of unsubscribe

* Use rxjs first instead of unsubscribe

* Update jslib

* Update jslib

* Downgrade jslib to before breaking changes
2021-10-15 08:59:43 +10:00
Oscar Hinton
4b4b5910e3
Fix sso copy buttons not behaving correctly (#1234) 2021-10-14 08:48:42 +02:00
Oscar Hinton
3eda0aa2cd
Remove Business Portal and add SSO configuration (#1213) 2021-10-06 20:45:45 +02:00
Oscar Hinton
4ff38c7148
Add validation to ensure maximum vault timeout is larger than 0 (#1215) 2021-10-06 17:27:55 +02: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
7daba63c56
Add policy for disabling personal vault export (#1189) 2021-09-15 21:05:02 +02:00
Oscar Hinton
a1c1fea976
Vault Timeout Policy (#1171) 2021-09-10 15:27:00 +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
Oscar Hinton
fa4e5250b9
Add show/hide button to password prompt (#1034) 2021-08-27 14:50:58 +02:00
Oscar Hinton
2cbe023a38
Refactor orgnaization policy management (#1147) 2021-08-25 16:10:17 +02:00
Oscar Hinton
4e134823df
Avoid showing provider form if proivder is set up (#1128) 2021-08-18 11:35:43 +02: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
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 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 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
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
Addison Beck
aafcc88162
Removed create account button from provider setup email (#1100) 2021-07-28 13:56:52 -04:00
Oscar Hinton
35d6a28c94
Ensure Angular is running as production (#1093) 2021-07-23 20:03:14 +02:00
Oscar Hinton
d31150c7a1
[Provider] Add access checks for tabs (#1095) 2021-07-23 20:01:47 +02:00
Oscar Hinton
218259fc7e
[Provider] Add provider link in navbar (#1091) 2021-07-21 19:53:33 +02:00
Oscar Hinton
c608a489dd
[Provider] Add events for Provider Organizations (#1090) 2021-07-21 19:53:21 +02:00
Oscar Hinton
a94faf06a9
[Provider] Add support for managing providers (#1014) 2021-07-21 11:32:27 +02:00
Oscar Hinton
76210c30a8
Add boilerplate for bitwarden_license (#1032) 2021-06-16 20:28:05 +02:00