Skip to content

Commit

Permalink
Merge branch 'release' into 'master'
Browse files Browse the repository at this point in the history
PB-27704 v4.3.0

See merge request passbolt/passbolt-ce-api!188
  • Loading branch information
cedricalfonsi committed Sep 26, 2023
2 parents f737599 + 94e7c41 commit 3e83ed3
Show file tree
Hide file tree
Showing 254 changed files with 10,984 additions and 2,552 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
build:
Expand All @@ -14,4 +14,4 @@ jobs:
- env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
name: Create Release
run: gh release create "${GITHUB_REF#refs/*/}" --notes-file RELEASE_NOTES.md
run: gh release create "${GITHUB_REF#refs/*/}" -t "$(grep name config/version.php | awk -F "'" '{print $4}')" --notes-file RELEASE_NOTES.md
4 changes: 2 additions & 2 deletions .github/workflows/release_candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create Release Candidate
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"

jobs:
build:
Expand All @@ -14,4 +14,4 @@ jobs:
- env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
name: Create Release candidate
run: gh release create "${GITHUB_REF#refs/*/}" -p --notes-file RELEASE_NOTES.md
run: gh release create "${GITHUB_REF#refs/*/}" -t "$(grep name config/version.php | awk -F "'" '{print $4}')" -p --notes-file RELEASE_NOTES.md
6 changes: 3 additions & 3 deletions .gitlab-ci/jobs/help_site_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ help_site_notes:
GPG_KEY_GRIP: $HELP_SITE_GPG_KEYGRIP
image: debian
script: |
source .gitlab-ci/scripts/bin/set-env.sh "$CI_COMMIT_TAG"
if is_release_candidate "$tag"; then
echo "The tag is for a release candidate. Skipping release notes creation..."
source .gitlab-ci/scripts/lib/version-check.sh
if is_release_candidate "$tag" || is_testing_candidate "$tag"; then
echo "The tag is not a stable candidate. Skipping release notes creation..."
exit 0
fi
apt update && apt install -y git curl gpg
Expand Down
28 changes: 14 additions & 14 deletions .gitlab-ci/jobs/php_unit_tests/sequential/php_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,6 @@
DATASOURCES_DEFAULT_ENCODING: 'utf8'
DATASOURCES_TEST_ENCODING: 'utf8'
DATASOURCES_TEST_PORT: 5432
before_script:
- apt-get install wget git unzip -yqq
- sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | tee ~/apt-pg.key
- apt-key add ~/apt-pg.key
- apt-get update
- apt-get install libpq-dev postgresql-client-12 -yqq
- docker-php-ext-install pdo_pgsql
- docker-php-ext-enable pdo_pgsql
- printf "postgres:5432:test:user:testing-password" > ~/.pgpass
- chmod 0600 ~/.pgpass
# TO BE REPLACED WITH
# before_script:
# - apt-get update
Expand Down Expand Up @@ -113,10 +102,21 @@ seq-php7.4-mysql5.7:
rules:
- if: '$TEST_DISABLED == null'

seq-php7.4-postgres:
seq-php8.0-postgres13:
variables:
PHP_VERSION: "7.4"
DATABASE_ENGINE_VERSION: '$CI_REGISTRY/postgres-12-alpine'
PHP_VERSION: "8.0"
DATABASE_ENGINE_VERSION: '$CI_REGISTRY/postgres-13-alpine'
extends:
- .postgres-template
- .test-template
rules:
- if: '$TEST_DISABLED == null && $CI_COMMIT_BRANCH == "master"'
- if: '$TEST_DISABLED == null && $CI_COMMIT_BRANCH == "develop"'

