1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00
Commit Graph

1260 Commits

Author SHA1 Message Date
Daniel James Smith
d4c57f1848 Merge branch 'achievement-notifier-with-web-and-browser-testbed' into innovation/user-achievements/event-stream-prototype 2025-03-20 09:29:44 +01:00
Daniel James Smith
bdf0b20f7e Example configurations for Achievements and Metric 2025-03-19 16:54:53 +01:00
Daniel James Smith
0456ffa048 Services
Naive EventStore (will be replaced by AchievementHub)
AchievementService functionality overlaps with AchievementHub, besides retrieving Achievement configuration
AchievementNotifier subscribes to the AchievementService and filters on AchievementEarned and per Device
 - Needs to also be migrated to listen to the AchievementHub
2025-03-19 16:53:39 +01:00
Tom
c209fab86d Adding more validators for counts 2025-03-19 11:48:39 -04:00
✨ Audrey ✨
02dbf172f5 unit test latest metrics 2025-03-19 11:32:40 -04:00
✨ Audrey ✨
723c2f7767 unit test achievement manager 2025-03-19 11:07:27 -04:00
✨ Audrey ✨
d7909bd87a fix unit tests 2025-03-19 10:10:10 -04:00
Tom
38fc47ff2a fixing how the actions are triggered and accessing the metric from the config 2025-03-18 15:20:38 -04:00
✨ Audrey ✨
7699752390 tweak return types 2025-03-17 17:25:32 -04:00
✨ Audrey ✨
5eb4c2b7e2 rename achievement service to achievement hub 2025-03-17 17:07:55 -04:00
✨ Audrey ✨
c544102eef add achievement service; not tested 2025-03-17 17:06:06 -04:00
✨ Audrey ✨
73b6513d83 log transmission pieces 2025-03-17 15:10:05 -04:00
✨ Audrey ✨
eb5020c3a8 remove unused files 2025-03-17 15:08:58 -04:00
✨ Audrey ✨
4bf34f2f46 introduce latest metrics rx operators 2025-03-17 15:03:56 -04:00
Tom
cf20a83278 Adding initial count validators 2025-03-17 14:28:30 -04:00
✨ Audrey ✨
9a69d5c54e rename filter to trigger 2025-03-17 12:16:59 -04:00
✨ Audrey ✨
0f7f6eb7aa type cleanup 2025-03-17 12:04:23 -04:00
✨ Audrey ✨
7d2c123072 improve type specificity and clarity 2025-03-17 10:57:27 -04:00
✨ Audrey ✨
9cfaca0177 add description 2025-03-13 13:15:31 -04:00
✨ Audrey ✨
69f1c65ea5 improve validator flexibility; add documentation 2025-03-12 17:29:26 -04:00
✨ Audrey ✨
a33403be86 add duplicate progress emission detection 2025-03-12 17:10:03 -04:00
Tom
7b6504df44 Renaming events to achievements and moving examples 2025-03-12 15:39:58 -04:00
✨ Audrey ✨
27c5f0b543 validator filter tests 2025-03-12 14:06:21 -04:00
✨ Audrey ✨
8cd0173103 first unit tests for processor 2025-03-12 13:09:16 -04:00
✨ Audrey ✨
7589692fb1 prettier 2025-03-12 10:32:48 -04:00
✨ Audrey ✨
cd978a654e Merge branch 'main' into innovation/user-achievements/event-stream-prototype 2025-03-12 10:21:08 -04:00
Bernd Schoolmann
83de125ae9 [PM-15149] Remove ssh feature flag (#13506)
* Remove ssh feature flag

* Remove isSshKeyENabled in type-filter.component
2025-03-12 14:19:49 +01:00
Jason Ng
15fa3cf08d [PM-10613] End User Notification Service (#13721)
* new end user notification service to retrieve and update notifications from API
2025-03-12 08:02:18 +01:00
✨ Audrey ✨
2b37c4e793 cleanup 2025-03-11 19:11:22 -04:00
✨ Audrey ✨
91e27c6160 add name field and documentation 2025-03-11 18:47:40 -04:00
✨ Audrey ✨
579477dad2 fix type error 2025-03-11 18:41:02 -04:00
✨ Audrey ✨
49033aea9b fix missing argument 2025-03-11 18:33:16 -04:00
✨ Audrey ✨
9a9e72f483 factor measurement and achievement earning into separate phases 2025-03-11 18:23:35 -04:00
✨ Audrey ✨
9fca08ac20 add example validators 2025-03-11 17:24:46 -04:00
✨ Audrey ✨
08d5c7c7de tweaks from setting up models 2025-03-11 16:56:32 -04:00
Daniel Riera
b988993a88 PM-18963 removed flag and updated relevant tests (#13767) 2025-03-11 16:06:03 -04:00
✨ Audrey ✨
b239497887 achievement validation 2025-03-11 14:48:52 -04:00
✨ Audrey ✨
97b2766c89 monitor initialization 2025-03-11 14:14:32 -04:00
Conner Turnbull
00e822fb13 [PM-16937] Remove Billing Circular Dependency (#13085)
* Remove circular dependency between billing services and components

* Removed `logService` from `billing-api.service.ts`

* Resolved failed test

* Removed @bitwarden/ui-common

* Added optional `title` parameter to `BillingNotificationService` functions

* Removed @bitwarden/platform from libs/common/tsconfig.json

* Update apps/web/src/app/billing/services/billing-notification.service.spec.ts

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Update apps/web/src/app/billing/services/billing-notification.service.spec.ts

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Resolved build errors

* Resolved issue where free trial banner wouldn't display if missing a payment method

---------

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
2025-03-11 13:43:19 -04:00
✨ Audrey ✨
a6568d423a rename events to example-events 2025-03-11 13:29:55 -04:00
✨ Audrey ✨
0a98987231 add rxjs stream processor host 2025-03-11 13:10:58 -04:00
✨ Audrey ✨
ed735dc74c format refinement; delete dead code 2025-03-11 12:45:11 -04:00
✨ Audrey ✨
1db2acb29e input and output definitions 2025-03-11 10:59:17 -04:00
Daniel James Smith
6188013b9d Introduce desktop-send-ui-refresh feature-flag (#13787)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-11 08:50:24 -05:00
Bernd Schoolmann
9683779dbf [PM-17984] Remove AES128CBC-HMAC encryption (#13304)
* Remove AES128CBC-HMAC encryption

* Increase test coverage
2025-03-11 14:20:02 +01:00
Maciej Zieniuk
5cd47ac907 [PM-18243] Improve type safety in decryption (#12885)
* Improve decrypt failure logging

* Rename decryptcontext to decrypttrace

* Improve docs

* PM-16984: Improving type safety of decryption

* Improving type safety of decryption

---------

Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2025-03-11 14:06:44 +01:00
rr-bw
0568a09212 refactor(device-trust-toasts): [Auth/PM-11225] Refactor Toasts from Auth Services (#13665)
Refactor toast calls out of auth services. Toasts are now triggered by an observable emission that gets picked up by an observable pipeline in a new `DeviceTrustToastService` (libs/angular). That observable pipeline is then subscribed by by consuming the `AppComponent` for each client.
2025-03-10 12:17:46 -07:00
Bernd Schoolmann
01f6fd7ee3 [PM-16227] Move import to sdk and enable it in browser/web (#12479)
* Move import to sdk and enable it in browser/web

* Add uncomitted files

* Update package lock

* Fix prettier formatting

* Fix build

* Rewrite import logic

* Update ssh import logic for cipher form component

* Fix build on browser

* Break early in retry logic

* Fix build

* Fix build

* Fix build errors

* Update paste icons and throw error on wrong import

* Fix tests

* Fix build for cli

* Undo change to jest config

* Undo change to feature flag enum

* Remove unneeded lifetime

* Fix browser build

* Refactor control flow

* Fix i18n key and improve import behavior

* Remove for loop limit

* Clean up tests

* Remove unused code

* Update libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>

* Move import logic to service and add tests

* Fix linting

* Remove erroneous includes

* Attempt to fix storybook

* Fix storybook, explicitly implement ssh-import-prompt service abstraction

* Fix eslint

* Update libs/importer/src/importers/bitwarden/bitwarden-json-importer.ts

Co-authored-by:  Audrey  <ajensen@bitwarden.com>

* Fix services module

* Remove ssh import sdk init code

* Add tests for errors

* Fix import

* Fix import

* Fix pkcs8 encrypted key not parsing

* Fix import button showing on web

---------

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2025-03-10 18:41:47 +01:00
✨ Audrey ✨
b448dd2255 rough in logging and ECS schema 2025-03-10 11:16:16 -04:00
Oscar Hinton
a569dd9ad6 [PM-15892] [PM-12250]Remove nord and remnants from solarizedark (#13449)
* Remove nord and remnants from solarizedark

* Update window reload color

* Remove extension-refresh feature flag from clients (#13450)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>

* Remove usage of nord and solarized themes within DarkImageDirective

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-10 15:33:55 +01:00