Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ibernation): avoid token expiration after suspend #51

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

therockerline
Copy link
Collaborator

@therockerline therockerline commented Mar 5, 2025

…e page;

added try catch block on each ‘window.emit’ function to prevent electron from showing an error dialog saying that the window has been destroyed;
fixed duplicate account state error in the store;
fixed onAppResume issues, now phoneIslandWindow and NethLinkWindow are reloaded instead of rebuilt;
added the unlock-screen event to the resume logic;
added the environment variable DEBUG and a new function on the Log class, now Log.debug shows messages in conosle only if DEBUG=true;
added debouncer to all startCall handlers;
decreased polling ‘me’ to 5 minutes;
when the authentication token expires, the app is reloaded with the same resume logic as the app;
added more information on the login page when in development mode;
code cleanup;
@therockerline therockerline self-assigned this Mar 5, 2025
Copy link

github-actions bot commented Mar 5, 2025

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/13680974055.
Commit: 6192b1a

Name Platform Link
win-app.exe Windows Link
macos-app.dmg MacOS Link
linux-app.AppImage Linux Link

@edospadoni edospadoni changed the title Fix-shutdown-issues fix(ibernation): avoid token expiration after suspend Mar 5, 2025
… triggers loadData on nethlinkpage when phoneisland reconnects
Copy link

github-actions bot commented Mar 5, 2025

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/13682084977.
Commit: c6d7f35

Name Platform Link
win-app.exe Windows Link
macos-app.dmg MacOS Link
linux-app.AppImage Linux Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant