Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated Copyright dates to include 2010 | David Sommerseth | 2010-05-25 | 1 | -1/+1 |
| | |||||
* | Define certificate digests as ft_STRING_LOWER | David Sommerseth | 2009-11-12 | 1 | -32/+32 |
| | | | | This means this field will always be processed with lower case | ||||
* | Rewrote the eDBmkSortKeys() function to use the eDBfieldMap returned from ↵ | David Sommerseth | 2009-09-25 | 1 | -1/+1 |
| | | | | eDBxmlMapping() | ||||
* | Added eDBmappingGetValue() to retrieve field values from a eDBfieldMap struct | David Sommerseth | 2009-09-21 | 1 | -0/+1 |
| | |||||
* | Added missing comments for the generic database/ files | David Sommerseth | 2009-09-08 | 1 | -10/+87 |
| | |||||
* | Fixed some errors in blacklist field mapping | David Sommerseth | 2009-05-09 | 1 | -1/+1 |
| | |||||
* | Renamed fieldmapping for 'attempts' to 'attemptslog' | David Sommerseth | 2009-05-06 | 1 | -0/+1 |
| | | | | | | Also made the result XML from eDBadminAttemptsLog(...) more efficient by not adding the username/certificate/ipaddress group tags if the information is not present. | ||||
* | Added eDBfieldMapping field for filter types | David Sommerseth | 2009-04-05 | 1 | -63/+65 |
| | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Added eDBmappingFieldsPresent(...) which returns used fields in a fieldMap | David Sommerseth | 2009-04-02 | 1 | -0/+1 |
| | |||||
* | Added fieldMapping for the firewall access table (openvpn_accesses) | David Sommerseth | 2009-03-28 | 1 | -0/+19 |
| | |||||
* | Made the licence explicit GPLv2 only | David Sommerseth | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | Cleaned up the code a little bit | David Sommerseth | 2009-03-26 | 1 | -1/+2 |
| | | | | | Made sure we only include needed include files and checked that the copyright headers are equal and correct | ||||
* | Added more fields to the global field mapping table | David Sommerseth | 2009-03-24 | 1 | -30/+37 |
| | | | | | Had to also extend the FIELD_* assignments to allow two new fields to be mapped | ||||
* | Added support for editing the eurephia_adminaccess table | David Sommerseth | 2009-03-22 | 1 | -6/+16 |
| | | | | Implemented eDBadminEditAdminAccess(...) function in db driver | ||||
* | Make it possible to compile plug-in again without eurephiadm enabled | David Sommerseth | 2009-01-02 | 1 | -5/+4 |
| | |||||
* | Simplified some certificate field names for internal use | David Sommerseth | 2008-12-26 | 1 | -2/+2 |
| | |||||
* | Added field mapping for the openvpn_usercerts table | David Sommerseth | 2008-12-25 | 1 | -3/+16 |
| | |||||
* | Corrected wrong field name (org->organisation) in field mapping | David Sommerseth | 2008-12-20 | 1 | -1/+1 |
| | |||||
* | Added field mapping for the certificates table | David Sommerseth | 2008-12-20 | 1 | -27/+28 |
| | |||||
* | Changed from numeric session status code to text in eDBadminGetUserInfo(...) ↵ | David Sommerseth | 2008-12-19 | 1 | -0/+1 |
| | | | | - lastlog | ||||
* | Rewrote eDBxmlMapping(...) to take an XML node instead of a complete XML ↵ | David Sommerseth | 2008-12-17 | 1 | -6/+5 |
| | | | | | | | | 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. | ||||
* | Completed rewriting eDBmkMapping_USERINFO(...) to eDBxmlMapping(...) | David Sommerseth | 2008-12-13 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Enhanced table/field mapping and eDBmkMapping_USERINFO(...) to include ↵ | David Sommerseth | 2008-12-11 | 1 | -39/+40 |
| | | | | possibility for table aliases | ||||
* | Added possibility to also set NULL values in UPDATE | David Sommerseth | 2008-12-08 | 1 | -1/+1 |
| | |||||
* | Update field mapping to include data type. Improved ↵ | David Sommerseth | 2008-12-08 | 1 | -38/+41 |
| | | | | | | | | | | | | | | sqlite_query_mapped(...) function The new sqlite_query_mapped(...) function will now consider the field type when formatting the data values for SQLite. In addition reserved words on the DATETIME data type will be preserved without quote encapsulation. Improved the sqlite_query_mapped(...) to also handle UPDATE, INSERT and DELETE in addition to SELECT. The function now needs two eDBfieldMap mappings. The first one will contain update/insert values, while the last one defines search criteria. | ||||
* | Merged eurephiadb_common.[ch] into eurephiadb_mapping.[ch] | David Sommerseth | 2008-12-07 | 1 | -1/+2 |
| | | | | | The functions in eurephiadb_common.[ch] was only adding functions which was connected to the unified field mapping interface | ||||
* | Changed from user-side field name 'recid' to simply 'id' | David Sommerseth | 2008-12-06 | 1 | -6/+7 |
| | |||||
* | Moved over from earlier commit to use unified db translation | David Sommerseth | 2008-12-06 | 1 | -0/+1 |
| | | | | | | | In other words, rewrote commit 6d4373e026b3f12c5685e45e35f9f060379ed0f3. Moved over all functions from that commit which could take advantage of the new API for unified table/field translation. | ||||
* | Improved and unified the db mapping functions and definitions | David Sommerseth | 2008-12-06 | 1 | -0/+125 |