Permalink
Commits on Oct 26, 2011
  1. Merge branch 'PHPCAS-126'

    Conflicts:
    	source/CAS.php
    	source/CAS/Client.php
    adamfranco committed Oct 26, 2011
Commits on Oct 25, 2011
  1. Moved the README to the root directory and updated to MarkDown.

    GitHub will helpfully display rendered README files on the project front
    page.
    adamfranco committed Oct 25, 2011
  2. PHPCAS-126 phpCAS::error() now "exits" when errors occur.

    Previously, when phpCAS::error() was called, the phpCAS funciton called would
    continue executing and often hit a fatal error somewhere deeper in the library.
    "Exiting" immediately when phpCAS::error() is called avoids this problem and
    provides more enforcement of parameter validation.
    adamfranco committed Oct 25, 2011
  3. PHPCAS-126 Refactored $PHPCAS_AUTH_CHECK_CALL into a set of CAS_Clien…

    …t methods.
    
    This change removes the last internal property that was improperly accessible
    to clients.
    adamfranco committed Oct 25, 2011
  4. Updated fix of warning when phpCAS::setDebug(false) is called. PHPCAS…

    …-123
    
    `$PHPCAS_DEBUG['filename']` is now always set, but may have a string value or
    `FALSE`, the default.
    
    Based on input from ADmad on 735e863 and GH-2.
    adamfranco committed Oct 25, 2011
Commits on Oct 21, 2011
  1. Fixed the signature of the getStartSession() and setStartSession() me…

    …thods.
    
    The CAS_Client's _start_session property is always set via the constructor,
    so these methods should probably be removed, but for now they should at least
    do what they say.
    
    Fixes GH-3. Thanks to admeagal for reporting this issue.
    adamfranco committed Oct 21, 2011
Commits on Oct 1, 2011
Commits on Sep 18, 2011
  1. NOJIRA fix errors in examples

    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@25050 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 18, 2011
Commits on Sep 17, 2011
  1. PHPCAS-102 The cas server should always return attributes in utf-8. I…

    …f we don't tell the xml parser it might choke on international characters in some instances.
    
    The examples config.php has to set the proper header so that international characters are displayed correctly in the examples
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@25046 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 17, 2011
  2. PHPCAS-128 merging the PHPCAS-128 branch changes back into /trunk. Fi…

    …x phpunit warnings/notices.
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@25044 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 17, 2011
  3. PHPCAS-109 reverting previous commit r24935 since it was a bad idea a…

    …nd the PHPCAS-109 branch is much better
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@25042 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 17, 2011
Commits on Sep 10, 2011
  1. PHPCAS-126 Global variables are now private static variables in phpCAS.

    This will prevent poorly written clients from accidentally accessing the CAS_client
    or other 'global' variables and for them to go through the API.
    
    $PHPCAS_AUTH_CHECK_CALL currently needs to be public since it is accessed by both
    phpCAS and CAS_Client. This should be refactored to make it not public or
    at least not public in the phpCAS class.
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-126@24949 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 10, 2011
  2. Create branch for PHPCAS-126 work.

    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-126@24948 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 10, 2011
  3. PHPCAS-128 Fixed PHPUnit notices

    Notices occurred in PHPUnit 3.5.15
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-128@24946 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 10, 2011
  4. Create branch for PHPCAS-128 work.

    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-128@24945 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 10, 2011
  5. PHPCAS-109 Allow exiting in normal mode or throwing exceptions when t…

    …esting via phpunit.
    
    This is an alternative to commit 24935 which should be reverted if this commit is kept.
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-109@24944 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 10, 2011
  6. PHPCAS-109 Moved all exiting code into the GracefullTerminationExcept…

    …ion to keep the API clean.
    
    This way users don't see extra methods in the phpCAS static API
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-109@24941 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 10, 2011
  7. PHPCAS-109 Allow exiting in normal mode or throwing exceptions when t…

    …esting via phpunit.
    
    This is an alternative to commit 24935 which should be reverted if this commit is kept.
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-109@24940 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 10, 2011
Commits on Sep 9, 2011
  1. PHPCAS-109 Add try&catch around all the runtime errors. If we run in …

    …cli (phunit mode) we rethrow them again and during normal webserver mode we simply exit()
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@24935 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 9, 2011
Commits on Sep 6, 2011
  1. PHPCAS-109 remove a call to a non-existing function that was mistaken…

    …ly introduced
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@24921 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 6, 2011
Commits on Sep 4, 2011
  1. NOJIRA Bump of the version number for 1.3.0

    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@24918 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 4, 2011
  2. PHPCAS-69 Merging of the PHPCAS-69 branch into trunk. The brings one …

    …API change. By default being proxied is denied. With ProxyChains it can be allowed now. This patch also contains a big refactoring of the whole ST/PT/SA decision making which is more straight forward now.
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@24917 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 4, 2011
  3. NOJIRA Add examples to the code docs

    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@24914 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 4, 2011
  4. PHPCAS-100 merge of more rebroadcast changes to trunk: Example code a…

    …nd a special ip in url case
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/trunk@24913 f5dbab47-78f9-eb45-b975-e544023573eb
    jfritschi committed Sep 4, 2011
Commits on Sep 1, 2011
  1. PHPCAS-69 Renamed getProxyChains() to getAllowedProxyChains() to clar…

    …ify purpose.
    
    The original method name could be confused with the proxy-chain in front of phpCAS.
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-69@24889 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 1, 2011
  2. PHPCAS-69 Renamed CAS_ProxyChains to CAS_ProxyChain_AllowedList

    Chose this name to try to avoid confusion between the collection of proxy-chains
    that are configured and the individual proxy chain definitions.
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-69@24888 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Sep 1, 2011
Commits on Aug 30, 2011
  1. PHPCAS-69 The CAS_ProxyChain now allows PCRE regex pattern modifiers.

    See: http://www.php.net/manual/reference.pcre.pattern.modifiers.php
    
    Allowed modifiers:
    	i (PCRE_CASELESS)
    	x (PCRE_EXTENDED)
    	A (PCRE_ANCHORED)
    	S
    	U (PCRE_UNGREEDY)
    	X (PCRE_EXTRA)
    	u (PCRE8)
    
    Disallowed modifiers:
    	m (PCRE_MULTILINE)      URLs should only ever be a single line, so this doesn't apply.
    	s (PCRE_DOTALL)         URLs should only ever be a single line, so this doesn't apply.
    	e (PREG_REPLACE_EVAL)   No replacements are being done, so this doesn't apply.
    	D (PCRE_DOLLAR_ENDONLY) URLs should only ever be a single line, so this doesn't apply.
    	J (PCRE_INFO_JCHANGED)  No subpatterns are being extracted, so this doesn't apply.
    
    git-svn-id: https://source.jasig.org/cas-clients/phpcas/branches/PHPCAS-69@24840 f5dbab47-78f9-eb45-b975-e544023573eb
    adamfranco committed Aug 30, 2011