Commit graph

23 commits

Author SHA1 Message Date
Johannes Loher 5f644650a9 Merge branch 'async_password_hashing' into 'master'
do password hashing asynchronously

See merge request fsimphy/calendar-webapp!17
2017-12-09 23:23:52 +01:00
Johannes Loher 5e4e32c025 do password hashing asynchronously 2017-11-23 21:40:48 +01:00
Johannes Loher 5e7742fc40 merged master into configuration 2017-11-20 23:23:32 +01:00
Johannes Loher 84206e2881 some small fixups 2017-11-20 22:36:16 +01:00
Johannes Loher 66bbcd113a made dauth work with mysql 2017-11-20 21:51:38 +01:00
Johannes Loher 37fda7abc8 a little cleanup 2017-11-10 18:31:47 +01:00
Johannes Loher fd89dd25ca Use DAuth instead of botan for password hashing. Fixes #7 2017-11-10 18:20:55 +01:00
Johannes Loher 5bcbd06a52 Only register a MongoCollectionInjector, when using MongoDB 2017-11-10 17:09:44 +01:00
Johannes Loher 524cc11b3f Added possibility to configure the application with a config file or with command line arguments. Currently only selection of the database system and options for those systems are available. 2017-11-10 16:29:19 +01:00
Johannes Loher 539ed1720b changed the username and password for the mysql server (for which I supidly included my own in the last commit *facepalm*) 2017-11-10 14:13:42 +01:00
Johannes Loher 1e6b119ebd made admin interface work with mysql 2017-11-09 02:24:15 +01:00
Johannes Loher af0da4c354 Added MySQL support 2017-10-30 02:31:48 +01:00
Johannes Loher 6fcb9969df fixed tests and added tests for passhash 2017-10-27 19:52:49 +02:00
Johannes Loher ec0c7a64b5 added abstraction layer for password hashing 2017-10-27 18:58:46 +02:00
Johannes Loher 0143b933d5 Only show menu when authenticated and only show user management when logged in as admin 2017-10-27 18:03:55 +02:00
Johannes Loher dafb065eb3 Added possibility for admins to add and remove users 2017-10-27 17:09:55 +02:00
Johannes Loher 026b3f993e Automatically generate methods for checking if a user has certain privileges. Once static foreach is supported by ldc, this can be done even more elegant without the use of a helper function. 2017-10-27 15:13:02 +02:00
Johannes Loher 464c224d72 Added tests for calendarwebapp.authenticator.AuthInfo 2017-10-26 20:23:02 +02:00
Johannes Loher 4959c67e89 Initial work for support for different user roles. 2017-10-26 20:08:16 +02:00
Johannes Loher 0cab33bcb3 Merge branch 'master' into no-vibe-default-main
Fixes the issues discussed in !5
2017-10-20 14:55:40 +02:00
Johannes Loher 7fe60c474b Do not use vibe default main but instead use an own main function. 2017-10-16 02:58:59 +02:00
Johannes Loher ed717679ba Store passwords as salted hashes using bcrypt 2017-10-15 16:43:39 +02:00
Johannes Loher 40f438852f initial addition of unittests 2017-09-17 17:52:41 +02:00