feat: protect queued changes at shutdown and sign-out (B66)

While the queue holds changes the drain can send, the daemon holds a logind
shutdown inhibitor through systemd-inhibit, so desktops show why a power-off
is held up. Parked transient files and changes that need the user never hold
it. pdfs sync flush retries failed changes and waits for the queue, exiting 3
when what is left needs the user and 4 on timeout. Signing out, in the app or
with pdfs logout, says how many changes are not on Proton Drive yet.
This commit is contained in:
nvrl committed 2026-11-21 23:42:54 +01:00
1 parent 2c4c95812f
commit 2b5d6f2436
18 files changed
+3644 -3252

No files matched your search

+371 -360
View File
File diff suppressed because it is too large. Load diff
+371 -360
View File
File diff suppressed because it is too large. Load diff
+371 -360
View File
File diff suppressed because it is too large. Load diff
+371 -360
View File
File diff suppressed because it is too large. Load diff
+371 -360
View File
File diff suppressed because it is too large. Load diff
+371 -360
View File
File diff suppressed because it is too large. Load diff
+371 -360
View File
File diff suppressed because it is too large. Load diff
+372 -360
View File
File diff suppressed because it is too large. Load diff
+371 -360
View File
File diff suppressed because it is too large. Load diff