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
Boy132
82fd547484
replace encrypt/ decrypt with encrypted casting
2024-05-28 15:24:20 +02:00
Boy132
4dd833562b
Add CPU limit to node ( #239 ) to resolve #233
...
* add node cpu limit to backend
* update makenodecommand
* add node cpu limit to frontend
* add migration and update mysql schema
* run pint
* fix typo in mysql schema
* forgot this assert
* forgot to setCpu here
* run pint
* adjust migration
* Fix db migration
* make cpu optional
* set default value for cpu in node deployment
* update mysql schema
---------
Co-authored-by: notCharles <charles@pelican.dev>
2024-05-22 02:34:43 -04:00
notCharles
54eaf8ab0f
Change colums
...
Closes https://github.com/pelican-dev/panel/issues/3
2024-04-13 21:51:22 -04:00
Lance Pioch
d4d3ffc96c
Use faker methods instead of properties
2024-03-19 16:47:02 -04:00
Lance Pioch
c83dd86a41
Switch namespace back to App
2024-03-12 22:39:16 -04:00
DaneEveritt
446562fcff
Update NodeFactory.php
2022-06-26 21:00:19 -04:00
Matthew Penner
d33522c857
composer: upgrade dependencies ( #3427 )
2021-07-11 10:27:15 -07:00
Dane Everitt
c449ca5155
Use more standardized phpcs
2021-01-23 12:33:34 -08:00
Dane Everitt
a043071e3c
Update to Laravel 8
...
Co-authored-by: Matthew Penner <me@matthewp.io>
2021-01-23 12:12:54 -08:00