Commit Graph

1003 Commits

Author SHA1 Message Date
Sean Harvey
c914013287 BUGFIX Existence check for Member autologin token (Merged from r73253)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@73278 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:37 +13:00
Sean Harvey
2ab2acc44f BUGFIX Checking for Director::is_site_url() before redirecting in Controller->redirectBack() and MemberLoginForm (Merged from r73252)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@73276 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:37 +13:00
Sean Harvey
a4e1df6f7a BUGFIX Added isDev() and Permission::check() directives to DatabaseAdmin (Merged from r73251)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@73273 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:37 +13:00
Sean Harvey
19ceaa905a BUGFIX Fixed Director::makeRelative() to accept https:// protocol
BUGFIX Fixed GET-parameter replacement in Director::is_absolute_url()
ENHANCEMENT Added Director::is_relative_url() and Director::is_site_url()
BUGFIX Validating $_FILES array in Director::direct()

(Merged from r73250)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@73272 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Sam Minnee
f69463a107 Removed some notice-level errors in reporting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@72258 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Will Rossiter
a76f104af1 MINOR: notice level fix for undefined var in text field
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@72084 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Sam Minnee
67d79a907e After a javascript validation error from a form submission, focus on the first errored field
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@69634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Sam Minnee
93c98bf926 BUGFIX: Corrected layout of Security/lostpassword and Secuirty/changepassword pages to not show a glitchy main menu, ie, matches Security/login
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@69598 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Sam Minnee
70c960763c Corrected changed-password email layout
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@69594 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Andrew O'Neil
6cd3ab35bc BUGFIX: Fix readonly checkbox fields always setting the field to true
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@69138 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Sam Minnee
3d302182b6 Merged db/build fix for auto_increment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@67482 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Andrew O'Neil
d2130a44f3 Reverted r66440 - this was causing too many bugs
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@66769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Andrew O'Neil
407604eb1b Merged r57599 from branches/roa
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@66440 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Sam Minnee
6ae1692c27 BUGFIX: Fixed usability issue with CalendarDateField required field validation. Slightly over-coupled; resolve that in the jQuery validation rewrite.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65490 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:36 +13:00
Sam Minnee
b38253c2e0 Removed 'Welcome back, FirstName', message that appears if you log-in, out, then in again
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Sam Minnee
5f0f9c4801 Preserve BackURL get-variable on failed log-ins
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65473 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
304dea39d9 fix typo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65423 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
115d2a7b06 FEATURE: Default permission failure message set can be changed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65263 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
903326869a Merged bugfixes from asfonz branch
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65261 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Sean Harvey
7b60ec00e2 BUGFIX Fixed ComplexTableField showing export link correctly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65258 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Sean Harvey
9fe82d4537 BUGFIX Fixed i18n entity problem with TableListField_Item.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@65219 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Sam Minnee
701ae9a4d9 BUGFIX: Don't allow calling of magically added methods via URL unless explicitly listed in allowed_actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64988 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Normann Lou
0431518314 BUGFIX: Fixed HTTP/1.0 support
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64722 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
8bd4ee733a Fix typo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64643 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
766ce65d0b MINOR: PHP notice fixes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64638 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
8edd31a8ed MINOR: fix php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64637 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
a3d64e5304 Allow default value to be set on CountryDropdownField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64636 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:35 +13:00
Andrew O'Neil
f6aba9147d Add ability to disable 'None' option and to choose the title field in TypeDropdown
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64635 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Andrew O'Neil
4c73c41ca9 BUGFIX: Allow disabling of updateCMSFields() on SiteTree so subclasses that want decorators to have access to
their added fields can call it themselves. 


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Andrew O'Neil
a7bc06c656 MINOR: Fix PHP notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64625 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Josh Kosmala
226f7b230e Show '(Choose)' text on TreeDropdownField when a non-existent object is selected, as can happen when related data is removed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64355 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Josh Kosmala
26fde80558 When calling Folder::findOrMake(), set the Title as well as the Name of new folders
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64354 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Andrew O'Neil
069c4464ad Add macron about native name of maori
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64130 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
09e787a6de Added ->itemWriteMethod parameter, to adjust the way that CTFs write (for instance, to save and publish instead of just save)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@64128 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
Sam Minnee
5ca5dd15ee BUGFIX: Form::sessionMessage() didn't set type
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@63966 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:39:34 +13:00
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