Commit Graph

23436 Commits

Author SHA1 Message Date
Ingo Schommer 59fbe53120 mlanthaler: In PasswordField::performReadonlyTransformation() was an E_NOTICE error. Instead of fixing it, I changed also the behavior.
There are displayed now always five stars, so it is impossible to use the information of the password length for brute-force attacks. 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41953 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:38:05 +00:00
Ingo Schommer 71f9ac0c10 mlanthaler: Bugfix: Added isset() to prevent E_NOTICE error.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41952 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:36:17 +00:00
Ingo Schommer b358c50f2f mlanthaler: Bugfix: If DataObject::add_extension() is used more than once per class, previously the extensions were overwritten and so only the last one was usable.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41951 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:34:40 +00:00
Ingo Schommer efd51a2b1e mlanthaler: Add support for _manifest_exclude files (http://support.silverstripe.com/gsoc/ticket/36).
Now it is possible to exclude directories from their inclusion by the ManifestBuilder? by simply adding a "_manifest_exclude" file. This file can be placed in any directory and then that directory and all its subdirectories won't be included anymore.
ischommer: merged with current ManifestBuilder, lots of differences 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41950 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:29:52 +00:00
Ingo Schommer 56853999bb elofgren: VAR FIX: Prevent 'auth' from being undefined in HTTP::sendRequest()
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41941 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:07:51 +00:00
Ingo Schommer 180c06fd15 elofgren: BUGFIX: Make 'Remember me next time?' setting work even if the ':' in _COOKIEalc_enc? is converted to '%3a' by calling urldecode($_COOKIEalc_enc?) See: http://www.silverstripe.com/google-summer-of-code-forum/flat/1826#post1832
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:07:24 +00:00
Ingo Schommer 5a06cb4684 elofgren: Add note 'The constant 'BOUNCE_EMAIL' should be defined as a valid email address for where bounces should be returned to.' because I was unsure what BOUNCE_EMAIL should be set to until I found reference to it on: http://doc.silverstripe.com/assets/classes/default/_sapphire_core_Email_php.html
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41939 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:06:22 +00:00
Ingo Schommer 49fa87cceb elofgren: VAR FIX: Prevent errors when sending newsletter drafts by initializing variables and calling isset() and empty() where needed in core/Email.php
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41938 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:05:58 +00:00
Ingo Schommer 67743359a1 elofgren: Add needed isset($_GETshowtemplate?) to SSViewer_FromString::process() to prevent errors when sending a newsletter draft.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41937 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:04:33 +00:00
Ingo Schommer b0d65bba2e elofgren: Add description to TogglePanel? class.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41936 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:03:27 +00:00
Ingo Schommer 7256d2dfdc elofgren: USABILITY: Add + and - toggle icons to TogglePanel? and use 'cursor: pointer;' to make it obvious that it is clickable. Move toggle images to sapphire/images/
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41935 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:03:01 +00:00
Ingo Schommer 1c90231f45 mlanthaler: Reverted change of r38052.
DataObject::addExtension() is now again DataObject::add_ex
(merged from branches/gsoc)
ischommer: naming change already reverted


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41934 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:02:33 +00:00
Ingo Schommer 707e4f8cf1 moved .ComplexTableField rule into ComplexTableField.css
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41929 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:49:53 +00:00
Ingo Schommer 5536aac284 qhoxie: ssviewer foreach interation tracking
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41914 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:07:32 +00:00
Ingo Schommer 408c8d63d5 bfojcapell: better i18n support and more flexibility allowed in templates. Also fixed some possible warnings in 2.02rc1 if more than one language file is found with the same name. ManifestBuilder? now skips language files - they cannot be autoloaded and they are already loaded on demand, so no need to be in the manifest
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41913 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:06:42 +00:00
Ingo Schommer f2dc279789 mlanthaler: ... forgot to remove debug code :-) (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41912 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:00:24 +00:00
Ingo Schommer d6ddbf2cff mlanthaler: Implemented OpenIDAuthenticatedRole so that the OpenID credentials are now stored in a specific column (gsoc ticket #4). In that way member system is will remain extensible (no restriction due to not support multiple-inheritance).
The role is applied automatically when the OpenIDAuthenticator is registered. 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41911 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:00:00 +00:00
Ingo Schommer 6b378430f4 sminnee: Changes to keep db/build working on sites that don't yet have RememberLoginToken?
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41910 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 19:42:14 +00:00
Ingo Schommer 342376a552 sminnee: Updated TinyMCE to 2.1.1.1 on branches/gsoc
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41909 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 02:12:52 +00:00
Ingo Schommer 5e0a5283b2 fixed bugs introduced by merging branches/gsoc
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41907 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 02:05:23 +00:00
Ingo Schommer d292e5ccf0 mlantahler: Reverted Sam's changes because now we can exclude directories from the ManifestBuilder? simply by adding a "_manifest_exclude" file.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41906 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 01:55:55 +00:00
Ingo Schommer 3b5a0862f3 mlanthaler: Changed the name of DataObject::add_extension() to DataObject::addExtension() (to have consistent method names) and added the a Member::addRole().
ischommer: Functionality moved to Object, and DataObject::addExtension is NOT consistent naming! (static methods coding conventions)
Now everything is as described in http://doc.silverstripe.com/doku.php?id=member#new_ideamember_role_decorator. 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41841 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:40:28 +00:00
Ingo Schommer 00cb1546db sminnee: Renamed Yadis' XML.php to not conflict with integration/XML.php
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:28:38 +00:00
Ingo Schommer fedd019322 sminnee: Changes to keep db/build working on sites that don't yet have RememberLoginToken?
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41839 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:27:40 +00:00
Ingo Schommer ef33498a97 elofgren: In SilverStripeNavigator?(), change 'View page in:' to 'Page view:', 'CMS' to 'Edit', and group 'Edit' & 'Draft Site' together. Reason: http://www.silverstripe.com/silverstripe-development/flat/626?showPost=1785#post1785
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41838 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:26:21 +00:00
Ingo Schommer 8d3c8a51d9 elofgren: USABILITY: Change tooltip references to 'stage site' to 'draft site' instead. See: http://www.elijahlofgren.com/silverstripe/consistently-use-draft-site-instead-of-stage-site/
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41837 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:24:15 +00:00
Ingo Schommer 9e89a46853 mlanthaler: Member class is now completely documented, although the documentation of Member::map() and Member::mapInGroups() should be improved (marked with an @todo tag).
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41836 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:23:44 +00:00
Ingo Schommer 0872f87358 bfojcapell: Renaming of functions and new function prototype of the translator function
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41835 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:21:51 +00:00
Ingo Schommer 3444cf28e8 mlanthaler: Bugfix: Invalid code caused an parse error.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41834 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:19:29 +00:00
Ingo Schommer fc26c64f63 elofgren: Add extraClass parameter to InlineFormAction? so that 'Delete Selected Files' button can have the 'delete' class assigned to it so it turns red on hover.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41833 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:18:21 +00:00
Ingo Schommer e25d8bab65 bfojcapell: Added i18n api comments
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:17:37 +00:00
Ingo Schommer 91f1b3b39d elofgren: USABILITY: Prevent onclick in td.markingcheckbox from doing anything to prevent the edit file window from coming up if the checkbox is missed and the table cell is accidentally clicked instead.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41831 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:17:11 +00:00
Ingo Schommer 7e9623f4ac bfojcapell: Added security check, only admins can use text collector
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41830 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:16:41 +00:00
Ingo Schommer 46be50f0a2 bfojcapell: LocaleAPI renamed to i18n
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:16:11 +00:00
Ingo Schommer bd037abcdc mlanthaler: Added the needed constants *PR_HIGH* and *PR_MEDIUM* so that the new "testing" code doesn't break all our builds..
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:13:21 +00:00
Ingo Schommer 89b737678e bfojcapell: sapphire changes to allow i18n
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41827 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:12:28 +00:00
Ingo Schommer d75537eb1c bfojcapell: added locale api file
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41826 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:11:39 +00:00
Ingo Schommer 5314a6832a elofgren: Use & instead of & in 'Email & Password' to prevent XML parsing error in Firefox on login form.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:08:50 +00:00
Ingo Schommer 069192e83c mlanthaler: Refactored the new authenticator code so that it is easier now to enable/disable different authentication methods (simple edit _config.php).
Also moved the needed change to the PHP include path to the new _config.php file so you don't need to set that anymore in mysite/_config.php. 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41824 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:08:23 +00:00
Ingo Schommer be2f2243ae mlanthaler: Added permission check for edit rights and changed the labels according to Sigs suggestions.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41823 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:06:49 +00:00
Ingo Schommer 4a0b7e1d6d elofgren: BUGFIX: Edge case fix to prevent execution timeout if a page has 50 identical broken links by only highlighting them once.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41822 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:05:49 +00:00
Ingo Schommer ca366a15c7 mlanthaler: Allow CMS users to limit view/edit access to a page (ticket #8, ticket #9).
Also refactored the SiteTree? class to respect the coding standards. 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41821 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:03:12 +00:00
Ingo Schommer ef54473d1b elofgren: Add 'extraClass' parameter to FormAction? and use it to assign the 'delete' CSS class to the 'Unpublish' and 'Cancel draft changes' buttons so that their background turns red on hover.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41820 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:43:02 +00:00
Ingo Schommer 3be2d445f9 elofgren: VAR FIX: Initialize 'has' to an array and use isset() for removeList in ComponentSet::setByIDList() to fix undefined variable errors when saving 'SubscribeForm?' page.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41819 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:38:26 +00:00
Ingo Schommer f9c5f25254 mlanthaler: Bugfix: Make sure *Priority* is set, otherwise an invalid SQL statement will be generated when the page is published (Priority = ).
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41818 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:33:51 +00:00
Ingo Schommer e452de966c elofgren: VAR FIX: Fix a large amount of undefined variable errors when creating and editing a 'newsletter subscription form' page by adding needed issets and initializations.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41817 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:31:08 +00:00
Ingo Schommer 461f9e2af0 elofgren: VAR FIX: Fix EditableRadioField? 'optionNumber' and 'optionData' undefined variable errors by initializing 'optionNumber' and using 'newOption' instead of 'optionData'. These errors were
encountered when adding a new 'newsletter subscription form' type page. 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41816 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:22:23 +00:00
Ingo Schommer 2a2b1db203 mlanthaler: Small fix to prevent E_NOTICEs.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41815 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:21:35 +00:00
Ingo Schommer 3d612298a4 mlanthaler: Small fix to prevent E_NOTICEs.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41814 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:12:22 +00:00
Ingo Schommer fa43f70696 mlanthaler: Fixed small typo.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41813 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 23:10:25 +00:00