Boy132
fe4668a517
Update web installer (again) ( #705 )
...
* update web installer (again)
* set default values for mysql/ mariadb and redis
* add own step for queue setup
* create admin user in submit
* disable redis for queue if cache isn't redis
* remove separate user step and make session own step
* use `request()->isSecure()`
v1.0.0-beta13
2024-11-13 18:15:48 -05: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
Boy132
9717aa4b5f
Cleanup SoftwareVersionService
( #704 )
...
* cleanup SoftwareVersionService
* fix old admin area
* show latest wings version on EditNode page
* even more cleanup
2024-11-13 16:26:10 -05:00
MartinOscar
9491322d8c
Merge pull request #708 from pelican-dev/charles/fixbulk
...
Prevent Select All on Allocations
2024-11-13 22:25:21 +01:00
notCharles
8ed6bb4d8b
pint
2024-11-13 16:22:12 -05:00
notCharles
a787af7a06
Prevent Select All
...
Prevent Select all on allocations, prevent people from trying to delete 30,000 ports at once ....
2024-11-13 16:21:27 -05:00
MartinOscar
d9016702d6
Merge pull request #707 from pelican-dev/charles/fixnode
...
Change 'exception'
2024-11-13 22:07:45 +01:00
notCharles
d565441b6a
Change 'exception'
...
Remove the exception and just report the whole error.
2024-11-13 15:58:20 -05:00
Michael (Parker) Parker
cb522b24ef
Merge pull request #706 from parkervcp/update/egg_version
...
use correct case for import
2024-11-09 13:59:38 -05:00
Michael (Parker) Parker
b85b17f080
use correct case for import
...
use lower case `v` instead of upper case `V`
2024-11-09 13:53:50 -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
a9b76a0f51
Improve egg import error handling ( #703 )
...
* make sure read & write are successful
* show exception message in notification
2024-11-07 17:15:47 -05:00
MartinOscar
8eebb82eba
Fix AutoDeploy & KeyCreationService ( #701 )
...
* Fix AutoDeploy & KeyCreationService
* Get rid of 2nd param & unset perm
2024-11-07 17:15:41 -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
Michael (Parker) Parker
ac67656d82
Merge pull request #700 from BlockyBlockling/skip-caddy-fix
...
Fixing Docker Environment variable only getting checked for existence instead of value
2024-11-04 11:51:05 -05:00
BlockyBlockling
968239beb3
Update entrypoint.sh
...
Fixed Syntax after last change
2024-11-04 13:07:57 +01:00
BlockyBlockling
7514206186
Update entrypoint.sh
...
Adding :- Syntax which ensures that, if SKIP_CADDY is unset, it will be treated as an empty string, which will not match "true". This avoids potential issues with unbound variables in some shell configurations where set -u (treating unset variables as an error) is enabled.
(ChatGPT)
2024-11-04 13:07:20 +01:00
BlockyBlockling
1a8321c937
Update entrypoint.sh
...
Fixing that its only checking for the existence of the environment variable „SKIP_CADDY“ instead of checking for its value
2024-11-04 12:43:40 +01:00
MartinOscar
340ae8099b
Fix trusted proxies settings & Move ips to config & Add ipv6 ( #692 )
...
* Fix blank proxy & Move hardcoded cloudflare ips
* Add cloudflare's ipv6
* Pull from url innstead of hardcoded
* Remove Service
2024-11-01 18:16:59 -04:00
Boy132
9d02aeb130
Replace reCAPTCHA with Turnstile ( #589 )
...
* add laravel turnstile
* add config & settings for turnstile
* publish view to center captcha
* completely replace reCAPTCHA
* update FailedCaptcha event
* add back config for domain verification
* don't set language so browser lang is used
2024-11-01 18:15:04 -04:00
Charles
cf57c28c40
Update Webhooks to match other resources ( #686 )
...
* Move these
Move List/Create to their own pages to follow the flow of the other resources.
* Move EditPage aswell
* Move Save
* Labels
* Change Edit/Delete
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2024-11-01 18:14:20 -04:00
Boy132
382dcb3868
Fix redis connection check ( #698 )
2024-11-01 18:10:36 +01:00
Boy132
f793b49a81
Add egg filter to server mounts list ( #697 )
2024-11-01 18:10:24 +01:00
Lance Pioch
41ddae1ba0
Update ci.yaml ( #643 )
2024-10-31 05:39:42 -04:00
MartinOscar
e717e20996
Merge pull request #687 from RMartinOscar/fix/HealthVersion
...
Fix Node Health not refreshing live & Add tooltip
2024-10-30 01:58:37 +01:00
Lance Pioch
b5145b016b
Update app/Models/Node.php
2024-10-29 19:53:12 -04:00
Lance Pioch
95a8f72058
Update app/Models/Node.php
2024-10-29 19:52:51 -04:00
Lance Pioch
19548338ee
Update app/Models/Node.php
2024-10-29 19:52:32 -04:00
RMartinOscar
a8356fc5d2
Polishing & throw curl error
2024-10-29 20:36:44 +00:00
Boy132
7a447b04d5
Make sure roles always use web
guard name ( #690 )
2024-10-29 18:29:25 +01:00
RMartinOscar
45699e1614
Set refresh rate 10s & Add tooltip for unreachable node
2024-10-29 15:01:30 +00:00
RMartinOscar
cde3546889
Add poll & tooltip
2024-10-29 03:28:51 +00:00
MartinOscar
3f9c1dbc3c
Add prune & event blacklist ( #682 )
...
* Add prune & event blacklist
* Pinted 3times with --dirty bruh
* Add to Settings
* Fix prune & description
* Prune Logs not Configuration
2024-10-28 18:44:32 -04:00
Charles
bc2df22d78
Add unique ( #685 )
...
Usernames have to be unique, trying to make a new user with an existing username results in a 500, this fixes it.
2024-10-28 18:23:29 -04:00
Michael (Parker) Parker
1a3dc5c743
Update Egg Export Version to PLCN_V1 ( #676 )
...
* Update Egg Export Version to PLCN_V1
resolves #675
* correct version tag
* remove trailing space
2024-10-27 18:04:21 -04:00
Charles
fdd1b3798c
add whereNull ( #680 )
...
Add where null to not include allocations already assigned to a server.
2024-10-27 18:01:09 -04:00
Charles
288cbee32f
Fix Docker image selection ( #674 )
...
* Fix Docker image selection
Should address issue 672
Closes #672
* Fix Docker image selection in CreateServer page
---------
Co-authored-by: MartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2024-10-27 11:22:12 -04:00
MartinOscar
a70a060350
Add Soft Deletes to webhooks config table ( #670 )
2024-10-27 00:42:08 -04:00
MartinOscar
590569a131
Remove duplicated spa in AdminPanelProvider ( #668 )
2024-10-26 23:25:21 -04:00
Charles
7acc8782bb
Make description required. ( #667 )
2024-10-26 22:06:34 -04: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>
v1.0.0-beta11
2024-10-26 20:43:19 -04:00
Charles
291b514e24
Webhook updates ( #666 )
2024-10-26 20:40: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
Quinten
5f77deb1fd
Panel: Fix wings stoplogic ( #407 )
...
* Panel: FIx wings stoplogic
* do not make an expetion for `^C` let wings handle this
* remove withspaces
2024-10-26 19:21:14 -04:00
Charles
5f4429e2c3
Remove Bulk Delete from Nodes ( #665 )
...
* Remove Bulk Delete from Nodes
Removes bulk delete option from nodes.
* pint
2024-10-26 18:59:06 -04:00
Lance Pioch
1df3e8d5b0
Don't allow NodeStatisticsJob to be in the queue multiple times ( #664 )
...
* Make job unique
* Pint fix
2024-10-26 18:53:32 -04:00
Michael (Parker) Parker
ecb195b2c4
Merge pull request #662 from BlockyBlockling/docker-workflow-rework
...
Adding fix for forks to use a variable for Docker image reference instead of hard String
2024-10-26 18:45:59 -04:00
BlockyBlockling
86e8a6371e
Update docker-publish.yml
...
Adding fix for forks to use a variable for Docker image reference
Source of information: https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images
2024-10-24 22:05:46 +02:00
Michael (Parker) Parker
d653edb22e
Merge pull request #660 from BlockyBlockling/main
...
Fixing Critical error on Webserver on Pelican Panel Docker Image
2024-10-24 15:21:48 -04:00
BlockyBlockling
741252e395
Update supervisord.conf
...
Adding username and password dummy to get rid of critical error message
2024-10-24 21:15:03 +02:00