Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • adaures/castopod
  • mkljczk/castopod-host
  • spaetz/castopod-host
  • PatrykMis/castopod
  • jonas/castopod
  • ajeremias/castopod
  • misuzu/castopod
  • KrzysztofDomanczyk/castopod
  • Behel/castopod
  • nebulon/castopod
  • ewen/castopod
  • NeoluxConsulting/castopod
  • nateritter/castopod-og
  • prcutler/castopod
14 results
Show changes
Commits on Source (218)
Showing with 694 additions and 166 deletions
...@@ -3,19 +3,15 @@ ...@@ -3,19 +3,15 @@
"projectOwner": "adaures", "projectOwner": "adaures",
"repoType": "gitlab", "repoType": "gitlab",
"repoHost": "https://code.castopod.org", "repoHost": "https://code.castopod.org",
"files": [ "files": ["README.md"],
"README.md",
"docs/src/index.md"
],
"imageSize": 100, "imageSize": 100,
"commit": false, "commit": false,
"contributorsPerLine": 7,
"contributors": [ "contributors": [
{ {
"login": "yassinedoghri", "login": "yassinedoghri",
"name": "Yassine Doghri", "name": "Yassine Doghri",
"avatar_url": "https://code.castopod.org/uploads/-/system/user/avatar/3/avatar.png", "avatar_url": "https://avatars.githubusercontent.com/u/11021441?v=4",
"profile": "https://github.com/yassinedoghri", "profile": "https://yassinedoghri.com",
"contributions": [ "contributions": [
"code", "code",
"bug", "bug",
...@@ -100,24 +96,14 @@ ...@@ -100,24 +96,14 @@
"name": "Lyonel Bernard", "name": "Lyonel Bernard",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://twitter.com/lyonelbernard", "profile": "https://twitter.com/lyonelbernard",
"contributions": [ "contributions": ["bug", "question", "audio", "ideas"]
"bug",
"question",
"audio",
"ideas"
]
}, },
{ {
"login": "ctlw83", "login": "ctlw83",
"name": "Christopher Lagonick-Weitzel", "name": "Christopher Lagonick-Weitzel",
"avatar_url": "https://secure.gravatar.com/avatar/7c2a721b52d0763673a600e8f01bd745?s=80&d=identicon", "avatar_url": "https://secure.gravatar.com/avatar/7c2a721b52d0763673a600e8f01bd745?s=80&d=identicon",
"profile": "https://www.crypticchameleon.com/", "profile": "https://www.crypticchameleon.com/",
"contributions": [ "contributions": ["bug", "question", "audio", "ideas"]
"bug",
"question",
"audio",
"ideas"
]
}, },
{ {
"login": "ernestoacostame", "login": "ernestoacostame",
...@@ -135,24 +121,33 @@ ...@@ -135,24 +121,33 @@
"ideas" "ideas"
] ]
}, },
{
"login": "3wen",
"name": "Ewen",
"avatar_url": "https://mastodon.fedi.bzh/system/accounts/avatars/000/000/002/original/6f387690a504ae46.jpg",
"profile": "https://mastodon.fedi.bzh/@ewen",
"contributions": [
{
"type": "translation",
"url": "https://translate.castopod.org"
},
"ideas",
"code"
]
},
{ {
"login": "Behel", "login": "Behel",
"name": "Bastien Luneteau", "name": "Bastien Luneteau",
"avatar_url": "https://secure.gravatar.com/avatar/ad63ee8ef8e3db8253d21e5012d2724f?s=80&d=identicon", "avatar_url": "https://secure.gravatar.com/avatar/ad63ee8ef8e3db8253d21e5012d2724f?s=80&d=identicon",
"profile": "https://code.castopod.org/Behel", "profile": "https://code.castopod.org/Behel",
"contributions": [ "contributions": ["code", "bug"]
"code",
"bug"
]
}, },
{ {
"login": "cecillie", "login": "cecillie",
"name": "Cécile Ricordeau", "name": "Cécile Ricordeau",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://www.cecillie.fr/", "profile": "https://www.cecillie.fr/",
"contributions": [ "contributions": ["design"]
"design"
]
}, },
{ {
"login": "PatrykMis", "login": "PatrykMis",
...@@ -171,48 +166,35 @@ ...@@ -171,48 +166,35 @@
"name": "Marcin Lewandowski", "name": "Marcin Lewandowski",
"avatar_url": "https://secure.gravatar.com/avatar/eed8337939641eac5ad0b570bd6acf96?s=80&d=identicon", "avatar_url": "https://secure.gravatar.com/avatar/eed8337939641eac5ad0b570bd6acf96?s=80&d=identicon",
"profile": "https://code.castopod.org/mspanc", "profile": "https://code.castopod.org/mspanc",
"contributions": [ "contributions": ["bug", "ideas"]
"bug",
"ideas"
]
}, },
{ {
"login": "SJanik", "login": "SJanik",
"name": "Sebastian Janik", "name": "Sebastian Janik",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://code.castopod.org/SJanik", "profile": "https://code.castopod.org/SJanik",
"contributions": [ "contributions": ["code"]
"code"
]
}, },
{ {
"login": "patryk", "login": "patryk",
"name": "Patryk Karczmarczyk", "name": "Patryk Karczmarczyk",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://code.castopod.org/patryk", "profile": "https://code.castopod.org/patryk",
"contributions": [ "contributions": ["code"]
"code"
]
}, },
{ {
"login": "ddenis", "login": "ddenis",
"name": "denis d", "name": "denis d",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://code.castopod.org/ddenis", "profile": "https://code.castopod.org/ddenis",
"contributions": [ "contributions": ["bug", "ideas"]
"bug",
"ideas"
]
}, },
{ {
"login": "douglaskastle", "login": "douglaskastle",
"name": "Douglas Kastle", "name": "Douglas Kastle",
"avatar_url": "https://secure.gravatar.com/avatar/b7e652ba4b6bcd440afa069e7f7bc9e6?s=80&d=identicon", "avatar_url": "https://secure.gravatar.com/avatar/b7e652ba4b6bcd440afa069e7f7bc9e6?s=80&d=identicon",
"profile": "https://code.castopod.org/douglaskastle", "profile": "https://code.castopod.org/douglaskastle",
"contributions": [ "contributions": ["bug", "ideas"]
"bug",
"ideas"
]
}, },
{ {
"login": "cExplorer", "login": "cExplorer",
...@@ -232,66 +214,49 @@ ...@@ -232,66 +214,49 @@
"name": "ImaCrea", "name": "ImaCrea",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://code.castopod.org/imacrea", "profile": "https://code.castopod.org/imacrea",
"contributions": [ "contributions": ["bug", "ideas"]
"bug",
"ideas"
]
}, },
{ {
"login": "jonas", "login": "jonas",
"name": "Jonas S", "name": "Jonas S",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://code.castopod.org/jonas", "profile": "https://code.castopod.org/jonas",
"contributions": [ "contributions": ["code"]
"code"
]
}, },
{ {
"login": "yannL", "login": "yannL",
"name": "LEFEBVRE Yann", "name": "LEFEBVRE Yann",
"avatar_url": "https://secure.gravatar.com/avatar/9c46600ce566ec6d526370d8e104b1c8?s=80&d=identicon", "avatar_url": "https://secure.gravatar.com/avatar/9c46600ce566ec6d526370d8e104b1c8?s=80&d=identicon",
"profile": "https://code.castopod.org/yannL", "profile": "https://code.castopod.org/yannL",
"contributions": [ "contributions": ["bug"]
"bug"
]
}, },
{ {
"login": "spaetz", "login": "spaetz",
"name": "Sebastian Späth", "name": "Sebastian Späth",
"avatar_url": "https://secure.gravatar.com/avatar/278e1af65e82993efd0ba7bbbacf6435?s=80&d=identicon", "avatar_url": "https://secure.gravatar.com/avatar/278e1af65e82993efd0ba7bbbacf6435?s=80&d=identicon",
"profile": "https://code.castopod.org/spaetz", "profile": "https://code.castopod.org/spaetz",
"contributions": [ "contributions": ["bug", "ideas"]
"bug",
"ideas"
]
}, },
{ {
"login": "rocky", "login": "rocky",
"name": "rocky III", "name": "rocky III",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://code.castopod.org/rocky", "profile": "https://code.castopod.org/rocky",
"contributions": [ "contributions": ["bug"]
"bug"
]
}, },
{ {
"login": "Regenpfeifer", "login": "Regenpfeifer",
"name": "Hermann Josef Eckl", "name": "Hermann Josef Eckl",
"avatar_url": "https://code.castopod.org/uploads/-/system/user/avatar/103/avatar.png", "avatar_url": "https://code.castopod.org/uploads/-/system/user/avatar/103/avatar.png",
"profile": "https://code.castopod.org/Regenpfeifer", "profile": "https://code.castopod.org/Regenpfeifer",
"contributions": [ "contributions": ["bug"]
"bug"
]
}, },
{ {
"login": "cyrilledel", "login": "cyrilledel",
"name": "Delhaye Cyrille", "name": "Delhaye Cyrille",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://code.castopod.org/cyrilledel", "profile": "https://code.castopod.org/cyrilledel",
"contributions": [ "contributions": ["bug", "ideas"]
"bug",
"ideas"
]
}, },
{ {
"login": "otetranome", "login": "otetranome",
...@@ -330,19 +295,6 @@ ...@@ -330,19 +295,6 @@
} }
] ]
}, },
{
"login": "3wen",
"name": "Ewen",
"avatar_url": "https://mastodon.fedi.bzh/system/accounts/avatars/000/000/002/original/6f387690a504ae46.jpg",
"profile": "https://mastodon.fedi.bzh/@ewen",
"contributions": [
{
"type": "translation",
"url": "https://translate.castopod.org"
},
"ideas"
]
},
{ {
"login": "forght", "login": "forght",
"name": "forght", "name": "forght",
...@@ -492,9 +444,7 @@ ...@@ -492,9 +444,7 @@
"name": "Dimitri Regnier", "name": "Dimitri Regnier",
"avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg", "avatar_url": "https://castopod.org/assets/images/castopod-avatar.jpg",
"profile": "https://dimitriregnier.net/", "profile": "https://dimitriregnier.net/",
"contributions": [ "contributions": ["ideas"]
"ideas"
]
}, },
{ {
"login": "irithys", "login": "irithys",
...@@ -520,18 +470,6 @@ ...@@ -520,18 +470,6 @@
} }
] ]
}, },
{
"login": "ghose",
"name": "ghose (XoseM)",
"avatar_url": "https://crowdin-static.downloads.crowdin.com/avatar/12617257/large/a201650da44fed28890b0e0d8477a663.jpg",
"profile": "https://crowdin.com/profile/xosem",
"contributions": [
{
"type": "translation",
"url": "https://translate.castopod.org"
}
]
},
{ {
"login": "basen1982", "login": "basen1982",
"name": "Andreas Olsson", "name": "Andreas Olsson",
...@@ -593,7 +531,7 @@ ...@@ -593,7 +531,7 @@
] ]
}, },
{ {
"login": "ahmed.sabouni11", "login": "ahmedsabouni",
"name": "Ahmed Sabouni", "name": "Ahmed Sabouni",
"avatar_url": "https://avatars.githubusercontent.com/u/74497842?v=4", "avatar_url": "https://avatars.githubusercontent.com/u/74497842?v=4",
"profile": "https://github.com/ahmedsabouni", "profile": "https://github.com/ahmedsabouni",
...@@ -609,9 +547,28 @@ ...@@ -609,9 +547,28 @@
"name": "KrzysztofDomanczyk", "name": "KrzysztofDomanczyk",
"avatar_url": "https://avatars.githubusercontent.com/u/75178474?v=4", "avatar_url": "https://avatars.githubusercontent.com/u/75178474?v=4",
"profile": "https://github.com/KrzysztofDomanczyk", "profile": "https://github.com/KrzysztofDomanczyk",
"contributions": [ "contributions": ["code"]
"code" },
] {
"login": "Dwev",
"name": "Guy Martin",
"avatar_url": "https://avatars.githubusercontent.com/u/46626050?v=4",
"profile": "https://github.com/Dwev",
"contributions": ["bug", "code"]
},
{
"login": "prcutler",
"name": "Paul Cutler",
"avatar_url": "https://avatars.githubusercontent.com/u/67276?v=4",
"profile": "https://github.com/prcutler",
"contributions": ["doc", "question", "ideas"]
},
{
"login": "nateritter",
"name": "Nate Ritter",
"avatar_url": "https://avatars.githubusercontent.com/u/198798?v=4",
"profile": "https://github.com/nateritter",
"contributions": ["code"]
} }
], ],
"commitConvention": "none" "commitConvention": "none"
......
...@@ -4,18 +4,15 @@ ...@@ -4,18 +4,15 @@
# ⚠️ NOT optimized for production # ⚠️ NOT optimized for production
# should be used only for development purposes # should be used only for development purposes
#--------------------------------------------------- #---------------------------------------------------
FROM php:8.1-fpm FROM php:8.4-fpm
LABEL maintainer="Yassine Doghri <yassine@doghri.fr>" LABEL maintainer="Yassine Doghri <yassine@doghri.fr>"
COPY . /castopod
WORKDIR /castopod
# Install composer # Install composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
# Install server requirements # Install server requirements
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get update \ && apt-get update \
&& apt-get install --yes --no-install-recommends nodejs \ && apt-get install --yes --no-install-recommends nodejs \
# gnupg to sign commits with gpg # gnupg to sign commits with gpg
...@@ -50,11 +47,4 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \ ...@@ -50,11 +47,4 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& docker-php-ext-enable redis \ && docker-php-ext-enable redis \
# mysqli for database access # mysqli for database access
&& docker-php-ext-install mysqli \ && docker-php-ext-install mysqli \
&& docker-php-ext-enable mysqli \ && docker-php-ext-enable mysqli
# configure php
&& echo "file_uploads = On\n" \
"memory_limit = 512M\n" \
"upload_max_filesize = 500M\n" \
"post_max_size = 512M\n" \
"max_execution_time = 300\n" \
> /usr/local/etc/php/conf.d/uploads.ini
* * * * * /usr/local/bin/php /workspaces/castopod/spark tasks:run >> /dev/null 2>&1
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: // For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/docker-existing-dockerfile // https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/docker-existing-dockerfile
{ {
"name": "Castopod dev", "name": "castopod.local",
"dockerComposeFile": ["../docker-compose.yml", "./docker-compose.yml"], "dockerComposeFile": ["./docker-compose.yml"],
"service": "app", "service": "app",
"workspaceFolder": "/castopod", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"postCreateCommand": "composer install && pnpm install && pnpm run build:static", "postCreateCommand": "composer install && pnpm install && pnpm run build:static && php spark migrate --all && php spark db:seed DevSeeder",
"postStartCommand": "crontab ./crontab && cron && php spark serve --host 0.0.0.0", "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && crontab .devcontainer/crontab && cron && php spark serve --host 0.0.0.0",
"postAttachCommand": "crontab ./crontab && service cron reload", "postAttachCommand": "crontab .devcontainer/crontab && service cron reload",
"shutdownAction": "stopCompose", "shutdownAction": "stopCompose",
"features": { "features": {
"ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/git:1": {},
...@@ -30,9 +30,20 @@ ...@@ -30,9 +30,20 @@
"spark": "php", "spark": "php",
"env": "dotenv", "env": "dotenv",
".rsync-filter": "diff" ".rsync-filter": "diff"
} },
"json.schemas": [
{
"fileMatch": [
"plugins/**/manifest.json",
"tests/modules/Plugins/mocks/manifests/*.json",
"tests/modules/Plugins/mocks/plugins/**/manifest.json"
],
"url": "/workspaces/castopod/modules/Plugins/Manifest/manifest.schema.json"
}
]
}, },
"extensions": [ "extensions": [
"astro-build.astro-vscode",
"bmewburn.vscode-intelephense-client", "bmewburn.vscode-intelephense-client",
"bradlc.vscode-tailwindcss", "bradlc.vscode-tailwindcss",
"breezelin.phpstan", "breezelin.phpstan",
...@@ -49,8 +60,10 @@ ...@@ -49,8 +60,10 @@
"runem.lit-plugin", "runem.lit-plugin",
"streetsidesoftware.code-spell-checker", "streetsidesoftware.code-spell-checker",
"stylelint.vscode-stylelint", "stylelint.vscode-stylelint",
"unifiedjs.vscode-mdx",
"wayou.vscode-todo-highlight", "wayou.vscode-todo-highlight",
"yzhang.markdown-all-in-one" "yzhang.markdown-all-in-one",
"42Crunch.vscode-openapi"
] ]
} }
} }
......
version: "3" version: "3"
services: services:
app: app:
build:
context: .
dockerfile: Dockerfile
ports:
- 8080:8080
volumes:
- ../..:/workspaces:cached
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
environment:
CI_ENVIRONMENT: development
vite_environment: development
app_forceGlobalSecureRequests: 0 #false
app_baseURL: http://localhost:8080/
media_baseURL: http://localhost:8080/
admin_gateway: cp-admin
auth_gateway: cp-auth
analytics_salt: dev_analytics_salt
database_default_hostname: mariadb
database_default_database: castopod
database_default_username: castopod
database_default_password: castopod
database_default_DBPrefix: cp_
restapi_enabled: 1 #true
email_fromEmail: hello@castopod.local
email_SMTPCrypto: ""
email_SMTPHost: mailpit
email_SMTPUser: castopod
email_SMTPPass: castopod
email_SMTPPort: 1025
depends_on:
- redis
- mariadb
redis:
image: redis:alpine
volumes:
- redis:/data
mariadb:
image: mariadb:10.2
volumes:
- ./initdb:/docker-entrypoint-initdb.d
- mariadb:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: castopod
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
environment:
PMA_HOST: mariadb
PMA_PORT: 3306
UPLOAD_LIMIT: 300M
ports:
- 8888:80
volumes:
- phpmyadmin:/sessions
depends_on:
- mariadb
mailpit:
image: axllent/mailpit
restart: always
volumes: volumes:
# Mounts the project folder to '/workspace'. While this file is in .devcontainer, - mailpit:/data
# mounts are relative to the first file in the list, which is a level up. ports:
- .:/castopod:cached - 8025:8025
- 1025:1025
environment:
MP_MAX_MESSAGES: 5000
MP_DATA_FILE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
# Overrides default command so things don't shut down after the process ends. volumes:
command: /bin/sh -c "while sleep 1000; do :; done" redis:
mariadb:
phpmyadmin:
mailpit:
File moved
file_uploads = On
memory_limit = 512M
upload_max_filesize = 500M
post_max_size = 512M
max_execution_time = 300
{
"env": {
"browser": true,
"es2020": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {}
}
...@@ -67,6 +67,7 @@ writable/uploads/* ...@@ -67,6 +67,7 @@ writable/uploads/*
!writable/uploads/index.html !writable/uploads/index.html
writable/debugbar/* writable/debugbar/*
!writable/debugbar/.gitkeep
php_errors.log php_errors.log
...@@ -127,11 +128,11 @@ nb-configuration.xml ...@@ -127,11 +128,11 @@ nb-configuration.xml
# Visual Studio Code # Visual Studio Code
.vscode/ .vscode/
.history/
tmp/ tmp/
/results/ /results/
/phpunit*.xml /phpunit*.xml
/.phpunit.*.cache
# js package manager # js package manager
yarn.lock yarn.lock
...@@ -187,3 +188,7 @@ data ...@@ -187,3 +188,7 @@ data
castopod/ castopod/
castopod-*.zip castopod-*.zip
castopod-*.tar.gz castopod-*.tar.gz
# Plugins
plugins/*
!plugins/.gitkeep
image: code.castopod.org:5050/adaures/castopod:ci image: code.castopod.org:5050/adaures/castopod:ci-php8.4
stages: stages:
- prepare - prepare
...@@ -53,6 +53,7 @@ lint-commit-msg: ...@@ -53,6 +53,7 @@ lint-commit-msg:
- main - main
- beta - beta
- alpha - alpha
- next
lint-php: lint-php:
stage: quality stage: quality
...@@ -69,7 +70,7 @@ lint-php: ...@@ -69,7 +70,7 @@ lint-php:
lint-js: lint-js:
stage: quality stage: quality
script: script:
- pnpm run prettier - pnpm run format
- pnpm run typecheck - pnpm run typecheck
- pnpm run lint - pnpm run lint
- pnpm run lint:css - pnpm run lint:css
...@@ -79,14 +80,14 @@ lint-js: ...@@ -79,14 +80,14 @@ lint-js:
tests: tests:
stage: quality stage: quality
services: services:
- mariadb - mariadb:10.11
variables: variables:
MYSQL_ROOT_PASSWORD: "R00Tp4ssW0RD" MYSQL_ROOT_PASSWORD: "R00Tp4ssW0RD"
MYSQL_DATABASE: "test" MYSQL_DATABASE: "test"
MYSQL_USER: "castopod" MYSQL_USER: "castopod"
MYSQL_PASSWORD: "castopod" MYSQL_PASSWORD: "castopod"
script: script:
- echo "SHOW DATABASES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mariadb "$MYSQL_DATABASE" - echo "SHOW DATABASES;" | mariadb --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mariadb "$MYSQL_DATABASE" --skip_ssl
# run phpunit without code coverage # run phpunit without code coverage
# TODO: add code coverage # TODO: add code coverage
...@@ -120,6 +121,7 @@ bundle: ...@@ -120,6 +121,7 @@ bundle:
- main - main
- beta - beta
- alpha - alpha
- next
release: release:
stage: release stage: release
...@@ -148,6 +150,7 @@ release: ...@@ -148,6 +150,7 @@ release:
- main - main
- beta - beta
- alpha - alpha
- next
website: website:
stage: deploy stage: deploy
...@@ -162,9 +165,6 @@ documentation: ...@@ -162,9 +165,6 @@ documentation:
trigger: trigger:
include: docs/.gitlab-ci.yml include: docs/.gitlab-ci.yml
strategy: depend strategy: depend
only:
changes:
- docs/**/*
docker: docker:
stage: build stage: build
...@@ -179,5 +179,6 @@ docker: ...@@ -179,5 +179,6 @@ docker:
- main - main
- beta - beta
- alpha - alpha
- next
variables: variables:
- $CI_PROJECT_NAMESPACE == "adaures" - $CI_PROJECT_NAMESPACE == "adaures"
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpm exec commitlint --verbose --edit "$1" pnpm exec commitlint --verbose --edit "$1"
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# CaptainHook 5.10.0 # CaptainHook 5.10.0
INTERACTIVE="--no-interaction" INTERACTIVE="--no-interaction"
......
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# CaptainHook 5.10.0 # CaptainHook 5.10.0
INTERACTIVE="--no-interaction" INTERACTIVE="--no-interaction"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"trailingComma": "es5", "trailingComma": "es5",
"overrides": [ "overrides": [
{ {
"files": "*.md", "files": ["*.md", "*.mdx"],
"options": { "options": {
"proseWrap": "always" "proseWrap": "always"
} }
......
...@@ -8,11 +8,74 @@ ...@@ -8,11 +8,74 @@
{ {
"name": "beta", "name": "beta",
"prerelease": true "prerelease": true
},
{
"name": "next",
"prerelease": true
} }
], ],
"plugins": [ "plugins": [
"@semantic-release/commit-analyzer", [
"@semantic-release/release-notes-generator", "@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "docs",
"scope": "README",
"release": "patch"
},
{
"type": "refactor",
"scope": "core-*",
"release": "minor"
},
{
"type": "refactor",
"release": "patch"
}
],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
},
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Internal",
"hidden": false
},
{
"type": "refactor",
"section": "Internal",
"hidden": false
},
{
"type": "perf",
"section": "Internal",
"hidden": false
}
]
}
}
],
"@semantic-release/changelog", "@semantic-release/changelog",
[ [
"@semantic-release/exec", "@semantic-release/exec",
......
# rsync filter rules to copy required files for Castopod's bundle # rsync filter rules to copy required files for Castopod's bundle
- app/Resources/ + resources/icons/***
- resources/**
+ app/*** + app/***
+ modules/*** + modules/***
+ plugins/***
+ public/*** + public/***
+ themes/*** + themes/***
+ vendor/*** + vendor/***
...@@ -11,4 +13,5 @@ ...@@ -11,4 +13,5 @@
+ LICENSE.md + LICENSE.md
+ README.md + README.md
+ spark + spark
+ php-icons.php
- ** - **
...@@ -10,10 +10,17 @@ ...@@ -10,10 +10,17 @@
"responsive", "responsive",
"variants", "variants",
"screen", "screen",
"layer" "layer",
"config"
] ]
} }
], ],
"at-rule-no-deprecated": [
true,
{
"ignoreAtRules": ["apply"]
}
],
"function-no-unknown": [ "function-no-unknown": [
true, true,
{ {
......
File moved
File moved
This diff is collapsed.