summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui
AgeCommit message (Collapse)Author
2015-09-02[feat] load credentials from environment variableIvan Alejandro
Look for file defined in the `BITMASK_CREDENTIALS` env variable and load `provider`, `username` and `password` data. Trigger login if they were loaded correctly. The credentials file should look like this: [Credentials] username = my-account@my-provider.com password = secret - Resolves: #7419
2015-08-24[pkg] add icon for mail-only buildsKali Kaneko
2015-08-24[feat] allow to disable EIP on buildKali Kaneko
2015-08-24[bug] handle disabled registration, error 403.Ivan Alejandro
If the user wants to register a new account we check whether the provider allows registration or not right after getting the provider.json file and show an error msg on the wizard if not allowed. Also, there is a new signal to handle the error raised by the server if a registration attempt is made but is rejected with error 403. - Resolves: #6594
2015-08-11[feat] add soledad sync progress to the UIIvan Alejandro
Register to Soledad's sync (send and receive) events and display the progress in the UI. - Resolves: #7353
2015-07-20[refactor] minor reordering of events registrationKali Kaneko
Also, do not raise assertionerror, log warning instead.
2015-07-20[style] grammar fixkwadronaut
- Resolves: #7284
2015-07-06[bug] run zmq log subscriber in backgroundIvan Alejandro
Prevent locks caused by the zmq log handler reaching the zmq's HWM (High water mark / buffer limit) and causing some components to block until the buffer is empty (running the zmq handler for instance). We run the zmq handler in the background all the time to prevent this. - Resolves: #7222
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-27[feat] adapt to new events api on commonIvan Alejandro
- Related: #6359
2015-05-08[feat] use txzmq in backenddrebs
Before this commit, the backend used plain pyzmq bindings for communicating with the frontend. This implements the txzmq twisted-powered bindings instead. Closes: #6360
2015-04-16[bug] do not disable autostart on system quit()Ivan Alejandro
If the quit() call is triggered by the system logout we should not disable the autostart. Otherwise bitmask won't autostart on the next session start. - Resolves: #6424
2015-04-09[bug] handle user cancel keyring open operationIvan Alejandro
Catch the keyring.errors.InitError exception. The automatic login sequence now stops correctly instead of freezing if the user cancel the keyring open operation. - Resolves: #6682
2015-03-16[bug] enable providers combo box on check failIvan Alejandro
After a provider fails to pass the checks, the providers combo box is not enabled when it should, we just took care of the provider line edit. - Resolves: #6418
2015-03-13[feat] make 'check' button selected by defaultIvan Alejandro
Also set text to 'bold' so it's easier to find at a first sight. - Resolves: #5526
2015-02-23[Cherry Pick] Regression fix: Use the right provider to log in.Ivan Alejandro
FIX: Login attempt is made against previously selected provider. Closes #6654. Cherry-picked from release/0.8.x since it's a very annoying bug for the testing cycles for the next release (0.9.0) -- kali.
2015-02-13enable --offline mode for email againKali Kaneko
2015-02-13Re-add mail instructions for 0.9.0 release (beta mail)Kali Kaneko
2015-02-11pass userid correctly, and cast it to stringKali Kaneko
2015-01-29Use the right provider to log in.0.8.0rc4Ivan Alejandro
FIX: Login attempt is made against previously selected provider. Closes #6654. Remove unused comments as well.
2015-01-28Remove all the Slot() decorators.Ivan Alejandro
This causes (on certain scenarios) the app to segfault and it is really hard to debug.
2015-01-28Enable signal connect/disconnect logic.Ivan Alejandro
Now it's working and no longer segfaults, so we can enable safely this feature again. Stop tracking the gui connections on wizard.
2015-01-28Refactor wizard call.Ivan Alejandro
2014-12-30Disable signal disconnection and untrack.0.8.0rc1Ivan Alejandro
This temporary hack prevents the app to have segfaults when the first run wizard finishes. For more information look at https://leap.se/code/issues/6597
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-19Refactor login usage.Ivan Alejandro
- factor out the signal tracking code as a helper class, - move login logic from MainWindow to LoginWidget, - add new signals to the LoginWidget to interact with MainWindow, - add login sequence docs to LoginWidget class, - improve docs for login methods, - add LoginState class to handle login states, - disable login button until data is entered, - move some properties and actions to .ui file.
2014-12-18Quit Bitmask if there is no polkit agent running.Ivan Alejandro
Closes #6150.
2014-11-10Remove email instructions/reference. Closes #6140.Ivan Alejandro
- cleanup some code, - remove unused import, - pep8 fixes
2014-10-28Better error message for PostLimitError.Ivan Alejandro
Suggested by user 'kingu' on transifex.
2014-10-28Fix typos on strings and remove unused button.Ivan Alejandro
This was reported by the user 'strel' on transifex.
2014-10-28Replace triple dot character with 3 dots.Ivan Alejandro
The string was unicode and the conversion was troublesome, was displayed badly on transifex.
2014-09-19single pref win: fix problems with cleaning up closed windows (lambdas were ↵elijah
keeping the python object from getting garbage collected, and this keeps the old signal connections active)
2014-09-19single pref win: ensure proper deletion of preference window pages.elijah
2014-09-19single pref win: added shortcut to preferenceselijah
2014-09-19single pref win: minor linting & add changes fileelijah
2014-09-19single pref win: move preference window tracking to PreferencesWindowelijah
2014-09-19single pref win: clean up vpn pref error displaying & don't show dummy ↵elijah
gateways in case of error.
2014-09-19single pref win: gets the autopep8 beauty scrub.elijah
2014-09-19single pref win: moved password change UI to a separate window, opened from ↵elijah
account page in preferences.
2014-09-19single pref win: enabled/disable services via preferences window, account page.elijah
2014-09-19single pref win: move eip preferences to new combined preference window.elijah
2014-09-16Hide AKM menu and disable the qt connection.Ivan Alejandro
Hide the Advaneced Key Management menu from the ui file and comment out the connection between the triggered action and the method that shows the AKM window. Closes #6087.
2014-09-15Improve support for RTL languages.Ivan Alejandro
* Update transifex resource name. * Use RightToLeft layout for Arabic language. * Use better names and comments on i18n section. * Use unicode to initialize widgets with text that otherwise (str) will fail when Arabic (and most likely any other language with non-ascii characters) is used. Closes #5289, #6033.
2014-09-11Add email firewallRuben Pollan
2014-09-03Code cleanup and logging improvements.Ivan Alejandro
2014-09-03Remove unused defers.Ivan Alejandro
Also, we no longer return defers for those actions.
2014-08-28Remove /tmp/bitmask.lock on quit. Closes #5866.Ivan Alejandro
Add a platform independent release_lock helper, so all the SO dependent code goes inside the locks file. Also, do some code cleanup.
2014-08-27Hide button / improve message on missing helpers.Ivan Alejandro
* Emit the `eip_missing_helpers` signal when the user chooses "Don't ask me again". * We emit that signal when some helper file is missing, even if the user doesn't want a warning. * Do the update of the eip enabled status with some delay to give some time the eip machine to start and do what it needs with the buttons/labels and avoid the 'hide turn on button if missing files' being overridden. Closes #5945.