Skip to content

Commit

Permalink
Merge branch 'test' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickakk committed Nov 6, 2024
2 parents 584866f + 70d4cca commit 245e32a
Show file tree
Hide file tree
Showing 18 changed files with 181 additions and 263 deletions.
15 changes: 14 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Release notes

## Version 2024-10
*Release date: 2024-11-06*

### Changes
- Migrated to CakePHP 4.5.7 and PHP 8.3 #85

### Small changes
- Added ddev config
- Updated Composer to 2.8.1
- Updated dependencies
- Required PHP version 8.3 or later, since version 8.2 active support ends on 2024-12-31


## Version 2024-09/3
*Release date: 2024-10-30*

Expand Down Expand Up @@ -410,4 +423,4 @@ This is a major release which contains a lot of big changes. The complete login
- Change email
- Change password
- Subscribe to mailing list
- Edit profile
- Edit profile
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-09/3
2024-10
2 changes: 1 addition & 1 deletion api/v2
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"type": "project",
"license": "MIT",
"require": {
"php": "^8.2",
"php": "^8.3",
"ext-intl": "*",
"ext-curl": "*",
"cakephp/authentication": "^2.0",
"cakephp/authorization": "^2.0",
"cakephp/cakephp": "^4.4",
"cakephp/cakephp": "^4.5",
"cakephp/migrations": "@stable",
"cakephp/plugin-installer": "^1.3",
"jeremyharris/cakephp-lazyload": "^4.0",
Expand Down
89 changes: 44 additions & 45 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified composer.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
* breathing room to complete logging or error handling.
*/
'Error' => [
'errorLevel' => E_ALL & ~E_USER_DEPRECATED,
'errorLevel' => E_ALL,
'exceptionRenderer' => 'Cake\Error\ExceptionRenderer',
'skipLog' => [],
'log' => true,
Expand Down
2 changes: 1 addition & 1 deletion plugins/DhcrCore
Submodule DhcrCore updated 0 files
7 changes: 2 additions & 5 deletions src/Controller/CitiesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@ public function index()
$breadcrumControllers[1] = 'Cities';
$breadcrumActions[1] = 'index';
$this->set((compact('breadcrumTitles', 'breadcrumControllers', 'breadcrumActions')));
$cities = $this->paginate($this->Cities, [
'contain' => ['Countries'],
'order' => ['id' => 'asc']
]);
$query = $this->Cities->find('all', ['order' => ['Cities.id' => 'ASC']])->contain('Countries');
$this->set('cities', $this->paginate($query));
$this->set(compact('user')); // required for contributors menu
$this->set(compact('cities'));
}

public function add()
Expand Down
Loading

0 comments on commit 245e32a

Please sign in to comment.