Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
42f0322
Use greater than in requirements.txt, needs to be verified though
mendhak Apr 23, 2026
09db5f4
Minor ignore
mendhak Apr 23, 2026
4e1f6fb
Combine calendar entries and normalize their timezones at the boundary
mendhak Apr 23, 2026
ecbf4e2
Replace the deprecated utcnow
mendhak Apr 24, 2026
48aa68c
CairoSVG 2.9.0 won't render the file references, falling back to 2.5.…
mendhak Apr 24, 2026
fba96e4
Add debug log line
mendhak Apr 24, 2026
9951e97
Uncomment rpi and spidev
mendhak Apr 25, 2026
c95b22f
clean
mendhak Apr 25, 2026
5c9f004
Reminder to use the new python env extension
mendhak Apr 25, 2026
8877e81
A sample TOML configuration
mendhak Apr 26, 2026
ef968a5
Consolidate the enabled flags for alert and weather but it should be …
mendhak May 2, 2026
df3f741
Clarifying sections
mendhak May 3, 2026
b90bad1
Clarifying sections
mendhak May 3, 2026
a5b7e2d
Config TOML example only, but regular config toml ignored
mendhak May 3, 2026
1e02883
Test script repoint
mendhak May 3, 2026
fdefe7e
Read initial properties from config toml
mendhak May 3, 2026
eafa4f6
Provider by name should be theoretically easier for users to work with
mendhak May 3, 2026
93de091
Read weather values from toml instead of env
mendhak May 3, 2026
442950b
Weather - read values from TOML not env
mendhak May 3, 2026
fbe5b30
LANG must be exported as env var so that everything picks it up
mendhak May 3, 2026
979b9f3
Allow multiple instances of each calendar, and move the caching to th…
mendhak May 3, 2026
6161027
Instructions closer to section header
mendhak May 3, 2026
799b93b
Cache weather and alert responses in the calling script not the provi…
mendhak May 3, 2026
5e4336c
A migration helper script
mendhak May 4, 2026
335474c
Remove unused script
mendhak May 4, 2026
ef4fc38
If alerts disabled then don't attempt to read it
mendhak May 4, 2026
d4f5eb9
Better explanation
mendhak May 9, 2026
1442730
Replace references to env.sh with config.toml
mendhak May 9, 2026
029ba3f
Replace references to env.sh with config.toml
mendhak May 9, 2026
d259f44
Note about adding multiple calendar blocks
mendhak May 9, 2026
75ebe5a
Flake8 in vscode settings
mendhak May 9, 2026
939f1db
Set default values for missing calendar max events and ttl seconds
mendhak May 9, 2026
e204c4e
set a default for ttl
mendhak May 9, 2026
6561cbb
Set defaults when reading from config
mendhak May 9, 2026
5b81268
read from config toml
mendhak May 9, 2026
cf0683b
Rename to config.example.toml
mendhak May 9, 2026
334e945
A utility helper for google calendar just like Outlook helper
mendhak May 10, 2026
3d8d749
Outlook logging
mendhak May 10, 2026
65ac827
Google calendar helper script
mendhak May 10, 2026
5130539
Clearer message
mendhak May 10, 2026
c8a1c6b
Add the unsafe flag for cairosvg
mendhak May 17, 2026
a5b2ccd
Corrected script name
mendhak May 17, 2026
809b3bb
bypass cache no longer an argument
mendhak May 17, 2026
1aba7e5
remove deprecated utcnow
mendhak May 17, 2026
072d7d1
lat long
mendhak May 17, 2026
599e693
Qualify the empty SVG
mendhak May 17, 2026
c07323e
Clarification on browser flow
mendhak May 17, 2026
f849185
Stale check includes empty file
mendhak May 17, 2026
ef676ab
Let urllib be loose
mendhak May 17, 2026
922a3d8
Export to PNG in error check wrapper
mendhak May 17, 2026
8cd6ac3
Export to PNG in error check wrapper
mendhak May 17, 2026
047d420
Export to PNG in error check wrapper
mendhak May 17, 2026
d270e04
Export to PNG in error check wrapper
mendhak May 17, 2026
6d4332f
Create temporary empty svg if it doesn't exist or is empty
mendhak May 17, 2026
719bb08
Update cairosvg
mendhak May 17, 2026
e57bcf3
ICS needs additional conversions
mendhak May 18, 2026
ad560c4
Restructure into folders
mendhak May 31, 2026
036857c
Correction, privacy boolean with mode argument
mendhak May 31, 2026
3829094
Move temporary files into data folder
mendhak Jun 2, 2026
94ed2a5
Refactor to follow Python file naming convention with under_scores
mendhak Jun 3, 2026
33d9a46
Keep an empty data folder
mendhak Jun 3, 2026
9179696
Changelog updated
mendhak Jun 3, 2026
a55f621
Rename to underscores
mendhak Jun 3, 2026
6754b2b
Simplify the config toml example
mendhak Jun 3, 2026
93e7b28
Simplify the config toml example
mendhak Jun 3, 2026
c9fa99e
Add an example of a second calendar
mendhak Jun 20, 2026
a1bab05
Clarify language
mendhak Jun 20, 2026
27d7347
Language clarification and waveshare header promotion
mendhak Jun 21, 2026
c31499a
Set up the config file
mendhak Jun 21, 2026
8a9311b
Heading link
mendhak Jun 21, 2026
265f649
Heading link
mendhak Jun 21, 2026
04be9de
Major changes in the changelog
mendhak Jun 21, 2026
4544e44
major refactor
mendhak Jun 21, 2026
3046480
Corrected file name updates in migration script
mendhak Jun 21, 2026
1125fc6
Remove env.sh sample, we're on config.example.toml now
mendhak Jun 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
__pycache__
*.__pycache__
*.pyc
screen-output*
screen-custom-get.py
screen_custom_get.py
env.sh
config.toml
*.log
*.pickle
credentials*
*.json
!.vscode/*
*.bin
test.svg
*.xml
venv
cache_
.venv
.env

xkcd-comic-strip.png
.notes
*.bak

screen-literature*.svg
screen-literature*.png
litclock_annotated.csv
# Generated files, tokens, cache, etc.
data/*
!data/.gitkeep
7 changes: 7 additions & 0 deletions .tombi.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
toml-version = "v1.0.0"
[files]
include = ["**/*.toml"]

