Skip to content

Commit

Permalink
Merge branch 'release' into 'master'
Browse files Browse the repository at this point in the history
PB-29785 Publish production API (v4.5.2)

See merge request passbolt/passbolt-ce-api!239
  • Loading branch information
gmougenel committed Feb 14, 2024
2 parents 1cd9d73 + c3eb85b commit 09cbd6e
Show file tree
Hide file tree
Showing 59 changed files with 748 additions and 620 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci/jobs/php_unit_tests/sequential/php_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,13 @@ seq-php8.0-mariadb8.0:
# rules:
# - if: '$TEST_DISABLED == null && $CI_COMMIT_BRANCH == "master"'
# - if: '$TEST_DISABLED == null && $CI_COMMIT_BRANCH == "develop"'

seq-php8.3-mysql8:
variables:
PHP_VERSION: "8.3"
DATABASE_ENGINE_VERSION: '$CI_REGISTRY/mysql-8.0'
extends:
- .mysql-template
- .test-template
rules:
- if: '$TEST_DISABLED == null'
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.5.2] - 2024-02-14
### Fixed
- PB-29621 As a user I should get a 400 if the locale passed in the URL is not a string
- PB-28867 As a user I should see an improved performance when requesting the folder index endpoint

### Improved
- PB-28635 As an administrator I can disable the email digest without having to change the command sending the emails

### Security
- PB-29680 Bump dependency composer/composer to v2.7.0

