Commit Graph

12 Commits

Author SHA1 Message Date
Marc Delisle
be03cb3f27 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-02 06:25:37 +01:00
Michal Čihař
2ce7aa70c4 Move storing password/username after checking password
The cookie encryption is quite expensive, so let's move it after we
check password validity.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-12-01 09:50:16 +01:00
Michal Čihař
dca981481d Remove plugin manager and observer classes
We don't really need the observer pattern, so let's simplify the code.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-25 09:25:59 +02:00
Michal Čihař
bd4cccc039 Move password change handling to authenticaton plugins
We should not care about plugin type while changing password, we should
just notify it and the plugin should be responsible for anything needed.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-12 14:43:10 +02:00
Michal Čihař
afe414102a Improve check for empty message
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 16:02:48 +02:00
Michal Čihař
f159a39ff2 Handle cases when errno is set, but dbi does not return error message
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 15:53:45 +02:00
Michal Čihař
d44c4d9a96 Properly report MySQL error
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 15:12:06 +02:00
Michal Čihař
650e0512de Share code for getting error message
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 15:05:36 +02:00
Michal Čihař
869d7c0e99 Use single quotes when we do not want to evaluate the string 2012-10-16 11:18:16 +02:00
Alex Marin
34a0dace8a oop: some coding style for plugins 2012-08-16 23:10:33 +03:00
Alex Marin
41413a13fc Add missing word in descriptions 2012-07-04 23:58:01 +03:00
Alex Marin
a87f283a23 plugins and OOP: create general class structure and ExportXML 2012-05-28 00:21:14 +03:00