Permalink
Commits on Feb 2, 2011
  1. MINOR #6397 CoreTest should use test specific paths, otherwise confli…

    …cts can occur in certain environments
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115854 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Jan 26, 2011
  2. Reverted to revision 101592

    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115723 467b73ca-7a2a-4603-9d3b-597d59a354a9
    cbarberis committed with sminnee Jan 21, 2011
  3. BUGFIX: transaction function names fixed

    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115720 467b73ca-7a2a-4603-9d3b-597d59a354a9
    geoff-silverstripe committed with sminnee Jan 21, 2011
  4. MINOR Fixed en_US spelling (fixes #6316, thanks sonetseo)

    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115461 467b73ca-7a2a-4603-9d3b-597d59a354a9
    chillu committed with sminnee Jan 12, 2011
  5. BUGFIX DateField wrong datepicker-%s.js path (fixes #6296, thanks mar…

    …tijn)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115460 467b73ca-7a2a-4603-9d3b-597d59a354a9
    chillu committed with sminnee Jan 12, 2011
  6. BUGFIX Incorrect call to weekday function in Date class (thanks webbo…

    …wer!)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115443 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Jan 11, 2011
  7. BUGFIX Checking for existence of draft and live records in SilverStri…

    …peNavigatorItem_ArchiveLink->getHTML() (from r115130)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115442 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Jan 11, 2011
  8. BUGFIX #6291 Remove rollback action from CMSMain allowed_actions and …

    …rely on form action_rollback instead which is safer
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115440 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Jan 11, 2011
  9. BUGFIX Fixed edge case bug where SilverStripeNavigatorItem would fail…

    … if a page was not published, and the navigator archive link was generated
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115437 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Jan 11, 2011
  10. ENHANCEMENT: Changed canEdit and canCreate extend to extendedCan

    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115416 467b73ca-7a2a-4603-9d3b-597d59a354a9
    cbarberis committed with sminnee Jan 11, 2011
  11. BUGFIX #6299 TableListField::Link() includes $action value twice (tha…

    …nks ajshort!)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115379 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Jan 10, 2011
  12. BUGFIX #6287 open_basedir restriction breaks RandomGenerator when try…

    …ing to read dev/urandom
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115314 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Dec 22, 2010
  13. BUGFIX Checking for existence of FormAction in Form->httpSubmission()…

    … to avoid bypassing $allowed_actions definitions in controllers containing this form
    
    BUGFIX Checking for $allowed_actions in Form class, through Form->httpSubmission() (from r115182)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@115188 467b73ca-7a2a-4603-9d3b-597d59a354a9
    chillu committed with sminnee Dec 20, 2010
  14. BUGFIX #6219 Director::direct() validation fails for doubly nested fi…

    …le fields (thanks ajshort!) (from r114921)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114922 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Dec 14, 2010
  15. MINOR Ensure php5-required.html template shows correct minimum and re…

    …commended PHP versions (thanks mattcleg!) (from r114915)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114916 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Dec 13, 2010
  16. ENHANCEMENT Allow setting secure session cookies when using SSL. Rece…

    …nt change r114567 made this impossible. (thanks simon_w!) (from r114900)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114901 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Dec 13, 2010
  17. BUGFIX Removed switch in MySQLDatabase->query() to directly echo quer…

    …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
    chillu committed with sminnee Dec 9, 2010
  18. BUGFIX Disallow web access to sapphire/silverstripe_version to avoid …

    …information leakage (from r114773)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114774 467b73ca-7a2a-4603-9d3b-597d59a354a9
    chillu committed with sminnee Dec 9, 2010
  19. BUGFIX Avoid potential referer leaking in Security->changepassword() …

    …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
    chillu committed with sminnee Dec 9, 2010
  20. MINOR Setting Content-Type to text/plain in various error responses f…

    …or RestfulServer (from r114750)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114751 467b73ca-7a2a-4603-9d3b-597d59a354a9
    chillu committed with sminnee Dec 9, 2010
  21. MINOR Reverting Member "AutoLoginHash", "RememberLoginToken" and "Sal…

    …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
    chillu committed with sminnee Dec 9, 2010
  22. MINOR Partially reverted r114744

    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114745 467b73ca-7a2a-4603-9d3b-597d59a354a9
    chillu committed with sminnee Dec 9, 2010
  23. MINOR Reduced VARCHAR length from 1024 to 40 bytes, which fits the sh…

    …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
    chillu committed with sminnee Dec 9, 2010
  24. MINOR Code formatting change in ConfirmedPasswordField::__construct()

    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114720 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Dec 8, 2010
  25. BUGFIX Fallback text for "Password" in ConfirmedPasswordField when no…

    … translation found
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114719 467b73ca-7a2a-4603-9d3b-597d59a354a9
    halkyon committed with sminnee Dec 8, 2010
  26. BUGFIX Populates the page with fake data in order to pass subsequent …

    …unit tests
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114683 467b73ca-7a2a-4603-9d3b-597d59a354a9
    Jean-Fabien Barrios committed with sminnee Dec 8, 2010
  27. BUGFIX Test if form is the right class (if a class decorates the cont…

    …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
    Jean-Fabien Barrios committed with sminnee Dec 7, 2010
  28. ENHANCEMENT 'bypassStaticCache' cookie set in Versioned is limited to…

    … 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
    chillu committed with sminnee Dec 6, 2010
  29. ENHANCEMENT Session::start() forces PHPSESSID cookies to be httpOnly …

    …(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
    chillu committed with sminnee Dec 6, 2010
  30. BUGFIX Escaping $locale values in Translatable->augmentSQL() in addit…

    …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
    chillu committed with sminnee Dec 5, 2010
  31. BUGFIX Limiting usage of mcrypt_create_iv() in RandomGenerator->gener…

    …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
    chillu committed with sminnee Dec 5, 2010
  32. BUGFIX Using RandomGenerator class in Member->logIn(), Member->autoLo…

    …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
    chillu committed with sminnee Dec 5, 2010
  33. BUGFIX Using RandomGenerator class in PasswordEncryptor->salt() (from…

    … r114503)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114506 467b73ca-7a2a-4603-9d3b-597d59a354a9
    chillu committed with sminnee Dec 5, 2010
  34. BUGFIX Using RandomGenerator class in SecurityToken->generate() for m…

    …ore random tokens
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114500 467b73ca-7a2a-4603-9d3b-597d59a354a9
    chillu committed with sminnee Dec 5, 2010
  35. ENHANCEMENT Added RandomGenerator for more secure CRSF tokens etc. (f…

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