wondering if we should also update the type to avoid things like this
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Dec 8 2023
Dec 7 2023
I will be extending this to handle backup service in the near future, do you think we should have a separate configuration json file per service?
Dec 6 2023
docker inspect commapp/electron-update-server:2.0 -f "{{.Os}}/{{.Architecture}}"
Dec 5 2023
Much better with the naming change
Dec 4 2023
Could you also quickly test if everything works if someone is using an older version of the desktop app, one that doesn't advertise its version (you can just comment out the desktop version line in registerConfig)?
You can just run yarn dev and open the hosted website on http://localhost:80. I checked your typo fix and the website correctly shows our repository and displays the newest desktop version (9).
Dec 1 2023
Fix mistake during rebase
Rebase
Nov 29 2023
I'm starting to consider the global static CONFIG as an anti-pattern.
Nov 28 2023
Remove cryptoThread from restore function and return restored olm account information.
Overall LGTM, just a few questions
There are a few issues with this (but they should be easily fixable):
- You are registering a callback on ipcMain everytime a window is loaded. This wouldn't be a problem in Windows but on macOS you can close the window without closing the app. Then if you would open a window again you would register another callback.
- The callbacks themselves use the main window variable which will stop being valid after the window is closed. So the previously registered callbacks will probably throw an error after re-opening the window.
Nov 27 2023
Update for flow 202
Update for flow 202
Rebase
Rebase
Fix position of the variable, it was a mistake - I extracted the handler function but didn't move the variable declaration with it.
Nov 24 2023
An issue with with non-static methods calling the static methods is that the ByteBuffer -> SecretKeySpec conversion must go through ByteArray (with a copy). So that means that we would have ByteArray -no-copy-> ByteBuffer -with-copy-> ByteArray -> SecretKeySpec. As the static methods are very minimal and most of the code is in encryptAES/ decryptAES functions I don't it's worth it.
Fix naming
Rebase after a new approach to error handling
Improve error handling
Accepting, but please fix the issues in inline comments.
Nov 22 2023
Fix line lengths
Nov 21 2023
Nov 20 2023
Nov 17 2023
Nov 16 2023
Nov 15 2023
Some suggestions in inline comments, but looks good to me either way