Commit Graph
67 Commits
Author SHA1 Message Date
DevilXD 14a9154366 Implement autostart querying upon application start 2024-07-01 19:25:16 +02:00
DevilXD f5d5fc3a05 Add a way for the application to dump inventory data into a file 2024-06-30 12:01:03 +02:00
DevilXD 91f2dacbcc Use truststore on Windows in Python 3.10+ 2024-01-15 15:05:58 +01:00
DevilXD caecef4ecd Make some notification noise when the application terminates without request 2024-01-15 12:06:30 +01:00
DevilXD f1d76e00e7 Fix logging_level not being able to be set to 4: DEBUG 2023-11-10 21:34:36 +01:00
DevilXD e03ea755bb Reimplement duplicated run detection as a file lock 2023-08-28 23:47:15 +02:00
DevilXD c2a5db8a6a Use asyncio.run 2023-07-05 21:44:22 +02:00
guihkx e31dcd85b4 linux: add truststore as a dependency
Because Linux distributions don't have an 'universal' path for the
system certificate store, bundling libssl built on distro A might not
work on distro B, because distros tend to change path to the
certificate store at build time.

This means that creating a PyInstaller package on Ubuntu will include
the libssl built there, and if you try to run this package on a
different distro (e.g. Arch Linux), any attempt to create an SSL
connection will fail, because Arch Linux has a different path for the
certificate store than Ubuntu.

This issue is usually worked around by bundling certificates with the
app (usually using certifi), and then pointing the SSL_CERT_FILE
environment to it.

However, truststore seems to be a better alternative, since it tries to
use the certificate store from the system instead.

The list of benefits are listed on the project's page on GitHub:

https://github.com/sethmlarson/truststore
2023-06-11 16:58:18 +02:00
DevilXD f74f7c8be7 Redesign root icon setting system 2023-04-26 18:48:04 +02:00
DevilXD 9dc7a1d65f Fix ResourceWarning on unclosed icon file 2023-04-26 17:57:51 +02:00
DevilXD 41430b5027 Enable ResourceWarning handling 2022-12-19 08:46:35 +01:00
DevilXD b6bc2e11cf Add an additional CALL logging level 2022-12-13 22:40:30 +01:00
DevilXD 76467bad65 Review and adjust the logging module levels 2022-12-07 14:41:47 +01:00
DevilXD 57baa4fc1e Disable chrome login;
since it doesn't work anyway
2022-12-07 13:01:06 +01:00
DevilXD d3b9a76b5a Merge branch 'linux' into master 2022-11-30 22:15:38 +01:00
DevilXD 4ae68b7d23 Handle _brotli error 2022-11-11 13:07:15 +01:00
DevilXD cc4cbc5179 Various UX login flow improvements 2022-11-07 22:20:10 +01:00
DevilXD f50d02ed0b Add nice icon to the settings error message 2022-11-04 20:32:40 +01:00
DevilXD 73a2a6145f Support new login flow via Chrome 2022-11-01 17:49:21 +01:00
DevilXD 7d14b51221 Hard-reload on integrity expiring during request;
Implement a way to hard-reload the application when the integrity token expires during a request, or inside its retry loop
2022-09-17 18:28:26 +02:00
DevilXD 1e035f1a36 Properly handle Windows shutdown message 2022-09-03 18:12:32 +02:00
DevilXD 0431a2d98e Add an experimental shutdown handler 2022-08-19 14:09:06 +02:00
DevilXD c682b75e2d Minor naming and comments update 2022-08-19 10:19:23 +02:00
DevilXD 5b1089e3cc Add the terminated status in the gui 2022-08-19 10:18:41 +02:00
DevilXD 05466364d1 Implement the translation feature 2022-08-18 22:28:30 +02:00
DevilXD 39d45360e6 Make it possible to exit the app during inventory loading 2022-08-02 21:19:54 +02:00
DevilXD 3b2e68757d Make sure to handle it here 2022-07-30 14:15:57 +02:00
DevilXD c3854937b9 Minor fix of a deprecation warning 2022-07-28 08:08:02 +02:00
DevilXD 63d0c4a712 Fix an issue with the altered state not being set properly 2022-05-15 18:19:04 +02:00
DevilXD 2f452ca045 Fix an issue with settings being saved too early 2022-04-10 16:02:59 +02:00
DevilXD 8cd77bae2a Change websocket internals to use aiohttp instead 2022-04-08 22:04:53 +02:00
DevilXD f7b0a5f2cc Implement the inventory tab 2022-03-27 14:03:11 +02:00
DevilXD a30aa6f403 Fix autostart working directory breaking paths 2022-03-17 12:33:53 +01:00
DevilXD 12fdf7ab96 Catch settings file loading fail;
Standarize exit error codes
2022-03-17 10:49:14 +01:00
DevilXD 5a3a540b45 Implement settings and saving them to the settings file 2022-03-16 19:26:39 +01:00
DevilXD 4a4b4251ac Fix minor tkinter error message issue 2022-03-03 20:19:47 +01:00
DevilXD 92d722fd0c Change typing to 3.10 syntax 2022-02-27 12:07:40 +01:00
DevilXD 83b8de11a1 Implement exclude argument 2022-02-16 13:15:53 +01:00
DevilXD 763bc0a536 An error is now shown for incorrect arguments passed 2022-02-15 20:31:12 +01:00
DevilXD 3fba155c68 Add manual 2022-02-13 22:54:59 +01:00
DevilXD f6453dafaf Remove idle arg, make it default 2022-02-13 21:48:38 +01:00
DevilXD 268cf439e7 Logging and debug improvements 2022-02-11 17:33:54 +01:00
DevilXD a43b6e6df7 Add note about argparse help 2022-02-01 11:37:52 +01:00
DevilXD 2c6ee2939e Implement idle argument 2022-01-31 11:23:11 +01:00
DevilXD 3d3eb3b005 Defer client session init 2022-01-23 12:40:16 +01:00
DevilXD bd9d818b21 Implement support for campaign ACLs 2022-01-22 15:31:44 +01:00
DevilXD 97d6ac1b29 Move asyncio loop handling to main.py 2022-01-17 17:04:31 +01:00
DevilXD 8d18b542df Fix quit -> sys.exit 2022-01-14 16:49:28 +01:00
DevilXD fd030e33f6 Quit if the application is already running 2022-01-14 15:10:36 +01:00
DevilXD 8c4da299e8 Implement a 'tray' argument 2022-01-13 13:48:02 +01:00