passbolt-browser-extension 4.7.7 → 4.8.0-rc.0

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 CHANGED
@@ -3,6 +3,14 @@ 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.8.0] - 2024-05-16
7
+ ### Maintenance
8
+ - PB-33541 Chrome Extension Manifest upgrade to version 3
9
+
10
+ ## [4.7.8] - 2024-05-14
11
+ ### Fixed
12
+ - PB-33410 Fix Chrome Extension frozen and unusable after some period of inactivity
13
+
6
14
  ## [4.7.7] - 2024-05-10
7
15
  ### Maintenance
8
16
  - PB-33321 Fix local storage loading on extension update
@@ -1611,7 +1619,9 @@ self registration settings option in the left-side bar
1611
1619
  - AP: User with plugin installed
1612
1620
  - LU: Logged in user
1613
1621
 
1614
- [Unreleased]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.7...HEAD
1622
+ [Unreleased]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.8.0...HEAD
1623
+ [4.8.0]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.8...4.8.0
1624
+ [4.7.8]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.7...v4.7.8
1615
1625
  [4.7.7]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.6...v4.7.7
1616
1626
  [4.7.6]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.5...v4.7.6
1617
1627
  [4.7.5]: https://github.com/passbolt/passbolt_browser_extension/compare/v4.7.4...v4.7.5
package/RELEASE_NOTES.md CHANGED
@@ -1,7 +1,7 @@
1
- Song: https://youtu.be/J87pJrxvJ5E?si=vGs8M6uyM6E7Lcps
1
+ Song: https://www.youtube.com/watch?v=hbe3CQamF8k
2
2
 
3
- Passbolt v4.7.7 is a maintenance release focused on fixing problems linked to the extension update and preparing the transition to MV3.
3
+ Passbolt is pleased to announce that the v4.8.0 Release Candidate is officially available for testing. This maintenance release aims to publish the first version of the Manifest v3 browser extension for Chrome and adds tools for administrators to help them maintain their instances. As always, your feedback is invaluable, so please share and report any issues you come across.
4
4
 
5
- ## [4.7.7] - 2024-05-10
5
+ ## [4.8.0] - 2024-05-16
6
6
  ### Maintenance
7
- - PB-33321 Fix local storage loading on extension update
7
+ - PB-33541 Chrome Extension Manifest upgrade to version 3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "passbolt-browser-extension",
3
- "version": "4.7.7",
3
+ "version": "4.8.0-rc.0",
4
4
  "license": "AGPL-3.0",
5
5
  "copyright": "Copyright 2022 Passbolt SA",
6
6
  "description": "Passbolt web extension for the open source password manager for teams",
@@ -21,7 +21,7 @@
21
21
  "locutus": "~2.0.9",
22
22
  "openpgp": "^5.11.1",
23
23
  "papaparse": "^5.2.0",
24
- "passbolt-styleguide": "^4.7.0",
24
+ "passbolt-styleguide": "^4.8.0",
25
25
  "react": "17.0.2",
26
26
  "react-dom": "17.0.2",
27
27
  "secrets-passbolt": "github:passbolt/secrets.js#v2.0.1",
@@ -16,13 +16,14 @@ import MfaAuthenticationRequiredError from "../error/mfaAuthenticationRequiredEr
16
16
  import NotFoundError from "../error/notFoundError";
17
17
  import {ApiClient} from "passbolt-styleguide/src/shared/lib/apiClient/apiClient";
18
18
  import {ApiClientOptions} from "passbolt-styleguide/src/shared/lib/apiClient/apiClientOptions";
19
+ import PassboltBadResponseError from "../error/passboltBadResponseError";
19
20
 
20
21
  const AUTH_RESOURCE_NAME = '/auth';
21
22
 
