18 Commits

Author SHA1 Message Date
Saeed Vaziry
8a8467233e reverse proxy sites 2025-04-11 00:35:52 +02:00
Dimitar Yanakiev
564b97e2aa
fix: add missing backticks in Blade for MySQL/MariaDB database names with hyphens (#523)
* fix: add missing backticks in Blade for MySQL/MariaDB database names with hyphens

Before:
The CREATE DATABASE command failed for database names containing hyphens (-) because MySQL/MariaDB requires backticks around such names, but they were missing in the Blade template.

After:
Backticks (```) are now correctly added in the Blade template, ensuring MySQL properly interprets database names with hyphens.

Why:
MySQL/MariaDB does not allow hyphens in database names unless they are enclosed in backticks. The Blade template was missing these backticks, causing syntax errors. Adding them ensures the command executes successfully. 🚀

* fix: added hyphens to other places as well

---------

Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com>
2025-04-05 21:58:25 +02:00
Jamie Wood
f483f7fdca
Add site redirects (#552)
* feat(redirects): add redirects to sites

* chore(style): fixed coding style issues

* style: fix php-stan docblocks

* style: pint cleanup

* tests: fixed redirect test suite

* feat: vhosts include additional configs

* fix: use exact location matching

* - add enums
- use queues
- use vhost rather than separate conf files
- vhost formatter
- cleanup

* generate docs

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
2025-03-31 17:30:57 +02:00
Saeed Vaziry
0f06d81aac
Add database and database users sync (#537)
* Add database and database users sync

* get mysl users

* add mariadb and postgres

* fix phpstan
2025-03-12 22:59:25 +01:00
Richard Anderson
5a12ed76bb
Database collations (#489)
* SyncDatabases

* Collation on Create inc WordPress

* Refactored Enum

* Resolve sync issue

* Fix for PostgreSQL

* pint

* reversed enum

* style adjustments

* add unit tests

* style

* fix tests

* more tests

---------

Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com>
Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
2025-03-02 17:18:27 +01:00
Dimitar Yanakiev
e52903c649
fix: ensure newly created branches are available for switching (#511)
Fixed an issue where the "Change Branch" button didn't work when switching to a newly created remote branch after initially cloning the repository. Added `git fetch origin` to update branch references before switching.
2025-02-28 19:38:38 +01:00
Dimitar Yanakiev
1a5cf4c57a
fix: add missing php-intl package (#510)
Added `php{{ $version }}-intl` to the installation list as it was missing. This package is a standard component in most projects and should be included by default.
2025-02-28 19:38:10 +01:00
Richard Anderson
1223ea1499
Fix .env Files for Isolated Users (#496) 2025-02-22 09:23:03 +01:00
Abdel Elrafa
2356e44f5b
Fix deployment script command (#498) 2025-02-19 20:13:26 +01:00
Richard Anderson
8c7c3d2192
Refactor firewall and add edit rule (#488) 2025-02-16 20:31:58 +01:00
Saeed Vaziry
e2b9d18a71
Built-in File Manager (#458) 2025-02-16 19:56:21 +01:00
Austin Kregel
a889cf11a2
Fix different PHP version for sites (#487) 2025-02-16 10:58:58 +01:00
Austin Kregel
75a4fde8de
Update the vhost file to name the backend after the domain (#485) 2025-02-15 09:33:40 +01:00
Austin Kregel
fd67097884
Add mariadb missing blades (#476)
* Add missing views for Mariadb

* Add missing restore link

* adding test to avoid such issues

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
2025-02-07 20:24:08 +01:00
Saeed Vaziry
7be63384d4
fix html especial characters in commands (#467) 2025-02-06 20:34:01 +01:00
Saeed Vaziry
262c5e040d
Force SSL and Multi SSL (#456) 2025-02-01 01:33:04 +01:00
Saeed Vaziry
6966f06b1a
Add load balancer (#453) 2025-01-30 23:52:51 +01:00
Saeed Vaziry
cdbde063f0
use blade as conmmands template (#444)
* use blade as conmmands template

* fix lint

* fix ssl
2025-01-27 21:27:58 +01:00