Commit Graph

968 Commits

Author SHA1 Message Date
Sam Minnee
adee6b0e4a Fixed sorting in TableListField and subclasses
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@63524 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
b9052753be Removed hard-coded limits in ConfirmedPasswordField. This should be configured in a member password validator
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@63405 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
3bef23e00e ENHANCEMENT: Use get variable rather than session for Security::permissionFailure()'s BackURL, as it's more reliable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@63030 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Sam Minnee
e85f61a2bc NOTFORMERGE: Implemented Form::setFormAction() to help with dogmog's overly complex DogMogAdmin. If we ever upgrade dogmog to 2.3, we should restructure the DogMogAdmin's forms to have unique URLs for each form.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@62933 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Andrew O'Neil
ea84cb5a61 BUGFIX Set ID of lostpassword page to -1 so we don't get top level pages
as its children


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@62107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Sean Harvey
000749a9d7 BUGFIX Revert r61631 for Translatable but kept SiteTree changes instact from that revision since they are still useful
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@61815 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Michael Andrewartha
0f615b7bc6 API CHANGE: Decorators on SiteTree can now define updateCMSActions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@61625 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Michael Andrewartha
3989cb9eee API CHANGE: Decorators on SiteTree can now define updateCMSActions
BUGFIX: Don't show publish button when editing translatable page, as it is broken

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@61624 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Will Rossiter
d22852484f BUGFIX: search is now html valid!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@60980 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Michael Andrewartha
8041948e65 merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@60651 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Andrew O'Neil
a367a700be BUGFIX: Fix typedropdown not working when there are no records of that
dataobject.


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@60240 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:33 +13:00
Josh Kosmala
a3274c9a31 Overwriting Date.php to output US Date format
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@59710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:37:46 +13:00
Andrew O'Neil
9aaa4064ae BUGFIX #2504 - Fixed translation interface not working in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@54465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:46 +13:00
Sam Minnee
2b576d5d36 #2501 + #2500 - Fixed notice-level errors in editable forms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@54395 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:46 +13:00
Sam Minnee
fb6bab202b #2447 - Bug in editing comment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@54205 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:46 +13:00
Will Rossiter
c063363b23 Don't mark a test site as being in dev mode if set_test_servers matches
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53366 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:45 +13:00
Sean Harvey
b9aaed37f5 MINOR: PHP notice fix - undefined variable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53197 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:45 +13:00
Andrew O'Neil
6aaec39afa MINOR: Fixed some php notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53181 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:45 +13:00
Sean Harvey
ad12631c95 BUGFIX: Removed display: none for "nolabel" class - this is custom project code, and shouldn't be in sapphire!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53168 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:45 +13:00
Sean Harvey
ac175873bd BUGFIX: Ticket #2455 - Check variable exists before accessing Password index
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53153 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Romain Louis
9bc560b6ec _t call for EXPORTCSV problem fixed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53099 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Romain Louis
30b247e71a DataReport EXPORTCSV field missing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Ingo Schommer
a6874aa61a Merged revisions 53101 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r53101 | ischommer | 2008-04-21 15:33:24 +1200 (Mon, 21 Apr 2008) | 1 line
  
  API CHANGE Removed deprecated/incomplete Synchronise class - please do not use for production purposes
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53095 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Sam Minnee
4005bc6fc5 Made has_one, has_many, and many_many methods more reliable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53068 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:44 +13:00
Sam Minnee
1ccaefaf16 Make double-redirects a warning rather than an error, since they are usually benign.
Don't redirect from /home to / if you've already called a redirection.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53059 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
6edc1b6f99 Fixed ContentController where ->dataRecord is empty
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52712 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
b3128b280f Don't strtolower ->action, as it had too many side-effects.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52445 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
4ea643b2e2 #2387 - Fields specified in DataObjectDecor not saved in some cases
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52441 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
28ade5332e Fixed Authenticators to work with r52400
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52394 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
43bf269643 #2299 - Fatal error in specific version of PHP
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52393 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Ingo Schommer
ef7e8a1c40 BUGFIX re-initializing tabstrip javascript after ajax-reload in AssetTableField popup (#2309 AssetTableField popup fails after saving)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52392 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:43 +13:00
Sam Minnee
cbd6d34b36 Fix to ManifestBuilder when running site on windows in a directory containing \r or \t or \n
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52391 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:42 +13:00
Ingo Schommer
13670979ac BUGFIX disable third party browscap by default (#2336)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52387 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:42 +13:00
Sam Minnee
38b489ce26 Show security id errors on test sites as well as dev
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52384 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:42 +13:00
Sam Minnee
f634ac7e58 Improved behaviour of contentcontrollerInit when extensions are applied to subclasses of SiteTree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52343 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:41 +13:00
Andrew O'Neil
cbd65bd9ef fix links in RSS feeds
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52288 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:40 +13:00
Andrew O'Neil
808f77ec4f don't cache in overridden instance_get(), as the fields are different for subclasses
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52286 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:40 +13:00
Sam Minnee
72eb00f4b1 #2314 - Fixed SQLMap implementation so that Group::map() returns appropriate data, and the group dropdown on the access tab works.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52217 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:39 +13:00
Sam Minnee
0fdf93469b #2362 - Fixed change password form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52206 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:39 +13:00
Andrew O'Neil
1cacb2c22f fix php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51931 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:39 +13:00
Sam Minnee
e04de594af Make Object::hasMethod() and Object::__call() case-insensitive, and added tests for it
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51455 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
e2ec5eeda1 Test for hasMethod
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51454 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
5a05634c2d Fixes to TestRunner for latest PHPUnit/PHP
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
12475f1b31 Merged revisions 51150-51151 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk

........
  r51150 | sminnee | 2008-03-17 15:04:58 +1300 (Mon, 17 Mar 2008) | 1 line
  
  API CHANGE Allow for tests that don't use the database - don't define a static SapphireTest::
........
  r51151 | sminnee | 2008-03-17 15:09:32 +1300 (Mon, 17 Mar 2008) | 1 line
  
  Fixed typo in r51150
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51438 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
6dac7dfee2 Fixed HomepageForDomain behaviour when entering multiple domains
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51429 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Sam Minnee
2ebed1431f API CHANGE Added RestfulService::httpHeader() for setting custom headers on REST requests
API CHANGE Added RestfulService::basicAuth() for setting authentication for REST requests
API CHANGE Added  param to RestfulService::connect(), to allow for requesting of multiple URLs from a single RestfulService object.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51196 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
011c81818f Merged revisions 50824 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50824 | ischommer | 2008-03-11 12:55:57 +1300 (Tue, 11 Mar 2008) | 8 lines
  
  Added Translations for Danish (Denmark) - thanks to Jesper and Dennis
  Added Translations for Esperanto - thanks to Wojtek, Donald, Evan and Joop
  Added Translations for Finnish (Finland) - thanks to Elias, Vesa and Nina
  Added Translations for LOLCAT - thanks to Wojtek
  Added Translations for Sinhalese (Sri Lanka) - thanks to Nivanka, Himali and Lakshan
  Updated several translations in cms/auth_openid/sapphire
  Added package names for i18n files
  Reverted patch from r47694 which introduced conditional statements in lang-files
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50964 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
ab92e9ef01 Merged revisions 50957 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50957 | ischommer | 2008-03-12 22:34:27 +1300 (Wed, 12 Mar 2008) | 1 line
  
  #2283 Permissions are a bit broken - what happened to all the CMS permissions?
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50951 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
2eb5dad59d Merged revisions 50954 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50954 | ischommer | 2008-03-12 22:24:59 +1300 (Wed, 12 Mar 2008) | 1 line
  
  #2310 MemberTableField Popup breaks after saving
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50948 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
c739f278dc Merged revisions 50952 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50952 | ischommer | 2008-03-12 22:23:53 +1300 (Wed, 12 Mar 2008) | 1 line
  
  BUGFIX fixed csv export in MemberTableField by checking for valid database columns when building SELECT statement
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50946 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00