v1.8.12#239
Merged
Merged
Conversation
Update Translations
Replace legacy Apache 2.2 Order/Allow/Deny rules with Apache 2.4 'Require' directives across multiple .htaccess files (core/class, data, plugin_info, resources, resources/ttscastd). File-specific allowances now use 'Require all granted' for matched patterns and defaults use 'Require all denied'. Also bump plugin_info/info.json pluginVersion from 1.8.11 to 1.8.12.
Skip TTSCast virtual AI devices ('TTSCast_AI_Stats' and 'TTSCast_AI') across multiple methods to avoid adding/removing casts or sending data for those eqLogics. Added early-return guards in enableCastToDaemon/disableCastToDaemon and updated loop filters in sendOnStartCastToDaemon, radio/custom radio/sound handlers and cron5. Also adjusted French log/comment wording for clarity (e.g. 'Envoi équipements TTSCast actifs', comment to 'Ignorer les équipements virtuels IA').
Ignore AI virtual devices; update messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the plugin to version 1.8.12 and introduces several improvements. The main changes include updating
.htaccessfiles to use modern Apache directives, expanding the logic to consistently ignore additional virtual AI devices throughout the codebase, and making minor logging improvements.Security and compatibility updates:
.htaccessfiles (such ascore/class/.htaccess,resources/.htaccess,resources/ttscastd/.htaccess,data/.htaccess, andplugin_info/.htaccess) to useRequire all deniedorRequire all grantedinstead of deprecatedOrder allow,denyandDeny from all/allow from alldirectives, improving compatibility with newer Apache versions. [1] [2] [3] [4]Code logic improvements:
core/class/ttscast.class.phpto ignore bothTTSCast_AI_StatsandTTSCast_AIlogical IDs when processing TTSCast devices, ensuring that all virtual AI devices are consistently excluded from operations like enabling/disabling cast, updating radio/sound lists, and scheduled tasks. [1] [2] [3] [4] [5] [6] [7] [8]Other improvements:
sendOnStartCastToDaemon.plugin_info/info.jsonfrom 1.8.11 to 1.8.12.