Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Removed usage of a global result pointer | David Sommerseth | 2009-09-17 | 1 | -54/+50 | |
| | | | | | | | | The callback function do now get a pointer to the query results directly instead of using a global result pointer. This makes queries done in parallel a lot safer. Made the SQLITE_DEBUG main() function more generic and removed memwatch references which is no longer in use, as valgrind is much better and easier to use. | |||||
* | Unified database driver functions eDBadminConfigSet() and ↵ | David Sommerseth | 2009-09-14 | 1 | -6/+133 | |
| | | | | eDBadminConfigDelete() into eDBadminConfiguration() | |||||
* | Corrected some doxygen issues after rearranging the sqlite3 db driver code | David Sommerseth | 2009-09-13 | 1 | -1/+2 | |
| | ||||||
* | Moved eDBGetLastlog() function into sqlite/administration/lastlog.c | David Sommerseth | 2009-09-13 | 3 | -109/+165 | |
| | ||||||
* | Moved eDBadminGetAdminAccess() into sqlite/administration/useraccount.c | David Sommerseth | 2009-09-13 | 2 | -59/+60 | |
| | ||||||
* | Moved certificate functions into sqlite/administration/certificates.c | David Sommerseth | 2009-09-13 | 3 | -200/+257 | |
| | ||||||
* | Moved user account functions into administration/useraccount.c | David Sommerseth | 2009-09-13 | 3 | -496/+555 | |
| | ||||||
* | Moved eDBadminBlacklist() function into administration/blacklist.c | David Sommerseth | 2009-09-13 | 2 | -68/+54 | |
| | ||||||
* | Moved eDBadminAttemptsLog() function into administration/attempts.c | David Sommerseth | 2009-09-13 | 2 | -66/+52 | |
| | ||||||
* | Moved eDBadminConfigSet() and eDBadminConfigDelete() into its own file | David Sommerseth | 2009-09-13 | 3 | -68/+111 | |
| | ||||||
* | Added doxygen comments on the last missing files | David Sommerseth | 2009-09-11 | 4 | -33/+153 | |
| | ||||||
* | Removed no longer needed driver function (eDBadminGetCertificateList()) | David Sommerseth | 2009-09-11 | 1 | -12/+0 | |
| | ||||||
* | More doxygen comments in the sqlite3 driver | David Sommerseth | 2009-09-11 | 2 | -175/+152 | |
| | ||||||
* | Completed doxygen comments for edb-sqlite.c | David Sommerseth | 2009-09-11 | 1 | -37/+114 | |
| | ||||||
* | Added comments to sqlite.[ch] | David Sommerseth | 2009-09-08 | 2 | -40/+210 | |
| | ||||||
* | Added debug logging of free_nullsafe() calls as well | David Sommerseth | 2009-09-07 | 3 | -31/+31 | |
| | ||||||
* | Moved all malloc() operations over to a calloc wrapper, malloc_nullsafe() | David Sommerseth | 2009-09-07 | 2 | -13/+6 | |
| | | | | This also improves debugging as well, if debug logging is enabled and log level is >= 40. | |||||
* | Removed header file which is no longer needed | David Sommerseth | 2009-09-05 | 6 | -6/+0 | |
| | ||||||
* | Added copyright info in CMake files | David Sommerseth | 2009-09-02 | 1 | -1/+20 | |
| | ||||||
* | Added missing #include statements | David Sommerseth | 2009-09-02 | 2 | -0/+2 | |
| | ||||||
* | Cleaned up and commented CMakeLists.txt for the SQLite3 driver | David Sommerseth | 2009-09-02 | 1 | -16/+25 | |
| | ||||||
* | Rearranged some files in the sqlite3 driver | David Sommerseth | 2009-09-02 | 5 | -15/+10 | |
| | ||||||
* | Updated copyright info in the SQLite3 SQL schema file | David Sommerseth | 2009-09-02 | 1 | -2/+17 | |
| | ||||||
* | Added more comments to the SQLite3 database schema | David Sommerseth | 2009-09-02 | 1 | -7/+38 | |
| | ||||||
* | Don't try to populate granted access nodes with data if no access is granted | David Sommerseth | 2009-09-01 | 1 | -13/+22 | |
| | ||||||
* | Only populate XML nodes if we have a value to populate it with | David Sommerseth | 2009-09-01 | 1 | -13/+14 | |
| | ||||||
* | Added --set-fwprofile mode to the eurephiadm usercerts command | David Sommerseth | 2009-09-01 | 1 | -6/+61 | |
| | | | | This mode updates the firewall access profile for at user-certs link | |||||
* | Unified eDBadminGetUserCertsList(...) and eDBadminUpdateUserCertLink(...) ↵ | David Sommerseth | 2009-09-01 | 1 | -39/+97 | |
| | | | | | | into one function Plus added better XML documentation for the new eDBadminUserCertsLink(...) function | |||||
* | SQLite3 - Added support for "affected rows" count on INSERT/UPDATE/DELETE ↵ | David Sommerseth | 2009-09-01 | 2 | -0/+12 | |
| | | | | queries | |||||
* | Moved usercerts related functions into its own file | David Sommerseth | 2009-08-29 | 3 | -130/+183 | |
| | ||||||
* | Improved some comments | David Sommerseth | 2009-08-29 | 1 | -2/+3 | |
| | ||||||
* | sqlite3 driver: Implemented eDBadminBlacklist(...) function for blacklist ↵ | David Sommerseth | 2009-05-09 | 4 | -0/+227 | |
| | | | | management | |||||
* | Corrected some minor details | David Sommerseth | 2009-05-09 | 1 | -4/+3 | |
| | ||||||
* | Completed the attempts command in eurephiadm | David Sommerseth | 2009-05-07 | 2 | -8/+48 | |
| | | | | Added functionality for resetting and deleting attempt records | |||||
* | Fixed wrong database field name mapping for SQLite3 | David Sommerseth | 2009-05-07 | 1 | -1/+1 | |
| | ||||||
* | Corrected the default filter setup and added the 'digest' field | David Sommerseth | 2009-05-06 | 1 | -6/+7 | |
| | ||||||
* | Renamed fieldmapping for 'attempts' to 'attemptslog' | David Sommerseth | 2009-05-06 | 2 | -9/+16 | |
| | | | | | | Also made the result XML from eDBadminAttemptsLog(...) more efficient by not adding the username/certificate/ipaddress group tags if the information is not present. | |||||
* | Rewritten CMake rules to build common/ as static library | David Sommerseth | 2009-04-11 | 1 | -11/+5 | |
| | | | | | | This static library is later on linked in. This is to avoid recompiling the same source files several times during a complete eurephia compilation. | |||||
* | sqlite3 driver: Implemented listing of openvpn_attempts table | David Sommerseth | 2009-04-09 | 4 | -4/+184 | |
| | ||||||
* | Added improved filtering support to SQLite3 driver | David Sommerseth | 2009-04-05 | 1 | -1/+17 | |
| | | | | Follow up of commit ff744b48fdc0665b620339d51424892def8d8071 | |||||
* | Added eDBfieldMapping field for filter types | David Sommerseth | 2009-04-05 | 1 | -49/+49 | |
| | | | | | | | | | | | | | | | | | | | This field will be used to determine what kind of filter logic to add when building SQL queries. The filter type is set in the fieldMapping field nodes as an attribute named 'filter'. Their values and the corresponding SQL conditions are: filter | SQL condition -----------------------+--------------- equals | = not-equals | != / NOT(...) less-than | < less-than-equals | <= greater-than | > greater-than-equals | >= -----------------------+--------------- The default value for each field is set in the eurephiadb_mapping.h | |||||
* | When deleting fwprofiles, delete also records from openvpn_usercerts | David Sommerseth | 2009-04-03 | 1 | -0/+30 | |
| | ||||||
* | Completed eDBadminFirewallProfiles(...) with add and delete in db driver | David Sommerseth | 2009-04-02 | 1 | -9/+60 | |
| | ||||||
* | Security enhancement: Added check in eDBadmin* functions that the context is ↵ | David Sommerseth | 2009-04-01 | 2 | -0/+102 | |
| | | | | correct | |||||
* | Cleaned up some compiler warnings in edb-sqlite | David Sommerseth | 2009-03-30 | 3 | -0/+20 | |
| | ||||||
* | Restructured ./configure and improved the path setup | David Sommerseth | 2009-03-30 | 1 | -1/+1 | |
| | | | | Also added install rules to XSLT files | |||||
* | Added missing xmlReplaceChars(...) on common_name and organisation | David Sommerseth | 2009-03-29 | 1 | -4/+20 | |
| | ||||||
* | Changed eDBadminGetFirewallProfiles(...) to eDBadminFirewallProfiles(...) | David Sommerseth | 2009-03-29 | 1 | -23/+61 | |
| | | | | | Will try a new approach to use the same entry point for all actions connected to the firewall profiles configuration. | |||||
* | Fixed some possible issues with the XML implementation, regarding UTF-8 | David Sommerseth | 2009-03-29 | 1 | -5/+20 | |
| | | | | | | Do proper conversion from char * to xmlChar *. Need to figure out a better way how to return xmlChar * to char * when returning strings which may contain UTF-8. | |||||
* | Added eDBadminGetFirewallProfiles(...) function in DB driver | David Sommerseth | 2009-03-28 | 2 | -0/+137 | |
| |