summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/app.py
AgeCommit message (Collapse)Author
2015-08-07[bug] workaround wrong qtplugins path rewritten in the libsKali Kaneko
this is a bug in macholib, there's a missing letter in the plugins path, so unless we fix this they cannot be loaded from the bundle. See: https://bitbucket.org/pydica/pyside-setup/commits/4b8be97e5a00b577fe30ce9aa7e5723ff2a66f94 Quoting from http://code.activestate.com/lists/pythonmac-sig/23278/: """ The problem might be this line: @rpath/Contents/mageformats/libqtiff.dylib The "i" from "imageformats" is missing! This _might_ be related to the unusual case that "libqtiff" has no path at all, or something else is funny, and we end up with a name that will not be found at all. Then the loader finds the plugin in the installed Qt, which causes it to load everything again from there. """
2015-08-07[bug] raise the maxfiles limit in OSXKali Kaneko
due to zmq, we are hitting the limit and getting app crashes. - Resolves: #7319
2015-06-22[feat] log lsb_release info if availableKali Kaneko
if the lsb_release utility is present on system, log part of its output so we can have more information about the platform bitmask is running on. - Resolves: #7162 - Releases: 0.9.0
2015-06-22[feat] add log rotation featureIvan Alejandro
Rotate bitmask.log file on each start.
2015-06-22[feat] support new psutil APIIvan Alejandro
API to get the children has changed on latest psutil, this takes care of it.
2015-06-22[feat] replace old log handler with new oneIvan Alejandro
Replace logging.getLogger with custom get_logger. Remove some unneeded dependencies and reorder other.
2015-06-22[feat] add a zmq based logger, change log windowIvan Alejandro
- Add a new handler for a zmq/thread-safe log send between components. - Update the log window to use this new handler. - Remove old custom handler We have implemented a new handler that uses logbook, so this one is no longer needed. - Adapt log silencer to new handler - Use log file always as default - Related: #6733
2015-05-29[bug] move events server init to backenddrebs
If the events server is initialized in a different process than the backend, the txzmq socket raises an "zmq.error.ZMQError: Interrupted system call" exception during the events server initialization. Despite that, communication seems to work flawlessly after the initialization. Moving the events server initialization to the same process as the backend causes the exception to not be raised during events server intialization.
2015-05-27[feat] adapt to new events api on commonIvan Alejandro
- Related: #6359
2015-04-09[bug] enable atexit subprocess terminationIvan Alejandro
- Resolves: #6426 - Resolves: #6681
2015-02-13enable --offline mode for email againKali Kaneko
2014-12-29Create the certificates if they don't exist.Ivan Alejandro
Fix typo for signal disconnection. The backend is the one who always creates the certificates. Either if it is run separately or in a process in the same app as the frontend.
2014-12-19Allow frontend and backend to be run separately.Ivan Alejandro
Add the 'check_online' method to check whether the backend is accessible or not. Reduce the wait for running threads timeout on quit. Add retry feature to the backend requests send.
2014-12-19Disable '--offline' temporarily.Ivan Alejandro
2014-08-04Disable daemon mode, we use processes in the backend.Ivan Alejandro
2014-07-24Add frontend alive check to the backend.Ivan Alejandro
Stop the backend if the frontend process does not exist any more and backend is not a daemon.
2014-07-22Kill backend on quit if it does not respond.Ivan Alejandro
2014-07-14pep8 fixesIvan Alejandro
2014-07-14Use main process to run frontend.Ivan Alejandro
Running the GUI in a child process gives problems on OSX. Also, change signal handling since we have less processes.
2014-07-14Handle SIGINT/SIGTERM in processes.Ivan Alejandro
2014-07-14Send the flag module values to the processes.Ivan Alejandro
Add serialize/deserialize to dict helper.
2014-07-14Move the backend starter to its own file.Ivan Alejandro
2014-07-14Add SIGINT handler.Ivan Alejandro
2014-07-14Use new backend/signaler and start logic in processes.Ivan Alejandro
2014-07-14Separate app.py and frontend_app.py logics.Ivan Alejandro
This prepares the scenario to run the frontend and the backend in different processes.
2014-07-11invoke mainwindow.quit only from parent pidKali Kaneko
because the fork happens after the registration of the signal handler, all children processes were inheriting the handler (and being passed a reference to the mainwindow object, ugh...)
2014-06-18Use a better naming for argparse helper.Ivan Alejandro
2014-06-09Use a more significative name for logger helper.Ivan Alejandro
2014-06-06Remove unused variables and reorder arg parsing.Ivan Alejandro
2014-06-06Remove unused code and move imports to the top.Ivan Alejandro
2014-06-06Move imports to the top.Ivan Alejandro
2014-06-06Remove unused code.Ivan Alejandro
2014-06-06Remove code already used in mainwindow.Ivan Alejandro
2014-06-06Move quit callback to mainwindow.Ivan Alejandro
2014-06-05Reorder logging helpers and handlers.Ivan Alejandro
2014-05-21Improve wait and quit process.Ivan Alejandro
Refactor logic from backend to the vpnprocess.
2014-05-15Gracefully handle SIGTERM as well as SIGINT, feature #5672irregulator
SIGTERM is caught by twisted, so we have to use addSystemEventTrigger() to pass a custom handler to twisted reactor. See https://leap.se/code/issues/5672 for more.
2014-04-22Add flag to skip provider checks in wizard.Ivan Alejandro
2014-04-15Move openvpn_verb to config.flagsIvan Alejandro
2014-04-10Add flag to start the app hidden in the tray.Ivan Alejandro
Closes #4990.
2014-04-01Add support for self signed certs. Closes #5391.Ivan Alejandro
2014-03-10Merge remote-tracking branch 'refs/remotes/kali/feature/graph-cpu-and-mem' ↵Tomás Touceda
into develop
2014-03-07Remove qtreactor dependencyTomás Touceda
2014-03-07add ability to set nice order via env varKali Kaneko
2014-02-03Use the new log format in the GUI too.Ivan Alejandro
- Unify location for log format.
2014-01-31Improve logs readabilityIvan Alejandro
- levelname: after time, fixed width, left aligned - Line number before name and with fixed width - function with ()
2014-01-13Reorder initialization calls.Kali Kaneko
* Refactor opt checking, paving the way for separation into commands module. * Do not hijack the stdout for commands, reduce clutter.
2014-01-13able to import maildirKali Kaneko
2014-01-12rename repair to plumber to suit more generic functionalityKali Kaneko
2014-01-09add offline flagKali Kaneko