Commit Graph

219 Commits

Author SHA1 Message Date
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