passbolt-browser-extension 4.7.6-rc.0 → 4.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -2
- package/RELEASE_NOTES.md +3 -3
- package/package.json +1 -1
- package/src/all/background_page/controller/extension/onExtensionInstalledController.js +9 -3
- package/src/all/background_page/sdk/storage.js +1 -0
- package/src/all/background_page/service/systemRequirementService/systemRequirementService.js +1 -0
- package/src/chrome/manifest.json +1 -1
- package/src/chrome-mv3/manifest.json +1 -1
- package/src/firefox/manifest.json +1 -1
- package/src/safari/manifest.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
|
+
## [4.7.7] - 2024-05-10
|
|
7
|
+
### Maintenance
|
|
8
|
+
- PB-33321 Fix local storage loading on extension update
|
|
9
|
+
|
|
6
10
|
## [4.7.6] - 2024-05-08
|
|
7
11
|
### Maintenance
|
|
8
12
|
- PB-33307 Add debug to capture onInstall reason details
|
|
@@ -1607,8 +1611,9 @@ self registration settings option in the left-side bar
|
|
|
1607
1611
|
- AP: User with plugin installed
|
|
1608
1612
|
- LU: Logged in user
|
|
1609
1613
|
|
|
1610
|
-
[Unreleased]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.
|
|
1611
|
-
[4.7.
|
|
1614
|
+
[Unreleased]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.7...HEAD
|
|
1615
|
+
[4.7.7]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.6...v4.7.7
|
|
1616
|
+
[4.7.6]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.5...v4.7.6
|
|
1612
1617
|
[4.7.5]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.4...v4.7.5
|
|
1613
1618
|
[4.7.4]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.3...v4.7.4
|
|
1614
1619
|
[4.7.3]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.1...v4.7.3
|
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Song: https://youtu.be/J87pJrxvJ5E?si=vGs8M6uyM6E7Lcps
|
|
2
2
|
|
|
3
|
-
Passbolt v4.7.
|
|
3
|
+
Passbolt v4.7.7 is a maintenance release focused on fixing problems linked to the extension update and preparing the transition to MV3.
|
|
4
4
|
|
|
5
|
-
## [4.7.
|
|
5
|
+
## [4.7.7] - 2024-05-10
|
|
6
6
|
### Maintenance
|
|
7
|
-
- PB-
|
|
7
|
+
- PB-33321 Fix local storage loading on extension update
|
package/package.json
CHANGED
|
@@ -21,6 +21,8 @@ import CheckAuthStatusService from "../../service/auth/checkAuthStatusService";
|
|
|
21
21
|
import User from "../../model/user";
|
|
22
22
|
import Log from "../../model/log";
|
|
23
23
|
import {BrowserExtensionIconService} from "../../service/ui/browserExtensionIcon.service";
|
|
24
|
+
import storage from "../../sdk/storage";
|
|
25
|
+
import {Config} from "../../model/config";
|
|
24
26
|
|
|
25
27
|
class OnExtensionInstalledController {
|
|
26
28
|
/**
|
|
@@ -29,9 +31,13 @@ class OnExtensionInstalledController {
|
|
|
29
31
|
* @returns {Promise<void>}
|
|
30
32
|
*/
|
|
31
33
|
static async exec(details) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
// Check if the storage have some data
|
|
35
|
+
if (Object.keys(storage._data).length === 0) {
|
|
36
|
+
// Fix the initialization of the storage after an update
|
|
37
|
+
await storage.init();
|
|
38
|
+
// Initialization of the config to get the user information
|
|
39
|
+
Config.init();
|
|
40
|
+
}
|
|
35
41
|
switch (details.reason) {
|
|
36
42
|
case browser.runtime.OnInstalledReason.INSTALL:
|
|
37
43
|
await OnExtensionInstalledController.onInstall();
|
package/src/chrome/manifest.json
CHANGED