Compare commits

..

No commits in common. "main" and "v1.0.2" have entirely different histories.
main ... v1.0.2

15 changed files with 1469 additions and 881 deletions

View file

@ -8,7 +8,7 @@ Dieses Projekt, `ff-webpage-cms`, ist ein Content-Management-System (CMS) basier
Die Administrationsöberfläche ermöglicht die Verwaltung von Seiten und deren Inhalten wie Artikel, Termine, Einsätz oder Fahrzeuge. Seiten können auch über vordefinierte Schemata erstellt werden.
Eine Demo dieser Seite finden Sie unter [https://cms.webpage-demo.ff-admin.de](https://cms.webpage-demo.ff-admin.de).\
Eine Demo dieser Seite finden Sie unter [https://cms.ff-demo.jk-effects.cloud](https://cms.ff-demo.jk-effects.cloud).\
Die Zugangsdaten (Lesebeschränkt) sind: \
EMAIL: ff-demo@jk-effects.cloud\
PASSWORT: FFDemo1234\

1908
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"name": "webpage-cms",
"version": "1.1.0",
"version": "1.0.2",
"private": true,
"description": "A Strapi application",
"scripts": {
@ -12,11 +12,11 @@
},
"dependencies": {
"@offset-dev/strapi-calendar": "^1.0.0",
"@strapi/plugin-color-picker": "5.8.0",
"@strapi/plugin-documentation": "5.8.0",
"@strapi/plugin-graphql": "5.8.0",
"@strapi/plugin-users-permissions": "5.8.0",
"@strapi/strapi": "5.8.0",
"@strapi/plugin-color-picker": "5.6.0",
"@strapi/plugin-documentation": "5.6.0",
"@strapi/plugin-graphql": "5.6.0",
"@strapi/plugin-users-permissions": "5.6.0",
"@strapi/strapi": "5.6.0",
"mysql2": "3.9.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",

View file

@ -35,25 +35,19 @@
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
],
"allowedTypes": ["images"],
"pluginOptions": {}
},
"attachment": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
],
"allowedTypes": ["images"],
"pluginOptions": {}
},
"date": {
"pluginOptions": {},
"type": "date",
"required": true
"type": "date"
}
}
}

View file

@ -18,9 +18,9 @@
"unique": true
},
"collection": {
"type": "enumeration",
"enum": ["events", "vehicles", "articles", "operations"],
"required": true
"type": "string",
"required": true,
"unique": true
},
"image_item": {
"type": "boolean",

View file

@ -35,25 +35,19 @@
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
],
"allowedTypes": ["images"],
"pluginOptions": {}
},
"attachment": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
],
"allowedTypes": ["images"],
"pluginOptions": {}
},
"date": {
"pluginOptions": {},
"type": "datetime",
"required": true
"type": "date"
}
}
}

View file

@ -16,12 +16,9 @@
"type": "media",
"multiple": false,
"required": true,
"allowedTypes": ["images"]
},
"hide_backdrop": {
"type": "boolean",
"default": false,
"required": true
"allowedTypes": [
"images"
]
},
"content": {
"type": "dynamiczone",

View file

@ -35,25 +35,19 @@
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
],
"allowedTypes": ["images"],
"pluginOptions": {}
},
"attachment": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
],
"allowedTypes": ["images"],
"pluginOptions": {}
},
"date": {
"pluginOptions": {},
"type": "datetime",
"required": true
"type": "date"
}
}
}

View file

@ -41,9 +41,7 @@
"dynamic-zone.emphasise-article",
"dynamic-zone.dual-column-text",
"dynamic-zone.column-image-text",
"shared.list",
"dynamic-zone.file-download",
"dynamic-zone.embedding"
"shared.list"
]
}
}

View file

@ -4,8 +4,7 @@
"info": {
"singularName": "vehicle",
"pluralName": "vehicles",
"displayName": "Fahrzeuge",
"description": ""
"displayName": "Fahrzeuge"
},
"options": {
"draftAndPublish": true
@ -35,25 +34,19 @@
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
],
"allowedTypes": ["images"],
"pluginOptions": {}
},
"attachment": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
],
"allowedTypes": ["images"],
"pluginOptions": {}
},
"date": {
"pluginOptions": {},
"type": "datetime",
"required": false
"type": "date"
}
}
}

View file

@ -1,16 +0,0 @@
{
"collectionName": "components_dynamic_zone_embedding",
"info": {
"displayName": "Einbettung"
},
"options": {},
"attributes": {
"title": {
"type": "string",
"required": true
},
"link": {
"type": "string"
}
}
}

View file

@ -1,25 +0,0 @@
{
"collectionName": "components_dynamic_zone_file_download",
"info": {
"displayName": "Datei-Download",
"description": ""
},
"options": {},
"attributes": {
"enable_download": {
"type": "boolean",
"default": true,
"required": true
},
"title": {
"type": "string",
"required": true
},
"file": {
"type": "media",
"multiple": false,
"required": true,
"allowedTypes": ["files", "images"]
}
}
}

View file

