Commit Graph

110 Commits

Author SHA1 Message Date
Ace
9216afbea8 improved logging + log to file
Logging is now set at two levels:
logging.ERROR and more important messages are shown on the console while running inkcal.
logging.DEBUG (all) messages are logged inside a log file named inkycal.log in /Inkycal/logs.

Fixed an issue with the info section not updating the time correctly.
2020-11-29 14:56:44 +01:00
Ace
eb806526bd Added custom image class 2020-11-29 14:54:00 +01:00
Ace
8a82a149af removed a problematic line 2020-11-29 14:53:13 +01:00
Ace
dc536ff63a Added Slideshow module
A module that cycles through images in a given folder
2020-11-29 14:52:50 +01:00
Ace
636172f157 readability improvements
switched from string formatting to f-strings
removed some non-required validation
Standardised some logging outputs
better formatting of config inside tests
2020-11-29 14:51:19 +01:00
Ace
bcc512d1cc Fixing some issues with 9.7" E-Paper displays
test() saves assembled images now.
If the 9.7" E-Paper is selected, the images are now flipped correctly.
2020-11-25 14:24:29 +01:00
Ace
578f48d24d added official suppport for inkycal_stocks.py (by @worstface) 2020-11-25 10:22:34 +01:00
Robert Sirre
586be7f5d0 Added configuration options 2020-11-24 22:07:49 +01:00
Robert Sirre
650e9bdb92 Debugged inkycal_image
Still needs some work:
- input parameter validation (rotation, layout, colours)
- configuration of panel colors in Web UI

Added suggestion for less dynamic calling of module.generate_image()
2020-11-24 22:07:49 +01:00
Ace
57cc49be21 added functions to add/remove third party modules
Documentation can be found on readthedocs
2020-11-24 15:32:11 +01:00
Ace
159c2d2642 Fix for weather-location by id 2020-11-24 15:20:56 +01:00
Ace
418422fa52 Improved documentation 2020-11-24 00:40:49 +01:00
Ace
0acd5c5c17 adapted 3rd party module template 2020-11-24 00:40:07 +01:00
Ace
7e44b7d824 Fixed some sizes in tests 2020-11-24 00:39:23 +01:00
Ace
9cd2f1c5cd
fixing docs... 2020-11-23 12:48:51 +01:00
Ace
948573cb59 Fixed #141 list index out of range
If the number of events exceeded the number of lines allocated for events, a *list index out of range* exception was thrown. This has been fixed now  by providing an additional check.
2020-11-22 13:27:27 +01:00
Ace
9517b303b4
Fixed a few things, should be usable now 2020-11-21 23:48:42 +01:00
Ace
49b0d7cc65 Adapted main file to support new web-ui
A lot of work behind the scenes. Logging is now handled by main file now. Improved logging, support for logging from modules, improved support for info section, added support for info section height, slight improvements in printing output
2020-11-21 16:31:00 +01:00
Ace
e93c3e36ad improved logging 2020-11-21 16:25:08 +01:00
Ace
44524425be Code cleanup + removing obsolete files 2020-11-21 16:24:49 +01:00
Ace
21caad2f37 Added test for Jokes Module 2020-11-21 16:22:59 +01:00
Ace
afe84dc8e6 Improved web-ui labels, improved logging, improved support for testing
Switched from NotoSans-SemiCondensed to NotoSansUI-Regular
2020-11-21 16:22:15 +01:00
Ace
077392c2f9 Official support for Image and Jokes module 2020-11-21 16:19:24 +01:00
Ace
8190325cb7 Added official support for Inkycal-Todoist API module #126
Fixed some bugs, improved alignment of project name, due date and description of todo.
Project names are shown in colour on 3-colour displays
Images are rendered correctly.
2020-11-13 16:47:07 +01:00
Ace
9aea1f568c switch from logging to logger 2020-11-13 16:43:37 +01:00
Ace
8db419fa37 Added support for Icanhazdad api module #103
Special thanks to Erik Fredericks for his work on this module (see Pull-request #103)
2020-11-13 10:17:39 +01:00
Ace
0dfd78d33d Minor improvements 2020-11-13 10:14:30 +01:00
Ace
517f1ac5b1 Inital template for Inkycal-Server module 2020-11-12 21:22:22 +01:00
Ace
9de2b90955 Improved fetching of Todos (WIP) 2020-11-12 21:21:49 +01:00
Ace
6fdc8e63c7 adding support for Image module 2020-11-12 21:20:48 +01:00
Ace
b471a18afd Code cleanup 2020-11-12 21:20:12 +01:00
Ace
1bd404af97 Code cleanup 2020-11-12 21:19:51 +01:00
Ace
ea51185173 pyowm improvements #137
- Bump pyowm from 2.10.0 to 3.1.1 (latest)
- updated Weather module to support new pyowm version
- removed ad-hoc logic for beaufort scale (supported by pyowm now)
- Added support for location ID and location string (see #137)
2020-11-12 10:22:34 +01:00
Ace
e866a04e0e Improved testing algorithm
Generalized code logic for testing. Added support for several test configs at once.
2020-11-12 10:14:57 +01:00
Ace
c358cf5b3b Improved code logic for better support with web-ui
Fixed some minor bugs too
2020-11-12 10:12:28 +01:00
Ace
baf89c0d80 Revert "Improved some code logic to better support new web-ui"
This reverts commit 5327d12f0e.
2020-11-12 10:10:18 +01:00
Ace
5327d12f0e Improved some code logic to better support new web-ui 2020-11-12 10:10:03 +01:00
Ace
2a2ad18a03 Fix bugs #138 #139 2020-11-11 11:08:31 +01:00
Ace
b1c06b3add Code cleanup, adapting modules for new web-ui 2020-11-10 22:48:04 +01:00
Ace
035ce65f06 Adapting modules for new web-ui (do not use yet) 2020-11-10 11:53:48 +01:00
Ace
29788f0313 Initial commit for release v2.0.0
A  lot of work-in-progress and far from complete.
Lots of improvements related to user-friendliness, fully new web-UI. Better infrastructure....
more coming soon
2020-11-09 17:51:15 +01:00
Ace
b6c2534644 fix for 9.7" epaper display
This commit should fix any previous issues with the 9.7" epaper displays not showing the image correctly
2020-10-09 11:25:11 +02:00
Robert Sirre
6282cf4488 Ensured parameter validation failure named failing parameter 2020-09-19 22:50:57 +02:00
Ace
9d401cf07a
possible bugfix
UnboundLocalError: local variable 'line_pos' referenced before assignment
2020-09-12 01:04:42 +02:00
Ace
accf8fbd59 Added support for 7.5" v3 ePaper displays 2020-08-31 15:23:02 +02:00
Vitali Samurov
3f727ecf08 Number of days in month added 2020-08-17 22:58:01 +03:00
Vitali Samurov
ef07e51371 Fix for 7 rows in Calendar, when the month starts from Sat 2020-08-17 21:54:53 +03:00
Ace
db83890238 improved circle and square sizes 2020-07-04 16:22:31 +02:00
Ace
f4e8c27768 Fixed path location 2020-07-04 16:21:33 +02:00
Ace
7b029f532e Added option for info-section
When info-section is set in the web-ui, a small section at the bottom of the display will show the time of last update.
2020-07-04 16:21:15 +02:00