seq-php8.1-postgres15:
variables:
PHP_VERSION: "8.1"
DATABASE_ENGINE_VERSION: '$CI_REGISTRY/postgres-15-alpine'
extends:
- .postgres-template
- .test-template
Expand Down
4 changes: 1 addition & 3 deletions .gitlab-ci/scripts/lib/set-env.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# This function parses a tag in the form of:
# v3.11.0-rc.1-pro-all
# v3.11.0-rc.1
#
# All of the fields are mandatory:
# Version: v3.11.0-rc.1|v3.11.0
# Passbolt flavour: pro|ce
# Per package filter: all|rpm|debian
#
# It also provides the component based on if it is RC: testing|stable
function parse_tag() {
Expand Down
16 changes: 16 additions & 0 deletions .gitlab-ci/scripts/lib/version-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ function is_release_candidate () {
return 0
}

function is_testing_candidate () {
local version=$1
if [[ ! $version =~ [0-9]+\.[0-9]+\.[0-9]+-test\.[0-9]+ ]];then
return 1
fi
return 0
}

function is_stable_candidate () {
local version=$1
if [[ ! $version =~ [0-9]+\.[0-9]+\.[0-9]+$ ]];then
return 1
fi
return 0
}

function validate_config_version_and_api_tag () {
local version_file="$1"
local version
Expand Down
80 changes: 80 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,86 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.3.0] - 2023-09-26
### Added
- PB-25405 As an administrator installing passbolt through the web installer, I should be able to configure authentication method for SMTP
- PB-25185 As a signed-in user on the browser extension, I want to export my account to configure the Windows application
- PB-25944 As an administrator I can define the schema on installation with Postgres
- PB-25497 As an administrator I can disable users (experimental)

### Improved
- PB-25999 Performance optimisation of update secret process
- PB-26097 Adds cake.po translation files for all languages supported by CakePHP

### Security
- PB-25827 As a user with encrypted message enabled in the email content visibility, I would like to see the gpg message encrypted with my key when a password is updated

### Fixed
- PB-25802 As a user I want to see localized date in my emails
- PB-25863 Fix emails not sent due to message-id header missing
- PB-27799 As an administrator installing passbolt on PostgreSQL, the database encoding should be set to utf-8

### Maintenance
- PB-25894 Run CI on postgres versions 13 and 15 instead of version 12 only
- PB-25969 As a developer, I can render emails in tests with html special chars
- PB-26107 Upgrade the cakephp/chronos library
- PB-26159 Update singpolyma/openpgp-php to improve compatibility with PHP 8.2
- PB-25247 Add integration tests on the MFA select provider endpoint

## [4.3.0-test.2] - 2023-09-25
### Fixed
- PB-27799 As an administrator installing passbolt on PostgreSQL, the database encoding should be set to utf-8

## [4.3.0-rc.1] - 2023-09-21
### Added
- PB-25405 As an administrator installing passbolt through the web installer, I should be able to configure authentication method for SMTP
- PB-25185 As a signed-in user on the browser extension, I want to export my account to configure the Windows application
- PB-25944 As an administrator I can define the schema on installation with Postgres
- PB-25497 As an administrator I can disable users (experimental)

### Improved
- PB-25999 Performance optimisation of update secret process
- PB-26097 Adds cake.po translation files for all languages supported by CakePHP

### Security
- PB-25827 As a user with encrypted message enabled in the email content visibility, I would like to see the gpg message encrypted with my key when a password is updated

### Fixed
- PB-25802 As a user I want to see localized date in my emails
- PB-25863 Fix emails not sent due to message-id header missing

### Maintenance
- PB-25894 Run CI on postgres versions 13 and 15 instead of version 12 only
- PB-25969 As a developer, I can render emails in tests with html special chars
- PB-26107 Upgrade the cakephp/chronos library
- PB-26159 Update singpolyma/openpgp-php to improve compatibility with PHP 8.2
- PB-25247 Add integration tests on the MFA select provider endpoint

## [4.3.0-test.1] - 2023-09-15
### Added
- PB-25497 As an administrator I can disable users
- PB-25405 As an administrator installing passbolt through the web installer, I should be able to configure authentication method for SMTP
- PB-25185 As a signed-in user on the browser extension, I want to export my account to configure the Windows application (disabled by default)
- PB-25944 As an administrator I can define the schema on installation with Postgres

### Improved
- PB-25999 Improve performance of update secret process
- PB-26097 Adds cake.po translation files for all languages supported by CakePHP

### Security
- PB-25827 As a user with encrypted message enabled in the email content visibility, I would like to see the gpg message encrypted with my key when a password is updated

### Fixed
- PB-25802 As a user I want to see localized date in my emails
- PB-25863 Set message-id header in emails

### Maintenance
- PB-25894 Run CI on postgres versions 13 and 15 instead of version 12 only
- PB-25969 As a developer, I can render emails in tests with html special chars
- PB-26107 Upgrade the cakephp/chronos library
- PB-26159 Update singpolyma/openpgp-php to improve compatibility with PHP 8.2
- PB-25247 Add integration tests on the MFA select endpoint

## [4.2.0] - 2023-08-24
### Added
- PB-24987 As an administrator I can define the password policies from the administration UI
Expand Down
Loading

0 comments on commit 3e83ed3

Please sign in to comment.