92 Commits

Author SHA1 Message Date
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
72352aad8d
Add workers to servers (#547) 2025-03-16 14:09:15 +01: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
Saeed Vaziry
493cbb0849
Add phpstan level 7(#544) 2025-03-12 13:31:10 +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
97e20206e8
ite Commands (#298) (#519)
* feat: Implement Site Commands (#298)

- Introduced a Commands widget/table for Site view, allowing users to create, edit, delete, and execute commands.
- Each Site Type now has a predefined set of commands inserted upon site creation.
- A migration script ensures commands are created for existing sites.
- Implemented necessary policies for command management.
- Added feature tests to validate functionality.

* I'm trying to fix the tests, but it seems like it might not work. I'm having trouble running the tests locally for some reason.

* I'm trying to fix the tests, but it seems like it might not work. I'm having trouble running the tests locally for some reason.

* I'm trying to fix the tests, but it seems like it might not work. I'm having trouble running the tests locally for some reason.

* I'm trying to fix the tests, but it seems like it might not work. I'm having trouble running the tests locally for some reason.

* Remove feature tests for commands due to inconsistencies for now

* fixes

* add tests for commands

* ui fix and add to wordpress

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
2025-03-02 10:43:26 +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
Richard Anderson
1223ea1499
Fix .env Files for Isolated Users (#496) 2025-02-22 09:23:03 +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
Saeed Vaziry
dd78c86a60
Fix missing ip for AWS and DO (#461)
* Fix missing ip for AWS and DO

* Fix Vultr
2025-02-05 21:26:09 +01:00
Saeed Vaziry
262c5e040d
Force SSL and Multi SSL (#456) 2025-02-01 01:33:04 +01:00
Saeed Vaziry
ea396786e4
Start installing servers quicker (#454) 2025-01-31 00:20:41 +01:00
Saeed Vaziry
6966f06b1a
Add load balancer (#453) 2025-01-30 23:52:51 +01:00
Saeed Vaziry
53e20cbc2a
Ask for email when generating LetsEncrypt SSLs (#452) 2025-01-29 21:00:43 +01:00
Saeed Vaziry
1e4a944acb
Fix isolated user validation (#450) 2025-01-29 20:17:47 +01:00
Pierluigi Cau (PG)
d702b95e0c
Add notification for deployment completion (#445)
* Add notification for deployment completion

Add notification for deployment completion status.

* Create `DeploymentCompleted` notification class in `app/Notifications/DeploymentCompleted.php` to handle deployment completion notifications.
* Update `app/Actions/Site/Deploy.php` to send `DeploymentCompleted` notification using `Notifier` when a deployment completes or fails.
* Import `Notifier` and `DeploymentCompleted` classes in `app/Actions/Site/Deploy.php`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/vitodeploy/vito?shareId=XXXX-XXXX-XXXX-XXXX).

* Format with pint

* Add tests

* Pint format

* Delete tests/Feature/Notifications/DeploymentCompletedTest.php

* Delete tests/Unit/Notifications/DeploymentCompletedTest.php

* 🍻🍻

* tests

---------

Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com>
Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
2025-01-29 19:29: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
Richard Anderson
a73476c1dd
Edit & Download (local) Backups (#436)
* Allow editing of backups

* pint updates

* setup of backup download

* allow download for local backup files

* delete uploaded files on delete of BackupFile

* pint updates

* S3 upload & download fixes

* Deletion of backup files

* support $ARCH selector for s3 installation

* delete files when deleting backup

* fixed ui issue

* adjustment

* Use system temp path for downloads

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
2025-01-25 21:59:35 +01:00
Richard Anderson
c1ae58772c
Isolate Users (#431)
* WIP to isolate users

* Resolved issue with SSH AsUser

Updated Isolated User Script to use Server User for Team Access
Updated Path creation script to simplify for running as the isolated user

* Included the server user

* PHPMyAdmin script updated

Wordpress Script Updated
Updated Execute Script to support executing as isolated users

* Issue Resolution & Resolved Failing Unit Tests

* Fix for isolated_username vs user

* Run the deploy as the isolated user

* queue updates for isolated user

* Support isolated users in cronjobs

* script tests for isolated users

* Queue tests for isolated users

* Cronjob tests for isolated user

* Removed default queue command for laravel apps

* add default user to factory

* laravel pint fixes

* ensure echos are consistent

* removed unneeded parameter

* update

* fix queues for isolated users

* revert addslashes

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
2025-01-18 01:17:48 +01:00
Richard Anderson
5947ae80bb
Fix Deployment Script on Windows Clients (#433)
* resolve issue with EOL

* Manual Run

* reverse change for manual run of tests

* remove logging
2025-01-16 21:03:53 +01:00
Tobias Schulz
93a7bf9c3a
make mask nullable and do a strict compare to allow firwall rules without masks (#432) 2025-01-13 17:28:59 +01:00
Saeed Vaziry
8b86ff23c9
fix create queue with root user (#409)
* fix create queue with root user

* fix

* fix queues for root user
2024-12-30 11:33:00 +01:00
Mark Topper
924920e6e8
Feature/nodejs (#397)
* Add node support using nvm

* Add icon

* Rename to NodeJS

* Rename to NodeJS

* update php and node logo

* only services which have units can be started,restarted,stopped,disabled and enabled

* add tests

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com>
2024-12-24 17:49:27 +01:00
Saeed Vaziry
572d1df010
demo (#392) 2024-12-14 03:13:47 +01:00
Saeed Vaziry
0d12dd0c69
cleanup before release (#391) 2024-12-13 20:02:43 +01:00
Saeed Vaziry
cc79aa9fbf
load AWS regions and plans dynamically via SDK (#366) 2024-11-17 00:01:53 +01:00
Saeed Vaziry
6639fac9c0
fix dashes on the name and better error handling (#336) 2024-11-02 22:44:02 +01:00
Saeed Vaziry
f743611b22 fix enums 2024-11-01 22:08:02 +01:00
Saeed Vaziry
417bf73e44
API Feature (#334) 2024-11-01 16:49:57 +01:00
Saeed Vaziry
224e0ac2b0 tests 2024-10-13 12:33:12 +02:00
Saeed Vaziry
386d8e73a7 fixes #311 2024-10-10 23:51:06 +02:00
Saeed Vaziry
7086e84c3c migrating tests (Metrics, NotificationChannels, PHP, Profile and Projects) 2024-10-10 23:24:07 +02:00
Saeed Vaziry
93cee92568 migrating tests (DatabaseUser, Firewall and Logs) 2024-10-09 23:32:52 +02:00
Saeed Vaziry
8bf1cc141e fixing routes 2024-10-07 00:18:11 +02:00
Saeed Vaziry
8b2338cb41 - 2.x - scripts 2024-10-06 20:49:59 +02:00
Saeed Vaziry
c24b4b7333 - 2.x - sites finishing 2024-10-06 16:06:51 +02:00
Saeed Vaziry
3c50e2c947 - 2.x - sites settings
- tags
- source-control soft deletes
2024-10-06 00:04:57 +02:00
Saeed Vaziry
d1f2add699 - 2.x - sites (wip)
- improved ssh error handling
- database soft deletes
2024-10-04 21:34:07 +02:00
Saeed Vaziry
906ddc38de 2.x - firewall/metrics/services/cronjobs 2024-10-01 19:09:38 +02:00
Saeed Vaziry
2e9620409b 2.x - backups 2024-09-29 17:54:11 +02:00
Saeed Vaziry
e4fed24498 2.x - databases 2024-09-29 00:30:04 +02:00
Saeed Vaziry
32993025de 2.x - php 2024-09-28 15:19:55 +02:00
Saeed Vaziry
f6bc04763b
2.x 2024-09-27 20:36:03 +02:00
Saeed Vaziry
7f5e68e131
Tags (#277) 2024-08-20 21:26:27 +02:00
Saeed Vaziry
ed8965b92b
Fix .env updates for double quotations (#259) 2024-07-27 17:43:46 +02:00
Saeed Vaziry
9473d198e1
update php fpm ini (#258) 2024-07-27 12:51:13 +02:00
Saeed Vaziry
11e3b167cc
global storage-providers, notification channels and server providers (#247) 2024-06-29 11:22:03 +02:00
Saeed Vaziry
e031bafba5
upgrade to Laravel 11 and schema squash (#245)
* upgrade to Laravel 11 and schema squash

* code style and npm audit fix

* fix #209
2024-06-24 23:03:02 +02:00
Saeed Vaziry
7d367465ff
deployment script variables (#238) 2024-06-16 23:42:46 +02:00