Commit graph

339 commits

Author SHA1 Message Date
Andras Bacsai
3ffc751f1a feat(auth): implement authorization checks for server updates across multiple components
- Added authorization checks using the `authorize` method in various Livewire components to ensure only authorized users can update server settings.
- Updated `ServerPolicy` to restrict update permissions to admin users and their respective teams.
- Enhanced security and access control for server management functionalities.
2025-08-22 13:02:11 +02:00
Andras Bacsai
5c4a265542 refactor(validation): implement centralized validation patterns across components
- Introduced `ValidationPatterns` class to standardize validation rules and messages for various fields across multiple components.
- Updated components including `General`, `StackForm`, `Create`, and `Show` to utilize the new validation patterns, ensuring consistent validation logic.
- Enhanced error messages for required fields and added regex validation for names and descriptions to improve user feedback.
- Adjusted styling in the `create.blade.php` view for better visual hierarchy.
2025-08-19 14:15:31 +02:00
Andras Bacsai
91cc52f81e feat(dev patches): add functionality to send test email with patch data in development mode 2025-08-17 17:58:38 +02:00
🏔️ Peak
2a526c54d5
fix(docker): volumes get delete when stopping a service if Delete Unused Volumes is activated (#6317) 2025-08-04 21:15:56 +02:00
Andras Bacsai
ffaa2917d5 fix(ui): enhance status refresh buttons with loading indicators 2025-06-24 13:34:56 +02:00
Yassir Elmarissi
4375f52c5d
feat(auth): Add Discord OAuth Provider (#5552) 2025-06-18 14:19:01 +02:00
Andras Bacsai
9eab8897d8 fix(server): update sentinelUpdatedAt assignment to use server's sentinel_updated_at property 2025-06-18 13:02:21 +02:00
Andras Bacsai
c3dd24ff43 refactor(navbar): simplify proxy status handling and enhance loading indicators for better user experience 2025-06-13 07:16:44 +02:00
Andras Bacsai
9ad2304229 refactor(proxy): streamline proxy status handling and improve dashboard availability checks 2025-06-11 12:02:39 +02:00
Andras Bacsai
23d5ada3b8 fix(cloudflare): update refresh method to correctly set Cloudflare tunnel status and improve user notification on IP address update 2025-06-10 11:47:29 +02:00
Andras Bacsai
433dcdbe78 refactor(proxy): remove commented-out listener and method for cleaner code structure 2025-06-10 10:58:28 +02:00
Andras Bacsai
1cdc01194b feat(proxy-dashboard): implement ProxyDashboardCacheService to manage Traefik dashboard cache; clear cache on configuration changes and proxy actions 2025-06-06 19:18:32 +02:00
Andras Bacsai
2576e868b5 feat(navbar): add Traefik dashboard availability check and server IP handling; refactor dynamic configurations loading 2025-06-06 18:50:32 +02:00
Andras Bacsai
ddcb14500d refactor(proxy-status): refactored how the proxy status is handled on the UI and on the backend
feat(cloudflare): improved cloudflare tunnel automated installation
2025-06-06 14:47:54 +02:00
Andras Bacsai
ad98d135a1 refactor(activity-monitor): update dispatch method to use activityMonitor instead of deprecated newActivityMonitor 2025-06-02 15:36:45 +02:00
Andras Bacsai
a3dc3c861b refactor(activity-monitor): consolidate activity monitoring logic and remove deprecated NewActivityMonitor component 2025-06-02 15:36:37 +02:00
Andras Bacsai
261a2fe564 feat(ca-certificate): add CA certificate management functionality with UI integration and routing 2025-05-29 14:27:28 +02:00
Andras Bacsai
46b4cfac68 feat(terminal-access): implement terminal access control for servers and containers, including UI updates and backend logic 2025-05-29 14:09:05 +02:00
Andras Bacsai
be0453d9df fix: Traefik start on new server validation
fix: Multiple server selection ui flow
2025-05-26 21:06:00 +02:00
Andras Bacsai
9651195318
Update app/Livewire/Server/Security/Patches.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-20 11:07:55 +02:00
Andras Bacsai
e7536d3fb8 feat(security): implement server patching functionality
- Add CheckUpdates and UpdatePackage actions for managing server updates.
- Create ServerPackageUpdated event for broadcasting update status.
- Introduce Patches Livewire component for user interface to check and apply updates.
- Update navigation and sidebar to include security patching options.
2025-05-15 22:21:54 +02:00
Andras Bacsai
4bc9786046 refactor(DynamicConfigurations): improve handling of dynamic configuration content by ensuring fallback to empty string when content is null 2025-04-13 14:24:27 +02:00
Andras Bacsai
68c2c7fb81 fix(Status): conditionally check proxy status and refresh button based on force_stop state 2025-04-05 14:41:34 +02:00
Andras Bacsai
3176106222 fix(CheckProxy, Status): prevent proxy checks when force_stop is active; remove debug statement in General 2025-04-05 14:32:51 +02:00
peaklabs-dev
331693546b
fix(proxy): proxy restart does not work on domain
- When you restart the proxy on an instance domain, the proxy stops and is removed, but never restarted. So you loose access over the domain and have to go in over IP and Port.
This is because we are doing the restart directly in the UI instead of in the background via a job, and the proxy is serving the UI domain.
2025-04-02 19:38:31 +02:00
Andras Bacsai
0b41378014 refactor(proxy): remove redundant stop call in restart method 2025-03-28 20:54:27 +01:00
Andras Bacsai
009cee1bbd
Merge branch 'next' into feat-db-ssl 2025-03-17 15:15:24 +01:00
Andras Bacsai
27e4882d57 feat(core): You can validate compose files with docker compose config
fix(core): labels are now accepted with both compose styles
refactor: remove lots of ray's
2025-02-27 11:29:04 +01:00
peaklabs-dev
225f24e650
chore: improve code quality suggested by code rabbit 2025-02-19 18:04:58 +01:00
🏔️ Peak
9557957f18
Merge branch 'next' into feat-db-ssl 2025-02-19 17:57:59 +01:00
Andras Bacsai
65b925252c feat(core): prevent using servers with existing resources as build servers 2025-02-18 16:44:16 +01:00
peaklabs-dev
a539bfd765
fix(ssl): server id 2025-02-07 18:45:12 +01:00
peaklabs-dev
836006798f
fix(ssl): remove caCert even if it is a folder by accident 2025-02-07 18:28:58 +01:00
peaklabs-dev
7666cec462
fix(ssl): wrong ssl cert is loaded to the server and UI error when regenerating SSL 2025-02-05 21:10:37 +01:00
peaklabs-dev
d6a39f2ed3
fix(ssl): always create ca crt on disk even if it is already there 2025-02-04 16:57:40 +01:00
peaklabs-dev
da148f93a6
feat(ssl): regenerate CA cert and all other certs logic 2025-02-04 16:55:36 +01:00
peaklabs-dev
91d90ccb6c
fix(ui): Cloudflare tunnel configuration should be an info, not a warning 2025-01-24 20:02:31 +01:00
Andras Bacsai
a771993d97 fix: redirect to server index instead of show on error in Advanced and DockerCleanup components 2025-01-16 21:35:48 +01:00
peaklabs-dev
65a2629237
feat: Docker cleanup executions UI 2025-01-15 20:11:40 +01:00
peaklabs-dev
23ae0677eb
feat: move docker cleanup to its own tab 2025-01-15 14:02:33 +01:00
Andras Bacsai
1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
Andras Bacsai
203a20e75e Merge branch 'next' into fix-unreachable-notificiations 2024-12-17 22:35:09 +01:00
peaklabs-dev
ed2ccaf8af
fix: Advanced server UI 2024-12-17 15:22:10 +01:00
peaklabs-dev
5571aa4530
feat: use new ServerReachabilityChanged event instead of isDirty 2024-12-16 14:06:16 +01:00
Andras Bacsai
1886347b55 fix: proxy change behaviour 2024-12-06 14:08:37 +01:00
Andras Bacsai
baf6c20997 fix: restart proxy 2024-12-06 13:31:55 +01:00
🏔️ Peak
27395615e6
Merge branch 'next' into feat/disable-default-redirect 2024-12-05 14:46:33 +01:00
Jeremy Angele
26ba433fd3 Use computed property for timezones 2024-12-03 22:24:36 +01:00
Andras Bacsai
0bfe0fd877 fix: ui 2024-11-25 17:56:19 +01:00
Andras Bacsai
40cc49537e fix: logdrain settings 2024-11-25 17:48:01 +01:00
Kael
bc89b84539
Merge branch 'next' into feat/disable-default-redirect 2024-11-18 21:02:20 +11:00
peaklabs-dev
0a36fbddec
Revert "dispatch an error message"
This reverts commit b18d4b9564.
2024-11-14 17:52:54 +01:00
peaklabs-dev
b18d4b9564
dispatch an error message 2024-11-14 17:51:58 +01:00
peaklabs-dev
465dfbdf53
fix check if IP is already in used in this team 2024-11-14 17:48:35 +01:00
peaklabs-dev
ca4b91c51f
Update ByIp.php 2024-11-14 17:48:14 +01:00
peaklabs-dev
a2c0b68730
fix validation 2024-11-14 17:38:20 +01:00
Andras Bacsai
b0b81e4416 fix: timezone settings validation 2024-11-14 10:02:37 +01:00
Andras Bacsai
055c613ba5 feat: add proxy type change to create/update apis 2024-11-12 14:30:05 +01:00
peaklabs-dev
408ba9cc7a
fix docker minimum version 2024-11-12 13:27:26 +01:00
🏔️ Peak
0ce2fbff40
Merge pull request #4169 from easilok/fix-invalid-docker-version-check
Fix invalid docker version check
2024-11-12 13:21:17 +01:00
Luis Pereira
770163d54c
using docker version constant as user feedback 2024-11-10 21:28:12 +00:00
Andras Bacsai
373e715e8d fix: disable cloudflare tunnel on "localhost" 2024-11-08 14:03:26 +01:00
Andras Bacsai
2f63c773dc fix: wildcard domain save 2024-11-08 13:58:40 +01:00
Andras Bacsai
f081ba7621 fix: notifications ui 2024-11-08 11:45:56 +01:00
Luis Pereira
3fe636aab6
update docker minimum version to 26 2024-11-07 21:50:53 +00:00
Andras Bacsai
f1587d3302 cleanups 2024-11-06 12:39:37 +01:00
Andras Bacsai
11b94e7bae fix: server view refresh on validation 2024-11-05 11:52:14 +01:00
Andras Bacsai
f9465790f7 delete unused component 2024-11-05 11:51:58 +01:00
Andras Bacsai
9b578b2003 do not use Rule (deprecated), changed to Validate 2024-11-05 09:36:40 +01:00
Kael
400d3f66b0
Merge branch 'next' into feat/disable-default-redirect 2024-11-04 23:33:48 +11:00
Andras Bacsai
165d35959e fix: logdrains validation 2024-11-04 12:53:01 +01:00
Andras Bacsai
4ed76f88f8 fix: destinations livewire refactor
removed unnecessary livewire components, renamed them ,etc etc
2024-11-03 22:19:41 +01:00
Kael
970b30b2e7
Merge branch 'next' into feat/disable-default-redirect 2024-11-03 18:58:59 +11:00
Andras Bacsai
77a019405a Refactor Livewire server show view to remove redundant code 2024-11-01 23:52:43 +01:00
Andras Bacsai
0a3b5cc4e3 Refactor livewire server show view to remove redundant code 2024-11-01 23:52:43 +01:00
Kael
1408bc58fb
Merge branch 'next' into feat/disable-default-redirect 2024-11-01 16:52:09 +11:00
Lucas Michot
8e1444eaa7 Get rid of many useless blank lines 2024-10-31 17:44:01 +01:00
Lucas Michot
702ee5cd70 Prefer Carbon methods when possible. 2024-10-31 16:47:08 +01:00
Lucas Michot
b1d04912a0 Remove all useless catch block useless variables. 2024-10-31 15:19:37 +01:00
Kael
133ddc09d2
Merge branch 'next' into feat/disable-default-redirect 2024-10-31 23:57:51 +11:00
Andras Bacsai
96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai
7385d7a478 fix: changing private key manually won't trigger a notification 2024-10-30 10:01:58 +01:00
Andras Bacsai
329a94dbcf Refactor Form.php: Remove unused variable 2024-10-29 10:49:53 +01:00
Andras Bacsai
74411e89e6 feat: debug mode for sentinel 2024-10-29 10:48:49 +01:00
peaklabs-dev
a5bcc10e05
remove unused variable assignements 2024-10-28 13:37:36 +01:00
🏔️ Peak
7c2d3c47eb
Merge branch 'next' into useless-variable-assignments 2024-10-28 13:32:34 +01:00
Kael
786c8bc3a3
Merge branch 'next' into feat/disable-default-redirect 2024-10-28 19:20:52 +11:00
Andras Bacsai
2263734129 save sentinel form update 2024-10-25 11:42:37 +02:00
Andras Bacsai
2877080a39 Refactor variable and function names for consistency 2024-10-25 10:59:12 +02:00
Kael
7e03a80df5
Merge branch 'next' into feat/disable-default-redirect 2024-10-25 01:28:08 +11:00
peaklabs-dev
ff60189285
fix 2 step confirmation password is now checked if it is enabled 2024-10-24 16:20:01 +02:00
Andras Bacsai
d938a6ce8f Refactor ShowPrivateKey component and add validation for owned private key 2024-10-24 14:28:14 +02:00
Andras Bacsai
1f221d9791 fix: sentinel config changes restarts sentinel 2024-10-22 14:10:36 +02:00
Andras Bacsai
ac768e5313 feat: limit storage check emails
feat: sentinel should send storage usage
2024-10-22 14:01:36 +02:00
Andras Bacsai
0a26598093
Merge pull request #3974 from coollabsio/fix-backup-deletion
Fix: Disable tow step confirmation when there is a password throws and error
2024-10-22 13:43:33 +02:00
peaklabs-dev
6dfe6a8142
fix disable tow step confirmation when there is a password 2024-10-22 12:29:48 +02:00
Andras Bacsai
b5146c0dda fix: charts ui 2024-10-22 11:39:38 +02:00
Andras Bacsai
028a0bf513 fix: Validate sentinel custom URL when enabling sentinel 2024-10-22 10:45:12 +02:00
Kael
ebdc99f617
Merge branch 'next' into feat/disable-default-redirect 2024-10-22 00:50:12 +11:00
Andras Bacsai
b75c2dc604 pint 2024-10-17 22:08:23 +02:00
Andras Bacsai
9044c655b8 Refactor Show component to use firstOrFail method when retrieving server by UUID 2024-10-17 22:06:48 +02:00
Andras Bacsai
513c74a7e3 Refactor BaseComponent to remove unused code and initialize route parameters in the boot method 2024-10-17 22:00:27 +02:00
Andras Bacsai
df4e4c2b4e Refactor Show component to initialize server and remove unused code 2024-10-17 21:48:43 +02:00
Andras Bacsai
6545d04c46 Refactor Livewire Server Advanced and Form components 2024-10-17 15:50:43 +02:00
Andras Bacsai
a74d2e8f62 refactor 2024-10-17 15:43:24 +02:00
Andras Bacsai
2315bdb93f ui updates on server 2024-10-17 14:56:36 +02:00
Andras Bacsai
4c95647b96 feat: cleanup sentinel on server deletion
fix: Sentinel should not be enabled on build servers
2024-10-17 11:21:43 +02:00
Andras Bacsai
46ec8eed64 fix: generate sentinel url 2024-10-15 15:43:53 +02:00
Andras Bacsai
d446cd4f31 sentinel updates 2024-10-15 13:39:19 +02:00
Andras Bacsai
bea492165f sentinel updates 2024-10-14 21:05:33 +02:00
Kael
9d553c3a30 Merge branch 'next' into feat/disable-default-redirect 2024-10-14 21:25:56 +11:00
Andras Bacsai
1f193d465d sentinel updates 2024-10-14 12:07:37 +02:00
Kael
beb6d04804
Merge branch 'next' into feat/disable-default-redirect 2024-10-12 03:50:45 +11:00
Andras Bacsai
4707f69b91 fix: no manual timezones 2024-10-11 15:32:22 +02:00
Lucas Michot
5e11f159e0 Remove some useless variable assignments. 2024-10-10 18:32:24 +02:00
Kael
b997b7393b feat: allow disabling default redirect, set status to 503 2024-10-11 02:44:52 +11:00
Andras Bacsai
5f07b473e9 fix: parse proxy config and check the set ports usage 2024-10-03 21:29:55 +02:00
Andras Bacsai
d55e4bf381 feat: Handle HTTPS domain in ConfigureCloudflareTunnels 2024-10-02 13:36:25 +02:00
Andras Bacsai
65356e9bae fixes 2024-09-27 16:43:07 +02:00
Andras Bacsai
9a766aedc1
Merge branch 'next' into improve-cleanup 2024-09-27 16:40:48 +02:00
Andras Bacsai
dedf2cf87b fix: proxy fixes 2024-09-27 15:36:51 +02:00
Andras Bacsai
688c27c901 fix: cloudflare tunnel configuration, ui, etc 2024-09-23 23:18:23 +02:00
Andras Bacsai
b570ccd7d3 format 2024-09-23 19:51:31 +02:00
peaklabs-dev
7aab44645f
Merge branch 'cf-production-ready' into next 2024-09-23 18:50:08 +02:00
peaklabs-dev
ff5e445b43
Feat: Manual cleanup button and unused volumes and network deletion 2024-09-22 20:02:51 +02:00
Andras Bacsai
240352f4b2
Merge pull request #3504 from coollabsio/fix-ssh-keys
Fix ssh keys
2024-09-19 12:44:56 +02:00
Andras Bacsai
f65789bdbb fix: proxy status 2024-09-19 12:32:56 +02:00
Andras Bacsai
9518040d23 refactor: Remove CleanupSshKeysJob from schedule in Kernel.php 2024-09-19 12:06:56 +02:00
Andras Bacsai
631b4e6438
Merge branch 'next' into fix-ssh-keys 2024-09-19 11:45:12 +02:00
Andras Bacsai
5ec45d547a
Merge branch 'next' into fix-#2546-deletion-issues 2024-09-18 18:05:06 +02:00
peaklabs-dev
bdc0fc87f0
Fix: UI bug, do not write ssh key to disk in server dialog 2024-09-17 14:33:24 +02:00
peaklabs-dev
451272bf11
Fix: Use new function names and logic everywhere 2024-09-16 19:52:55 +02:00
peaklabs-dev
9310af0301
Feat: New cf tunnel install flow 2024-09-12 15:50:22 +02:00
Andras Bacsai
664a990c60 chore: Update listeners and proxy settings in server form and new server components 2024-09-12 12:34:09 +02:00
ayntk-ai
3e04a7958e
Feat/Fix: Proxy stop and restart confirmation 2024-09-04 20:41:17 +02:00
ayntk-ai
371fe53911
Feat: confirm server deletion 2024-09-04 20:06:22 +02:00
Andras Bacsai
68169f75d1 refactor: Remove unused server timezone seeder and related code 2024-08-26 15:26:08 +02:00
Andras Bacsai
b8ff0540e2
Merge branch 'next' into set-server-timzone-setting 2024-08-26 13:21:21 +02:00
Andras Bacsai
3d73c98779 fix: docker cleanup job 2024-08-26 12:23:03 +02:00
ayntk-ai
0337c4e79d
Fix submit method naming 2024-08-18 23:27:24 +02:00
ayntk-ai
012c23586d
rename to docker cleanup and and feedback implementation 2024-08-18 23:16:59 +02:00
ayntk-ai
4af7b8f451
made function private again and remove unused code 2024-08-16 18:02:14 +02:00
ayntk-ai
00f20c708f
remove mount default timezone 2024-08-16 17:09:30 +02:00
ayntk-ai
a478ebef2e
remove result var 2024-08-15 13:37:52 +02:00
ayntk-ai
f281e92954
remove ray 2024-08-15 13:36:17 +02:00
ayntk-ai
39b132f7e9
verification compares to destination timezone 2024-08-15 13:30:08 +02:00
ayntk-ai
a1915e40f7
new timezone validation and conversion to check 2024-08-15 13:25:30 +02:00
ayntk-ai
a51b306c08
support all coolify supported os and improve symbolic link creation 2024-08-15 13:13:52 +02:00
ayntk-ai
1376846077
fix: timezone not updated when systemd is missing 2024-08-15 12:04:06 +02:00