[format]
[format.rules]
key-value-equals-sign-alignment = true
8 changes: 6 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"python.defaultInterpreterPath": ".venv/bin/python",
"python.envFile": "${workspaceFolder}/env.sh",
"python.terminal.activateEnvironment": true,
"python.terminal.activateEnvInCurrentTerminal": true,
"markdown.extension.toc.updateOnSave": false
"markdown.extension.toc.updateOnSave": false,
"python.useEnvironmentsExtension": false,
"flake8.interpreter": [".venv/bin/python"],
"flake8.enabled": true,
"flake8.args": ["--max-line-length=180"],

}
12 changes: 0 additions & 12 deletions .vscode/tasks.json

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2026-06-21
* Moved from env.sh to config.toml for configuration, as it was growing too large. It's a breaking change. A helper script, utils/migrate_env_to_toml.py is provided.
* Folders restructured for better organization, root project was getting very messy.
* Added a 'data' folder for the temporary files, tokens, cache output
* Renamed files to use underscore for consistency
* If upgrading, I recommend renaming the existing folder to a backup. Clone a fresh copy of the repo. Then copy the env.sh into the new folder and run `utils/migrate_env_to_toml.py` to generate a config.toml.
* A backup branch, just before the refactor, is at `master-20260621`

## 2025-04-13
* Ability to use systemd as the scheduler, instead of crontab. Added by [martinezjavier](https://github.com/mendhak/waveshare-epaper-display/pull/100).

Expand Down
Loading