22
23
  class AuthenticationStatusService {
23
24
  /**
24
25
  * Check if the current user is authenticated.
25
- * @returns {Promise<bool>}
26
+ * @returns {Promise<boolean>}
26
27
  */
27
28
  static async isAuthenticated() {
28
29
  const apiClient = new ApiClient(this.apiClientOptions);
@@ -37,11 +38,19 @@ class AuthenticationStatusService {
37
38
  };
38
39
  const response = await apiClient.sendRequest('GET', url, null, fetchOptions);
39
40
 
41
+ let responseJson;
42
+ try {
43
+ //Get response on json format
44
+ responseJson = await response.json();
45
+ } catch (error) {
46
+ // If the response cannot be parsed, it's not a Passbolt API response. It can be a nginx error (504).
47
+ throw new PassboltBadResponseError();
48
+ }
49
+
40
50
  if (response.ok) {
41
51
  return true;
42
52
  }
43
53
 
44
- const responseJson = await response.json();
45
54
  // MFA required.
46
55
  if (/mfa\/verify\/error\.json$/.test(response.url)) {
47
56
  //Retrieve the message error details from json
@@ -22,7 +22,7 @@
22
22
  "Encrypting secret": "Geheimnis wird verschlüsselt",
23
23
  "Expiry date will be updated on {{count}} resource._one": "Das Ablaufdatum wird auf {{count}} Ressource aktualisiert.",
24
24
  "Expiry date will be updated on {{count}} resource._other": "Das Ablaufdatum wird auf {{count}} Ressourcen aktualisiert.",
25
- "Exporting ...": "Exportieren ...",
25
+ "Exporting ...": "Exportiere ...",
26
26
  "Fetching parent permissions": "Übergeordnete Berechtigungen werden abgerufen",
27
27
  "Folder {{name}} can not be moved.": "Der Ordner {{name}} kann nicht verschoben werden.",
28
28
  "Folder {{name}} is already in folder {{destination}}.": "Der Ordner {{name}} befindet sich bereits im Ordner {{destination}}.",
@@ -30,14 +30,14 @@
30
30
  "Importing ...": "Importieren ...",
31
31
  "Importing folders {{importedCount}}/{{total}}": "Ordner {{importedCount}}/{{total}} werden importiert",
32
32
  "Importing passwords {{importedCount}}/{{total}}": "Passwörter {{importedCount}}/{{total}} werden importiert",
33
- "Inactive worker on the page.": "Inaktives Worker auf der Seite.",
34
- "Initialize": "Initialisieren",
33
+ "Inactive worker on the page.": "Inaktiver Worker auf der Seite.",
34
+ "Initialize": "Initialisiere",
35
35
  "Initializing": "Initialisierung",
36
36
  "Initializing ...": "Initialisierung ...",
37
37
  "Mark as expired ...": "Als abgelaufen markieren ...",
38
38
  "MFA authentication is required.": "MFA-Authentifizierung ist erforderlich.",
39
- "Moving {{name}}": "{{name}} wird verschoben",
40
- "Moving {{total}} resources": "{{total}} Ressourcen werden verschoben",
39
+ "Moving {{name}}": "Verschiebe {{name}}",
40
+ "Moving {{total}} resources": "Verschiebe {{total}} Ressourcen",
41
41
  "Moving folder": "Ordner wird verschoben",
42
42
  "Moving one resource": "Eine Ressource wird verschoben",
43
43
  "Preparing...": "Vorbereitung...",
@@ -58,20 +58,20 @@
58
58
  "The external service raised an error": "Der externe Dienst hat einen Fehler ausgelöst",
59
59
  "The folder cannot be moved inside itself.": "Der Ordner kann nicht in sich selbst verschoben werden.",
60
60
  "The folder cannot be shared. Insufficient rights.": "Der Ordner kann nicht geteilt werden. Unzureichende Rechte.",
61
- "The key should be a valid openpgp armored key string.": "Der Schlüssel sollte ein gültiger Openpgp armored Schlüsselstring sein.",
62
- "The key should be a valid openpgp key.": "Der Schlüssel sollte ein gültiger openpgp-Schlüssel sein.",
63
- "The key should be a valid openpgp private key.": "Der Schlüssel sollte ein gültiger privater openpgp-Schlüssel sein.",
64
- "The key should be a valid openpgp public key.": "Der Schlüssel sollte ein gültiger öffentlicher openpgp-Schlüssel sein.",
65
- "The keys should be an array of valid decrypted openpgp private keys.": "Die Schlüssel sollten ein Array gültiger entschlüsselter Openpgp privater Schlüssel sein.",
66
- "The keys should be an array of valid encrypted openpgp private keys.": "Die Schlüssel sollten ein Array gültiger verschlüsselter Openpgp Privatschlüssel sein.",
67
- "The keys should be an array of valid openpgp armored key strings.": "Die Schlüssel sollten ein Array gültiger Openpgp armored Schlüsselstrings sein.",
68
- "The keys should be an array of valid openpgp private keys.": "Die Schlüssel sollten ein Array gültiger Openpgp Privatschlüssel sein.",
69
- "The keys should be an array of valid openpgp public keys.": "Die Schlüssel sollten ein Array gültiger Openpgp öffentlicher Schlüssel sein.",
61
+ "The key should be a valid openpgp armored key string.": "Der Schlüssel sollte ein gültiger OpenPGP armored Schlüsselstring sein.",
62
+ "The key should be a valid openpgp key.": "Der Schlüssel sollte ein gültiger OpenPGP-Schlüssel sein.",
63
+ "The key should be a valid openpgp private key.": "Der Schlüssel sollte ein gültiger privater OpenPGP-Schlüssel sein.",
64
+ "The key should be a valid openpgp public key.": "Der Schlüssel sollte ein gültiger öffentlicher OpenPGP-Schlüssel sein.",
65
+ "The keys should be an array of valid decrypted openpgp private keys.": "Die Schlüssel sollten ein Array gültiger entschlüsselter OpenPGP privater Schlüssel sein.",
66
+ "The keys should be an array of valid encrypted openpgp private keys.": "Die Schlüssel sollten ein Array gültiger verschlüsselter OpenPGP Privatschlüssel sein.",
67
+ "The keys should be an array of valid openpgp armored key strings.": "Die Schlüssel sollten ein Array gültiger OpenPGP armored Schlüsselstrings sein.",
68
+ "The keys should be an array of valid openpgp private keys.": "Die Schlüssel sollten ein Array gültiger OpenPGP Privatschlüssel sein.",
69
+ "The keys should be an array of valid openpgp public keys.": "Die Schlüssel sollten ein Array gültiger OpenPGP öffentlicher Schlüssel sein.",
70
70
  "The keys should be an array.": "Die Schlüssel müssen ein Array sein.",
71
71
  "The message should be a valid openpgp clear text message.": "Die Nachricht sollte eine gültige OpenPGP-Klartextnachricht sein.",
72
- "The message should be a valid openpgp message.": "Die Nachricht sollte eine gültige Openpgp-Nachricht sein.",
72
+ "The message should be a valid openpgp message.": "Die Nachricht sollte eine gültige OpenPGP-Nachricht sein.",
73
73
  "The message should be of type string.": "Die Nachricht sollte vom Typ String sein.",
74
- "The private key should be a valid openpgp key.": "Der private Schlüssel sollte ein gültiger Openpgp Schlüssel sein.",
74
+ "The private key should be a valid openpgp key.": "Der private Schlüssel sollte ein gültiger OpenPGP Schlüssel sein.",
75
75
  "The private key should be decrypted.": "Der private Schlüssel sollte entschlüsselt werden.",
76
76
  "The private key should be encrypted.": "Der private Schlüssel sollte verschlüsselt werden.",
77
77
  "The private key should not be expired.": "Der private Schlüssel sollte nicht abgelaufen sein.",
@@ -79,7 +79,7 @@
79
79
  "The private key should not have an expiry date.": "Der private Schlüssel sollte kein Ablaufdatum haben.",
80
80
  "The private key should use a supported algorithm: RSA, ECDSA OR EDDSA.": "Der private Schlüssel sollte einen unterstützten Algorithmus verwenden: RSA, ECDSA oder EDDSA.",
81
81
  "The server key cannot be parsed.": "Der Server-Schlüssel kann nicht geparst werden.",
82
- "The server key has changed.": "Der Serverschlüssel wurde geändert.",
82
+ "The server key has changed.": "Der Server-Schlüssel wurde geändert.",
83
83
  "The server key is expired.": "Der Server-Schlüssel ist abgelaufen.",
84
84
  "The service is unavailable": "Der Dienst ist nicht verfügbar",
85
85
  "This is not a valid passphrase": "Dies ist kein gültiges Kennwort",
@@ -91,5 +91,5 @@
91
91
  "Updating password": "Passwort wird aktualisiert",
92
92
  "Updating resource": "Ressource wird aktualisiert",
93
93
  "Updating users' key...": "Aktualisiere Benutzer-Schlüssel...",
94
- "You have already started the process on another tab.": "You have already started the process on another tab."
94
+ "You have already started the process on another tab.": "Sie haben den Prozess bereits in einem anderen Tab gestartet."
95
95
  }
@@ -82,7 +82,7 @@
82
82
  "The server key has changed.": "서버키가 변경되었습니다.",
83
83
  "The server key is expired.": "서버키가 만료되었습니다.",
84
84
  "The service is unavailable": "서버키를 사용할 수 없습니다.",
85
- "This is not a valid passphrase": "유효하지 않은 비빌번호입니다.",
85
+ "This is not a valid passphrase": "유효하지 않은 비밀번호입니다",
86
86
  "This key does not match any account.": "키가 맞는 계정이 없습니다.",
87
87
  "This key is already used by another user.": "키를 다른 사용자가 이미 사용 중입니다.",
88
88
  "Unable to retrieve the active tab info.": "활성화된 탭에서 정보를 가져올 수 없습니다.",
@@ -91,5 +91,5 @@
91
91
  "Updating password": "암호 업데이트중",
92
92
  "Updating resource": "리소스 업데이트 중",
93
93
  "Updating users' key...": "사용자 키를 업데이트하는 중...",
94
- "You have already started the process on another tab.": "You have already started the process on another tab."
94
+ "You have already started the process on another tab.": "이미 다른 탭에서 프로세스를 시작했습니다."
95
95
  }
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 2,
3
3
  "name": "__MSG_appName__",
4
4
  "short_name": "passbolt",
5
- "version": "4.7.7",
5
+ "version": "4.8.0",
6
6
  "description": "__MSG_appDescription__",
7
7
  "default_locale": "en",
8
8
  "externally_connectable": {},
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 3,
3
3
  "name": "__MSG_appName__",
4
4
  "short_name": "passbolt",
5
- "version": "4.7.7",
5
+ "version": "4.8.0",
6
6
  "description": "__MSG_appDescription__",
7
7
  "default_locale": "en",
8
8
  "externally_connectable": {
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 2,
3
3
  "name": "__MSG_appName__",
4
4
  "short_name": "passbolt",
5
- "version": "4.7.7",
5
+ "version": "4.8.0",
6
6
  "description": "__MSG_appDescription__",
7
7
  "default_locale": "en",
8
8
  "browser_specific_settings": {
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 3,
3
3
  "name": "__MSG_appName__",
4
4
  "short_name": "passbolt",
5
- "version": "4.7.7",
5
+ "version": "4.8.0",
6
6
  "description": "__MSG_appDescription__",
7
7
  "default_locale": "en",
8
8
  "externally_connectable": {},