| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The eDBadminGetLastlog(...) function didn't parse the sortkeys string to match
the database layout.
In addition the field mapping for the openvpn_lastlog.sessionstatus field was wrong.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
(cherry picked from commit 5581ba10af35b94e750596312a9782255084aaeb)
|
| |
|
|
|
|
| |
This means this field will always be processed with lower case
|
| |
|
|
|
|
| |
management
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Made sure we only include needed include files and checked that
the copyright headers are equal and correct
|
| |
|
|
|
|
| |
Implemented eDBadminEditAdminAccess(...) function in db driver
|
| |
|
| |
|
|
|
|
| |
possibility for table aliases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|