Commit Graph

11650 Commits

Author SHA1 Message Date
Thomas Rittson b68b8b3aab Add typing 2022-06-29 14:00:05 +10:00
Thomas Rittson da7e692f3e Misc test tidy up 2022-06-29 13:42:15 +10:00
Thomas Rittson a9d7d4712e Refactor tests 2022-06-29 13:23:53 +10:00
Thomas Rittson 2115c5c76a Remove helper methods 2022-06-29 10:23:01 +10:00
Thomas Rittson d9f2dc2b90 Fix test 2022-06-28 12:18:06 +10:00
Thomas Rittson 83e0db5163 Resolve merge conflicts and fix cryptoKey handling 2022-06-28 11:59:37 +10:00
Thomas Rittson 2df751f607 Merge remote-tracking branch 'origin/master' into EC-281-web-workers-add-de-serialization-methods-to-view-objects 2022-06-28 11:48:00 +10:00
Thomas Rittson ee62be63f1 Fix mocks 2022-06-28 11:46:29 +10:00
Thomas Rittson 880d4ec15f CipherView tests 2022-06-28 11:36:45 +10:00
Thomas Rittson a85b6c2bb4 Add secureNoteView test and WIP cipherView 2022-06-28 11:04:23 +10:00
Thomas Rittson 3bdefcd0e8 Update test folder structure 2022-06-28 10:28:26 +10:00
Thomas Rittson 580ef99e47 Tests for all nested objects 2022-06-28 10:25:29 +10:00
Thomas Rittson 888a60edc2 First tests 2022-06-28 09:42:35 +10:00
Thomas Rittson 540bd5d5ca Remove unneeded toJSON methods, tidy up 2022-06-28 08:17:42 +10:00
Thomas Rittson be7ce7b04b Avoid nested toJSON calls 2022-06-28 07:50:26 +10:00
Thomas Rittson 3b3d60e102
Add webpack-bundle-analyzer command using npx (#2955) 2022-06-28 07:32:17 +10:00
Joseph Flinn f60bc13f62
Updating the tag name of the web release (#2982) 2022-06-27 11:44:50 -07:00
Matt Gibson 399b8c2b34
PS-813 Add memory storage to state service (#2892)
* Use abstract methods and generics in StorageService

* Prepend `Abstract` to abstract classes

* Create session browser storage service

* Use memory storage service for state memory

* Inject memory storage service

* Maintain filename extensions to help ide formatting

* Preserve state if it's still in memory

* Use jslib's memory storage service

* linter

* Create prototypes on stored objects

* standardize package scripts

* Add type safety to `withPrototype` decorators

* webpack notify manifest version

* Fix desktop

* linter

* Fix script

* Improve prototye application

* do not change prototype if it already matches desired
* fix error with object values prototype application

* Handle null state

* Apply prototypes to browser-specific state

* Add angular language server to recommended extensions

* Improve browser state service tests

* Start testing state Service

* Fix abstract returns

* Move test setup files to not be picked up by default glob matchers

* Add key generation service

* Add low-dependency encrypt service

* Back crypto service with encrypt service.

We'll want to work items that don't require state over to encrypt service

* Add new storage service and tests

* Properly init more stored values

* Fix reload issues when state service is recovering state from session storage

Co-authored-by: Thomas Avery <Thomas-Avery@users.noreply.github.com>
Co-authored-by: Justin Baur <admin@justinbaur.com>

* Simplify encrypt service

* Do not log mac failures for local-backed session storage

* `content` changed to `main` in #2245

* Fix CLI

* Remove loggin

* PR feedback

* Merge remote-tracking branch 'origin/master' into add-memory-storage-to-state-service

* Fix desktop

* Fix decrypt method signature

* Minify if not development

* Key is required

Co-authored-by: Thomas Avery <Thomas-Avery@users.noreply.github.com>
Co-authored-by: Justin Baur <admin@justinbaur.com>
2022-06-27 12:38:12 -05:00
Robyn MacCallum c044c5c770
Use ngSwitchDefault so that ‘singleOrgPolicy’ affected users see org filter (#2975) 2022-06-27 09:09:51 -04:00
Jake Fink 81c61c8cec
[PS-998] Add button type to premium badge (#2973)
* prevent default on premium badge

* change type to button to stop submit
2022-06-27 08:49:10 -04:00
Gbubemi Smith 37e46dab48
[PS-968] regression bug fix on custom timeout switch for the browser (#2969)
* regression bug fix on custom timeout switch for the browser

* regression bug fix on custom timeout switch for the browser

* locale key fix

* suggestion fixes
2022-06-24 23:19:55 +01:00
Brandon Maharaj af8f83980f
fix: changed param (#2964) 2022-06-24 12:46:16 -04:00
github-actions[bot] ce707d2e05
Autosync the updated translations (#2968)
Co-authored-by: github-actions <>
2022-06-24 13:21:07 +02:00
github-actions[bot] 96a280916a
Autosync the updated translations (#2967)
Co-authored-by: github-actions <>
2022-06-24 13:12:03 +02:00
github-actions[bot] a64c9cc997
Autosync the updated translations (#2966)
Co-authored-by: github-actions <>
2022-06-24 12:43:28 +02:00
Thomas Rittson 483673b03f Finish de/serialization methods initial implementation 2022-06-24 12:36:43 +10:00
Thomas Rittson 8ab017ed55 WIP making View objects serializable 2022-06-24 10:38:55 +10:00
Thomas Rittson 3d240c05ce Separate Utils helper methods 2022-06-24 10:11:59 +10:00
Thomas Rittson 4ecc522102 Rename method and fix types 2022-06-24 09:54:23 +10:00
Thomas Rittson 661edc85a9 Create and return target obj if none provided 2022-06-24 09:18:02 +10:00
Thomas Rittson 6de06aedd4 Add Utils.copyProperties and tests 2022-06-24 09:11:02 +10:00
Thomas Rittson 0e9c340246
Fix javascript debug terminal source maps (#2954) 2022-06-24 08:40:40 +10:00
Oscar Hinton 6e9b6f25a1
[PS-960] Fix form input group suffix not working (#2947)
* Fix form suffix not working without prefix

* Use tailwind first/last to avoid hacky components
2022-06-23 20:24:26 +02:00
Thomas Avery fcdf36a01c
[PS-766] Fix for CLI check full array of URIs in search (#2953)
* Check full array of URIs in search

* simplify search

* Swap to helper .hasUris
2022-06-23 09:31:24 -05:00
Addison Beck e00fe8edae
[fix] Unsubscribe from activeAccount in AppComponent (#2960) 2022-06-23 09:38:12 -04:00
Addison Beck 57b8144013
[refactor] Introduce ThemingService (#2943)
* [refactor] Introduce ThemingService

* [refactor] Implement ThemingService for web

* [refactor] Implement ThemingService on browser

* [refactor] Implement ThemingService for desktop

* [refactor] Remove deprecated platformUtils.service theme methods

* [fix] Move ThemingService from libs/common to libs/angular

* [fix] Simplify ThemeBuilder's constructor

* [fix] Dont notify subscribers of null values from theme$

* [fix] Always notify PaymentComponent of theme changes
2022-06-23 07:36:05 -04:00
Andreas Coroiu fd69e163ff
[PS-683] Update negative copy (#2912)
* feat(browser): Update auto biometrics copy

* refactor(common): remove TotpService.isAutoCopyEnabled and use state directly

The TotpService was just taking the value from StateService and forwarding it, making it depend on state service.
All services that depended on the TotpService.isAutoCopyEnable flag also depended on StateService.
This therefore simplifies things by using StateService directly.

* feat(browser): update auto totp copy

* feat(browser): update add login notification copy

* feat(browser): update change password notification copy

* feat(browser): update context menu copy

* feat(browser): update show cards current tab copy

* feat(browser): update show identities current tab copy

* feat(browser): update enable favicon copy

* feat(browser): update badge counter copy

* feat(browser): update auto-fill copy

* feat(desktop): update auto biometrics prompt copy

* feat(desktop): update favicon copy

* feat(desktop): adjust copy

* feat(web): update favicons copy

* feat(web): adjust copy

* feat(web): update preference settings to sentence case

* feat(browser): update settings and options page to sentence case

* feat(desktop): update settings to sentence case

* feat(web): update copy

* feat(desktop): update copy
2022-06-23 09:53:42 +02:00
Vince Grassia fdc1ecef98
Update Plist files for MAS (#2951) 2022-06-22 15:10:21 -04:00
Vince Grassia 8fb1fc41b2
Update workflows (#2945) 2022-06-22 08:32:45 -04:00
Vince Grassia 9dd49a0023
Update workflows to deploy to CloudFlare Pages (cf-pages branch) (#2936) 2022-06-20 15:16:51 -04:00
Vince Grassia 7310fa826e
Add Brew Bump Workflows (#2934) 2022-06-20 12:23:11 -04:00
Chad Scharf b28c07790d
EC-263 - Deactivate/activate in user management (#2893)
* SM-48 - Disable/enable in user management

* SM-48 - Disabled badge added to edit user

* SM-48 - Fix linter issues

* SM-48 - Color adjustments to badging

* SM-48 - Fix prettier formatting

* EC-263 - Rename disable to deactivate

* EC-263 - lint errors and cleanup

* EC-263 - Fix build and importer errors

* EC-263 - import grouping order fix

* EC-263 - PR review feedback and cleanup

* EC-263 - Fix build error in loose components

* EC-263 - Fix build error on formPromise in user edit

* EC-263 - Fix a11y bindings and modal handling
2022-06-20 10:21:50 -04:00
Oscar Hinton 98152fee54
Add storybook to web (#2926) 2022-06-17 16:23:04 +02:00
Oscar Hinton 19caa7bfe0
Simplify our gitignore files (#2925) 2022-06-17 15:33:51 +02:00
github-actions[bot] 230c5e626c
Autosync the updated translations (#2922)
Co-authored-by: github-actions <>
2022-06-17 09:57:36 +02:00
github-actions[bot] e817d68e6a
Autosync the updated translations (#2920)
Co-authored-by: github-actions <>
2022-06-17 09:53:49 +02:00
github-actions[bot] bc15e3e120
Autosync the updated translations (#2921)
Co-authored-by: github-actions <>
2022-06-17 06:38:13 +02:00
Thomas Rittson bd537e2b22
Fix manage sso navigation permissions (#2899) 2022-06-17 09:55:48 +10:00
Oscar Hinton 4106eead02
Migrate Chromatic (#2906) 2022-06-16 20:41:22 +02:00
Jake Fink ba0e33881f
center hcaptcha in connector and fix formatting on desktop (#2911) 2022-06-16 09:53:18 -04:00