Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 2, 2011
  1. @chillu @sminnee

    BUGFIX Removed switch in MySQLDatabase->query() to directly echo quer…

    chillu authored sminnee committed
    …ies with 'showqueries' parameter when request is called via ajax (from r114782)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114783 467b73ca-7a2a-4603-9d3b-597d59a354a9
  2. @chillu @sminnee

    BUGFIX Disallow web access to sapphire/silverstripe_version to avoid …

    chillu authored sminnee committed
    …information leakage (from r114773)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114774 467b73ca-7a2a-4603-9d3b-597d59a354a9
  3. @chillu @sminnee

    BUGFIX Avoid potential referer leaking in Security->changepassword() …

    chillu authored sminnee committed
    …form by storing Member->AutoLoginHash in session instead of 'h' GET parameter (from r114758)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114760 467b73ca-7a2a-4603-9d3b-597d59a354a9
  4. @chillu @sminnee

    MINOR Setting Content-Type to text/plain in various error responses f…

    chillu authored sminnee committed
    …or RestfulServer (from r114750)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114751 467b73ca-7a2a-4603-9d3b-597d59a354a9
  5. @chillu @sminnee

    MINOR Reverting Member "AutoLoginHash", "RememberLoginToken" and "Sal…

    chillu authored sminnee committed
    …t" to their original VARCHAR length to avoid problems with invalidated hashes due to shorter field length (from r114748)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114749 467b73ca-7a2a-4603-9d3b-597d59a354a9
  6. @chillu @sminnee

    MINOR Partially reverted r114744

    chillu authored sminnee committed
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114745 467b73ca-7a2a-4603-9d3b-597d59a354a9
  7. @chillu @sminnee

    MINOR Reduced VARCHAR length from 1024 to 40 bytes, which fits the sh…

    chillu authored sminnee committed
    …a1 hashes created by RandomGenerator. 1024 bytes caused problems with index lengths on MySQL (from r114743)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114744 467b73ca-7a2a-4603-9d3b-597d59a354a9
  8. @halkyon @sminnee

    MINOR Code formatting change in ConfirmedPasswordField::__construct()

    halkyon authored sminnee committed
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114720 467b73ca-7a2a-4603-9d3b-597d59a354a9
  9. @halkyon @sminnee

    BUGFIX Fallback text for "Password" in ConfirmedPasswordField when no…

    halkyon authored sminnee committed
    … translation found
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114719 467b73ca-7a2a-4603-9d3b-597d59a354a9
  10. @sminnee

    BUGFIX Populates the page with fake data in order to pass subsequent …

    Jean-Fabien Barrios authored sminnee committed
    …unit tests
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114683 467b73ca-7a2a-4603-9d3b-597d59a354a9
  11. @sminnee

    BUGFIX Test if form is the right class (if a class decorates the cont…

    Jean-Fabien Barrios authored sminnee committed
    …ent controller, this test would break ie sphinx)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114654 467b73ca-7a2a-4603-9d3b-597d59a354a9
  12. @chillu @sminnee

    ENHANCEMENT 'bypassStaticCache' cookie set in Versioned is limited to…

    chillu authored sminnee committed
    … httpOnly flag (no access by JS) to improve clientside security (from r114568)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114572 467b73ca-7a2a-4603-9d3b-597d59a354a9
  13. @chillu @sminnee

    ENHANCEMENT Session::start() forces PHPSESSID cookies to be httpOnly …

    chillu authored sminnee committed
    …(no access by JS) to improve clientside security (from r114567)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114571 467b73ca-7a2a-4603-9d3b-597d59a354a9
  14. @chillu @sminnee

    BUGFIX Escaping $locale values in Translatable->augmentSQL() in addit…

    chillu authored sminnee committed
    …ion to the i18n::validate_locale() input validation (from r114515)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114516 467b73ca-7a2a-4603-9d3b-597d59a354a9
  15. @chillu @sminnee

    BUGFIX Limiting usage of mcrypt_create_iv() in RandomGenerator->gener…

    chillu authored sminnee committed
    …ateEntropy() to *nix platforms to avoid fatal errors (specically in IIS) (from r114510)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114512 467b73ca-7a2a-4603-9d3b-597d59a354a9
  16. @chillu @sminnee

    BUGFIX Using RandomGenerator class in Member->logIn(), Member->autoLo…

    chillu authored sminnee committed
    …gin() and Member->generateAutologinHash() for better randomization of tokens. Increased VARCHAR length of 'RememberLoginToken' and 'AutoLoginHash' fields to 1024 characters to support longer token strings. (from r114504)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114507 467b73ca-7a2a-4603-9d3b-597d59a354a9
  17. @chillu @sminnee

    BUGFIX Using RandomGenerator class in PasswordEncryptor->salt() (from…

    chillu authored sminnee committed
    … r114503)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114506 467b73ca-7a2a-4603-9d3b-597d59a354a9
  18. @chillu @sminnee

    BUGFIX Using RandomGenerator class in SecurityToken->generate() for m…

    chillu authored sminnee committed
    …ore random tokens
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114500 467b73ca-7a2a-4603-9d3b-597d59a354a9
  19. @chillu @sminnee

    ENHANCEMENT Added RandomGenerator for more secure CRSF tokens etc. (f…

    chillu authored sminnee committed
    …rom r114497)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114499 467b73ca-7a2a-4603-9d3b-597d59a354a9
  20. @chillu @sminnee

    API CHANGE Using i18n::validate_locale() in various Translatable meth…

    chillu authored sminnee committed
    …ods to ensure the locale exists (as defined through i18n::$allowed_locales) (from r114470)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114474 467b73ca-7a2a-4603-9d3b-597d59a354a9
  21. @chillu @sminnee

    BUGFIX Check for valid locale in i18n::set_locale()/set_default_local…

    chillu authored sminnee committed
    …e()/include_locale_file()/include_by_locale() (as defined in i18n::$allowed_locales). Implicitly sanitizes the data for usage in controllers. (from r114469)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114473 467b73ca-7a2a-4603-9d3b-597d59a354a9
  22. @clarkepaul @sminnee

    FIX: Revert last commit

    clarkepaul authored sminnee committed
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114464 467b73ca-7a2a-4603-9d3b-597d59a354a9
  23. @clarkepaul @sminnee

    FIX: Revert last commit

    clarkepaul authored sminnee committed
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114463 467b73ca-7a2a-4603-9d3b-597d59a354a9
  24. @clarkepaul @sminnee

    MINOR: Added exception handling if ClassName is null in search results

    clarkepaul authored sminnee committed
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114454 467b73ca-7a2a-4603-9d3b-597d59a354a9
  25. @chillu @sminnee

    BUGFIX Don't allow HTML formatting in RequestHandler->httpError() by …

    chillu authored sminnee committed
    …sending "Content-Type: text/plain" response headers. (from r114444)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114445 467b73ca-7a2a-4603-9d3b-597d59a354a9
  26. @chillu @sminnee

    MINOR Checking for class_exists() before SapphireTest::is_running_tes…

    chillu authored sminnee committed
    …ts() to avoid including the whole testing framework, and triggering PHPUnit to run a performance-intensive directory traversal for coverage file blacklists (from r114332)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114334 467b73ca-7a2a-4603-9d3b-597d59a354a9
  27. @chillu @sminnee

    BUGFIX Including template /lang folders in i18n::include_by_locale() …

    chillu authored sminnee committed
    …(implementation started in r113919)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114208 467b73ca-7a2a-4603-9d3b-597d59a354a9
  28. @chillu @sminnee

    ENHANCEMENT Added SS_HTTPResponse->setStatusDescription() as equivale…

    chillu authored sminnee committed
    …nt to setStatusCode(). Added documentation.
    
    BUGFIX Strip newlines and carriage returns from SS_HTTPResponse->getStatusDescription() (fixes #6222, thanks mattclegg) (from r114082)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114083 467b73ca-7a2a-4603-9d3b-597d59a354a9
  29. @chillu @sminnee

    BUGFIX Removed double quoting of $where parameter in Translatable::ge…

    chillu authored sminnee committed
    …t_existing_content_languages() (fixes #6203, thanks cloph) (from r114080)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114081 467b73ca-7a2a-4603-9d3b-597d59a354a9
  30. @halkyon @sminnee

    MINOR Reverted r108515

    halkyon authored sminnee committed
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114079 467b73ca-7a2a-4603-9d3b-597d59a354a9
  31. @chillu @sminnee

    MINOR Documentation for Aggregate caching (from r114077)

    chillu authored sminnee committed
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114078 467b73ca-7a2a-4603-9d3b-597d59a354a9
  32. @halkyon @sminnee

    MINOR Fixed php tag in SecurityTokenTest, should be "<?php" not "<?"

    halkyon authored sminnee committed
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114016 467b73ca-7a2a-4603-9d3b-597d59a354a9
  33. @chillu @sminnee

    MINOR Removed duplicate b/ directory, regression from r113918 (from r…

    chillu authored sminnee committed
    …113992)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@113994 467b73ca-7a2a-4603-9d3b-597d59a354a9
  34. @halkyon @sminnee

    BUGFIX #6201 Use of set_include_path() did not always include sapphir…

    halkyon authored sminnee committed
    …e paths in some environments
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@113976 467b73ca-7a2a-4603-9d3b-597d59a354a9
  35. @halkyon @sminnee

    MINOR Fixed PHP strict standard where non-variables cannot be passed …

    halkyon authored sminnee committed
    …by reference
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@113968 467b73ca-7a2a-4603-9d3b-597d59a354a9
Something went wrong with that request. Please try again.