74 Commits

Author SHA1 Message Date
Boy132
e970ae3767 add plugin dev mode 2025-11-05 16:24:11 +01:00
Boy132
819422acc8 add enable param to installPlugin function 2025-11-05 16:24:11 +01:00
Boy132
d02bbe2cea remove need for static get and make methods 2025-11-05 16:24:11 +01:00
Boy132
faa14d0bf4 implement getPluginLanguages 2025-11-05 16:24:11 +01:00
Boy132
5dc01a66f3 correctly handle language plugins 2025-11-05 16:24:10 +01:00
Boy132
2384cc870a add warning when trying to enable multiple themes 2025-11-05 16:24:10 +01:00
Boy132
a741be7226 try to rebuild assets when installing/ updating plugin 2025-11-05 16:24:10 +01:00
Boy132
02d18f28e3 add update button 2025-11-05 16:24:10 +01:00
Boy132
ef2bae409d add simple plugin downloader 2025-11-05 16:24:10 +01:00
Boy132
b0e5c7cc4a load translations earlier 2025-11-05 16:24:10 +01:00
Boy132
10dd7b7b47 improve error handling for plugin.json loading 2025-11-05 16:24:10 +01:00
Boy132
c7c1b8b88c improve parsing of plugin.json and handle error if provider/ commands dir is missing 2025-11-05 16:24:10 +01:00
Boy132
72b9a24ac4 allow plugins to load additionals composer packages 2025-11-05 16:24:09 +01:00
Boy132
7ac298ffd5 automatically discover providers & commands 2025-11-05 16:24:09 +01:00
Boy132
4df52c21fa change format of plugin.json 2025-11-05 16:24:09 +01:00
Boy132
f246dff768 fix typo 2025-11-05 16:24:09 +01:00
Boy132
863d13bc39 change panel version checks and loading behaviour of incompatible plugins
Co-authored-by: pelican-vehikl <pelican.vehikl@gmail.com>
2025-11-05 16:24:09 +01:00
Boy132
7cf7555282 small cleanup 2025-11-05 16:24:09 +01:00
Boy132
6d631d1ec2 use facade and cleanup evil @phpstan-ignore-lines 2025-11-05 16:24:09 +01:00
Boy132
fa9fbedf5b add load order to plugins 2025-11-05 16:24:09 +01:00
Boy132
253fe21554 add contracts for plugin methods 2025-11-05 16:24:09 +01:00
Boy132
a197cfc63f only load installed plugins 2025-11-05 16:24:08 +01:00
Boy132
ef82ad9603 some fixes for new not_installed status 2025-11-05 16:24:08 +01:00
Boy132
2e0cac0d6e add install command for plugin 2025-11-05 16:24:08 +01:00
Boy132
404b96ab73 run pint 2025-11-05 16:24:08 +01:00
Boy132
ab86957c76 run pint & fix phpstan 2025-11-05 16:24:08 +01:00
Boy132
3e49021f82 allow plugins to have artisan commands 2025-11-05 16:24:08 +01:00
Boy132
a0ff652692 allow plugins to have custom views 2025-11-05 16:24:08 +01:00
Boy132
9a0cc8a603 allow plugins to have migrations and translations 2025-11-05 16:24:08 +01:00
Boy132
d87b2a9f72 allow plugins to have a config file 2025-11-05 16:24:08 +01:00
Boy132
5e2c440eab allow plugins to register service providers 2025-11-05 16:24:07 +01:00
Boy132
314a9bfd07 add plugin service and handle loading 2025-11-05 16:24:07 +01:00
Letter N
e589f972fb
Add changelog preview when a new update is available (#1792)
Co-authored-by: Boy132 <mail@boy132.de>
2025-10-11 21:34:38 -04:00
Lance Pioch
da195fd2fe
PHPstan updates (#1047)
* Not found property rule

* Make these “better”

* Day 1

* Day 2

* Day 3

* Dat 4

* Remove disabled check

* Day 4 continued

* Run pint

* Final changes hopefully

* Pint fixes

* Fix again

* Reset these

* Update app/Filament/Admin/Pages/Health.php

Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>

* Update app/Traits/CheckMigrationsTrait.php

Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>

---------

Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
2025-03-03 14:41:19 -05:00
Charles
f8ad720f52
Admin Area Translations (#965)
* Init

* Health Page

* Admin API Keys

* Update API Keys

* Database Hosts

* Mounts

* remove `s`

* Users

* Webhooks

* Server

never again...

* Fix Server

* Settings

* Update Mounts

* Update Databasehost

* Update Server

* Oops, Update Server

* Nodes

* Update User

* Dashboard

* Update Server

* Profile

* Egg

* Role & Update Egg

* Add base Laravel lang files

* update apikey

* remove html back to settings, remove comment

* add `:resource` to create_action

* Update Egg

* Update Egg v2

* Update 1

* trans cf info label

* Update charts

* more trans

* Update Webhook

* update Health

* Update Server

* Update Role

* Fixes

* Bulk Update

* AnotherOne

* Fix relation button label

* rename `admin1` to `admin`

Leftover from testing... oops

* More Translations

* Updates

* `pint` + Relation Manager Titles
2025-02-08 23:16:54 -05:00
Lance Pioch
ad1a9cd33f
Update phpstan to latest (#804)
* Fix these

* Update phpstan

* Transform these into their identifiers instead

* Fix custom rule

* License is wrong

* Update these

* Pint fixes

* Fix this

* Consolidate these

* Never supported PHP 7

* Better evaluation

* Fixes

* Don’t need ignore

* Replace trait with service

* Subusers are simply the many to many relationship between Servers and Users

* Adjust to remove ignores

* Use new query builder instead!

* wip

* Update composer

* Quick fixes

* Use realtime facade

* Small fixes

* Convert to static to avoid new

* Update to statics

* Don’t modify protected properties directly

* Run pint

* Change to correct method

* Give up and use the facade

* Make sure this route is available

* Filament hasn’t been loaded yet

* This can be readonly

* Typehint

* These are no longer used

* Quick fixes

* Need doc block help

* Always true

* We use caddy with docker

* Pint

* Fix phpstan issues

* Remove unused import

---------

Co-authored-by: MartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2025-01-16 14:53:50 -05:00
MartinOscar
a7a7c5ba4d
Fix Latest version error (#890)
* Retry if it fails

* Pint
2025-01-08 13:48:36 +01:00
Scai
7bd66c3d85 refactor: unused files 2025-01-06 15:48:50 +02:00
notCharles
d87d3760a1 Fix Panel Version Cache 2024-11-13 19:08:46 -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
Boy132
56484a2282
Increase guzzle timeout when running tests (#485)
* increase guzzle timeout when running tests

* catch correct exception
2024-07-20 17:18:45 +02:00
Charles
833ae30e59
Add timeouts (#483)
* Add timeouts

Add Timeouts to github call.

* use config value
2024-07-15 19:09:52 -04:00
Boy132
0da184c56e
Get latest Panel & Wings version from github api (#379)
* get latest panel % wings version from github api

* fix tests

* remove unused CdnVersionFetchingException
2024-06-13 08:23:45 +02:00
Boy132
93f059025c show update info on dashboard, show git commit (when using git) 2024-06-08 00:38:46 +02:00
Lance Pioch
cea1a3eccc Discord link 2024-03-23 11:03:59 -04:00
Lance Pioch
c83dd86a41 Switch namespace back to App 2024-03-12 22:39:16 -04:00
Lance Pioch
16c2b606b4
Add ManifestDoesNotExistException and Solution (#4455)
Co-authored-by: Matthew Penner <matthew@pterodactyl.io>
2022-10-31 10:29:10 -06:00
Matthew Penner
2828a4b1e0
fix AssetManifestService error when loading the panel 2022-10-14 11:00:10 -06:00
Matthew Penner
cbcf62086f
Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00
Dane Everitt
c449ca5155
Use more standardized phpcs 2021-01-23 12:33:34 -08:00