Jean Paul Galea
b417759932
Update copyright year.
2015-07-20 20:01:16 +00:00
Jean Paul Galea
057eb0b563
Removed dead code, second try.
...
- grep with -i switch.
- left UnixToDbTime...
will refactor later and unwrap to plain date()
- left timestamp* methods in ykval-db,
not used but might be useful while refactoring other code.
2015-07-16 22:07:39 +02:00
Jean Paul Galea
b4f9bd4939
Revert "Removed dead code."
...
This reverts commit 29deb6007d
.
PHP functions are __not__ case-sensitive!
2015-07-16 15:44:35 +02:00
Jean Paul Galea
29deb6007d
Removed dead code.
2015-07-16 14:26:14 +02:00
Jean Paul Galea
e76c5002f2
Drop php closing tags.
2015-07-15 15:14:25 +02:00
Dain Nilsson
ee1f040b00
Updated copyright headers.
2013-02-04 17:39:36 +01:00
Klas Lindfors
30c302fa68
remove bareword oci
2012-06-12 14:25:54 +02:00
Klas Lindfors
9e9f20b959
more oracle compatibility
2012-06-12 13:27:51 +02:00
Klas Lindfors
dd9f567e22
start work on integrating oracle patches from Remi Mollon <Remi.Mollon@cern.ch>
2012-06-12 10:33:02 +02:00
Fredrik Thulin
b5976ad3c9
delete-trailing-whitespace
2012-05-29 11:07:19 +02:00
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