Skip to content

Commit 3e83ed3

Browse files
committed
Merge branch 'release' into 'master'
PB-27704 v4.3.0 See merge request passbolt/passbolt-ce-api!188
2 parents f737599 + 94e7c41 commit 3e83ed3

File tree

254 files changed

+10984
-2552
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+10984
-2552
lines changed

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Create Release
33
on:
44
push:
55
tags:
6-
- 'v[0-9]+.[0-9]+.[0-9]+'
6+
- "v[0-9]+.[0-9]+.[0-9]+"
77

88
jobs:
99
build:
@@ -14,4 +14,4 @@ jobs:
1414
- env:
1515
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
1616
name: Create Release
17-
run: gh release create "${GITHUB_REF#refs/*/}" --notes-file RELEASE_NOTES.md
17+
run: gh release create "${GITHUB_REF#refs/*/}" -t "$(grep name config/version.php | awk -F "'" '{print $4}')" --notes-file RELEASE_NOTES.md

.github/workflows/release_candidate.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Create Release Candidate
33
on:
44
push:
55
tags:
6-
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
6+
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
77

88
jobs:
99
build:
@@ -14,4 +14,4 @@ jobs:
1414
- env:
1515
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
1616
name: Create Release candidate
17-
run: gh release create "${GITHUB_REF#refs/*/}" -p --notes-file RELEASE_NOTES.md
17+
run: gh release create "${GITHUB_REF#refs/*/}" -t "$(grep name config/version.php | awk -F "'" '{print $4}')" -p --notes-file RELEASE_NOTES.md

.gitlab-ci/jobs/help_site_notes.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ help_site_notes:
66
GPG_KEY_GRIP: $HELP_SITE_GPG_KEYGRIP
77
image: debian
88
script: |
9-
source .gitlab-ci/scripts/bin/set-env.sh "$CI_COMMIT_TAG"
10-
if is_release_candidate "$tag"; then
11-
echo "The tag is for a release candidate. Skipping release notes creation..."
9+
source .gitlab-ci/scripts/lib/version-check.sh
10+
if is_release_candidate "$tag" || is_testing_candidate "$tag"; then
11+
echo "The tag is not a stable candidate. Skipping release notes creation..."
1212
exit 0
1313
fi
1414
apt update && apt install -y git curl gpg

.gitlab-ci/jobs/php_unit_tests/sequential/php_unit_tests.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,6 @@
5252
DATASOURCES_DEFAULT_ENCODING: 'utf8'
5353
DATASOURCES_TEST_ENCODING: 'utf8'
5454
DATASOURCES_TEST_PORT: 5432
55-
before_script:
56-
- apt-get install wget git unzip -yqq
57-
- sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
58-
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | tee ~/apt-pg.key
59-
- apt-key add ~/apt-pg.key
60-
- apt-get update
61-
- apt-get install libpq-dev postgresql-client-12 -yqq
62-
- docker-php-ext-install pdo_pgsql
63-
- docker-php-ext-enable pdo_pgsql
64-
- printf "postgres:5432:test:user:testing-password" > ~/.pgpass
65-
- chmod 0600 ~/.pgpass
6655
# TO BE REPLACED WITH
6756
# before_script:
6857
# - apt-get update
@@ -113,10 +102,21 @@ seq-php7.4-mysql5.7:
113102
rules:
114103
- if: '$TEST_DISABLED == null'
115104

116-
seq-php7.4-postgres:
105+
seq-php8.0-postgres13:
117106
variables:
118-
PHP_VERSION: "7.4"
119-
DATABASE_ENGINE_VERSION: '$CI_REGISTRY/postgres-12-alpine'
107+
PHP_VERSION: "8.0"
108+
DATABASE_ENGINE_VERSION: '$CI_REGISTRY/postgres-13-alpine'
109+
extends:
110+
- .postgres-template
111+
- .test-template
112+
rules:
113+
- if: '$TEST_DISABLED == null && $CI_COMMIT_BRANCH == "master"'
114+
- if: '$TEST_DISABLED == null && $CI_COMMIT_BRANCH == "develop"'
115+
116+
seq-php8.1-postgres15:
117+
variables:
118+
PHP_VERSION: "8.1"
119+
DATABASE_ENGINE_VERSION: '$CI_REGISTRY/postgres-15-alpine'
120120
extends:
121121
- .postgres-template
122122
- .test-template