@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "2025-01-18T10:42:17.897Z"
"x-generation-date": "2025-01-14T08:03:38.856Z"
},
"x-strapi-config": {
"plugins": [
@ -5182,8 +5182,7 @@
"required": [
"title",
"description",
"slug",
"date"
"slug"
],
"type": "object",
"properties": {
@ -5287,8 +5286,7 @@
"required": [
"title",
"description",
"slug",
"date"
"slug"
],
"properties": {
"id": {
@ -6452,13 +6450,7 @@
"type": "string"
},
"collection": {
"type": "string",
"enum": [
"events",
"vehicles",
"articles",
"operations"
]
"type": "string"
},
"image_item": {
"type": "boolean"
@ -6549,13 +6541,7 @@
"type": "string"
},
"collection": {
"type": "string",
"enum": [
"events",
"vehicles",
"articles",
"operations"
]
"type": "string"
},
"image_item": {
"type": "boolean"
@ -6873,13 +6859,7 @@
"type": "string"
},
"collection": {
"type": "string",
"enum": [
"events",
"vehicles",
"articles",
"operations"
]
"type": "string"
},
"image_item": {
"type": "boolean"
@ -6970,8 +6950,7 @@
"required": [
"title",
"description",
"slug",
"date"
"slug"
],
"type": "object",
"properties": {
@ -7012,7 +6991,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"locale": {
"type": "string"
@ -7075,8 +7054,7 @@
"required": [
"title",
"description",
"slug",
"date"
"slug"
],
"properties": {
"id": {
@ -7827,7 +7805,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"createdAt": {
"type": "string",
@ -8150,7 +8128,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"createdAt": {
"type": "string",
@ -9375,175 +9353,6 @@
}
}
},
"DynamicZoneFileDownloadComponent": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"__component": {
"type": "string",
"enum": [
"dynamic-zone.file-download"
]
},
"enable_download": {
"type": "boolean"
},
"title": {
"type": "string"
},
"file": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"documentId": {
"type": "string"
},
"name": {
"type": "string"
},
"alternativeText": {
"type": "string"
},
"caption": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"formats": {},
"hash": {
"type": "string"
},
"ext": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number",
"format": "float"
},
"url": {
"type": "string"
},
"previewUrl": {
"type": "string"
},
"provider": {
"type": "string"
},
"provider_metadata": {},
"related": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"documentId": {
"type": "string"
}
}
}
},
"folder": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"documentId": {
"type": "string"
}
}
},
"folderPath": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"publishedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"documentId": {
"type": "string"
}
}
},
"updatedBy": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"documentId": {
"type": "string"
}
}
},
"locale": {
"type": "string"
},
"localizations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"documentId": {
"type": "string"
}
}
}
}
}
}
}
},
"DynamicZoneEmbeddingComponent": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"__component": {
"type": "string",
"enum": [
"dynamic-zone.embedding"
]
},
"title": {
"type": "string"
},
"link": {
"type": "string"
}
}
},
"HomepageRequest": {
"type": "object",
"required": [
@ -9552,8 +9361,7 @@
"properties": {
"data": {
"required": [
"backdrop",
"hide_backdrop"
"backdrop"
],
"type": "object",
"properties": {
@ -9568,9 +9376,6 @@
],
"example": "string or id"
},
"hide_backdrop": {
"type": "boolean"
},
"content": {
"type": "array",
"items": {
@ -9670,8 +9475,7 @@
"Homepage": {
"type": "object",
"required": [
"backdrop",
"hide_backdrop"
"backdrop"
],
"properties": {
"id": {
@ -10278,9 +10082,6 @@
}
}
},
"hide_backdrop": {
"type": "boolean"
},
"content": {
"type": "array",
"items": {
@ -10498,9 +10299,6 @@
}
}
},
"hide_backdrop": {
"type": "boolean"
},
"content": {
"type": "array",
"items": {
@ -10618,8 +10416,7 @@
"required": [
"title",
"description",
"slug",
"date"
"slug"
],
"type": "object",
"properties": {
@ -10660,7 +10457,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"locale": {
"type": "string"
@ -10723,8 +10520,7 @@
"required": [
"title",
"description",
"slug",
"date"
"slug"
],
"properties": {
"id": {
@ -11475,7 +11271,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"createdAt": {
"type": "string",
@ -11798,7 +11594,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"createdAt": {
"type": "string",
@ -11913,12 +11709,6 @@
},
{
"$ref": "#/components/schemas/SharedListComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFileDownloadComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneEmbeddingComponent"
}
]
},
@ -11931,9 +11721,7 @@
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
"shared.list": "#/components/schemas/SharedListComponent",
"dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent",
"dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent"
"shared.list": "#/components/schemas/SharedListComponent"
}
}
},
@ -12039,12 +11827,6 @@
},
{
"$ref": "#/components/schemas/SharedListComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFileDownloadComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneEmbeddingComponent"
}
]
},
@ -12057,9 +11839,7 @@
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
"shared.list": "#/components/schemas/SharedListComponent",
"dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent",
"dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent"
"shared.list": "#/components/schemas/SharedListComponent"
}
}
},
@ -12144,12 +11924,6 @@
},
{
"$ref": "#/components/schemas/SharedListComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFileDownloadComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneEmbeddingComponent"
}
]
},
@ -12162,9 +11936,7 @@
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
"shared.list": "#/components/schemas/SharedListComponent",
"dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent",
"dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent"
"shared.list": "#/components/schemas/SharedListComponent"
}
}
},
@ -12286,7 +12058,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"locale": {
"type": "string"
@ -13100,7 +12872,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"createdAt": {
"type": "string",
@ -13423,7 +13195,7 @@
},
"date": {
"type": "string",
"format": "date-time"
"format": "date"
},
"createdAt": {
"type": "string",

View file

@ -26,17 +26,6 @@ export interface DynamicZoneDualColumnText extends Struct.ComponentSchema {
};
}
export interface DynamicZoneEmbedding extends Struct.ComponentSchema {
collectionName: "components_dynamic_zone_embedding";
info: {
displayName: "Einbettung";
};
attributes: {
link: Schema.Attribute.String;
title: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
collectionName: "components_dynamic_zone_emphasise_articles";
info: {
@ -52,19 +41,6 @@ export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
};
}
export interface DynamicZoneFileDownload extends Struct.ComponentSchema {
collectionName: "components_dynamic_zone_file_download";
info: {
description: "";
displayName: "Datei-Download";
};
attributes: {
enable_download: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<true>;
file: Schema.Attribute.Media<"files" | "images"> & Schema.Attribute.Required;
title: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface DynamicZoneFullImage extends Struct.ComponentSchema {
collectionName: "components_dynamic_zone_full_images";
info: {
@ -227,9 +203,7 @@ declare module "@strapi/strapi" {
export interface ComponentSchemas {
"dynamic-zone.column-image-text": DynamicZoneColumnImageText;
"dynamic-zone.dual-column-text": DynamicZoneDualColumnText;
"dynamic-zone.embedding": DynamicZoneEmbedding;
"dynamic-zone.emphasise-article": DynamicZoneEmphasiseArticle;
"dynamic-zone.file-download": DynamicZoneFileDownload;
"dynamic-zone.full-image": DynamicZoneFullImage;
"dynamic-zone.full-text": DynamicZoneFullText;
"dynamic-zone.gallery": DynamicZoneGallery;

View file

@ -344,7 +344,7 @@ export interface ApiArticleArticle extends Struct.CollectionTypeSchema {
content: Schema.Attribute.Blocks;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
date: Schema.Attribute.Date & Schema.Attribute.Required;
date: Schema.Attribute.Date;
description: Schema.Attribute.String & Schema.Attribute.Required;
image: Schema.Attribute.Media<"images">;
locale: Schema.Attribute.String & Schema.Attribute.Private;
@ -369,8 +369,7 @@ export interface ApiCollectionLookupCollectionLookup extends Struct.CollectionTy
draftAndPublish: true;
};
attributes: {
collection: Schema.Attribute.Enumeration<["events", "vehicles", "articles", "operations"]> &
Schema.Attribute.Required;
collection: Schema.Attribute.String & Schema.Attribute.Required & Schema.Attribute.Unique;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
date_list: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
@ -403,7 +402,7 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
content: Schema.Attribute.Blocks;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
date: Schema.Attribute.DateTime & Schema.Attribute.Required;
date: Schema.Attribute.Date;
description: Schema.Attribute.String & Schema.Attribute.Required;
image: Schema.Attribute.Media<"images">;
locale: Schema.Attribute.String & Schema.Attribute.Private;
@ -467,7 +466,6 @@ export interface ApiHomepageHomepage extends Struct.SingleTypeSchema {
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
hide_backdrop: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<"oneToMany", "api::homepage.homepage"> & Schema.Attribute.Private;
publishedAt: Schema.Attribute.DateTime;
@ -492,7 +490,7 @@ export interface ApiOperationOperation extends Struct.CollectionTypeSchema {
content: Schema.Attribute.Blocks;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
date: Schema.Attribute.DateTime & Schema.Attribute.Required;
date: Schema.Attribute.Date;
description: Schema.Attribute.String & Schema.Attribute.Required;
image: Schema.Attribute.Media<"images">;
locale: Schema.Attribute.String & Schema.Attribute.Private;
@ -526,8 +524,6 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema {
"dynamic-zone.dual-column-text",
"dynamic-zone.column-image-text",
"shared.list",
"dynamic-zone.file-download",
"dynamic-zone.embedding",
]
>;
createdAt: Schema.Attribute.DateTime;
@ -546,7 +542,6 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema {
export interface ApiVehicleVehicle extends Struct.CollectionTypeSchema {
collectionName: "vehicles";
info: {
description: "";
displayName: "Fahrzeuge";
pluralName: "vehicles";
singularName: "vehicle";
@ -559,7 +554,7 @@ export interface ApiVehicleVehicle extends Struct.CollectionTypeSchema {
content: Schema.Attribute.Blocks;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
date: Schema.Attribute.DateTime;
date: Schema.Attribute.Date;
description: Schema.Attribute.String & Schema.Attribute.Required;
image: Schema.Attribute.Media<"images">;
locale: Schema.Attribute.String & Schema.Attribute.Private;