Commit Graph

24 Commits

Author SHA1 Message Date
Tim Gröger 635051d615 change database controller without multithreading 2020-01-19 21:32:58 +01:00
Tim Gröger f782be934d added decoratos for connected in database and login_requird in routes 2020-01-19 09:07:45 +01:00
Tim Gröger 29f20b2327 fixed imports, bugfix that accLifetime will load from config file 2020-01-19 00:37:40 +01:00
Tim Gröger 754f373cb0 add addWorker and deletWorker 2020-01-18 23:31:49 +01:00
Tim Gröger d0a9345d68 added EmailController
with the emailController you can send automaticly emails, if a user is over the limit or if the finanzer send the emails
the configparser is updated. So you have to set database and ldapconfig. if accestokenlifetime and mailconfig is not set, the parser set default values.
2020-01-05 14:15:02 +01:00
Tim Gröger 9f40d2c93b fixed #107
getUserData "from ldap" is now surrounded with try
2019-12-31 13:06:40 +01:00
Tim Gröger 7a95fb9d32 added a Configparser 2019-12-30 09:22:43 +01:00
Tim Gröger 92c2c95a34 update to lock user and if bar user add a locked user, he see it 2019-12-29 17:55:21 +01:00
Tim Gröger 5607ec72f7 update userControler, databaseController, ldapControlle and user for locking user 2019-12-28 23:34:09 +01:00
Tim Gröger 6ee6c1d44a update for UnitTests
new controller: userController
so routes don't have to import users or creditlist and don't do logics.
2019-12-28 21:52:49 +01:00
Tim Gröger 5b37e3d15b update token validatition
no second thread to validate for token ... only on access it will be validate
2019-12-28 11:31:45 +01:00
Tim Gröger d0f665cc8b first usable site
only 2 groups exists: bar and finanzer
person can be in more than 1 group

site for baruser first try with autocomplete from ldap
site for finanzer ; overview; specialview for 1 Person
2019-12-26 10:28:30 +01:00
Tim Gröger 19ff9db9df Merge branch 'feature/ldap' of 192.168.5.2:newgeruecht into feature/ldap
 Conflicts:
	geruecht/baruser/routes.py
2019-12-22 23:12:31 +01:00
Tim Gröger 589ae3e3a8 ldap search 2019-12-22 23:09:18 +01:00
Tim Gröger 23db38690e fixed #79 and other bugs 2019-12-22 22:27:39 +01:00
Tim Gröger c6508fd516 test with databaseController 2019-12-19 19:46:04 +01:00
Tim Gröger 33333561f3 add creditList support
but can't update database
2019-12-19 18:26:41 +01:00
Tim Gröger e8fc6c64b9 mysql adapter and ldap adapter
start adapetr for mysql not sqllite
authenfication with ldap

problem.. ldap and db is initialize in __init__.py
when you initialize db, you initialize User and that requires ldap from __init__.py. But ldap is not initialize.
if you initialize ldap, you initialize User and that requires db from __init__.py. But db is not initialize.
2019-12-19 08:12:29 +01:00
Tim Gröger cd0def0c1b Task #60 erledigt.
Es wird jetzt per StreamHandler geloggt und per File gespeichert.
Vielleicht wird auch ein bisschen zuviel geloggt.
2019-05-03 01:40:13 +02:00
Tim Gröger d591705835 Dokumentation vervollständigt 2019-05-02 18:50:59 +02:00
Tim Gröger 360766bd35 task #23 und #22 wurden bearbeitet. 2019-04-24 00:08:25 +02:00
Tim Gröger 2ba7240611 Erste Doku hinzugefügt im Ticket #41 2019-04-17 14:46:46 +02:00
Tim Gröger 535b9cbc12 AccesTokenController ist ein Thread
AccesTokenController schaut immer wieder nach, ob ein AccesToken noch valid ist.
Zeitabstand beträgt bis jetzt 10 SeKunden
ValidLifeTime beträgt bis jetzt 60 Sekunden
2019-04-12 14:51:37 +02:00
Tim Gröger 5c5799206f new start 2019-04-11 23:56:55 +02:00