1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-03-13 13:49:37 +01:00
bitwarden-browser/libs
Justin Baur b07d6c29a4
Add Web Push Support (#11346)
* WIP: PoC with lots of terrible code with web push

* fix service worker building

* Work on WebPush Tailored to Browser

* Clean Up Web And MV2

* Fix Merge Conflicts

* Prettier

* Use Unsupported for MV2

* Add Doc Comments

* Remove Permission Button

* Fix Type Test

* Write Time In More Readable Format

* Add SignalR Logger

* `sheduleReconnect` -> `scheduleReconnect`

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Capture Support Context In Connector

* Remove Unneeded CSP Change

* Fix Build

* Simplify `getOrCreateSubscription`

* Add More Docs to Matrix

* Update libs/common/src/platform/notifications/internal/worker-webpush-connection.service.ts

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Move API Service Into Notifications Folder

* Allow Connection When Account Is Locked

* Add Comments to NotificationsService

* Only Change Support Status If Public Key Changes

* Move Service Choice Out To Method

* Use Named Constant For Disabled Notification Url

* Add Test & Cleanup

* Flatten

* Move Tests into `beforeEach` & `afterEach`

* Add Tests

* Test `distinctUntilChanged`'s Operators More

* Make Helper And Cleanup Chain

* Add Back Cast

* Add extra safety to incoming config check

* Put data through response object

* Apply TS Strict Rules

* Finish PushTechnology comment

* Use `instanceof` check

* Do Safer Worker Based Registration for MV3

* Remove TODO

* Switch to SignalR on any WebPush Error

* Fix Manifest Permissions

* Add Back `webNavigation`

* Sorry, Remove `webNavigation`

* Fixed merge conflicts.

---------

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
Co-authored-by: Todd Martin <tmartin@bitwarden.com>
Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
2025-01-29 08:49:01 -05:00
..
.vscode
admin-console [PM-17496] Migrate eslint to flat config (#12806) 2025-01-28 16:40:52 +01:00
angular Add Web Push Support (#11346) 2025-01-29 08:49:01 -05:00
auth PM-17466 - RegistrationFinishComp - Add call to loginSuccessHandlerService after successful login (#13059) 2025-01-24 13:25:51 -05:00
billing [PM-16872] Update libs to use explicit dependencies (#12770) 2025-01-10 11:21:38 +01:00
common Add Web Push Support (#11346) 2025-01-29 08:49:01 -05:00
components [deps] Architecture: Update eslint-plugin-tailwindcss to v3.18.0 (#12966) 2025-01-27 11:12:12 -05:00
importer [PM-15506] Implement vNextOrganizationService (#12839) 2025-01-22 15:20:25 -05:00
key-management [PM-14445] TS strict for Key Management KDF (#13007) 2025-01-23 10:45:33 +01:00
node [PM-16872] Update libs to use explicit dependencies (#12770) 2025-01-10 11:21:38 +01:00
platform [PM-16872] Update libs to use explicit dependencies (#12770) 2025-01-10 11:21:38 +01:00
shared [PM-17031] Create UI-common (#12831) 2025-01-17 10:42:31 -05:00
tools [PM-15200] add "generated credential" screen reader notification (#12877) 2025-01-24 13:44:42 -06:00
ui [PM-17031] Create UI-common (#12831) 2025-01-17 10:42:31 -05:00
vault fix deep import for CipherFormComponent (#13107) 2025-01-28 08:49:48 -08:00