mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
* fix(plugins): Fix GitHub install button for single plugin installation - Clone install button before attaching event listener to prevent duplicate handlers - Add safety checks for pluginStatusDiv element - Move installFromCustomRegistry function definition earlier in file - Add error logging when button/elements not found - Ensure consistent button reference usage in event handlers Fixes issue where Install button in 'Install Single Plugin' section was not working properly. * fix(plugins): Add button type and better logging for install button - Add type='button' to install button to prevent form submission - Add console logging to debug click handler attachment - Add preventDefault and stopPropagation to click handler - Improve error logging for debugging * fix(plugins): Re-attach install button handler when section is shown - Extract install button handler to separate function - Re-attach handler when GitHub install section is toggled visible - Add data attribute to prevent duplicate handler attachments - Add comprehensive logging for debugging - Handler now attaches even if section starts hidden * fix(plugins): Add comprehensive logging to debug install button handler - Add logging at function entry points - Add logging when section is shown and handler re-attached - Add logging before and after calling attachInstallButtonHandler - Helps diagnose why handler isn't being attached * fix(plugins): Expose GitHub install handlers globally and add fallback - Expose setupGitHubInstallHandlers and attachInstallButtonHandler to window object - Add fallback handler attachment after page load delay - Fix typo in getElementById call - Allows manual testing from browser console - Ensures handlers are accessible even if IIFE scope issues occur * fix(plugins): Add fallback handler attachment after page load * fix(plugins): Ensure GitHub install handlers are set up even if already initialized - Add check to verify setupGitHubInstallHandlers exists before calling - Call setupGitHubInstallHandlers even if initializePlugins was already called - Add comprehensive logging to track function execution - Helps diagnose why handlers aren't being attached * fix(plugins): Add more prominent logging markers for easier debugging * fix(plugins): Add simple standalone handler for GitHub plugin installation - Create handleGitHubPluginInstall() function defined early and globally - Add inline onclick handler to button as fallback - Bypasses complex initialization flow and IIFE scope issues - Direct approach that works immediately without dependencies - Provides clear error messages and logging * chore: Update 7-segment-clock plugin submodule - Update to latest version with scaling support - Includes compatible_versions field fix for plugin store installation * fix(plugins): Add update and uninstall handling to global event delegation fallback - Add 'update' action handling in handleGlobalPluginAction fallback - Add 'uninstall' action handling with confirmation dialog - Fixes issue where update/uninstall buttons did nothing - Buttons now work even if handlePluginAction isn't available yet * fix(plugins): Improve error message for plugin updates from GitHub URLs - Check if plugin is a git repository before checking registry - Provide more accurate error messages for plugins installed from URLs - Fixes misleading 'Plugin not found in registry' error for git-based plugins - Update should work for plugins installed from GitHub URLs even if not in registry * fix(plugins): Add detailed logging for plugin update failures - Log git command that failed and return code - Add logging before/after update attempt - Log whether plugin is detected as git repository - Helps diagnose why updates fail for plugins installed from URLs * fix(plugins): Add better logging for plugin update detection - Log when plugin is detected as git repository - Log when plugin is not a git repository - Provide helpful message for ZIP-installed plugins - Helps diagnose why updates fail for plugins installed from URLs * fix(plugins): Enable updates for plugins installed from GitHub URLs - Get git remote URL from plugin directory even if .git is missing - If plugin not in registry but has remote URL, reinstall as git repo - Allows updating plugins installed from URLs even if git clone failed initially - Falls back to reinstalling from original URL to enable future updates * fix(plugins): Reinstall from git remote URL if plugin not in registry - When plugin is not a git repo and not in registry, check for git remote URL - If remote URL exists, reinstall plugin from that URL to enable future updates - Handles case where plugin was installed from URL but git clone failed initially * fix(plugins): Improve git update error handling and logging - Make git fetch non-fatal (log warning but continue) - Make git checkout non-fatal (log warning but continue) - Add detailed error messages for common git failures - Log which git command failed and return code - Better handling of authentication, merge conflicts, and unrelated histories * fix(plugins): Add detailed exception logging to update endpoint - Log full traceback when update fails - Log exception details in catch block - Helps diagnose update failures from API endpoint * fix(plugins): Handle untracked files during plugin update - Remove .dependencies_installed marker file before pull (safe to regenerate) - Stash untracked files using 'git stash -u' if they can't be removed - Prevents 'untracked files would be overwritten' errors during update - Fixes issue where .dependencies_installed blocks git pull * chore: Update 7-segment-clock submodule with improved clone instructions --------- Co-authored-by: Chuck <chuck@example.com>
67 lines
3.0 KiB
Plaintext
67 lines
3.0 KiB
Plaintext
[submodule "plugins/odds-ticker"]
|
|
path = plugins/odds-ticker
|
|
url = https://github.com/ChuckBuilds/ledmatrix-odds-ticker.git
|
|
[submodule "plugins/clock-simple"]
|
|
path = plugins/clock-simple
|
|
url = https://github.com/ChuckBuilds/ledmatrix-clock-simple.git
|
|
[submodule "plugins/text-display"]
|
|
path = plugins/text-display
|
|
url = https://github.com/ChuckBuilds/ledmatrix-text-display.git
|
|
[submodule "rpi-rgb-led-matrix-master"]
|
|
path = rpi-rgb-led-matrix-master
|
|
url = https://github.com/hzeller/rpi-rgb-led-matrix.git
|
|
[submodule "plugins/basketball-scoreboard"]
|
|
path = plugins/basketball-scoreboard
|
|
url = https://github.com/ChuckBuilds/ledmatrix-basketball-scoreboard.git
|
|
[submodule "plugins/soccer-scoreboard"]
|
|
path = plugins/soccer-scoreboard
|
|
url = https://github.com/ChuckBuilds/ledmatrix-soccer-scoreboard.git
|
|
[submodule "plugins/calendar"]
|
|
path = plugins/calendar
|
|
url = https://github.com/ChuckBuilds/ledmatrix-calendar.git
|
|
[submodule "plugins/mqtt-notifications"]
|
|
path = plugins/mqtt-notifications
|
|
url = https://github.com/ChuckBuilds/ledmatrix-mqtt-notifications.git
|
|
[submodule "plugins/olympics-countdown"]
|
|
path = plugins/olympics-countdown
|
|
url = https://github.com/ChuckBuilds/ledmatrix-olympics-countdown.git
|
|
[submodule "plugins/ledmatrix-stocks"]
|
|
path = plugins/ledmatrix-stocks
|
|
url = https://github.com/ChuckBuilds/ledmatrix-stocks.git
|
|
[submodule "plugins/ledmatrix-music"]
|
|
path = plugins/ledmatrix-music
|
|
url = https://github.com/ChuckBuilds/ledmatrix-music.git
|
|
[submodule "plugins/static-image"]
|
|
path = plugins/static-image
|
|
url = https://github.com/ChuckBuilds/ledmatrix-static-image.git
|
|
[submodule "plugins/football-scoreboard"]
|
|
path = plugins/football-scoreboard
|
|
url = https://github.com/ChuckBuilds/ledmatrix-football-scoreboard.git
|
|
[submodule "plugins/hockey-scoreboard"]
|
|
path = plugins/hockey-scoreboard
|
|
url = https://github.com/ChuckBuilds/ledmatrix-hockey-scoreboard.git
|
|
[submodule "plugins/baseball-scoreboard"]
|
|
path = plugins/baseball-scoreboard
|
|
url = https://github.com/ChuckBuilds/ledmatrix-baseball-scoreboard.git
|
|
[submodule "plugins/christmas-countdown"]
|
|
path = plugins/christmas-countdown
|
|
url = https://github.com/ChuckBuilds/ledmatrix-christmas-countdown.git
|
|
[submodule "plugins/ledmatrix-flights"]
|
|
path = plugins/ledmatrix-flights
|
|
url = https://github.com/ChuckBuilds/ledmatrix-flights.git
|
|
[submodule "plugins/ledmatrix-leaderboard"]
|
|
path = plugins/ledmatrix-leaderboard
|
|
url = https://github.com/ChuckBuilds/ledmatrix-leaderboard.git
|
|
[submodule "plugins/ledmatrix-weather"]
|
|
path = plugins/ledmatrix-weather
|
|
url = https://github.com/ChuckBuilds/ledmatrix-weather.git
|
|
[submodule "plugins/ledmatrix-news"]
|
|
path = plugins/ledmatrix-news
|
|
url = https://github.com/ChuckBuilds/ledmatrix-news.git
|
|
[submodule "plugins/ledmatrix-of-the-day"]
|
|
path = plugins/ledmatrix-of-the-day
|
|
url = https://github.com/ChuckBuilds/ledmatrix-of-the-day.git
|
|
[submodule "plugins/7-segment-clock"]
|
|
path = plugins/7-segment-clock
|
|
url = https://github.com/ChuckBuilds/ledmatrix-7-segment-clock
|