13 Commits (eb90757063fda85ebf7106c9cdf88a75995f493b)

Author SHA1 Message Date
Adriaan de Groot eb90757063 [users] Apply coding style (lots of churn) 6 years ago
Adriaan de Groot 520478847c Make logging more consistent.
- Across all the C++ modules, use Logger::SubEntry for sub/continues
   log lines, instead of somewhat-random indent strings.
6 years ago
Adriaan de Groot 620d2a769a [users] Reduce compile warnings
- Avoid C-style casts
 - Unfortunately needs some verbose casting machinery to do
   it "right" wrt. C++ type system.
6 years ago
Adriaan de Groot a9e751bb31 [users] Compile warnings-- 7 years ago
Adriaan de Groot 3315df5df1 [modules] Use new convenience logging methods across the board 7 years ago
Adriaan de Groot 874514a4e4 i18n: drop orphaned #undefs (thanks Kevin Kofler) 7 years ago
Adriaan de Groot d27675d660 i18n: drop superfluous QObject* parent
These additional pointers were introduced for translations,
and needed their own tricks to get lupdate to recognize the
strings. Using QCoreApplication::translate() removes the
need to a QObject to provide context. Drop the now-unneeded
parameters.
7 years ago
Adriaan de Groot f954496acf i18n: avoid translation tricks, use QCoreApplication::translate
Instead of using tr and some macro hacks to get lupdate to
recognize the translation, instead use QCoreApplication::translate()
which takes its own context for translation.
7 years ago
Adriaan de Groot b0fe7b0682 i18n: apply some more tricks to make lupdate / transifex happy 7 years ago
Adriaan de Groot 399256ba99 [users] Use explanation of password error from libpwquality
- add license file from libpwquality for provenance
 - translate pwquality_strerror() into the PWSettingsHolder convenience class
 - use Qt translations, since we'd otherwise also have to wire up, and
   wire in, libpwquality gettext translations.
7 years ago
Adriaan de Groot ed58d540b3 [users] Implement password checking through libpwquality
- Use shared_ptr and a helper class to hide away raw pointer use
   from libpwquality. Provide a convenience C++ API.
 - Simplify configuration through helper class.
7 years ago
Adriaan de Groot 354cb79cb1 [users] sample config and stub function for libpwquality 7 years ago
Adriaan de Groot 27e1de6548 [users] Use libpwquality for additional password checks
- add cmake module to find libpwquality
 - move checking functions to their own file
 - some Transifex hackery
 - stub out the libpwquality check
7 years ago