Skip to content

Comments

feat: add admin form & hide private ssh key (#62, #65)#69

Merged
dan2k3k4 merged 3 commits intoprodfrom
main
Feb 19, 2026
Merged

feat: add admin form & hide private ssh key (#62, #65)#69
dan2k3k4 merged 3 commits intoprodfrom
main

Conversation

@dan2k3k4
Copy link
Member

@dan2k3k4 dan2k3k4 commented Feb 19, 2026

Merge #62 and #65 into prod

* chore: hide private ssh key when on edit polydock store page

* chore: derive public key using ssh-keygen

* chore: migrate lagoon_deploy_private_key field into encrypted entry ni polydock_variables table

* chore: log errors relating to ssh-keygen, mark getLagoonCodeDataValueForRegion as optional string

* chore: use phpseclib to read private ssh key and output public key

* chore: adjust labels

* chore: add tests

* chore: add comment about ssh key in code for tests

* fix: ensure null is not passed to markdown call

* chore: ensure down method handles decrypting ssh keys and logging errors
* chore: add admin form

* chore: add create polydock app instance - filament test

* feat: implement dynamic app class discovery and custom configuration schemas

- Introduced `PolydockAppClassDiscovery` service to dynamically locate and register `PolydockAppInterface` implementations via Composer classmaps.
- Enhanced Filament admin resources (`PolydockStoreApp` and `PolydockAppInstance`) to render dynamic forms and infolists based on class-defined schemas.
- Integrated `PolydockVariable` storage for app and instance-specific configurations, including support for field-level encryption.
- Updated the trial registration flow in `ProcessUserRemoteRegistration` to capture and store instance configuration fields.
- Added validation to `PolydockEngine` to ensure discovered classes correctly implement the required interfaces.
- Applied `declare(strict_types=1);` and improved type hinting across modified core files.
- Bumped `freedomtech-hosting` and `amazeeio` package dependencies to latest versions.
- Added comprehensive unit tests for the new discovery service.

* fix: exception logging

* chore: fixup env vars

* chore: require amazeeio/lagoon-logs

* fix: additional null check return string, and ensure polydock_store_id is set for create webhook store
@dan2k3k4 dan2k3k4 changed the title chore: hide private ssh key when on edit polydock store page (#62) feat: add admin form & hide private ssh key (#62, #65) Feb 19, 2026
@dan2k3k4 dan2k3k4 merged commit eb1ec74 into prod Feb 19, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant