summaryrefslogtreecommitdiffstats
path: root/database/sqlite/administration/useraccount.c
Commit message (Collapse)AuthorAgeFilesLines
* Update eurephiadm to extract VPN MAC and IP address info from the new placesDavid Sommerseth2012-12-261-6/+7
| | | | | | | As the lastlog table doesn't contain MAC or IP addresses of the VPN client any more, make the lastlog extraction gather the data from the vpnaddr_history table instead. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Updated copyright datesDavid Sommerseth2012-10-081-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* sqlite/admin: Report all timestamp fields with localtime instead of UTC/GMTDavid Sommerseth2012-10-081-6/+8
| | | | | | | | Made all SELECT queries which is used for reports to use the new 'locdt' SQL function on timestamp fields. This converts the UTC/GMT timestamps stored in the database to the correct timezone of the running admin client. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Modified the whole edb-sqlite driver to use a better error handlingDavid Sommerseth2011-12-191-27/+72
| | | | | | | | | | | This will change the driver to use the new error routines made available in the SQLite3 framework. Some of the code is also restructured a little bit to simplify the code with these changes. The functionality should be the same as for, but better error messages are now sent back to the caller on the functions supporting XML. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* eurephiadm users: Revoke all admin access privileges when deleting a user ↵David Sommerseth2010-12-141-6/+14
| | | | | | | | | | account Matthew Gyurgyik noticed that when deleting a user account, the users granted access levels was still present. This resulted in a rather odd looking list when showing granted access levels. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Quick fix for typo 'Quering'Dario Minnucci2010-12-011-3/+3
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Updated Copyright dates to include 2010David Sommerseth2010-07-301-1/+1
|
* Certificate digests are always lower case.David Sommerseth2009-11-121-2/+2
| | | | | This makes sure that all interactions with the database will convert the digest strings to lower case.
* sqlite: Did not retrieve all certificate information correctlyDavid Sommerseth2009-11-031-10/+10
| | | | | On user accounts with several certificates associated, it did only list up one certificate several times.
* Corrected some new Doxygen issuesDavid Sommerseth2009-09-281-1/+2
|
* Code clean up. Moved xmlReplaceChars() to eurephia_xml.cDavid Sommerseth2009-09-271-3/+0
|
* Moved user creation info from log level 0 to log level 1David Sommerseth2009-09-271-1/+1
| | | | | This is to avoid the console programs to report to stderr if log file is not setup. Console applications use stderr in these situations.
* Fixed a memory leak when updating user accounts in eDBadminUserAccount()David Sommerseth2009-09-271-0/+1
|
* Removed a memory leakDavid Sommerseth2009-09-261-0/+1
|
* Renamed some variables to have a more meaningful nameDavid Sommerseth2009-09-251-5/+7
|
* Added better error handling in eDBadminUserAccount() view mode (useracc_list())David Sommerseth2009-09-251-4/+7
|
* Made the sortkeys work in eDBadminUserAccount() view modeDavid Sommerseth2009-09-251-7/+8
|
* dded support for <sortkeys> tag in eDBadminUserAccount()David Sommerseth2009-09-251-3/+6
|
* Fixed some issues with the useracc_list() functionDavid Sommerseth2009-09-251-32/+28
|
* Unified eDBadminUser*() functions into one eDBadminUserAccount() functionDavid Sommerseth2009-09-241-185/+200
| | | | | | Rewritten the database API and the SQLite3 database driver. This code has yet not been tested.
* Rewrote eurephiaXML_ResultMsg() to also support adding an xmlNode* with more ↵David Sommerseth2009-09-211-4/+4
| | | | | | | | info The eurephia result XML document is also changed, and all parsing of the result must be rewritten. To simplify this parsing, a new function is introduced, eurephiaXML_ParseResultMsg().
* Unified eDBadminGetAdminAccess() and eDBadminEditAdminAccess() into ↵David Sommerseth2009-09-211-13/+88
| | | | eDBadminAccessLevel()
* Moved eDBadminGetAdminAccess() into sqlite/administration/useraccount.cDavid Sommerseth2009-09-131-0/+60
|
* Moved user account functions into administration/useraccount.cDavid Sommerseth2009-09-131-0/+554