19 Commits (126a8ca3e96dea686f42fbf822d8cf519668e232)

Author SHA1 Message Date
Georg Hopp a1350d7591 added a generic router. This is a REST router that maps urls to specific functions which it tries to find via dlsym. That way the only thing to do to get a new REST functionality is to add a function that fits into the namesheme. All existing functionality is moved accordingly 12 years ago
Georg Hopp 07316ef7b2 created and used a more generalized httpResponseJson 12 years ago
Georg Hopp 1dd874a99b optimized session handling. closes #41 12 years ago
Georg Hopp 691673991c make write more fair...until now it was written as long a possible given no chance for reading anymore... 12 years ago
Georg Hopp 52f6fbc52a logout no longer tries to stop the session. Now simply the user is removed. 12 years ago
Georg Hopp 93e1d2a167 some changes on session handlings. 12 years ago
Georg Hopp 5197b8d216 move session handling from adapter into application and some more stuff of the version thing...when the version thing works I will add the session livetime to every page. 12 years ago
Georg Hopp 3c132acc64 signup works...only logout has to be added then the new version is complete. refs #36 12 years ago
Georg Hopp 636e495d2e fix wrong handling of session queue and thus the memory leak. 12 years ago
Georg Hopp 8d7ed2cdaa login via ldap and gdbm now works. Signup stores the user account as well as the credentials but still returns a 500 and I have a memory leak most likely within the queue code. To reproduce this one has to start the server and send two requests via telnet to the server...no keep-alive just a single GET. refs #36 12 years ago
Georg Hopp f1a1399db7 now signup and login with storage of a hashed password works. 12 years ago
Georg Hopp 06d8f88972 everything builds again 12 years ago
Georg Hopp 70c5edfde9 put most of the parts for simple signup/login in place...not tested now as it is late. Hopefully tomorrow I find the time to setup a small testform and bring this whole thing finally to work. refs #36 12 years ago
Georg Hopp 19c59fd0c6 use user class to load and get user informations. 12 years ago
Georg Hopp 1094e9c9f0 make sessions start on any request and clean them when they have timed out. 12 years ago
Georg Hopp db22ebe7a1 fix wrong handling of session queue and thus the memory leak. 12 years ago
Georg Hopp 42f7ad7400 login via ldap and gdbm now works. Signup stores the user account as well as the credentials but still returns a 500 and I have a memory leak most likely within the queue code. To reproduce this one has to start the server and send two requests via telnet to the server...no keep-alive just a single GET. refs #36 12 years ago
Georg Hopp 9cd89f97cf now signup and login with storage of a hashed password works. 12 years ago
Georg Hopp 575f27dabc everything builds again 12 years ago
Georg Hopp 6139e8f03a put most of the parts for simple signup/login in place...not tested now as it is late. Hopefully tomorrow I find the time to setup a small testform and bring this whole thing finally to work. refs #36 12 years ago
Georg Hopp 4cef3afa5c use user class to load and get user informations. 12 years ago
Georg Hopp 76d164b80c make sessions start on any request and clean them when they have timed out. 12 years ago
Georg Hopp 252cdbb0dc now it works mostly as before...the only difference is that you really have to be logged in to see the rand value 12 years ago
Georg Hopp e69a4962bb most stuff works...the session timeout will not be reset correctly within some answers, anyway it mostly works. refs #24 12 years ago
Georg Hopp 79b346559a code with abstraced application compiles again, but does not work correctly, start debugging. refs #24 12 years ago
Georg Hopp 36612df0da implemented an application class as well as an http adapter for it and use it to start application logic by http requests as well as creating a fitting repsonse. Not perfect, but a start. This code is not finish and will not work...in fact it won't even compile i think. refs #24 12 years ago