Commit Graph

62 Commits

Author SHA1 Message Date
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 78942cabf2
BEEEP: Refactor services DI (#1313) 2021-12-03 02:32:58 +00:00
Justin Baur a6abb74810
Feature/families for enterprise (#1300)
* 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>
2021-11-22 08:41:40 -05: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
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
Oscar Hinton fa4e5250b9
Add show/hide button to password prompt (#1034) 2021-08-27 14:50:58 +02: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
Oscar Hinton a94faf06a9
[Provider] Add support for managing providers (#1014) 2021-07-21 11:32:27 +02:00
Oscar Hinton b12d0387f6
Add jslib as a "real" dependency (#951)
* Add jslib as a dependency

* Cleanup tsconfig, webpack, add jslib-angular to package.json

* Update all import paths

* Add back @types/node.

* Lint

* Remove dummy module

* Remove merge conflict

* Group imports

* Bump jslib
2021-06-07 20:13:58 +02:00
Oscar Hinton dd56c9bc87
Add auto delete warning to trash page (#953)
* Add warning to trash page
2021-04-27 18:49:02 +02:00
Matt Gibson 2e7b88f149
Fix glob processing in npm. Ban single param parens (#818) 2021-02-03 11:41:33 -06:00
Oscar Hinton eff3332fef
Upgrade Angular to 9 (#606)
* Upgrade Angular to 8

* Upgrade Angular to 9

* Fix format

* Fix import sorting
2020-08-17 10:04:38 -04:00
Addison Beck 20408347fb
Allow Bulk Delete In Org Vault (#577)
* added the multi select checkbox to org ciphers

* wired up select all/none

* allowed for bulk delete of ciphers from the org vault

* refactored bulk actions into a dedicated component

* tweaked formatting settings and reformatted files

* moved some shared code to jslib

* some more formatting fixes

* undid jslib connection changes

* removed a function that was moved to jslib

* reset jslib again?

* set up delete many w/admin cipher methods

* removed extra href tags

* added organization id to bulk delete request model when coming from an org vault

* fixed up some compiler warnings for formatting

* code review fixups for bulk delete from org vault

* added back a removed parameter from the vault component

* seperated some imports with newlines

* updated jslib

* resolved some build errors

* code review cleanup for bulk delete from an org vault

* code review cleanup for bulk delete from an org vault

* code review cleanup for bulk delete from an org vault

* code review cleanup for bulk delete from an org vault

* updated jslib to latest

Co-authored-by: Addison Beck <addisonbeck@MacBook-Pro.local>
2020-08-11 11:30:30 -04:00
Chad Scharf 41a0cfd0a2 [Soft Delete] - Added trash and related functionality to web vault 2020-04-08 16:48:30 -04:00
Vincent Salucci ccf3d49fc4
Implement Clone item functionality (personal/org) (#457)
* Clone personal/org items

* Removed ability to delete during clone process
2020-02-10 14:03:36 -05:00
Kyle Spearrin cc706a48da paging ciphers for better performance 2019-03-19 12:44:22 -04:00
Kyle Spearrin 650fc6aa27 null checks on query param sub 2019-01-16 23:30:32 -05:00
Kyle Spearrin 5804c57236 unsubscribe from queryparams observable 2018-12-20 10:06:40 -05:00
Kyle Spearrin dd282383d7 use router.navigate rather than location 2018-11-30 10:28:46 -05:00
Kyle Spearrin 8232a4c9c8 fix old attachments by reuploading them 2018-11-14 15:20:17 -05:00
Kyle Spearrin a24c41ff25 set org id and collections if filtered 2018-10-22 16:46:48 -04:00
Kyle Spearrin 8c9705eec0 null check collection ids filter 2018-09-11 08:46:04 -04:00
Kyle Spearrin e5226d7ffc check key and premium after sync 2018-08-31 17:23:36 -04:00
Kyle Spearrin 7d7a9f3dc6 attachments accessible if can access premium 2018-08-29 09:22:28 -04:00
Kyle Spearrin 41ff511165 user canAccessPremium checks 2018-08-28 23:17:58 -04:00
Kyle Spearrin 80febf97d3 idle reconnects for notifications 2018-08-22 22:37:55 -04:00
Kyle Spearrin 85ca10dbb3 notification service implementation 2018-08-20 22:21:13 -04:00
Kyle Spearrin e3ca470a6a implement search service 2018-08-13 16:27:17 -04:00
Kyle Spearrin d9a09a815a remove partial line 2018-07-25 09:26:04 -04:00
Kyle Spearrin 489c7934bf showPremiumCallout always after sync 2018-07-25 09:24:55 -04:00
Kyle Spearrin 5cc1438e8b inOrgWithPremium after sync 2018-07-25 09:23:29 -04:00
Kyle Spearrin 2a16be2fb2 await org premium check 2018-07-24 10:53:01 -04:00
Kyle Spearrin 105a7870bf dont show premium ad if in rog with premium 2018-07-24 10:44:52 -04:00
Kyle Spearrin 3544c96a64 nothing selected error 2018-07-21 21:58:24 -04:00
Kyle Spearrin b9ea3de860 premium callout 2018-07-20 10:44:17 -04:00
Kyle Spearrin 1cee1c6e8f premium and paid org callouts 2018-07-18 09:21:23 -04:00
Kyle Spearrin 49f948844f update enc key 2018-07-17 17:22:51 -04:00
Kyle Spearrin 1dc4f851cb hasEncKey checks 2018-07-12 17:09:09 -04:00
Kyle Spearrin ab4005ae00 verify email and outdated browser callouts 2018-07-12 11:34:51 -04:00
Kyle Spearrin 455df290bf load orgs manually from vault 2018-07-11 11:39:48 -04:00
Kyle Spearrin 32f62b7ceb org component, org vault listing updates 2018-07-04 09:55:52 -04:00
Kyle Spearrin f1584ad7d7 org vault listing from apis 2018-07-03 23:33:12 -04:00
Kyle Spearrin 8f503f4f99 org component loaded independently 2018-07-03 16:04:38 -04:00
Kyle Spearrin 6d731e2939 setup org module and link org listing 2018-07-03 12:34:20 -04:00
Kyle Spearrin 381da132f8 sync is not forced 2018-06-26 12:03:11 -04:00
Kyle Spearrin 53d23ec831 update cipher lsiting properly when folder deleted 2018-06-25 15:20:45 -04:00
Kyle Spearrin 7979953f33 export data 2018-06-20 16:28:56 -04:00
Kyle Spearrin e18f76d2b0 stub out bulk share 2018-06-13 00:03:48 -04:00
Kyle Spearrin 3edf761549 bulk move 2018-06-12 17:33:08 -04:00
Kyle Spearrin 314ab61349 bulk actions stubbed out. bulk delete implemented 2018-06-12 17:11:24 -04:00