25 Commits

Author SHA1 Message Date
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
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
Saeed Vaziry
417bf73e44
API Feature (#334) 2024-11-01 16:49:57 +01: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
e4fed24498 2.x - databases 2024-09-29 00:30:04 +02:00
Saeed Vaziry
f6bc04763b
2.x 2024-09-27 20:36:03 +02:00
Saeed Vaziry
ed8965b92b
Fix .env updates for double quotations (#259) 2024-07-27 17:43:46 +02:00
Saeed Vaziry
7d367465ff
deployment script variables (#238) 2024-06-16 23:42:46 +02:00
Saeed Vaziry
de468ae1ba
Manage site aliases (#206)
* manage site aliases

* build assets

* fix tests
2024-05-15 11:23:24 +02:00
Saeed Vaziry
30ef8ad5eb
fix letsencrypt for aliases & blank php deployment fix (#204) 2024-05-13 00:37:51 +02:00
Saeed Vaziry
f0da1c6d8c
Accurate deployment statuses (#168) 2024-04-21 16:26:26 +02:00
Saeed Vaziry
12c500e125
Bug fixes (#155) 2024-04-05 19:45:09 +02:00
Saeed Vaziry
428140b931
refactoring (#116)
- refactoring architecture
- fix incomplete ssh logs
- code editor for scripts in the app
- remove Jobs and SSHCommands
2024-03-14 20:03:43 +01:00
Saeed Vaziry
b2083fc6b2
Migrate to HTMX (#114)
Dropped Livewire
Added HTMX
Added Blade code lint
Drop Mysql and Redis
Migrate to SQLite
2024-03-06 17:02:59 +01:00
Saeed Vaziry
682da0d6d5 load the actual env from the server 2024-02-22 20:30:21 +01:00
Saeed Vaziry
0ec6a9dea2 fix db transaction usage 2024-01-14 12:56:25 +01:00
Saeed Vaziry
4cda14f4b8
deploy Wordpress sites via VitoDeploy (#83) 2024-01-01 16:20:57 +01:00
Saeed Vaziry
1bf3c94358
add auto-deployment (#71)
add update source-control to site-settings
2023-10-29 22:20:15 +01:00
Saeed Vaziry
229696e435 fix logout issue #31 2023-09-03 13:20:16 +02:00
Saeed Vaziry
a8295e15c3 refactoring 2023-08-06 17:36:39 +02:00
Saeed Vaziry
5c72f12490 init 2023-07-02 12:47:50 +02:00