.gitlab-ci/scripts/lib/set-env.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# This function parses a tag in the form of:
2-
# v3.11.0-rc.1-pro-all
2+
# v3.11.0-rc.1
33
#
44
# All of the fields are mandatory:
55
# Version: v3.11.0-rc.1|v3.11.0
6-
# Passbolt flavour: pro|ce
7-
# Per package filter: all|rpm|debian
86
#
97
# It also provides the component based on if it is RC: testing|stable
108
function parse_tag() {

.gitlab-ci/scripts/lib/version-check.sh

+16
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,22 @@ function is_release_candidate () {
1313
return 0
1414
}
1515

16+
function is_testing_candidate () {
17+
local version=$1
18+
if [[ ! $version =~ [0-9]+\.[0-9]+\.[0-9]+-test\.[0-9]+ ]];then
19+
return 1
20+
fi
21+
return 0
22+
}
23+
24+
function is_stable_candidate () {
25+
local version=$1
26+
if [[ ! $version =~ [0-9]+\.[0-9]+\.[0-9]+$ ]];then
27+
return 1
28+
fi
29+
return 0
30+
}
31+
1632
function validate_config_version_and_api_tag () {
1733
local version_file="$1"
1834
local version

CHANGELOG.md

+80
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,86 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [4.3.0] - 2023-09-26
6+
### Added
7+
- PB-25405 As an administrator installing passbolt through the web installer, I should be able to configure authentication method for SMTP
8+
- PB-25185 As a signed-in user on the browser extension, I want to export my account to configure the Windows application
9+
- PB-25944 As an administrator I can define the schema on installation with Postgres
10+
- PB-25497 As an administrator I can disable users (experimental)
11+
12+
### Improved
13+
- PB-25999 Performance optimisation of update secret process
14+
- PB-26097 Adds cake.po translation files for all languages supported by CakePHP
15+
16+
### Security
17+
- 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
18+
19+
### Fixed
20+
- PB-25802 As a user I want to see localized date in my emails
21+
- PB-25863 Fix emails not sent due to message-id header missing
22+
- PB-27799 As an administrator installing passbolt on PostgreSQL, the database encoding should be set to utf-8
23+
24+
### Maintenance
25+
- PB-25894 Run CI on postgres versions 13 and 15 instead of version 12 only
26+
- PB-25969 As a developer, I can render emails in tests with html special chars
27+
- PB-26107 Upgrade the cakephp/chronos library
28+
- PB-26159 Update singpolyma/openpgp-php to improve compatibility with PHP 8.2
29+
- PB-25247 Add integration tests on the MFA select provider endpoint
30+
31+
## [4.3.0-test.2] - 2023-09-25
32+
### Fixed
33+
- PB-27799 As an administrator installing passbolt on PostgreSQL, the database encoding should be set to utf-8
34+
35+
## [4.3.0-rc.1] - 2023-09-21
36+
### Added
37+
- PB-25405 As an administrator installing passbolt through the web installer, I should be able to configure authentication method for SMTP
38+
- PB-25185 As a signed-in user on the browser extension, I want to export my account to configure the Windows application
39+
- PB-25944 As an administrator I can define the schema on installation with Postgres
40+
- PB-25497 As an administrator I can disable users (experimental)
41+
42+
### Improved
43+
- PB-25999 Performance optimisation of update secret process
44+
- PB-26097 Adds cake.po translation files for all languages supported by CakePHP
45+
46+
### Security
47+
- 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
48+
49+
### Fixed
50+
- PB-25802 As a user I want to see localized date in my emails
51+
- PB-25863 Fix emails not sent due to message-id header missing
52+
53+
### Maintenance
54+
- PB-25894 Run CI on postgres versions 13 and 15 instead of version 12 only
55+
- PB-25969 As a developer, I can render emails in tests with html special chars
56+
- PB-26107 Upgrade the cakephp/chronos library
57+
- PB-26159 Update singpolyma/openpgp-php to improve compatibility with PHP 8.2
58+
- PB-25247 Add integration tests on the MFA select provider endpoint
59+
60+
## [4.3.0-test.1] - 2023-09-15
61+
### Added
62+
- PB-25497 As an administrator I can disable users
63+
- PB-25405 As an administrator installing passbolt through the web installer, I should be able to configure authentication method for SMTP
64+
- 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)
65+
- PB-25944 As an administrator I can define the schema on installation with Postgres
66+
67+
### Improved
68+
- PB-25999 Improve performance of update secret process
69+
- PB-26097 Adds cake.po translation files for all languages supported by CakePHP
70+
71+
### Security
72+
- 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
73+
74+
### Fixed
75+
- PB-25802 As a user I want to see localized date in my emails
76+
- PB-25863 Set message-id header in emails
77+
78+
### Maintenance
79+
- PB-25894 Run CI on postgres versions 13 and 15 instead of version 12 only
80+
- PB-25969 As a developer, I can render emails in tests with html special chars
81+
- PB-26107 Upgrade the cakephp/chronos library
82+
- PB-26159 Update singpolyma/openpgp-php to improve compatibility with PHP 8.2
83+
- PB-25247 Add integration tests on the MFA select endpoint
84+
585
## [4.2.0] - 2023-08-24
686
### Added
787
- PB-24987 As an administrator I can define the password policies from the administration UI

0 commit comments

Comments
 (0)