AlexandrePTJ / kemai

Kimai desktop client
MIT License
94 stars 25 forks source link

Use new API credentials without restart #21

Closed ZeiP closed 3 years ago

ZeiP commented 4 years ago

When I first launched the program, it naturally failed to read the clients etc. from the API because of missing credentials. I added the credentials to settings but for the program to actually work I needed to restart it. It'd be a good idea to either notify the user of the need to restart or re-load the lists automatically after changing the credentials.

AlexandrePTJ commented 4 years ago

Which version do you use ? AppImage from release or did you build from source ? Currently once credentials are filled and saved, Kemai redirect to main view and customers drop-down control is filled.

So I cannot reproduce the bug you have, so I will need more details.

ZeiP commented 4 years ago

I'm using the AppImage version, so it indeed may be already fixed in the source.

AlexandrePTJ commented 4 years ago

Current source correspond to AppImage version. So this is the same. Does your kimai is instance is served through http or https ?

ZeiP commented 4 years ago

Ah, ok. The instance is served through https. I can try reproducing the problem; I'm certain that it happened once, but of course it can be some kind of one-of-a-kind bug.

AlexandrePTJ commented 4 years ago

Great, is it self-signed certificate ?

ZeiP commented 4 years ago

No, it's a Let's encrypt certificate that should be quite universally valid.

AlexandrePTJ commented 4 years ago

I will try then. It had some issues with https. Thanks you for your help.