From 21fc8efb865f3d464d5d12dfc355f450fdfa4136 Mon Sep 17 00:00:00 2001 From: Alejandro Akbal <37181533+AlejandroAkbal@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:13:37 +0100 Subject: [PATCH 001/105] feat: add Mixpost template --- public/svgs/mixpost.svg | 5 ++++ templates/compose/mixpost.yaml | 54 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 public/svgs/mixpost.svg create mode 100644 templates/compose/mixpost.yaml diff --git a/public/svgs/mixpost.svg b/public/svgs/mixpost.svg new file mode 100644 index 000000000..bd915e77a --- /dev/null +++ b/public/svgs/mixpost.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/compose/mixpost.yaml b/templates/compose/mixpost.yaml new file mode 100644 index 000000000..7dffd55c6 --- /dev/null +++ b/templates/compose/mixpost.yaml @@ -0,0 +1,54 @@ +# documentation: https://docs.mixpost.app/lite +# slogan: Mixpost is a robust and versatile social media management software, designed to streamline social media operations and enhance content marketing strategies. +# tags: social media, marketing, content, management, automation, self-hosted +# logo: svgs/mixpost.svg +# port: 80 + +services: + mixpost: + image: 'inovector/mixpost:latest' + environment: + - SERVICE_FQDN_MIXPOST + - APP_NAME=Mixpost + - 'APP_KEY=${SERVICE_BASE64_MIXPOST}' + - APP_DEBUG=false + - 'APP_URL=${SERVICE_FQDN_MIXPOST}' + - 'DB_DATABASE=${MYSQL_DATABASE:-mixpost_db}' + - 'DB_USERNAME=${SERVICE_USERNAME_MYSQL}' + - 'DB_PASSWORD=${SERVICE_PASSWORD_MYSQL}' + volumes: + - 'mixpost-storage:/var/www/html/storage/app' + - 'mixpost-logs:/var/www/html/storage/logs' + depends_on: + - mysql + - redis + mysql: + image: 'mysql/mysql-server:8.0' + environment: + - 'MYSQL_DATABASE=${MYSQL_DATABASE:-mixpost_db}' + - 'MYSQL_USER=${SERVICE_USERNAME_MYSQL}' + - 'MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL}' + - 'MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQLROOT}' + volumes: + - 'mixpost-mysql:/var/lib/mysql' + healthcheck: + test: + - CMD + - mysqladmin + - ping + - '-h' + - 127.0.0.1 + - '-uroot' + - '-p${SERVICE_PASSWORD_MYSQLROOT}' + interval: 5s + timeout: 20s + retries: 10 + redis: + image: 'redis:alpine' + healthcheck: + test: + - CMD + - redis-cli + - '--raw' + - incr + - ping From 1138ec0dea197f980aa4266b9894b6202f84e9ba Mon Sep 17 00:00:00 2001 From: Luan Estradioto Date: Sun, 21 Jul 2024 13:30:28 -0300 Subject: [PATCH 002/105] add storage:link to dev environment --- app/Console/Commands/Dev.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Console/Commands/Dev.php b/app/Console/Commands/Dev.php index 964b8e46e..20a2667c3 100644 --- a/app/Console/Commands/Dev.php +++ b/app/Console/Commands/Dev.php @@ -48,6 +48,13 @@ class Dev extends Command echo "Generating APP_KEY.\n"; Artisan::call('key:generate'); } + + // Generate STORAGE link if not exists + if (! file_exists(public_path('storage'))) { + echo "Generating STORAGE link.\n"; + Artisan::call('storage:link'); + } + // Seed database if it's empty $settings = InstanceSettings::find(0); if (! $settings) { From 7e154ba3c38926e607e6d28f09fa09d4d72b8a79 Mon Sep 17 00:00:00 2001 From: Franck Kerbiriou Date: Thu, 22 Aug 2024 22:52:20 +0200 Subject: [PATCH 003/105] Add Mailpit template --- public/svgs/mailpit.svg | 5 +++++ templates/compose/mailpit.yaml | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 public/svgs/mailpit.svg create mode 100644 templates/compose/mailpit.yaml diff --git a/public/svgs/mailpit.svg b/public/svgs/mailpit.svg new file mode 100644 index 000000000..e569e71cc --- /dev/null +++ b/public/svgs/mailpit.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/compose/mailpit.yaml b/templates/compose/mailpit.yaml new file mode 100644 index 000000000..46072fb21 --- /dev/null +++ b/templates/compose/mailpit.yaml @@ -0,0 +1,20 @@ +# documentation: https://mailpit.axllent.org/docs/ +# slogan: Email & SMTP testing tool with API for developers +# tags: mailpit,email,testing,smtp +# logo: svgs/mailpit.png +# port: 8025 + +services: + mailpit: + image: axllent/mailpit + container_name: mailpit + volumes: + - "mailpit-data:/data" + ports: + - "1025:1025" + environment: + - SERVICE_FQDN_MAILPIT_8025 + - MP_MAX_MESSAGES: 5000 + - MP_DATABASE: /data/mailpit.db + - MP_SMTP_AUTH_ACCEPT_ANY: 1 + - MP_SMTP_AUTH_ALLOW_INSECURE: 1 From baa236f9343730fddad42f805c26a0059c216b29 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Wed, 11 Sep 2024 16:46:14 +0200 Subject: [PATCH 004/105] Feat: Add debug bar --- composer.json | 3 +- composer.lock | 154 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 155 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 7ca65babe..09e7f08e8 100644 --- a/composer.json +++ b/composer.json @@ -48,6 +48,7 @@ "zircote/swagger-php": "^4.10" }, "require-dev": { + "barryvdh/laravel-debugbar": "^3.13", "fakerphp/faker": "^v1.21.0", "laravel/dusk": "^v8.0", "laravel/pint": "^1.16", @@ -110,4 +111,4 @@ }, "minimum-stability": "stable", "prefer-stable": true -} \ No newline at end of file +} diff --git a/composer.lock b/composer.lock index 4deaa42de..c3f521de0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "96f8146407d0e6e897ff097c5eccd3a4", + "content-hash": "42c28ab141b70fcabf75b51afa96c670", "packages": [ { "name": "amphp/amp", @@ -11895,6 +11895,90 @@ } ], "packages-dev": [ + { + "name": "barryvdh/laravel-debugbar", + "version": "v3.13.5", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-debugbar.git", + "reference": "92d86be45ee54edff735e46856f64f14b6a8bb07" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/92d86be45ee54edff735e46856f64f14b6a8bb07", + "reference": "92d86be45ee54edff735e46856f64f14b6a8bb07", + "shasum": "" + }, + "require": { + "illuminate/routing": "^9|^10|^11", + "illuminate/session": "^9|^10|^11", + "illuminate/support": "^9|^10|^11", + "maximebf/debugbar": "~1.22.0", + "php": "^8.0", + "symfony/finder": "^6|^7" + }, + "require-dev": { + "mockery/mockery": "^1.3.3", + "orchestra/testbench-dusk": "^5|^6|^7|^8|^9", + "phpunit/phpunit": "^9.6|^10.5", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.13-dev" + }, + "laravel": { + "providers": [ + "Barryvdh\\Debugbar\\ServiceProvider" + ], + "aliases": { + "Debugbar": "Barryvdh\\Debugbar\\Facades\\Debugbar" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Barryvdh\\Debugbar\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "PHP Debugbar integration for Laravel", + "keywords": [ + "debug", + "debugbar", + "laravel", + "profiler", + "webprofiler" + ], + "support": { + "issues": "https://github.com/barryvdh/laravel-debugbar/issues", + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.13.5" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2024-04-12T11:20:37+00:00" + }, { "name": "brianium/paratest", "version": "v7.4.3", @@ -12373,6 +12457,74 @@ }, "time": "2024-08-06T15:11:54+00:00" }, + { + "name": "maximebf/debugbar", + "version": "v1.22.5", + "source": { + "type": "git", + "url": "https://github.com/maximebf/php-debugbar.git", + "reference": "1b5cabe0ce013134cf595bfa427bbf2f6abcd989" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/1b5cabe0ce013134cf595bfa427bbf2f6abcd989", + "reference": "1b5cabe0ce013134cf595bfa427bbf2f6abcd989", + "shasum": "" + }, + "require": { + "php": "^7.2|^8", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^4|^5|^6|^7" + }, + "require-dev": { + "dbrekelmans/bdi": "^1", + "phpunit/phpunit": "^8|^9", + "symfony/panther": "^1|^2.1", + "twig/twig": "^1.38|^2.7|^3.0" + }, + "suggest": { + "kriswallsmith/assetic": "The best way to manage assets", + "monolog/monolog": "Log using Monolog", + "predis/predis": "Redis storage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.22-dev" + } + }, + "autoload": { + "psr-4": { + "DebugBar\\": "src/DebugBar/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maxime Bouroumeau-Fuseau", + "email": "maxime.bouroumeau@gmail.com", + "homepage": "http://maximebf.com" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Debug bar in the browser for php application", + "homepage": "https://github.com/maximebf/php-debugbar", + "keywords": [ + "debug", + "debugbar" + ], + "support": { + "issues": "https://github.com/maximebf/php-debugbar/issues", + "source": "https://github.com/maximebf/php-debugbar/tree/v1.22.5" + }, + "time": "2024-09-09T08:05:55+00:00" + }, { "name": "mockery/mockery", "version": "1.6.12", From 26f18e25aad56cb73fe401e7b3de30ae9c4e92fe Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:54:24 +0200 Subject: [PATCH 005/105] Create .gitignore --- storage/debugbar/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 storage/debugbar/.gitignore diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore new file mode 100644 index 000000000..d6b7ef32c --- /dev/null +++ b/storage/debugbar/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore From b99474ac731ba5f937b4052cf4a6a318ee1110c0 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Fri, 27 Sep 2024 17:38:34 +0200 Subject: [PATCH 006/105] Fix: Remove memlock as it caused problems for some users --- app/Actions/Database/StartDragonfly.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Actions/Database/StartDragonfly.php b/app/Actions/Database/StartDragonfly.php index 352c6a59f..3ee46a2e1 100644 --- a/app/Actions/Database/StartDragonfly.php +++ b/app/Actions/Database/StartDragonfly.php @@ -46,9 +46,6 @@ class StartDragonfly 'networks' => [ $this->database->destination->network, ], - 'ulimits' => [ - 'memlock' => '-1', - ], 'labels' => [ 'coolify.managed' => 'true', ], From f2a9a0446140011da709719d6fde0ec6647efd35 Mon Sep 17 00:00:00 2001 From: Norman <41666997+nfnot@users.noreply.github.com> Date: Sat, 28 Sep 2024 01:14:54 +0000 Subject: [PATCH 007/105] refactor: Update search input placeholder in resource index view --- resources/views/livewire/project/resource/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/livewire/project/resource/index.blade.php b/resources/views/livewire/project/resource/index.blade.php index 62047bd41..5bd5b330a 100644 --- a/resources/views/livewire/project/resource/index.blade.php +++ b/resources/views/livewire/project/resource/index.blade.php @@ -48,7 +48,7 @@ class="items-center justify-center box">+ Add New Resource @else
- +