Commit Graph

304 Commits

Author SHA1 Message Date
Ace
2693eb64b9 Adding support for 9.7"" ePaper display 2020-06-18 16:21:53 +02:00
Ace
8e27116f3a Added drivers for 9.7" ePaper display 2020-06-18 16:21:26 +02:00
Ace
883f9d3842 fixed typo 2020-06-16 22:37:08 +02:00
Ace
29381d733c Finished draft of inkycal_image module
In testing, might contain bugs!
Split server settings from inkycal image.
Inkycal_server will be done soon
2020-06-16 22:36:57 +02:00
Ace
cb162a5b1e Fixed an issue with timezones for all days events
Fix an issue where all day events would not be shifted by the UTC offset
Credit to emilyboda
2020-06-14 22:58:27 +02:00
Ace
f8834c4c21 Improved layout setup
It is now possible to use one, two or three modules and use the height defined by the settings file
2020-06-13 16:14:49 +02:00
Ace
90ec1a177d fixed possible rotation issues
The image will only be rotated while rendering on the Display, i.e. when render  = True.
Images saved in /Inkycal/images will not be affected by this change to allow developers to see the image wihtout having to flip the images manually
2020-06-13 15:15:56 +02:00
Ace
a66e28ded7 Implemented fontisze changing 2020-06-13 15:13:53 +02:00
Ace
13e211f8c3 added extra info for own modules 2020-06-13 15:13:13 +02:00
Ace
c94a2ff122 removed non-required epaper commands while initalising 2020-06-12 23:18:59 +02:00
Ace
2dc70f590d Fixed offset issues on generated image 2020-06-12 23:15:36 +02:00
Ace
ca36269380 implemented display orientation option 2020-06-12 18:16:19 +02:00
Ace
f0ab9e4558 initial template for todoist api module
Work in progress, please do not use yet.
2020-06-12 18:13:14 +02:00
Ace
85dc6871a0 Bugfixes + speed improvements
Fixed issue with duplicate events
Switched from list comprehensions to generator expressions for better performance
Problems:
Date sorting not working as expected
2020-06-12 18:12:14 +02:00
Ace
c0e2431e76 Fixed incorrect display resolution 2020-06-12 18:07:54 +02:00
Ace
632214e0f0 Fixed some tests, added a few more 2020-06-10 15:12:44 +02:00
Ace
03a184775c Fix for issue #122 2020-06-07 15:57:38 +02:00
Ace
e01728bcd8 Fix for issue #123 2020-06-07 15:57:01 +02:00
Robert Sirre
065c04243d Implemented jsonc parsing
Note: jsmin installation need to be done manually via `pip3 install jsmin`
2020-06-04 23:57:31 +02:00
Ace
f8a0622e86 Fixed Error
Fixed: " AttributeError: 'Agenda' object has no attribute 'parser' "
2020-06-04 00:55:44 +02:00
Ace
37dbb1b127
fixed "NameError: name 'config' is not defined' 2020-06-03 15:48:30 +02:00
Ace
5fe72e2265 Minor improvements 2020-05-30 00:48:33 +02:00
Ace
3b3c42cec7 minor improvements 2020-05-30 00:48:12 +02:00
Ace
39e8da6388 Add support for display orientation 2020-05-30 00:47:32 +02:00
Ace
c47d06d019 fix typo 2020-05-30 00:47:14 +02:00
Ace
5b0fdde7dd Code cleanup 2020-05-30 00:46:52 +02:00
Ace
ebe284072d Use timezone for parsing events 2020-05-30 00:45:53 +02:00
Ace
8684009f4c switch from relative import to absolute import 2020-05-30 00:44:56 +02:00
Ace
2cb82e6594 Fixed imports 2020-05-29 04:01:13 +02:00
Ace
3e1e8a5a83 Remove dummy file 2020-05-29 04:00:57 +02:00
Ace
6efc1ffc71 Added rendering capabilites
Removed dummy settings.json file
2020-05-29 04:00:39 +02:00
Ace
e7cb176530 Switch from filenames to classnames for generated images 2020-05-29 03:59:44 +02:00
Ace
7c4fa9357f updated tests 2020-05-29 03:58:48 +02:00
Ace
ef743378f5 Added main file (work in progress!)
Work in progress! Serves as the main file for inkycal.
2020-05-26 19:20:18 +02:00
Ace
63ccf534db Removing ad-hoc main file 2020-05-26 19:18:53 +02:00
Ace
5ae6db5045 Added height fallback function
If no height is defined for any module, use default values.
If all heights are given, use those values.
If only some heights were given ,raise error

Also included update_interval
2020-05-26 19:18:20 +02:00
Ace
d730bb4f13 corrected absolute imports 2020-05-26 19:16:40 +02:00
Ace
33a36e1377 fixed typo 2020-05-26 19:13:36 +02:00
Ace
877da1614a Added rendering support (work in progress) 2020-05-26 19:11:52 +02:00
Ace
c4bb24bef9 Code cleanup, class naming improvements 2020-05-26 19:10:20 +02:00
Ace
c3fbd79eda Implementation of interface (template) for all modules
- Correct setup of logging
- all inkycal-modules inherit from the given template
- Added basic, optional validation
- more code cleanups
- fixed a few minor bugs
2020-05-23 01:45:40 +02:00
Ace
f631733bf5 minor improvements to settings parser
Code cleanup, better validation logic, better naming of functions
2020-05-21 19:52:39 +02:00
Ace
7970c4c517 minor improvements
fixed a few things in rss module, minor improvements to other modules.
Added test file for use without installing
2020-05-21 01:00:37 +02:00
Ace
19fca709f8 Added timezone conversion in ical-parser
Timezone can now be specified for events.
Added static funtion to get system timezone
Added inkycal debug calendar url
2020-05-19 03:17:26 +02:00
Ace
48510763a6 Minor improvements to event handling 2020-05-18 18:31:23 +02:00
Ace
620211b0fb refactoring update
Created new ical_parser
refactored inkycal_calendar
refactored inkycal_agenda
fixed minor bug in write_text function
2020-05-18 03:46:49 +02:00
Atrejoe
47f7773d25 Renamed tests file 2020-05-16 08:15:17 +02:00
Atrejoe
7326e0e2ae Added unittest 2020-05-15 22:40:30 +02:00
Ace
1f90a186d3 Added new icalendar parser
* Switched from ics library to icalendar library to support (hopefully) all iCalendars
* Implemented authorisation data for protected icalendar urls (credit to Joshka!)
* Created class instead of single function
Might be buggy, therefore in alpha stage!
2020-05-15 02:58:26 +02:00
Ace
b9b38b56bc minor improvements
inkycal_rss: fix format of saved images
inkycal_weather:
* drop support for wind direction (api does not always provide this data)
* Add borders around each sub-section
2020-05-13 18:36:54 +02:00
Ace
33e6888096 modules refactoring + slight changes to folder structure 2020-05-12 19:35:08 +02:00
Ace
c8786f6006 Revert "modules refactoring + slight changes to folder structure"
This reverts commit 3fe9675bef.
2020-05-12 19:30:45 +02:00
Ace
3fe9675bef modules refactoring + slight changes to folder structure 2020-05-12 19:26:10 +02:00
Ace
fd9fcbcc8d Folder restructuring
Reorganised folders and files
2020-05-07 20:16:55 +02:00