Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-16197] "Items with No Folder" shows as a folder to edit name and delete #12470

Merged
merged 4 commits into from
Dec 20, 2024

Conversation

gbubemismith
Copy link
Member

@gbubemismith gbubemismith commented Dec 18, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-16197

📔 Objective

📸 Screenshots

Screen.Recording.2024-12-18.at.6.51.44.PM.mov

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@gbubemismith gbubemismith requested a review from a team as a code owner December 18, 2024 23:50
Copy link
Contributor

github-actions bot commented Dec 18, 2024

Logo
Checkmarx One – Scan Summary & Detailsec79d881-0041-450a-89b6-a2463e32b83d

New Issues

Severity Issue Source File / Package Checkmarx Insight
CRITICAL CVE-2024-12692 Npm-electron-33.2.1 Vulnerable Package
CRITICAL CVE-2024-12694 Npm-electron-33.2.1 Vulnerable Package
CRITICAL CVE-2024-12695 Npm-electron-33.2.1 Vulnerable Package
HIGH CVE-2024-11112 Npm-electron-33.2.1 Vulnerable Package
HIGH CVE-2024-11113 Npm-electron-33.2.1 Vulnerable Package
HIGH CVE-2024-11114 Npm-electron-33.2.1 Vulnerable Package
HIGH CVE-2024-12053 Npm-electron-33.2.1 Vulnerable Package
HIGH CVE-2024-12381 Npm-electron-33.2.1 Vulnerable Package
HIGH CVE-2024-12382 Npm-electron-33.2.1 Vulnerable Package
HIGH CVE-2024-12693 Npm-electron-33.2.1 Vulnerable Package
HIGH CVE-2024-21538 Npm-cross-spawn-7.0.3 Vulnerable Package
HIGH CVE-2024-52798 Npm-path-to-regexp-0.1.10 Vulnerable Package
HIGH Cxdca8e59f-8bfe Npm-inflight-1.0.6 Vulnerable Package
MEDIUM CVE-2024-11110 Npm-electron-33.2.1 Vulnerable Package
MEDIUM CVE-2024-11111 Npm-electron-33.2.1 Vulnerable Package
MEDIUM CVE-2024-11116 Npm-electron-33.2.1 Vulnerable Package
MEDIUM CVE-2024-11117 Npm-electron-33.2.1 Vulnerable Package
MEDIUM CVE-2024-55565 Npm-nanoid-3.3.7 Vulnerable Package
MEDIUM CVE-2024-6531 Npm-bootstrap-4.6.0 Vulnerable Package
MEDIUM Cx14b19a02-387a Npm-body-parser-1.20.3 Vulnerable Package
MEDIUM Cx877cf216-175c Npm-event-pubsub-4.3.0 Vulnerable Package
MEDIUM Cx8ef77360-5422 Npm-node-ipc-9.2.1 Vulnerable Package
MEDIUM Cx949f3fb2-a0e5 Npm-js-message-1.0.7 Vulnerable Package
MEDIUM Cxafe14174-3b5a Npm-easy-stack-1.0.1 Vulnerable Package
MEDIUM Cxf62a1409-bb90 Npm-js-queue-2.0.2 Vulnerable Package
LOW Cx8bc4df28-fcf5 Npm-debug-2.6.9 Vulnerable Package
LOW Cx8bc4df28-fcf5 Npm-debug-4.3.7 Vulnerable Package
LOW Cx8bc4df28-fcf5 Npm-debug-3.2.7 Vulnerable Package
LOW Cxda14f253-4e52 Npm-bluebird-3.7.2 Vulnerable Package

@gbubemismith gbubemismith marked this pull request as draft December 19, 2024 00:13
@gbubemismith gbubemismith marked this pull request as ready for review December 19, 2024 02:37
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (vault/PM-12049@87449d7). Learn more about missing BASE report.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                Coverage Diff                @@
##             vault/PM-12049   #12470   +/-   ##
=================================================
  Coverage                  ?   33.49%           
=================================================
  Files                     ?     2916           
  Lines                     ?    91230           
  Branches                  ?    17365           
=================================================
  Hits                      ?    30561           
  Misses                    ?    58255           
  Partials                  ?     2414           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gbubemismith gbubemismith changed the title [PM-16197] Force re-decryption anytime encryption state changes [PM-16197] "Items with No Folder" shows as a folder to edit name and delete Dec 19, 2024
Copy link
Member

@shane-melton shane-melton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@gbubemismith gbubemismith merged commit 275be11 into vault/PM-12049 Dec 20, 2024
69 of 70 checks passed
@gbubemismith gbubemismith deleted the vault/PM-16197 branch December 20, 2024 14:30
gbubemismith added a commit that referenced this pull request Jan 2, 2025
* Migrated folder service from using active user state to single user state

Added extra test cases for encrypted folder and decrypted folders

Updated derived state to use decrypt with key

* Update callers in the web

* Update callers in the browser

* Update callers in libs

* Update callers in cli

* Fixed test

* Fixed folder state test

* Fixed test

* removed duplicate activeUserId

* Added takewhile operator to only make calls when userId is present

* Simplified to accept a single user id instead of an observable

* Required userid to be passed from notification service

* [PM-15635] Folders not working on desktop (#12333)

* Added folders memory state definition

* added decrypted folders state

* Refactored service to remove derived state

* removed combinedstate and added clear decrypted folders to methods

* Fixed test

* Fixed issue with editing folder on the desktop app

* Fixed test

* Changed state name

* fixed ts strict issue

* fixed ts strict issue

* fixed ts strict issue

* removed unnecessasry null encrypteed folder check

* Handle null folderdata

* [PM-16197] "Items with No Folder" shows as a folder to edit name and delete (#12470)

* Force redcryption anytime encryption state changes

* Fixed text file

* revert changes

* create new object with nofolder instead of modifying exisiting object

* Fixed failing test

* switched to use memory-large-object

* Fixed ts sctrict issue

---------

Co-authored-by: Matt Bishop <[email protected]>
Co-authored-by: bnagawiecki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants