keepassxc/src/browser
Janek Bevendorff 113c8eb702 Add CLI tests and improve coding style and i18n
The CLI module was lacking unit test coverage and showed some severe
coding style violations, which this patch addresses.

In addition, all uses of qCritical() with untranslatble raw char*
sequences were removed in favor of proper locale strings. These are
written to STDERR through QTextStreams and support output
redirection for testing purposes. With this change, error messages don't
depend on the global Qt logging settings and targets anymore and go
directly to the terminal or into a file if needed.

This patch also fixes a bug discovered during unit test development,
where the extract command would just dump the raw XML contents without
decrypting embedded Salsa20-protected values first, making the XML
export mostly useless, since passwords are scrambled.

Lastly, all CLI commands received a dedicated -h/--help option.
2018-10-19 21:49:54 +02:00
..
BrowserAccessControlDialog.cpp Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
BrowserAccessControlDialog.h Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
BrowserAccessControlDialog.ui Multiple browser related fixes 2018-01-20 00:47:26 +01:00
BrowserAction.cpp Add CLI tests and improve coding style and i18n 2018-10-19 21:49:54 +02:00
BrowserAction.h Formatting the code. 2018-03-31 16:01:30 -04:00
BrowserClients.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
BrowserClients.h Formatting the code. 2018-03-31 16:01:30 -04:00
BrowserEntryConfig.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
BrowserEntryConfig.h Formatting the code. 2018-03-31 16:01:30 -04:00
BrowserEntrySaveDialog.cpp Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
BrowserEntrySaveDialog.h Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
BrowserEntrySaveDialog.ui Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
BrowserOptionDialog.cpp Reduce use of static vars in browser plugin 2018-09-15 12:10:15 -04:00
BrowserOptionDialog.h Formatting the code. 2018-03-31 16:01:30 -04:00
BrowserOptionDialog.ui Add browser extension links to settings page 2018-08-19 23:36:59 -04:00
BrowserService.cpp Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
BrowserService.h Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
BrowserSettings.cpp Add CLI tests and improve coding style and i18n 2018-10-19 21:49:54 +02:00
BrowserSettings.h Add CLI tests and improve coding style and i18n 2018-10-19 21:49:54 +02:00
CMakeLists.txt Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
HostInstaller.cpp Reduce use of static vars in browser plugin 2018-09-15 12:10:15 -04:00
HostInstaller.h Reduce use of static vars in browser plugin 2018-09-15 12:10:15 -04:00
NativeMessagingBase.cpp Change Unix socket location 2018-05-16 07:37:25 +03:00
NativeMessagingBase.h Merge branch 'master' 2018-08-24 09:42:38 -04:00
NativeMessagingHost.cpp Reduce use of static vars in browser plugin 2018-09-15 12:10:15 -04:00
NativeMessagingHost.h Reduce use of static vars in browser plugin 2018-09-15 12:10:15 -04:00
Variant.cpp keepassxc-browser 2018-01-04 21:42:20 +01:00
Variant.h Formatting the code. 2018-03-31 16:01:30 -04:00