Commit graph

10 commits

Author SHA1 Message Date
frdel
44e008745d Sanitize print logs; refactor popular plugin logic
Some checks are pending
Build And Publish Docker Images / plan (push) Waiting to run
Build And Publish Docker Images / build (push) Blocked by required conditions
Ensure printed output and HTML logs are safe by importing and applying sanitize_string, opening log files with utf-8 and errors='replace', and sanitizing text before writing. Add tests to verify lone surrogate characters are replaced and that logging won't crash on invalid Unicode. In the plugin installer UI, introduce POPULAR_PLUGIN_MIN_STARS and centralize popularity checking in _isPopularPlugin, using it for filtering and counts.
2026-03-30 11:50:59 +02:00
frdel
c7a983638e Add force refresh support and state management improvements to plugin installer and model config
- Add force parameter to plugin index fetch with cache-busting headers and timestamp
- Add openIndexView and reloadIndex methods to pluginInstallStore for explicit refresh
- Add request sequence tracking to prevent race conditions in concurrent index loads
- Move models summary state from component to store with loading/caching support
- Add refreshModelsSummary, ensureModelsSummaryLoaded, and modal
2026-03-26 17:24:32 +01:00
Alessandro
d986a19839 plugin_installer: refetch plugin hub on Browse tab
The browse view used x-create on install-index to load the index, but
that hook was not a dependable signal when returning from the Git or ZIP
tabs. setTab('store') now resets browse state and calls fetchIndex so the
hub stays in sync whenever Browse is selected, including on modal open.
2026-03-23 17:56:38 +01:00
Alessandro
6b8a6d959a improve Plugin Hub cards and plugin info
Surface repository metadata for installed custom plugins and add quick actions from the plugin info modal to open plugin files or jump back into the Plugin Hub. Refresh Plugin Hub card/status styling and modal spacing.
2026-03-21 13:01:44 +01:00
Alessandro
6aaa435a1d plugins: thumbnails in plugin list and hub 2026-03-19 15:57:58 +01:00
Alessandro
2dc6bd54f2 plugins: rename marketplace to plugin hub 2026-03-16 17:54:54 +01:00
frdel
482fa42d98 refactor(git): Restructure git helpers with dataclasses and add remote update checking
Replace get_git_info implementation with structured dataclass-based approach. Add GitHeadInfo, GitReleaseInfo, GitRemoteReleaseInfo, GitRemoteReleasesResult, GitRemoteCommitsInfo, GitRepoReleaseInfo, and PluginUpdateInfo dataclasses. Implement get_remote_releases to query GitHub tags, get_remote_commits_since_local to check for upstream commits, get_repo_release_info to extract repository metadata, and update
2026-03-13 15:18:13 +01:00
Alessandro
1f0eeacfd4 streamline plugin marketplace CSS 2026-03-11 13:21:50 +01:00
Alessandro
a9722e70fd use toastFrontend for error msgs in plugins 2026-03-11 13:01:52 +01:00
frdel
6515626242 refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
Renamed from plugins/plugin_installer/webui/install-index.html (Browse further)