Jean Paul Galea
291bd32bae
Refactor.
...
- after each sendResp() we had an exit;
- move exit; inside sendResp() function instead.
2015-07-16 22:47:16 +02:00
Jean Paul Galea
bc5319327b
Unwrap function.
2015-07-16 22:35:34 +02:00
Jean Paul Galea
731eed8fa9
Refactor.
...
- syncServers was mostly always an array.
- change init value from NULL to array().
- simplify getNumberOfServers.
2015-07-16 22:31:51 +02:00
Jean Paul Galea
adb7a49608
Prettify.
2015-07-16 22:26:10 +02:00
Jean Paul Galea
6c0b62f77e
Prettify hash_equals.
2015-07-16 22:19:47 +02:00
Jean Paul Galea
0d03c2be29
Unwrap, only used here.
2015-07-16 22:14:36 +02: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
6e4b89048e
Refactor.
...
- better grouping for validation.
2015-07-16 15:39:42 +02:00
Jean Paul Galea
29deb6007d
Removed dead code.
2015-07-16 14:26:14 +02:00
Jean Paul Galea
3de52c3a7c
Cosmetic changes.
2015-07-15 18:03:47 +02:00
Jean Paul Galea
514b943945
Cosmetic changes.
...
- remove last remaining tabs,
so now the whole file is using the same indentation convention.
2015-07-15 17:52:26 +02:00
Jean Paul Galea
2cc0f50257
Cosmetic changes.
...
- make it easier to read,
even though we have a couple of long lines now...
2015-07-15 17:08:44 +02:00
Jean Paul Galea
dfdc4610d6
Refactor.
...
- make it easier to follow what is happenining in queue().
2015-07-15 17:01:51 +02:00
Jean Paul Galea
91e49cefd4
Remove trailing whitespace.
2015-07-15 16:55:06 +02:00
Jean Paul Galea
d5a56f6b8c
Refactor updateDbCounters.
...
- make it easier to follow what is happening.
2015-07-15 16:46:45 +02:00
Jean Paul Galea
3b4735d34d
Cosmetic changes.
2015-07-15 16:46:06 +02:00
Jean Paul Galea
6f74d8336b
Refactor.
...
- removed unnecessary else,
always return at end of function.
2015-07-15 16:24:04 +02:00
Jean Paul Galea
edf7ad632d
Cosmetic changes.
...
- use spaces where possible.
2015-07-15 16:15:26 +02:00
Jean Paul Galea
a4a12d2f2d
Refactor.
...
- remove wrapper which provides no help,
just makes it harder to follow the code.
2015-07-15 15:44:29 +02:00
Jean Paul Galea
2ff2a7e42f
Cosmetic changes.
...
- remove tabs/space mix.
- use single quotes where possible.
2015-07-15 15:38:22 +02:00
Jean Paul Galea
de56a03538
Cosmetic changes.
...
- remove mix of tabs/spaces,
use tabs everywhere.
- remove mix of double/single quotes,
use single quotes everywhere unless $var substitution.
2015-07-15 15:26:24 +02:00
Jean Paul Galea
e76c5002f2
Drop php closing tags.
2015-07-15 15:14:25 +02:00
Jean Paul Galea
087b38496b
Cosmetic changes.
2015-07-15 15:05:04 +02:00
Klas Lindfors
9a179f37ea
add newline in help text
2015-07-02 13:36:49 +02:00
Klas Lindfors
0a47f1e4cd
Merge pull request #30 from cam34/master
...
Modify config-db.php include to check for file instead of doing a (fa…
2015-05-28 13:05:38 +02:00
Cam
0a52e8611f
Modify config-db.php include to check for file instead of doing a (failed) include and spamming the log files that the file doesn't exist
2015-05-28 01:06:57 +00:00
Klas Lindfors
c30ab6062e
bump versions
2015-05-27 13:17:15 +02:00
Klas Lindfors
d5dd9b58ef
NEWS for 2.29
2015-05-27 13:06:40 +02:00
Klas Lindfors
0946af059f
Merge pull request #29 from jschauma/master
...
use https URL to allow anonymous cloning
2015-05-20 08:44:08 +02:00
Jan Schaumann
934a2333aa
use https URL to allow anonymous cloning
2015-05-19 14:22:13 -04:00
Jean Paul Galea
642c2a79d5
Reduce argument passing.
...
- set curlopts directly in wrapper invocation.
2015-04-14 09:26:56 +02:00
Jean Paul Galea
9d9875c39d
Set __YKVAL_SYNC_CURL_OPTS__ for resync requests.
...
- Ensure sync/resync requests set the same curl options.
- This changes a debug message from "url is " to
"YK-VAL resync adding URL: "
- curlopts is now a property of SyncLib class.
Removes duplication between sync/resync code.
2015-04-14 09:20:38 +02:00
Jean Paul Galea
4da7dc7895
Have enough rope to hang yourself.
...
- Don't be overly strict,
and allow users to hang themselves in they want to.
2015-04-14 09:00:18 +02:00
Jean Paul Galea
8df329aa0e
Allowed certain cURL options to be configurable.
...
- When calling either URLs in the sync pool or the KSMs,
the following curl options are configurable;
CURLOPT_PROTOCOLS
CURLOPT_IPRESOLVE
CURLOPT_SSLVERSION
CURLOPT_SSL_VERIFYPEER
CURLOPT_SSL_VERIFYHOST
CURLOPT_CAINFO
CURLOPT_CAPATH
2015-04-13 17:42:13 +02:00
Jean Paul Galea
ed3211cb9d
Removed php closing tag.
...
- Considered a best practice,
avoids the possibility of introducing whitespace after the closing tag.
2015-04-13 16:08:52 +02:00
Henrik Stråth
90b876a405
Added .conf extension to Apache config files.
...
Required in Apache 2.4. Supported in Apache 2.2.
2015-02-24 16:57:14 +01:00
Klas Lindfors
8835fe5727
travis doesn't have php 5.2 anymore
2015-02-11 09:59:13 +01:00
Klas Lindfors
9adfd1543c
Merge branch 'master' of github.com:Yubico/yubikey-val
2015-02-11 09:44:06 +01:00
Klas Lindfors
f02d5c250c
bump versions
2015-02-11 09:43:41 +01:00
Klas Lindfors
6226462473
NEWS for 2.28
2015-02-11 09:39:07 +01:00
Dain Nilsson
547fc17d8d
Added link to upgrade.yubico.com
2015-02-11 09:39:01 +01:00
Dain Nilsson
050f0b3666
Added link to upgrade.yubico.com
2015-01-09 13:28:47 +01:00
Henrik Stråth
3f8aacde98
Update Installation.adoc
2014-11-26 15:48:35 +01:00
Dain Nilsson
cd47a92b63
Fix doc/* names in Makefile.
2014-10-30 09:31:52 +01:00
Dain Nilsson
194628d8fd
Fix __VARIABLE_NAMES__.
2014-10-29 15:54:07 +01:00
Dain Nilsson
823f4d6159
Improved asciidoc formatting
2014-10-29 15:25:37 +01:00
Henrik Stråth
0b53b4d27e
symlinked README
2014-10-29 14:18:58 +01:00
Henrik Stråth
81b0da9c1f
Update README
2014-10-29 14:17:50 +01:00
Klas Lindfors
1ff2a8c810
refactor queuelength munin graph to show individual values
...
as an AREASTACK graph.
2014-10-14 12:40:23 +02:00