Skip to content

Plugin proxy - #9

Merged
harryxu merged 5 commits into
masterfrom
plugin-proxy
Aug 24, 2026
Merged

Plugin proxy#9
harryxu merged 5 commits into
masterfrom
plugin-proxy

Conversation

@harryxu

@harryxu harryxu commented Aug 24, 2026

Copy link
Copy Markdown
Owner

No description provided.

- Introduced `allow_lan` and `plugin_meta` fields in the Site model to manage LAN access and store plugin metadata.
- Updated SiteCreate, SiteUpdate, and SiteRead schemas to include new fields.
- Implemented `sync_plugin_for_site` function to download plugins, parse metadata, and persist it in the database.
- Created a new router for plugin proxy requests, allowing plugins to make authorized HTTP requests.
- Added validation for allowed hosts and LAN access in the plugin proxy service.
- Enhanced frontend to display declared hosts and allow LAN access configuration in the site form.
- Implemented utility functions for parsing plugin metadata and handling proxy requests.
- Added unit tests for plugin proxy service and metadata parsing.
@harryxu
harryxu merged commit d1b9c25 into master Aug 24, 2026
2 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