1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-11-29 09:24:12 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Klas Lindfors
44ad4ff5e1 Merge branch 'master' of github.com:Yubico/yubikey-val-server-php 2012-05-22 13:16:41 +02:00
Klas Lindfors
3de7ca3c8b Add code to let the db reconnect after errors.
Set PDO error mode to throw exceptions so we can catch them and do things.
2012-05-22 13:15:25 +02:00
Simon Josefsson
3954527d61 Silence PHP warning. 2012-05-22 10:16:18 +02:00
Simon Josefsson
a68539e884 Tiny fixes to silence PHP warnings from Hiroki Nose <Hiroki_Nose@totec.co.jp>.
1. PHP Notice:  Use of undefined constant CURL_OK - assumed 'CURL_OK' in /usr/share/ykval/ykval-common.php on line 156 
 2. PHP Notice:  Undefined index: HTTPS in /usr/share/ykval/ykval-verify.php on line 14 
 3. PHP Notice:  Undefined variable: query in /usr/share/ykval/ykval-db.php on line 186
2011-10-25 08:08:31 +00:00
Simon Josefsson
393ef0c44e Don't use PDO rowCount function to get number of rows returned
because that isn't portable.  Patch from arte42.ripe in issue #7
(yubikey-val-2.1-php-rowcount.patch).
2010-05-17 13:20:49 +00:00
Simon Josefsson
b9be3d2941 Simplify license headers. 2010-04-23 18:07:10 +00:00
Simon Josefsson
f33e6413fe Fix undefined warnings. Solves Issue #8. 2010-04-23 17:36:23 +00:00
Olov Danielson
a91be40d4a Refactored. Db log gets name after synclib + db now. 2010-01-14 13:45:44 +00:00
Olov Danielson
12bd456dca . 2010-01-14 11:58:19 +00:00
Olov Danielson
cf4b084fa0 . 2010-01-14 11:50:13 +00:00
Olov Danielson
ab952c523c . 2010-01-13 15:32:57 +00:00
Olov Danielson
5b729eee75 . 2010-01-12 18:05:41 +00:00
Olov Danielson
6cc547f791 Remove ID column from yubikeys and queue table. Renamed and changed random_key to server_nonce 2010-01-12 13:00:28 +00:00
Olov Danielson
a839954882 Unified logging to use Log class defined in ykval-log.php which in turn uses syslog.
NOTE: ykval common debug function is still available but uses Log class aswell to actually
log message.
2010-01-11 12:06:00 +00:00
Olov Danielson
10d6f5e4ec corrected. Rowcount acts on last statement result rather on db 2010-01-10 17:24:17 +00:00
Olov Danielson
d896a8c2d9 Added rowcount function to db 2010-01-10 17:14:32 +00:00
Olov Danielson
9ede835f5e Rewritten sync daemon to work in a sequential way. Now called ykval-queue.php 2010-01-10 16:46:11 +00:00
Olov Danielson
851aa21c66 Changed to using PDO database connection 2010-01-08 16:35:25 +00:00
Olov Danielson
b9701c16ea Changed DB-names to be more consistent (WARNING current revision might be broken but needs to be submitted for multiserver test purposes) 2010-01-08 13:54:33 +00:00
Simon Josefsson
e19192dcfe Add install target. 2009-12-15 15:38:46 +00:00