summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/app.py
AgeCommit message (Collapse)Author
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
2014-01-09Add flag to disable version check.Ivan Alejandro
2013-12-20mail logsKali Kaneko
2013-12-18add repair mailbox utilityKali Kaneko
2013-12-17display mail version tooKali Kaneko
2013-10-24use coloredlogs optionallyKali Kaneko
2013-10-15Fix pep8 violations.Ivan Alejandro
2013-10-14Disable stdout redirection on windows for now since it breaks the bundleTomás Touceda
2013-10-07Show more context information in the logs.Ivan Alejandro
Add line numbers and function name from where the log is displayed.
2013-09-30Force cleanlooks only from bundle.Ivan Alejandro
2013-09-24Only ensure server if we are running the app.Ivan Alejandro
This code reorder avoids to get an error message if we run some code when the only thing we want is to get the version. Closes #3914.
2013-09-24Move logger up to be available sooner.Ivan Alejandro