summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* sqlite - admin: Added fetching blacklist info for user account.David Sommerseth2008-12-191-0/+24
|
* sqlite - admin: Added fetching login attempt for user. Fixed a memory leak ↵David Sommerseth2008-12-191-4/+30
| | | | and removed XML dump for debug
* Added extraction of lastlog info in eDBadminGetUserInfo(...)David Sommerseth2008-12-191-43/+104
|
* Fixed more memory leaks and missing memory initialisation.David Sommerseth2008-12-192-2/+6
|
* users command: Added delete user functionDavid Sommerseth2008-12-181-7/+25
| | | | | Readjusted account_activation(...) function to support also deletion of user accounts
* users command: Added help text for add userDavid Sommerseth2008-12-181-1/+10
|
* users command: Removed XML debug dump, reduced pwd length req. via -PDavid Sommerseth2008-12-181-3/+1
|
* sqlite - BUGFIX: Fixed INSERT INTO statements when using ↵David Sommerseth2008-12-181-2/+8
| | | | sqlite_query_mapped(...)
* users command: Added first attempt for add userDavid Sommerseth2008-12-181-0/+157
|
* Fixed segfault and wrong XML node extraction in eDBxmlMapping(...)David Sommerseth2008-12-181-2/+2
|
* sqlite: Fixed segfault int SQLreservedWord(...)David Sommerseth2008-12-181-1/+1
|
* Added SQLite3 admin functions for adding and deleting usersDavid Sommerseth2008-12-181-2/+90
|
* Added pwhash attribute in fieldMapping XML for password fields.David Sommerseth2008-12-181-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 accountDavid Sommerseth2008-12-181-0/+1
|
* Added more comments and some XML format documentationDavid Sommerseth2008-12-181-4/+28
|
* Cleaned up the code and added a lot of comments. Fixed minor display things.David Sommerseth2008-12-181-24/+42
|
* users command: Fixed a memory leakDavid Sommerseth2008-12-181-0/+1
|
* Removed all other eurephia admin structs which can be replaced by XMLDavid Sommerseth2008-12-183-48/+12
|
* Removed everything which was connected to the eurephiaUSERINFO struct.David Sommerseth2008-12-188-326/+10
|
* users command: updated activation/deactivation of usersDavid Sommerseth2008-12-181-41/+61
| | | | | Changed it to work with the new XML model instead of the eurephiaUSERINFO structure.
* Rewrote eDBadminUpdateUser(...) to use XML instead of eurephiaUSERINFODavid Sommerseth2008-12-182-15/+34
|
* eDBxmlMapping(...) did not honor the setnull attribute correctly.David Sommerseth2008-12-181-10/+17
|
* Added missing fieldMapping property (table="users")David Sommerseth2008-12-171-0/+1
|
* Updated eAdminGetUserInfo(...) work after commitDavid Sommerseth2008-12-171-2/+4
| | | | 31911812e53a8fda5ce8fa8e9d45254053a580c5
* Rewrote eDBxmlMapping(...) to take an XML node instead of a complete XML ↵David Sommerseth2008-12-172-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 Sommerseth2008-12-171-3/+1
| | | | creating field mapping
* Changed eDBxmlMapping(...) function to make use of the new ↵David Sommerseth2008-12-171-1/+3
| | | | eurephiaXML_getRoot(...) function
* Using the new eurephiaXML_* functions for creating and parsing XMLDavid Sommerseth2008-12-172-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 Sommerseth2008-12-172-0/+59
| | | | documents
* Corrected field names mentioned as sort keys for users --list -S <sortkey>David Sommerseth2008-12-161-2/+1
|
* BUGFIX: Made the eDBmkSortKeyString(...) function work againDavid Sommerseth2008-12-161-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 XMLDavid Sommerseth2008-12-161-14/+15
|
* Rewrote eDBadminGetUserList(...) to use XMLDavid Sommerseth2008-12-162-27/+19
|
* Removed not needed pointer - found by compiler warningDavid Sommerseth2008-12-161-1/+1
|
* Fixed some missing info after change to XMLDavid Sommerseth2008-12-151-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 warningDavid Sommerseth2008-12-151-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 XMLDavid Sommerseth2008-12-152-72/+97
| | | | | In short, completed the work begun in commit 6a8f3b190bfdfa772461a4fc019c11d759916160
* Added simple functions for extracting char * from XML nodesDavid Sommerseth2008-12-152-0/+86
|
* Began porting show_user(...) to the new XML APIDavid Sommerseth2008-12-132-16/+38
|
* Completed rewriting eDBadminGetUserInfo(...) function for XMLDavid Sommerseth2008-12-132-14/+19
| | | | | This rewrite utilities the XML interface instead of the more static eurephiaUSERINFO struct.
* Completed rewriting eDBmkMapping_USERINFO(...) to eDBxmlMapping(...)David Sommerseth2008-12-132-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.txtDavid Sommerseth2008-12-132-5/+8
|
* Began porting eDBadminGetUserInfo(...) over to XMLDavid Sommerseth2008-12-131-50/+65
|
* Added sqlite functions for populating an XML document directlyDavid Sommerseth2008-12-132-0/+27
|
* Prepared for building with libxml2David Sommerseth2008-12-132-2/+12
|
* Fixed a memory leak on logoutDavid Sommerseth2008-12-121-0/+1
|
* Added username in config fileDavid Sommerseth2008-12-121-5/+10
| | | | | By adding username=<eurephiadm username>, the program will not ask about username when logging in, only password
* Modified flags againDavid Sommerseth2008-12-123-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 issueDavid Sommerseth2008-12-111-1/+1
|
* Added ACCFLAG_ERRATTEMPT for flagging if the attempt counter > 0David Sommerseth2008-12-113-1/+8
|