Skip to content

Commit

Permalink
feat: Version 0.14.0 (#179)
Browse files Browse the repository at this point in the history
* fix: add nullable (#163)

* feat: set null for searchitem (#166)

* fix: fallback to null for SearchItem

* style: formatting

* fix: only add column when it doesn't exist (#167)

* fix: only add column when it doesn't exist

* style: formatting

* fix: redirect after cms user save succes (#171)

* fix: autoload policies (#172)

* fix: autoload policies

* chore: remove autoloading policy from service provider

* chore: update intervention/image requirement from ^2.7 to ^3.0 (#173)

Updates the requirements on [intervention/image](https://github.com/Intervention/image) to permit the latest version.
- [Commits](Intervention/image@2.7.0...3.0.1)

---
updated-dependencies:
- dependency-name: intervention/image
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: René <rene@64k.nl>

* feat: model select (#104)

* feat: select model

* feat: display now working + modelselector

* fix: display id

* fix: possible null reference removed

* feat: minor changes

* feat: small fixes

* feat: return key value pair from model

* feat: export cms (#169)

* feat: import export

* feat: use file instead of database

* feat: move import/export to model

* fix: export from tableitem

* feat: move export to Trait

* style: formatting

* style: formatting

* fix: never use file as source of truth

* style: formatting

* chore: cleanup

* fix: use export to file

* feat: comment things that no longer work

* feat: add  meta data

* feat: list filenames

* feat: cleaner export

* feat: remove UI for import/export

* style: formatting

* feat: add import command

* feat: import from files

* feat: remove import UI

* feat: prevent editing tables with changes on disk

* feat: do not use id's in export for tables

* feat: optionally export ids

* feat: import ids when available

---------

Co-authored-by: Rene <rene@64k.nl>

* fix: image resize (work in progress) (#174)

* fix: image resize (work in progress)

* style: formatting

* fix: scaleDown

* fix: rename rights col in cms config table (#177)

* fix: rename rights col in cms config table

* style: formatting

---------

Co-authored-by: Thessa Kockelkorn <thessa@notfound.nl>

* feat!: Childtable structure (#175)

* feat!: fetch childtable values as array

* fix: fetch all rows

* fix: pretend to be a contentblock anyway

* fix: create table error (#178)

* feat: decrease architecture requirement for insights (#183)

* fix: CMS users cannot be created as sub is not default null (#182)

* fix: CMS users cannot be created as sub is not default null

* fix: move to new migration

* fix: rename migration to proper php

* fix: do not crash on routing error (#181)

* style: formatting

* feat: add release-it package

* fix: do not automatically create github release

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: M.A. Peene <maarten@notfound.nl>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xander Schuurman <44030544+keeama13@users.noreply.github.com>
Co-authored-by: thessakockelkorn <70509512+thessakockelkorn@users.noreply.github.com>
Co-authored-by: Thessa Kockelkorn <thessa@notfound.nl>
  • Loading branch information
6 people committed Jan 11, 2024
1 parent 91ea990 commit de1c6b5
Show file tree
Hide file tree
Showing 24 changed files with 6,934 additions and 1,795 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"mcamara/laravel-localization": "^1.8",
"xenolope/quahog": "^3.0",
"firebase/php-jwt": "^6.3",
"intervention/image": "^2.7",
"intervention/image": "^3.0",
"php": "^8.1",
"doctrine/dbal": "^3.6"
},
Expand Down
11 changes: 11 additions & 0 deletions config/siteboss.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,15 @@

'frontend_api_prefix' => env('SB_FRONTEND_API_PREFIX', 'api'),

/*
|--------------------------------------------------------------------------
| CMS importer
|--------------------------------------------------------------------------
|
| Do you want to retain the database id's for tables and table items.
|
*/

'export_retain_ids' => env('SB_EXPORT_RETAIN_IDS', false),

];
28 changes: 28 additions & 0 deletions database/migrations/2024_01_02_142937_update_cms_config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
Schema::table('cms_config', function (Blueprint $table) {
$table->renameColumn('rights', 'editable');
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('cms_config', function (Blueprint $table) {
$table->renameColumn('editable', 'rights');
});
}
};
31 changes: 31 additions & 0 deletions database/migrations/2024_01_10_122234_update_cms_user_table.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('cms_user', function (Blueprint $table) {
$table->string('sub')->nullable()->unique()->change();
$table->timestamps();
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
};
Loading

0 comments on commit de1c6b5

Please sign in to comment.