Skip to content

Commit 8376e26

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 9797624 + 5fdcd5f commit 8376e26

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1754
-526
lines changed

.github/workflows/update-os.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }}
2525
with:
2626
# Set the base_image to the desired Raspberry Pi OS version
27-
base_image: https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-03-15/2024-03-15-raspios-bookworm-armhf-lite.img.xz
27+
# note: version 2023-12-11 seems to have issues with the kernel and gpio
28+
base_image: https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2023-05-03/2023-05-03-raspios-bullseye-armhf-lite.img.xz
2829
image_additional_mb: 3072 # enlarge free space to 3 GB
2930
optimize_image: true
3031
commands: |
@@ -69,10 +70,11 @@ jobs:
6970
echo $CWD
7071
7172
# increase swap-size
72-
sudo dphys-swapfile swapoff
73-
sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=512/' /etc/dphys-swapfile
74-
sudo dphys-swapfile setup
75-
sudo dphys-swapfile swapon
73+
# temporarily disabled due to unmounting issues
74+
# sudo dphys-swapfile swapoff
75+
# sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=512/' /etc/dphys-swapfile
76+
# sudo dphys-swapfile setup
77+
# sudo dphys-swapfile swapon
7678
7779
# enable SPI
7880
sudo sed -i s/#dtparam=spi=on/dtparam=spi=on/ /boot/config.txt
@@ -85,7 +87,8 @@ jobs:
8587
sudo chown -R inky:inky /home/inky/Inkycal
8688
8789
# make all users require a password for sudo commands (improves security)
88-
echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password
90+
# temporarily disabled to allow pisugar support
91+
# echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password
8992
# allow some time to unmount
9093
sleep 10
9194

Changelog.md

+38-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,47 @@
1-
# E-Paper-Calendar Software Changelog
1+
# Inkycal Software Changelog
22
All significant changes will be documented in this file.
33
The order is from latest to oldest and structured in the following way:
44
* Version name with date of publishing
5-
* Sections with either 'added', 'fixed', 'updated' and 'changed'
5+
* Sections with either 'added', 'fixed', 'updated', 'changed' or 'removed' to describe the changes
66

77
## [2.0.3] 2024
8+
### Changed
9+
- Updated dependencies to the most-recent supported version
10+
- Unified logging all over the library. Print statements are now rare. This makes it easier to identify why Inkycal isn't working without having to look up the logs
11+
- Inkycal now makes use of a JSON-Cache to make it more resilient against resets etc. For example, the slideshow module will remember the last index even after a shutdown
12+
- Inkycal now uses a list of supported displays instead of having to look up each driver in the driver directory
13+
- Renamed tests according to python standards, starting with `test_..`, allowing unittest/pytest to automatically discover and run these tests.
14+
15+
### Fixed
16+
- Fixed an annoying vertical alignment issue causing some characters to look chopped off
17+
- Fixed the alignment of the red-circle on the calendar module
18+
- Fixed weekday-names not translating in the weather module
19+
- Fixed python 3.11 issues with numpy on Raspberry Pi OS
20+
821
### Added
9-
* Added fullscreen weather module
10-
* Own OWM API abstraction as a replacement for PyOWM module
22+
- Added long-awaited support of PiSugar v1/2/3. Still a bit experimental (no calibration handling), but works for most part. If PiSugar support is enabled, Inkycal will set the new alarm before shutting down the system, increasing battery life. Please note that around 70 updates were possible with the 1200mAh PiSugar 3 board, so one update a day to three should be max to get at least one month battery life.
23+
- Added Webshot module which can be used to display a webpage. Works on InkycalOS-Lite too and does not need a GUI.
24+
- Added XKCD module
25+
- Added Tindie module
26+
- Added support for much longer update-intervals than the previous max of once every 60 minutes
27+
- Added Material-UI icons font
28+
- Added dedicated Pipeline for unittests directly on Raspberry Pi OS to ensure Inkycal can run reliably on Raspberry Pi OS
29+
- Added Feature-request and PR template
30+
- Added support for 5.83" display (v2)
31+
- Added support for 12.48" display on 64-bit systems
32+
- Added Inkycal fullweather-module
33+
- Added `settings.py file (not to be confused with `settings.json`) to set VCOM and other internal variables
34+
35+
36+
## [2.0.3] 2023
37+
### Changed
38+
- Switched from pyowm to custom wrapper as pyowm only works up to python3.9, which is now outdated.
39+
- Updated dependencies to the most-recent supported version
40+
41+
### Fixed
42+
- Fixed python 3.11 issues with numpy on Raspberry Pi OS
43+
- Fixed compatibility issues with Pillow when switching from v9.x to v10.x, particularly font width and height operations
44+
- Renamed tests according to python standards, starting with `test_..`, allowing unittest/pytest to automatically discover and run these tests.
1145

1246

1347
## [2.0.2] 2022

0 commit comments

Comments
 (0)