Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | sqlite - admin: Added fetching blacklist info for user account. | David Sommerseth | 2008-12-19 | 1 | -0/+24 | |
| | ||||||
* | sqlite - admin: Added fetching login attempt for user. Fixed a memory leak ↵ | David Sommerseth | 2008-12-19 | 1 | -4/+30 | |
| | | | | and removed XML dump for debug | |||||
* | Added extraction of lastlog info in eDBadminGetUserInfo(...) | David Sommerseth | 2008-12-19 | 1 | -43/+104 | |
| | ||||||
* | Fixed more memory leaks and missing memory initialisation. | David Sommerseth | 2008-12-19 | 2 | -2/+6 | |
| | ||||||
* | users command: Added delete user function | David Sommerseth | 2008-12-18 | 1 | -7/+25 | |
| | | | | | Readjusted account_activation(...) function to support also deletion of user accounts | |||||
* | users command: Added help text for add user | David Sommerseth | 2008-12-18 | 1 | -1/+10 | |
| | ||||||
* | users command: Removed XML debug dump, reduced pwd length req. via -P | David Sommerseth | 2008-12-18 | 1 | -3/+1 | |
| | ||||||
* | sqlite - BUGFIX: Fixed INSERT INTO statements when using ↵ | David Sommerseth | 2008-12-18 | 1 | -2/+8 | |
| | | | | sqlite_query_mapped(...) | |||||
* | users command: Added first attempt for add user | David Sommerseth | 2008-12-18 | 1 | -0/+157 | |
| | ||||||
* | Fixed segfault and wrong XML node extraction in eDBxmlMapping(...) | David Sommerseth | 2008-12-18 | 1 | -2/+2 | |
| | ||||||
* | sqlite: Fixed segfault int SQLreservedWord(...) | David Sommerseth | 2008-12-18 | 1 | -1/+1 | |
| | ||||||
* | Added SQLite3 admin functions for adding and deleting users | David Sommerseth | 2008-12-18 | 1 | -2/+90 | |
| | ||||||
* | Added pwhash attribute in fieldMapping XML for password fields. | David Sommerseth | 2008-12-18 | 1 | -5/+19 | |
| | | | | | | | This attribute can be "sha512" if the contents of the field is already hashed with SHA512. The other official value is "none", which will then tell eDBxmlMapping(...) to hash the value. Unknown values will be treated like 'none'. | |||||
* | users command: BUGFIX: Tried to deactivated never activated account | David Sommerseth | 2008-12-18 | 1 | -0/+1 | |
| | ||||||
* | Added more comments and some XML format documentation | David Sommerseth | 2008-12-18 | 1 | -4/+28 | |
| | ||||||
* | Cleaned up the code and added a lot of comments. Fixed minor display things. | David Sommerseth | 2008-12-18 | 1 | -24/+42 | |
| | ||||||
* | users command: Fixed a memory leak | David Sommerseth | 2008-12-18 | 1 | -0/+1 | |
| | ||||||
* | Removed all other eurephia admin structs which can be replaced by XML | David Sommerseth | 2008-12-18 | 3 | -48/+12 | |
| | ||||||
* | Removed everything which was connected to the eurephiaUSERINFO struct. | David Sommerseth | 2008-12-18 | 8 | -326/+10 | |
| | ||||||
* | users command: updated activation/deactivation of users | David Sommerseth | 2008-12-18 | 1 | -41/+61 | |
| | | | | | Changed it to work with the new XML model instead of the eurephiaUSERINFO structure. | |||||
* | Rewrote eDBadminUpdateUser(...) to use XML instead of eurephiaUSERINFO | David Sommerseth | 2008-12-18 | 2 | -15/+34 | |
| | ||||||
* | eDBxmlMapping(...) did not honor the setnull attribute correctly. | David Sommerseth | 2008-12-18 | 1 | -10/+17 | |
| | ||||||
* | Added missing fieldMapping property (table="users") | David Sommerseth | 2008-12-17 | 1 | -0/+1 | |
| | ||||||
* | Updated eAdminGetUserInfo(...) work after commit | David Sommerseth | 2008-12-17 | 1 | -2/+4 | |
| | | | | 31911812e53a8fda5ce8fa8e9d45254053a580c5 | |||||
* | Rewrote eDBxmlMapping(...) to take an XML node instead of a complete XML ↵ | David Sommerseth | 2008-12-17 | 2 | -17/+38 | |
| | | | | | | | | document as input. The node name of the input node must be <fieldMapping/>. In addition this node must have an attribute called "table" which must match the eDBfieldMap* structure given as input. | |||||
* | users command: show_user(...) now uses eurephiaXML_CreateDoc(...) when ↵ | David Sommerseth | 2008-12-17 | 1 | -3/+1 | |
| | | | | creating field mapping | |||||
* | Changed eDBxmlMapping(...) function to make use of the new ↵ | David Sommerseth | 2008-12-17 | 1 | -1/+3 | |
| | | | | eurephiaXML_getRoot(...) function | |||||
* | Using the new eurephiaXML_* functions for creating and parsing XML | David Sommerseth | 2008-12-17 | 2 | -12/+19 | |
| | | | | | | | | | | | Also rebased the XML file to always have a document root which is <eurephia/>. This tag must contain a "format" attribute, which should be 1 for the moment. When parsing the XML, the eurephiaXML_getRoot(...) function will return a pointer to the requested XML node inside the <eurephia/> document root. The format version in the root element will also be checked automatically. | |||||
* | Added common eurephiaXML functions for creating and reading eurephia XML ↵ | David Sommerseth | 2008-12-17 | 2 | -0/+59 | |
| | | | | documents | |||||
* | Corrected field names mentioned as sort keys for users --list -S <sortkey> | David Sommerseth | 2008-12-16 | 1 | -2/+1 | |
| | ||||||
* | BUGFIX: Made the eDBmkSortKeyString(...) function work again | David Sommerseth | 2008-12-16 | 1 | -8/+10 | |
| | | | | | The function did not work after the change of the field mapping system changed when reworking things from eurephiaUSER{LIST,INFO} to XML | |||||
* | users command: Rewrote 'list users' to use XML | David Sommerseth | 2008-12-16 | 1 | -14/+15 | |
| | ||||||
* | Rewrote eDBadminGetUserList(...) to use XML | David Sommerseth | 2008-12-16 | 2 | -27/+19 | |
| | ||||||
* | Removed not needed pointer - found by compiler warning | David Sommerseth | 2008-12-16 | 1 | -1/+1 | |
| | ||||||
* | Fixed some missing info after change to XML | David Sommerseth | 2008-12-15 | 1 | -3/+12 | |
| | | | | | | Added again the "Associated certificates" info (int value) and will now also show a default value ("not set"/"-") if firewall access profile is not set. | |||||
* | Needed to change from #define macro to function to avoid compiler warning | David Sommerseth | 2008-12-15 | 1 | -1/+3 | |
| | | | | | | When xmlExtractContent() was used together with the defaultValue() macro, a compiler warning appeared. Changed the xmlExtractContent() macro to a inline function, hopefully the overhead will be minimal with this change. | |||||
* | Completed rewriting show_users(...) function for XML | David Sommerseth | 2008-12-15 | 2 | -72/+97 | |
| | | | | | In short, completed the work begun in commit 6a8f3b190bfdfa772461a4fc019c11d759916160 | |||||
* | Added simple functions for extracting char * from XML nodes | David Sommerseth | 2008-12-15 | 2 | -0/+86 | |
| | ||||||
* | Began porting show_user(...) to the new XML API | David Sommerseth | 2008-12-13 | 2 | -16/+38 | |
| | ||||||
* | Completed rewriting eDBadminGetUserInfo(...) function for XML | David Sommerseth | 2008-12-13 | 2 | -14/+19 | |
| | | | | | This rewrite utilities the XML interface instead of the more static eurephiaUSERINFO struct. | |||||
* | Completed rewriting eDBmkMapping_USERINFO(...) to eDBxmlMapping(...) | David Sommerseth | 2008-12-13 | 2 | -64/+109 | |
| | | | | | | | | | | | | | | | | | | | This new mapping function uses a flexible XML document as input, and will be generic to all other tables as well. XML structure is: <fieldMapping table="{table name}> <{fieldname}>{value}</{fieldname}> </fieldMapping> An example: <fieldMapping table="users"> <uid>1</uid> <username>testuser1</username> </fieldMapping> This function will return a eDBfieldMap structure contatining the proper fieldnames with values assigned, depending on the database map given when called. | |||||
* | Moved libxml2 check from edb-sqlite to the global CMakeLists.txt | David Sommerseth | 2008-12-13 | 2 | -5/+8 | |
| | ||||||
* | Began porting eDBadminGetUserInfo(...) over to XML | David Sommerseth | 2008-12-13 | 1 | -50/+65 | |
| | ||||||
* | Added sqlite functions for populating an XML document directly | David Sommerseth | 2008-12-13 | 2 | -0/+27 | |
| | ||||||
* | Prepared for building with libxml2 | David Sommerseth | 2008-12-13 | 2 | -2/+12 | |
| | ||||||
* | Fixed a memory leak on logout | David Sommerseth | 2008-12-12 | 1 | -0/+1 | |
| | ||||||
* | Added username in config file | David Sommerseth | 2008-12-12 | 1 | -5/+10 | |
| | | | | | By adding username=<eurephiadm username>, the program will not ask about username when logging in, only password | |||||
* | Modified flags again | David Sommerseth | 2008-12-12 | 3 | -9/+30 | |
| | | | | | | Added RSETLASTUSED (last_accessed is set to NULL) and RSETLOGINCNT (lastlog table has been modified). NEVERUSED flag will only be set if last_accessed is NULL and login count == 0. | |||||
* | Fixed yet another strange SQLite3 parsing issue | David Sommerseth | 2008-12-11 | 1 | -1/+1 | |
| | ||||||
* | Added ACCFLAG_ERRATTEMPT for flagging if the attempt counter > 0 | David Sommerseth | 2008-12-11 | 3 | -1/+8 | |
| |