fix ai_text setting validation#129
Merged
Merged
Conversation
acscpt
added a commit
to acscpt/InkyPi-WS
that referenced
this pull request
Jun 4, 2025
* Make plugins more plug-in (fatihak#101) * Make plugins more plug-in Removes the need for a central plugins.json Each plugin has a `plugin-info.json` which will be loaded on startup * Sort by plugin folder name * Add option to change the colors for clock faces (fatihak#81) * Clock color option fix * feat: Add option to invert images (fatihak#118) * Add moonphase to weather plugin (fatihak#99) * Add moonphase to weather plugin Option to show moonphase in forecast, added to plugin settings, display icon and percentage of moon * Fix moon phase I was not using correctly the API, because 0.5 corresponds to full moon and 0 and 1 equals new moon. Also now percentage show the true illumination percent which needs to be calculated * Fix Moon icons names * Fix bug Was not asking for the correct variable name * Handle missing sunrise & sunset from OWM, fix weathe line max value, catch exceptions * Fix weather graph not reaching max values * Update flask, pytz versions * fix ai_text setting validation (fatihak#129) * Image Color settings, ability to shutdown/reboot from UI (fatihak#132) * Add image settings, shutdown & reboot buttons * Fix reboot/shutdown buttons, prepopulating image settings * Fix error when image_settings doesnt exist * Remove setting saturation in set_image * NASA Astronomy Picture of the Day plugin (fatihak#131) * weather: add option for last refresh time (fatihak#127) Co-authored-by: Fatih Ak <39274028+fatihak@users.noreply.github.com> * Update playlist.py to use TimeDelta (fatihak#141) Replaced "day=now.day - 1" logic with Python 3 native date handling (timedelta) to avoid the '0' day issue on the first of every month. * Added additional reference to 3D printable frame on makerworld for the newer Inky Impression 7.3" (2025 Edition). (fatihak#147) * Weather: add a margin setting for each side (fatihak#146) * Fix margins not populating in playlists * Load image from URL as Plugin (fatihak#100) * Updated warning on Image URL plugin * Add 12h/24h time format in device configuration option (which is used in weather plugin) (fatihak#148) * Add possibility to select time format in settings (default: 12h) * Implementation of rendering 12h or 24h time format (default: 12h) * pass "settings" variable to parse_weather_data() method * implement 12h/24h time format for sunrise and sunset * Add time format configuration in device settings * remove time format configuration from weather plugin settings * get time format configuration from device settings instead weather plugin settings * Add time format handling to settings backend * fix validation of time format * fix issue for getting time format from device settings instead of plugin settings --------- Co-authored-by: doofmars <git@preuss.in> Co-authored-by: Eliz <el@users.noreply.github.com> Co-authored-by: Fatih Ak <fatihak@berkeley.edu> Co-authored-by: Catto <71943884+CattoSalad@users.noreply.github.com> Co-authored-by: Jose Miguel Concha <35230589+Ch3my@users.noreply.github.com> Co-authored-by: dfritsch86 <daniel.fritsch.86@gmail.com> Co-authored-by: Fatih Ak <39274028+fatihak@users.noreply.github.com> Co-authored-by: Vincent Manzoni <42293988+Manzovince@users.noreply.github.com> Co-authored-by: Andy Cook <cookandy@users.noreply.github.com> Co-authored-by: phattmatt <matt.seddon@gmail.com> Co-authored-by: Jeremy Haas <40786381+JeremyCottontail@users.noreply.github.com> Co-authored-by: Reid Kornman <76536916+Reid-Kornman@users.noreply.github.com>
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.
the validation of the presence of a prompt in the ai text plugin was referencing the wrong variable