By switching from image-based translations to text-based translations, month names and weekday names can now be easily 'translated' with arrow (python lib). By using this method, a font was required that could display letters from a lot of languages. Since the current font was displaying 'Tofus', Google's Noto (No-Tofu->Noto) Sans font is now being used.
Unfortunately, support for chinese/taiwanese is temporary unavailable since even Noto can't display these correctly (at least for now).
Due to a lot of outdated recurring events being displayed, the support for recurring events has been dropped temporarily. It will become available when a better snippet has been written and tested.
Added options to select what to display at each section (top, middle, bottom). Removed option 'additional feature' as it has been replaced by the sections. Added alt-attribute to image and title within head element. Added some expandable info buttons above sections that could require a more detailed description.
Users can now choose what they want to display at each section. For now, the middle_section can be set to either Agenda or Calendar. The bottom_section may be kept empty.
Added dictionary containing the positions of the rows for the Agenda-View.
Added a second seperator (seperator2) which is used by the Agenda View.
Added support for relative path instead of explicit path (Credit to Max. G.)
E-Paper is now split into three sections: top, main and bottom. Users can now choose what to display at which section. With this change, the main script will only execute the code required to generate the user-specified design. Better text handling. Text is automatically aligned in the middle of the specified box (unless specified otherwise) using the default font (unless specified otherwise). Added Agenda-View as an option in the main section, which will show upcoming events and times in the next few days. It's length is adaptive. If the bottom section is empty, it will reach to the bottom, otherwise it will reach to the bottom section. RSS-feeds will not show the titles, but rather a short summary (for more detailed information). Removed some import warnings as they are handled by the new installer (v1.6). Also made the code a bit cleaner and added a few more descriptions above some code sections.
This template is generated by the web-ui using the standard values for each setting. Now, both the template (this file) and the generated settings.py fiel from the web-ui will yield the same results.
While improving the readability of the code some commits ago, a problem occured where 3-coloured E-Paper-Displays had problems correctly rendering the image. With this fix, it should be solved now.
Improved execution time for each loop (until the image is fully gerated) to less than 5 seconds. Of course, it takes much longer to render the image to the display as well as for calibration.
Implemented possible bugfix for iCalendars as suggested by arustleund in issue#20
Improved algorithm for sleeping until the next update and for counting loops left until calibration.
Some minor changes to improve code readbility
Added RSS-feedparser. Added support for user-defined display-update intervals. Removed support for recurring events (temporarily).
Imporved processing time for the generated image form nearly 30 seconds to less than a second. Improved readability of docstrings.
Switched from using bitmap images to png images for images with transparency mask (event, today, weekday). Also, using a custom processing function that processes the generated image so it can be displayed much better on the E-Paper Display.
Added info about the module and a 'timer' to time the time taken for calibration. Improved some output messages for easier understanding. Switched form generating images to opening images, hence allowing a slightly faster calibration.
In the calibration module, previously an image with only one colour was first generated converted and then displayed. To decrease the calibration time a little, the updated module does not generate the images, but rather opens them from the 'other' path. As the image does not need to be generated each time, calibration now works a little faster.
Contains a lot of minor improvements like better output, fixing some 'crude' sections. The algorithm for fetching events has been improved (faster) and is more dynamic. Users can specify the range in days for fetching events form the future. Also fixed a bug where past events were not marked with circles on the monthly calendar. Also improved some output messages.