Fredrik Thulin
cb0de9d8e3
Add __YKREV_IPS__ to template.
2012-06-14 13:00:39 +02:00
Klas Lindfors
a739667891
lowercase columns from oracle, we use lower everywhere.
2012-06-14 13:00:13 +02:00
Fredrik Thulin
a852e860db
Don't refuse sync for disabled YubiKeys.
...
It is better to consume any OTPs produced by a YubiKey, so if -
for some reason - another validation server has accepted an OTP
we'd better bump our counter values accordingly.
2012-06-14 12:56:05 +02:00
Fredrik Thulin
e5ea2ead5f
Check for ^oci: instead of just ^oci.
2012-06-14 11:05:44 +02:00
Klas Lindfors
04ce8662de
Merge branch 'feature/oracle_support' of github.com:Yubico/yubikey-val-server-php into feature/oracle_support
2012-06-13 14:47:18 +02:00
Klas Lindfors
6dd55013f9
do $res->rowCount() instead of count($res->fetchAll())
...
should never be called after select, and will throw exceptions if you do
2012-06-13 14:45:37 +02:00
Fredrik Thulin
605abc8cbf
delete-trailing-whitespace
2012-06-13 13:41:12 +02:00
Klas Lindfors
9f74175853
40 char nonce for oracle as well
2012-06-13 13:29:40 +02:00
Fredrik Thulin
2a7a6e3503
Don't LOG_NOTICE when remote server has seen latest OTP too.
...
This is an expected condition for many (most) validation requests
using the asynchronous validation protocol 2.0.
2012-06-13 13:23:55 +02:00
Fredrik Thulin
afb42d7c0a
Logging improvements.
2012-06-13 13:22:35 +02:00
Fredrik Thulin
283c34b0e4
Downgrade 'Sync request unnecessarily sent' to INFO.
...
Also add comment explaining that this is not an error (and why).
2012-06-13 10:10:04 +02:00
Klas Lindfors
40b5949f44
Merge branch 'master' into feature/oracle_support
2012-06-13 09:55:59 +02:00
Klas Lindfors
a41b7476ac
bump versions post release
2012-06-13 09:55:42 +02:00
Klas Lindfors
9dd6715cc5
fix version check for this NEWS format.
2012-06-13 09:39:44 +02:00
Klas Lindfors
80a2d3c805
NEWS for 2.16
2012-06-13 09:37:34 +02:00
Klas Lindfors
d2bceb62b1
if the sync request is empty, drop it as early as possible.
2012-06-13 09:32:38 +02:00
Klas Lindfors
ae6177f157
change ] to )
2012-06-13 09:26:02 +02:00
Klas Lindfors
3f17b7bdc1
and { is needed.
2012-06-13 09:00:39 +02:00
Klas Lindfors
2bbb3b4c02
findByMultiple() calls fetchArray on it's own result, just loop it.
2012-06-13 08:53:52 +02:00
Klas Lindfors
a86414b9ff
remove $this, not in object context
2012-06-13 08:11:03 +02:00
Fredrik Thulin
dfaa9a89aa
Use consistent camel-casing of function countersEqual().
...
Reduces confusion, even though PHP apparently has case insensitive
function names.
2012-06-12 17:56:01 +02:00
Klas Lindfors
99b433fed4
Merge branch 'master' into feature/oracle_support
2012-06-12 14:50:53 +02:00
Fredrik Thulin
af292fbcd6
Spelling, and more informational logging.
2012-06-12 14:50:31 +02:00
Klas Lindfors
f26db7b71e
make query protected, accessed from super class
2012-06-12 14:27:21 +02:00
Klas Lindfors
30c302fa68
remove bareword oci
2012-06-12 14:25:54 +02:00
Fredrik Thulin
57866dc829
More explanatory logging.
2012-06-12 14:21:56 +02:00
Fredrik Thulin
a2ffe0eeda
Merge branch 'master' of github.com:Yubico/yubikey-val-server-php
2012-06-12 14:21:20 +02:00
Klas Lindfors
929e7aedc9
add new db classes and oracle sql to Makefile
2012-06-12 13:51:22 +02:00
Klas Lindfors
eca90660b6
Merge branch 'master' into feature/oracle_support
2012-06-12 13:46:07 +02:00
Klas Lindfors
a648a3f66e
add import/export clients scripts to Makefile
2012-06-12 13:45:40 +02:00
Klas Lindfors
13463beb06
extends properly
2012-06-12 13:37:55 +02:00
Klas Lindfors
97757fc36e
sql for initing oracle
2012-06-12 13:30:41 +02:00
Klas Lindfors
9e9f20b959
more oracle compatibility
2012-06-12 13:27:51 +02:00
Klas Lindfors
cf49385bf3
rest of oracle patches from Remi Mollon <Remi.Mollon@cern.ch>
2012-06-12 10:35:49 +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
Klas Lindfors
a16cbf58c8
ignore release artifacts
2012-06-12 09:23:32 +02:00
Klas Lindfors
060b35453d
Merge branch 'master' of github.com:Yubico/yubikey-val-server-php
...
Conflicts:
ykval-synclib.php
2012-06-11 12:54:55 +02:00
Klas Lindfors
4337fd13df
fixup release target
...
take USER and KEYID as arguments and check that we have edited NEWS
2012-06-11 12:50:57 +02:00
Klas Lindfors
b754c24d29
use one curl-handle per server
...
does connection re-use while syncing to that server
2012-06-11 12:41:50 +02:00
Fredrik Thulin
22841cce43
Slightly less verbose log for remote IP check.
2012-05-29 15:36:02 +02:00
Fredrik Thulin
9d93e28739
Improve logging of refused sync requests.
2012-05-29 11:11:56 +02:00
Fredrik Thulin
b5976ad3c9
delete-trailing-whitespace
2012-05-29 11:07:19 +02:00
Fredrik Thulin
4b50b225c9
Merge branch 'master' of github.com:Yubico/yubikey-val-server-php
2012-05-25 10:59:43 +02:00
Fredrik Thulin
6b1e08eca8
Fix db-config init.
...
Re-order includes to get database settings set up correctly when
using Debian/Ubuntu package.
2012-05-25 10:58:52 +02:00
Klas Lindfors
fae1aa4021
bump versions
2012-05-24 14:43:25 +02:00
Klas Lindfors
cc687f23b9
NEWS for 2.15
2012-05-24 14:40:17 +02:00
Klas Lindfors
6a94b396dc
check if $sl or $timeout is empty, if they are insert default
2012-05-24 14:37:01 +02:00
Klas Lindfors
027dc9ff6c
use fgetcsv instead of fscanf, handles empty fields
2012-05-23 08:56:48 +02:00
Klas Lindfors
020d8dd3dc
add scripts for exporting and importing the clients
2012-05-23 08:56:15 +02:00
Klas Lindfors
36b3050d6f
Bump version
2012-05-22 14:21:04 +02:00