### Maintenance
- PB-29109 Support PHP 8.3 for passbolt API
- PB-29376 GITHUB-506 Bump dependency duosecurity/duo_universal_php to 1.0.2 (#506)
- PB-29514 Fix password expiry test which randomly fails
- PB-29625 Fix CI to support latest composer dependency version

## [4.5.2-test.1] - 2024-02-13
### Fixed
- PB-29621 As a user I should get a 400 if the locale passed in the URL is not a string
- PB-28867 Fix folder serialization performance

### Improved
- PB-28635 As a user I want to use one single command to send emails

### Security
- PB-29680 Bump dependency composer/composer to v2.7.0

### Maintenance
- PB-29109 Support PHP 8.3 for passbolt API
- PB-29376 GITHUB-506 Bump dependency duosecurity/duo_universal_php to 1.0.2 (#506)
- PB-29514 Fix password expiry test which randomly fails
- PB-29625 Fix CI to support latest composer dependency version

## [4.5.0] - 2024-02-08
### Added
- PB-23913 As a user I can see my passwords marked as expired when users lose permissions on these
Expand Down
57 changes: 17 additions & 40 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,29 @@
Release song: https://www.youtube.com/watch?v=HR1KH4zElcY
Release song: https://youtu.be/53YYph6Edd0

Passbolt v4.5.0 named "Summer is Ending" brings a host of new features and improvements, all designed to make your password management experience more secure, efficient, and user-friendly.
Passbolt is pleased to announce the immediate availability of version 4.5.2. This is a maintenance update that contains important fixes for both the API and browser extension, addressing issues reported by the community since version 4.5.0.

At the heart of this release is the introduction of the Password Expiry feature, a much-anticipated functionality that allows administrators to enable the automatic expiry policy, enhancing security by ensuring that potentially passwords are rotated when someone loses access to resources, for example by leaving a group or the organization.
Most notably this update fixes a problem that previously prevented the autofill feature from working with certain web applications.

Alongside, we're excited to introduce the Russian translation, making Passbolt more accessible to a wider audience.
Additionally, the release improves the process for importing TOTPs from kdbx files on Windows, ensuring better support for TOTPs across various Keepass clients, including Keepass, KeepassXC, and Macpass.

We've also expanded our SMTP settings to include Microsoft 365 and Outlook providers, responding to the community's feedback for more integration options. The section to help users install and configure the Windows desktop application feature is also now enabled by default.
Administrators would also be pleased to be able to host the API using PHP 8.3. While PHP 7.4 and PHP 8.0 are still supported on some distributions such as Debian, they will be discontinued soon and administrators are encouraged to upgrade to PHP 8.1 or higher and use the latest version of the passbolt API.

Improvements in the performance of some important API endpoints and other security enhancements and bug fixes are also part of this release.
We would like to express our sincere thanks to the community members who brought issues to our attention and helped the team to make passbolt better.

Thanks to everyone in our community for your ongoing support and contributions that made this release possible. Your feedback and involvement continue to shape Passbolt, enhancing our collective security and usability. Together, we're making password management better for everyone.

## [4.5.0] - 2024-02-08
### Added
- PB-23913 As a user I can see my passwords marked as expired when users lose permissions on these
- PB-23913 As an administrator I can activate the password expiry feature
- PB-28923 As a user I want to be able to use passbolt in Russian
- PB-21484 As an administrator I can define Microsoft 365 and Outlook providers in SMTP settings
- PB-19652 As an administrator I can cleanup groups with no members with the cleanup command
- PB-27707 As administrator, with RBAC I should be able to set “can see users workspace” to “Allow if group manager”
- PB-28716 Desktop application flag is now enabled by default
- PB-26203 Desktop app define the account kit exportation help page
## [4.5.2] - 2024-02-14
### Fixed
- PB-29621 As a user I should get a 400 if the locale passed in the URL is not a string
- PB-29526 As an administrator I should be notified of group removal when the operation is performed by a users directory synchronization
- PB-28867 As a user I should see an improved performance when requesting the folder index endpoint

### Improved
- PB-27616 Improve resources serialization performance on GET resources.json
- PB-28635 As an administrator I can disable the email digest without having to change the command sending the emails

### Security
- PB-29148 Bump selenium API plugin version to v4.5
- PB-29005 Upgrades phpseclib/phpseclib to fix composer audit security vulnerability
- PB-22336 As an admin I should be able to enable/disable request group managers to add users to groups emails separately (LDAP/AD)
- PB-28871 Mitigate supply chain attack on PR and lint lock files
- PB-28658 Mitigate supply chain attack on post npm install script

### Fixed
- PB-29200 Fixes the recover_user command (GITHUB #504)
- PB-29164 Fix recent InstallCommand changes breaking selenium tests
- PB-29132 Fix composer lock file not up-to-date message when installing dependencies
- PB-29160 Fix failing static analysis job in CI
- PB-29137 Fix failing in UsersEditDisableControllerTest file due to purifier
- PB-29113 Fix a typo in the email sent when admins lose their admin role
- PB-28130 Fix invalid cookie name should not trigger a 500
- PB-29007 Fix constantly failing test in RbacsUpdateControllerTest file
- PB-28991 Fix email queue entries not marked as sent
- PB-29680 Bump dependency composer/composer to v2.7.0

### Maintenance
- PB-28857 Require phpunit-speedtrap to track down slow tests
- PB-25516 Remove --dev from .gitlab test options, it has not effect and will break with composer v3
- PB-28844 Improves the methods testing email content
- PB-28845 Skip unauthenticated exception from logging
- PB-28653 Speed-up tests by mocking the client in healthcheck relevant tests
- PB-29109 Support PHP 8.3 for passbolt API
- PB-29376 GITHUB-506 Bump dependency duosecurity/duo_universal_php to 1.0.2 (#506)
- PB-29514 Fix password expiry test which randomly fails
- PB-29625 Fix CI to support latest composer dependency version
8 changes: 1 addition & 7 deletions bin/cron
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@

set -euo pipefail

DIGEST_ENABLED=${PASSBOLT_PLUGINS_EMAIL_DIGEST_ENABLED:-1}

DIR=$(dirname "$(readlink -f "$0")")

if [[ "$DIGEST_ENABLED" = 1 ]]; then
"$DIR"/cake passbolt email_digest send
else
"$DIR"/cake EmailQueue.sender
fi
"$DIR"/cake passbolt email_digest send
17 changes: 6 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@
"url": "https://github.com/passbolt/phinx.git",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/passbolt/yubikey.git",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/bcrowe/cakephp-api-pagination.git",
Expand All @@ -84,17 +79,17 @@
"mobiledetect/mobiledetectlib": "^2.8.39",
"ramsey/uuid": "^4.2.3",
"singpolyma/openpgp-php": "dev-master#9920173e0e0b17a98a5b90fdd6d03db4ebadc8fe",
"donatj/phpuseragentparser": "^1.6.0",
"donatj/phpuseragentparser": "^1.8.0",
"lorenzo/cakephp-email-queue": "^5.1.0",
"imagine/imagine": "^1.3.2",
"league/flysystem": "^2.4.5",
"cakephp/authentication": "^2.9.0",
"bcrowe/cakephp-api-pagination": "^3.0.0",
"cakephp/authentication": "^2.10.0",
"bcrowe/cakephp-api-pagination": "^3.0.1",
"firebase/php-jwt": "^6.2.0",
"spomky-labs/otphp": "^10.0.0",
"bacon/bacon-qr-code": "^2.0.7",
"enygma/yubikey": "dev-master#31802c4f5ef24df87c4710e5893bdf8ad73554be",
"duosecurity/duo_universal_php": "^1.0"
"enygma/yubikey": "^3.5",
"duosecurity/duo_universal_php": "^1.0.2"
},
"require-dev": {
"phpstan/phpstan": "~1.10.0",
Expand All @@ -105,7 +100,7 @@
"cakephp/cakephp-codesniffer": "^4.5",
"passbolt/passbolt-selenium-api": "^4.5",
"passbolt/passbolt-test-data": "^4.4",
"vierge-noire/cakephp-fixture-factories": "^v2.9.0",
"vierge-noire/cakephp-fixture-factories": "^v2.9.3",
"cakephp/localized": "4.0.0",
"vimeo/psalm": "^5.0.0",
"cakedc/cakephp-phpstan": "^2.0",
Expand Down
Loading

0 comments on commit 09cbd6e

Please sign in to comment.