<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eurephia.git/database/sqlite, branch release/1.1</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/'/>
<entry>
<title>sqlite3: Improve error handling if memory alloc fails for SQL query string</title>
<updated>2012-10-19T16:25:01+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-10-19T16:24:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=97f695d099e60121700d47512172f1d6839dfb2a'/>
<id>97f695d099e60121700d47512172f1d6839dfb2a</id>
<content type='text'>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
(cherry picked from commit 2613675111387fb0753d31be74b5e0a362389ef8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
(cherry picked from commit 2613675111387fb0753d31be74b5e0a362389ef8)
</pre>
</div>
</content>
</entry>
<entry>
<title>SQLite: Move default installation path from /etc/openvpn to /var/lib/eurephia</title>
<updated>2012-10-08T22:32:28+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-10-08T22:32:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=ee5833d1ebde36a016418810009d313a2438bf0b'/>
<id>ee5833d1ebde36a016418810009d313a2438bf0b</id>
<content type='text'>
Using /var/lib is more appropriate for the kind of database file eurephia uses
and will also avoid other security restrictions on hardened installations as well.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using /var/lib is more appropriate for the kind of database file eurephia uses
and will also avoid other security restrictions on hardened installations as well.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated copyright dates</title>
<updated>2012-10-08T00:18:14+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-10-08T00:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=859ec82577740e113ebf1f4ae2d89baafcf41075'/>
<id>859ec82577740e113ebf1f4ae2d89baafcf41075</id>
<content type='text'>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sqlite/admin: Report all timestamp fields with localtime instead of UTC/GMT</title>
<updated>2012-10-08T00:18:14+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-10-07T14:50:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=3af4f9b2bacfc8383001bba95c4f3836a6cecca6'/>
<id>3af4f9b2bacfc8383001bba95c4f3836a6cecca6</id>
<content type='text'>
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 &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sqlite: Added SQL function to convert datetime timestamps from UTC/GMT to localtime</title>
<updated>2012-10-08T00:17:51+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-10-07T14:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=79b7a8c5ad5d4de6fc69d71585625b8a74198c47'/>
<id>79b7a8c5ad5d4de6fc69d71585625b8a74198c47</id>
<content type='text'>
All CURRENT_TIMESTAMP calls are returned in UTC/GMT, and this value is stored in the
database.  When using eurephiadm to look at these datetime fields the UTC/GMT value
is used, and needs to be taken in consideration when looking at the reports.  This
patch is the first step to handle the local time zone better.

This patch also fixes the 'debug' program in sqlite.c, making use of the
eurephia_log_init() and eurephia_log_close() calls for log preparations.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All CURRENT_TIMESTAMP calls are returned in UTC/GMT, and this value is stored in the
database.  When using eurephiadm to look at these datetime fields the UTC/GMT value
is used, and needs to be taken in consideration when looking at the reports.  This
patch is the first step to handle the local time zone better.

This patch also fixes the 'debug' program in sqlite.c, making use of the
eurephia_log_init() and eurephia_log_close() calls for log preparations.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sqlite3: Implement eDBregister_vpnclientaddr()</title>
<updated>2012-09-13T15:56:45+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2012-09-13T15:56:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=2ebf7e3a91fee5663ead92474ec6fca7908cb78d'/>
<id>2ebf7e3a91fee5663ead92474ec6fca7908cb78d</id>
<content type='text'>
This commit implements the eDBregister_vpnclientaddr() needed by the
newer eurephia-auth plug-in.  This is needed to improve the tun support
in eurephia.

In addition, this also updates the SQL schema to include IPv4 and in
the future IPv6 addresses in the lastlog and VPN address history
(openvpn_vpnaddr_history).  The old openvpn_macaddr_history table
is deprecated.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit implements the eDBregister_vpnclientaddr() needed by the
newer eurephia-auth plug-in.  This is needed to improve the tun support
in eurephia.

In addition, this also updates the SQL schema to include IPv4 and in
the future IPv6 addresses in the lastlog and VPN address history
(openvpn_vpnaddr_history).  The old openvpn_macaddr_history table
is deprecated.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Modified the whole edb-sqlite driver to use a better error handling</title>
<updated>2011-12-19T10:05:38+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2011-01-09T22:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=8d2f8d68e6ae9726fdd2d941e55a7377e3cdf927'/>
<id>8d2f8d68e6ae9726fdd2d941e55a7377e3cdf927</id>
<content type='text'>
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 &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implemented better error handling in the SQLite3 framework</title>
<updated>2011-12-19T10:05:35+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2011-01-09T23:39:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=f0434a3ad51bf1159a78003a020eeb82a26dfc7f'/>
<id>f0434a3ad51bf1159a78003a020eeb82a26dfc7f</id>
<content type='text'>
The core sqlite_query() function will now always return a pointer to a
dbresult structure.  This structure now contains a query status and
the error message from the sqlite3 backend if something went wrong.

This means that error checking from now on should use the
sqlite_query_status() macro and not to check if sqlite_query() returns
NULL.

Another fundamental change is that sqlite_free_results() must always be
called on the dbresult structure now, to free the memory used by either
data from the query or the error message.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The core sqlite_query() function will now always return a pointer to a
dbresult structure.  This structure now contains a query status and
the error message from the sqlite3 backend if something went wrong.

This means that error checking from now on should use the
sqlite_query_status() macro and not to check if sqlite_query() returns
NULL.

Another fundamental change is that sqlite_free_results() must always be
called on the dbresult structure now, to free the memory used by either
data from the query or the error message.

Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>edb-sqlite: Fixed a typos and copyright notices</title>
<updated>2011-07-25T10:51:03+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2011-07-25T10:49:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=331d3ff806f4d1b146d8599b1e226e7962f7d7b2'/>
<id>331d3ff806f4d1b146d8599b1e226e7962f7d7b2</id>
<content type='text'>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed several memleaks in the eurephiadm related code paths</title>
<updated>2011-01-10T00:19:22+00:00</updated>
<author>
<name>David Sommerseth</name>
<email>dazo@users.sourceforge.net</email>
</author>
<published>2011-01-10T00:19:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dsommers/public_git/eurephia.git/commit/?id=44bcb3e74a85b4a53a0dc626db13c3d03d925538'/>
<id>44bcb3e74a85b4a53a0dc626db13c3d03d925538</id>
<content type='text'>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Sommerseth &lt;dazo@users.sourceforge.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
