Skip to content

Commit

Permalink
Merge branch 'release/v1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sassanh committed Oct 7, 2024
2 parents 07f46c4 + 844b7a4 commit de2c4fa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
- chore: use dynamic version field in `pyproject.toml` based on `hatch.build.hooks.vcs` and publish dev packages on pypi for all pushes to the main branch and all pull requests targeting the main branch
- chore: remove what has remained from poetry in the codebase

## Version 1.0.0

- hotfix(users): do not mark the generated password as expired as it will cause boot failures as the os can't autologin into the ubo user when its password is expired
- hotfix(core): render blank screen on the display when `FinishEvent` is dispatched (makes sure display is clean after powering off)

## Version 0.17.1

- feat(display): add `DisplayCompressedRenderEvent` as a compressed version of `DisplayRenderEvent`
Expand Down
4 changes: 3 additions & 1 deletion ubo_app/side_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
from pathlib import Path
from typing import TYPE_CHECKING

from redux import FinishAction
from redux import FinishAction, FinishEvent

from ubo_app import display
from ubo_app.store.core import PowerOffEvent, RebootEvent
from ubo_app.store.main import store
from ubo_app.store.operations import ScreenshotEvent, SnapshotEvent
Expand Down Expand Up @@ -97,6 +98,7 @@ def setup_side_effects() -> None:
"""Set up the application."""
initialize_board()

store.subscribe_event(FinishEvent, display.turn_off)
store.subscribe_event(PowerOffEvent, power_off)
store.subscribe_event(RebootEvent, reboot)
store.subscribe_event(UpdateManagerUpdateEvent, update)
Expand Down
1 change: 0 additions & 1 deletion ubo_app/system/system_manager/scripts/set_account.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ if [ -z ${PASSWORD+set} ]; then
done
fi
echo "${USERNAME}:${PASSWORD}" | chpasswd
passwd --expire $USERNAME > /dev/null
printf "${USERNAME}:${PASSWORD}"

# Add the user to the sudo group
Expand Down

0 comments on commit de2c4fa

Please sign in to comment.