40 Commits (01dc476775bc7d8c2e457ec92a72a0dc7d9fc2fd)

Author SHA1 Message Date
Georg Hopp 01dc476775 utilize libtrdata 12 years ago
Georg Hopp cf7f338bb2 move all hashing helper code in separate library 12 years ago
Georg Hopp 67b37a057b moved the class and memory management into a separate project libtrbase / prefix all of the public interface of libtrbase with TR_ 12 years ago
Georg Hopp 126a8ca3e9 fixed various memory management issues detected with valgrind 12 years ago
Georg Hopp 06c15c2b3c basic user update functionality 12 years ago
Georg Hopp ed5dc629a2 add username to user class. This will contain the common name (cn) of an ldap authenticated user and the email address of an otherwise authenticated user. This is done to be able to have a good way to store an application user for ldap authenticated users. 12 years ago
Georg Hopp de714f8a19 use the new application container 12 years ago
Georg Hopp f95c7f2fae display lines of code in page footer 12 years ago
Georg Hopp 17d11ab2a8 remove no longer used application signup method 12 years ago
Georg Hopp 45dc79e210 generalise user handling more so that not only signup and login is possible but also password or userdata changes and further administration. 12 years ago
Georg Hopp 080add7222 remove specialized load and save from user, add serializable and indexable interface and make user utilize both and store a user and its credentials keyed by its uuid 12 years ago
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 8710078a03 build shared libraries from the parts that might be useful on their on and let taskrambler use them 12 years ago
Georg Hopp 9b45f05a17 removed unused variable 12 years ago
Georg Hopp 07316ef7b2 created and used a more generalized httpResponseJson 12 years ago
Georg Hopp 7005c8860a make install works now. So from now on taskrambler will not work when run from its build dir, because it can't find its assets then. To make installation work a basic config file reader class was implemented. 12 years ago
Georg Hopp 8ae57a9091 some more changes for documentation generation 12 years ago
Georg Hopp 1dd874a99b optimized session handling. closes #41 12 years ago
Georg Hopp 6bc2df8686 use dragonegg config 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 1897c81955 fix remove of user. As email is in that case a part of credential it must be set to NULL before delete. 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 7c044e0718 there is no session_update method anymore...this will be done in session_get at least at the moment 12 years ago
Georg Hopp 93e1d2a167 some changes on session handlings. 12 years ago
Georg Hopp 9e1ab77959 create a real new user object when the fetch fails. 12 years ago
Georg Hopp 21d0960400 to stop a session is as simple as setting their livetime to 0. On the next request this session will be removed. 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 711dc28fc5 show taskrambler version in Frontend 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