Charles
dfd6dbfe26
Update Stock Egg Images ( #1973 )
2025-12-09 17:53:07 -05:00
MartinOscar
d0af45a0c7
Delete ssh keys shouldn't be a POST & Cleanup routes ( #1934 )
2025-11-27 16:26:47 +01:00
Boy132
bb33bcca4f
Refactor schedule tasks ( #1911 )
2025-11-24 14:42:47 +01:00
PalmarHealer
5e25ea4a43
fix: use port range on free allocation lookup ( #1882 )
...
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
2025-11-17 10:56:48 +01:00
Boy132
a58ae874f3
Add own endpoint for exporting eggs ( #1760 )
2025-10-07 23:41:28 +02:00
Boy132
9f35f1c3ee
Enable "ordered imports" ( #1746 )
2025-09-24 13:34:19 +02:00
Boy132
e5c24fe8b6
Remove username rules and allow to change it in profile ( #1702 )
2025-09-21 00:37:42 +02:00
Charles
1900c04b71
Filament v4 🎉 ( #1651 )
...
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
Co-authored-by: Lance Pioch <git@lance.sh>
2025-09-08 13:12:33 -04:00
MartinOscar
47557021fd
Remove DaemonPowerRepository ( #1673 )
2025-09-08 08:56:59 +02:00
MartinOscar
2ef81eae1a
Refactor & Catch DatabaseManagementService ( #1671 )
...
Co-authored-by: notCharles <charles@pelican.dev>
2025-09-06 22:57:11 +02:00
Charles
b03d2cf919
composer update + update jwt ( #1587 )
2025-08-11 16:57:59 -04:00
Lance Pioch
986063dce4
Use default startup variable value when creating server via api ( #1518 )
...
Co-authored-by: Boy132 <mail@boy132.de>
2025-07-19 13:58:04 -04:00
Boy132
e0697d3288
Cleanup & fix server deployment ( #1497 )
2025-07-18 08:23:48 +02:00
JoanFo
dca37ccc95
Server Without Allocations ( #1432 )
...
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2025-06-25 19:49:43 -04:00
pelican-vehikl
c61b6920b9
Fix some tests ( #1450 )
2025-06-19 21:36:50 +02:00
Boy132
bd2a00760d
Fix error handling for deleting backups ( #1434 )
2025-06-07 14:16:01 +02:00
pelican-vehikl
65deffc6e6
Create new description endpoint ( #1136 )
...
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2025-06-06 23:06:28 -04:00
MartinOscar
2961c3e88b
Refactor EnvironmentTrait to use Env Facade ( #1430 )
2025-06-04 22:24:17 +02:00
pelican-vehikl
2046fa453a
Pest Test Improvements ( #1137 )
...
Co-authored-by: Lance Pioch <git@lance.sh>
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2025-04-28 10:20:33 -04:00
MartinOscar
702a6bb750
Restore exception_handler & error_handler for Tests ( #1239 )
2025-04-12 16:44:46 +02:00
MartinOscar
e562a35057
Add unique foreign keys for EggVariable ( #1196 )
...
* Fix tests \`egg_variable\` order
* Add `EggVariable` unique foreign key for `env_variable` & `name`
2025-04-03 15:58:49 +02:00
Lance Pioch
8261184b57
Officially support PostgreSQL database ( #1066 )
...
* Just skip this table because it no longer exists
* Add postgresql
* This no longer needs to be there
* These are the same output in mysql, but different in postgresql
* Fix these migrations for postgresql
* This table no longer exists
* This is expected to be a json column for json operations, required for postgresql
* Shoot for the stars
* Fix pint
* Why was this missing
* Updates
* Restore this
* This needs to be explicit
* Don’t like strings
* Fix these classes
* Use different method to compare dates
* Apparently postgresql doesn’t like case insensitivity
* Postgresql orders it backwards
* Ordered different by postgresql
* Unnecessary and breaking
* Make sure the order is correct for postresql
* Fix this with the order too
* Remove this
* Force email to be lowercased
* Update app/Models/User.php
2025-03-30 14:44:03 -04:00
MartinOscar
0a17e78f33
Force 2fa_required to no one by default ( #1058 )
2025-03-06 20:53:29 -05:00
Lance Pioch
82409f2fba
Laravel 12.x Shift ( #1045 )
...
* Convert route options to fluent methods
Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods.
* Slim `lang` files
* Shift core files
* Validate via object directly within Controllers
* Use `Gate` facade for controller authorization
* Dispatch jobs directly
* Remove base controller inheritance
* Default config files
In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used.
* Set new `ENV` variables
* Add new Laravel `composer run dev` script
* Add `storage/app/private` folder
* Bump Composer dependencies
* Convert `$casts` property to method
* Adopt Laravel type hints
* Shift cleanup
* Apply suggestions from code review
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* Add old key as backup
* Update composer
* Remove extra line
* Update this
---------
Co-authored-by: Shift <shift@laravelshift.com>
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
2025-03-03 14:41:00 -05:00
MartinOscar
3d764a89f7
chore: Upgrade Dependencies ( #1005 )
...
* chore: yarn upgrade
* chore: composer upgrade
* chore: php artisan filament:upgrade
* chore: update filament-monaco-editor-views
* chore: update filament-monaco-editor-configs
* chore: move turnstile-views to plugins
* fix monaco-editor loader & css
2025-02-25 14:22:07 +01:00
Lance Pioch
f8ad9a1805
Use PestPHP ( #962 )
...
* Install Pest
* Don’t use bootstrap file anymore
* Fix comment
* Think this is needed
* Reset this
* Switch dataproviders to attributes
* Fix these
* Support in memory databases
* Fix this migration
* Switch this back for now
* Add missing import
* Truncate and reseed database
* These are replaced now
* Switch ci to use pest
2025-01-30 16:39:17 -05:00
Lance Pioch
635cc6a029
Add PHP 8.4 Support ( #858 )
...
* Add php 8.4
* Update ide helper
* Add php 8.4
* Update laravel sanctum
* Update laravel framework
* Hash rounds were increased
* This is always false
* Extend model now
* This does nothing
* Move model validation methods to trait
* Remove base model
* Backup routes were previously referenced by uuids
* Remove commented code
* Upgrade laravel/framework
* Fix migration
* Update ide helper
* Update sanctum
* Add version to composer
* Add this back in, fixed
* Make this protected to be safer
2025-01-30 16:39:00 -05:00
Boy132
c93a836ad8
Remove DaemonConnectionException ( #885 )
...
* remove DaemonConnectionException
* update tests
2025-01-07 22:58:04 +01:00
MartinOscar
77fd54fdc2
Fix/suspend server offline node ( #871 )
...
* Use handle instead of toggle & use const isnstead of string
* Avoid rollback if node is unreachable
* Use Enum & remove default action
* Remove useless test
2025-01-06 03:07:06 +01:00
Charles
2525af8f02
Revert "Listen to more framework webhook events ( #728 )" ( #866 )
...
This reverts commit 7a4c4ce02a8e55413ebee4c470a8245c1a767f1f.
2025-01-05 19:07:01 -05:00
Charles
8f51502c6d
Remove First/Last Name for Users ( #855 )
...
* Update Tests
* Update Translations
* Add Migration
* Remove First/Last Names
2025-01-03 17:13:44 -05:00
Lance Pioch
133c1a511f
Replace some guzzle exceptions and fix server creation failures ( #848 )
...
* Replace guzzle exceptions
* Pint fixes
* Fix test
* Remove unused imports
* Catch & Notify the user instead of 500
* Update app/Filament/Admin/Resources/ServerResource/Pages/CreateServer.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
2025-01-01 15:20:16 -05:00
pelican-vehikl
7a4c4ce02a
Listen to more framework webhook events ( #728 )
...
* Add new framework events to listen to
* Add simple test for framework events
* Update app/Models/WebhookConfiguration.php
Co-authored-by: Lance Pioch <git@lance.sh>
* Update app/Models/WebhookConfiguration.php
Co-authored-by: Lance Pioch <git@lance.sh>
* Update app/Models/WebhookConfiguration.php
---------
Co-authored-by: Vehikl <go@vehikl.com>
Co-authored-by: Lance Pioch <git@lance.sh>
2024-12-13 01:03:35 -05:00
Boy132
d09227659e
Add database notifications ( #817 )
...
* add database notifications to all panels
* add successful param to Installed event
* add listener for Installed event
* create event for subuser creation
* add listener for SubUserAdded event
* always send Installed event
* create event for subuser removal
* add listener for SubUserRemoved event
* add prefix to server name
* remove view action from SubUserRemoved notification
2024-12-12 14:38:45 +01:00
pelican-vehikl
7e7f0be7df
Allow Database Hosts to have multiple Nodes ( #767 )
...
* WIP
* Update laravel and migrations
* WIP
* fix tests
* Update composer
* Fix transformer
* Fix filament pages
* WIP
* Update DatabaseHostTransformer
* fix: tests
* pint this files pls
* resolve merge better
* Update migration
* Update Migration, Again
* Update down migration
---------
Co-authored-by: Vehikl <go@vehikl.com>
2024-12-06 20:24:30 -05:00
Boy132
408897cfcf
Allow username on filament login page + make case insensitive ( #714 )
...
* allow login with username
* make login case insensitive
* fix tests
2024-11-15 20:39:06 +01:00
Lance Pioch
6125b07afa
Remove old admin area ( #648 )
...
* Remove old admin
* Remove controller test
* Remove unused exceptions
* Remove unused files
* More small tweaks
* Fix doc block
* Remove unused service
* Restore these
* Add back autoDeploy
* Revert "Add back autoDeploy"
This reverts commit 630c1e08acf8056ce8e612f376fcd00c23d90aea.
* Add these back
* Add back exception
* Remove ApiController again
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Co-authored-by: Boy132 <mail@boy132.de>
Co-authored-by: notCharles <charles@pelican.dev>
2024-11-13 17:05:48 -05:00
Lance Pioch
47bd7289b1
Clear webhook cache when webhooks are deleted ( #695 )
...
* Clear webhook cache when webhooks are deleted
* fix: type casts
---------
Co-authored-by: Vehikl <go@vehikl.com>
2024-11-07 17:26:47 -05:00
Boy132
b3501be6ec
Refactor api key permissions ( #361 )
...
* use RESOURCE_NAME for requests
* use RESOURCE_NAME for transformers
* add permissions field to api key
* add migration for new permissions field
* update tests
* remove debug log
* set column type to "json"
* remove default attribute to fix tests
* fix default value for permissions
* fix after merge
* fix after merge
* allow to "register" custom permissions
* add "role" to default resource names
* fix after merge
* fix phpstan
* fix migrations
2024-11-06 09:09:10 +01:00
MartinOscar
f3de185508
Add back auto deploy ( #627 )
...
* Add Docker, Refactor, Fix Notification
Co-authored-by: notCharles <charles@pelican.dev>
* Pint
* Required adjustments
* Remove deprecated
* Third time's the charm
---------
Co-authored-by: notCharles <charles@pelican.dev>
2024-10-26 20:43:19 -04:00
Colin DeCarlo
86c369d7ce
Implement Webhooks ( #548 )
...
* feat: First Webhook PoC draft
* feat: Dispatch Webhooks PoC
* fix: typo in webhook configuration scope
* Update 2024_04_21_162552_create_webhooks_table.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update 2024_04_21_162552_create_webhooks_table.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update 2024_04_21_162544_create_webhook_configurations_table.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update 2024_04_21_162544_create_webhook_configurations_table.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update DispatchWebhooks.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update DispatchWebhooksJob.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update DispatchWebhookForConfiguration.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update DispatchWebhookForConfiguration.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update DispatchWebhookForConfiguration.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update DispatchWebhooksJob.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update DispatchWebhooksJob.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* Update DispatchWebhooksJob.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* chore: Implement Webhook Event Discovery
* we got a test working for webhooks
* WIP
* Something is working!
* More tests
* clean up the tests now that they are passing
* WIP
* Don't use model specific events
* WIP
* WIP
* WIP
* WIP
* WIP
* Do it sync
* Reset these
* Don't need restored event type
* Deleted some unused jobs
* Find custom Events
* Remove observers
* Add custom event test
* Run Pint
* Add caching
* Don't cache every single event
* Fix tests
* Run Pint
* Phpstan fixes
* Pint fix
* Test fixes
* Middleware unit test fix
* Pint fixes
* Remove index not working for older dbs
* Use facade instead
---------
Co-authored-by: Pascale Beier <mail@pascalebeier.de>
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
Co-authored-by: Vehikl <go@vehikl.com>
2024-10-26 20:35:25 -04:00
Lance Pioch
64943aa50c
Merge branch 'main' into lance/pint-fixes
2024-10-20 11:53:10 -04:00
Lance Pioch
bb5955cff4
Have to make this match the trait
2024-10-19 21:19:59 -04:00
Lance Pioch
38be89a71e
Pint
2024-10-19 21:16:33 -04:00
Lance Pioch
deb6603840
Revert "Add concat_space rule"
...
This reverts commit 96acd268bee7005fe1691b572a4674575604d437.
2024-10-19 21:14:41 -04:00
Lance Pioch
c7a307af6e
Enforce return and parameter types
2024-10-19 21:02:49 -04:00
Lance Pioch
466f9f7edc
Add phpdoc_separation rule
2024-10-19 18:46:05 -04:00
Lance Pioch
d21740d458
Add phpdoc_align rule
2024-10-19 18:42:23 -04:00
Lance Pioch
1bf6a880fb
Add nullable_type_declaration_for_default_null_value rule
2024-10-19 18:41:08 -04:00
Lance Pioch
96acd268be
Add concat_space rule
2024-10-19 18:30:34 -04:00