Commit Graph

  • 83c60460cf mlanthaler: Moved the OpenID specific files to a sub folder to make the directory structure clearer and set a "standard" for new authentication methods. (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:46:51 +0000
  • 7d600b025d mlanthaler: Refactored the created code since the coding conventions for static methods were changed (ticket #49). (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:44:30 +0000
  • cbe32dca20 elofgren: NEW FEATURE: If the contents of the X-SilverStripeMessageID header is sent to /Email_BounceHandler in the 'SilverStripeMessageID' _GET variable, then it will be logged in the Newsletter_SentRecipient table so that the bounce report will show up on the 'Sent Status Report' tab of the Newsletter. @TODO: Add checkboxes checked by default to the 'Bounced' tab of the 'Mailing List' to not send to in the future (use Email_BlackList?), unticking resends. In addition, add ability to remove bounced emails from mailing list. (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:40:29 +0000
  • 481781c797 elofgren: Display a 'Sorry, this bounce report has already been logged, not logging this duplicate bounce.' on duplicate bounce logs instead of a blank screen to aid in debugging. (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:39:04 +0000
  • f3dde5bf6b elofgren: If the access key for Email_BounceHandler is not given, display a 'No "Key" specified' error instead of 'Invalid "Key" specified' to make things clearer. (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:38:41 +0000
  • 1c044df977 elofgren: Add note to comments above 'EMAIL_BOUNCEHANDLER_KEY' that 'you can override it in mysite/_config.php to ease upgrades' (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:38:14 +0000
  • 87a0535439 elofgren: Define 'EMAIL_BOUNCEHANDLER_KEY' in sapphire/_config.php and require its value to be sent as 'Key' $_GET var in pings to /Email_BounceHandler to prevent fake email bounce pings. (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:35:09 +0000
  • f54e9db8b9 mlanthaler: Newly implemented "I've lost my password" feature that works also with encrypted passwords (ticket #48). Ingo Schommer 2007-09-16 00:32:48 +0000
  • 357c18b692 mlanthaler: Bugfix: Little typo. The database indexes were in the wrong format. (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:23:40 +0000
  • 12afad7f1e mlanthaler: Check if TEMP_FOLDER was already defined before defining it so that the user can set the temporary folder himself. (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:23:00 +0000
  • 9af317a264 mlanthaler: Bugfix: Indexes and defaults were not supported in DataObjectDecorators?. (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:20:31 +0000
  • 9b75ec925a mlanthaler: Bugfix: Fixed bug "Fatal error: Access to undeclared static property: Controller::$db in ../sapphire/core/Object.php(282) : eval()'d code on line 1". Could be implemented better if we require support for PHP 5.1 because then we can avoid the exception by calling ReflectionClass::hasProperty() respectively ReflectionClass::getStaticPropertyValue() (http://www.php.net/manual/en/language.oop5.reflection.php). (merged from branches/gsoc) Ingo Schommer 2007-09-16 00:19:54 +0000
  • 7be8460917 mlanthaler: Added support for password encryption (http://support.silverstripe.com/gsoc/ticket/34). Ingo Schommer 2007-09-15 21:51:37 +0000
  • 1119948ec4 mlanthaler: Reverted changes from r38216 which was an invalid fix. Also adjusted the method so that now cookies are accessed exclusively over the Cookie class. (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:43:04 +0000
  • 6d5eb70625 elofgren: BUGFIX: Add missing 'GenericEmail?.ss' template which is used in RecipientImportField::notifyChanges() as part of fix for bug 'Errors when Importing Recipients to Newsletter Mailing List' Reported here: http://www.silverstripe.com/bugs/flat/1470 (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:42:23 +0000
  • d6a68f8993 mlanthaler: Bugfix: *Permission_groupList* is not a defined constant. (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:41:54 +0000
  • 44a74482e0 mlanthaler: Bugfix: Fixed E_NOTICE error "Trying to get property of non-object". (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:40:28 +0000
  • 35c5b08b37 mlanthaler: Bugfix: Fixed E_NOTICE error due to uninitialized variable. (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:39:23 +0000
  • 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) Ingo Schommer 2007-09-15 21:38:05 +0000
  • 71f9ac0c10 mlanthaler: Bugfix: Added isset() to prevent E_NOTICE error. (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:36:17 +0000
  • 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) Ingo Schommer 2007-09-15 21:34:40 +0000
  • efd51a2b1e mlanthaler: Add support for _manifest_exclude files (http://support.silverstripe.com/gsoc/ticket/36). Ingo Schommer 2007-09-15 21:29:52 +0000
  • 56853999bb elofgren: VAR FIX: Prevent 'auth' from being undefined in HTTP::sendRequest() (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:07:51 +0000
  • 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) Ingo Schommer 2007-09-15 21:07:24 +0000
  • 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) Ingo Schommer 2007-09-15 21:06:22 +0000
  • 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) Ingo Schommer 2007-09-15 21:05:58 +0000
  • 67743359a1 elofgren: Add needed isset($_GETshowtemplate?) to SSViewer_FromString::process() to prevent errors when sending a newsletter draft. (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:04:33 +0000
  • b0d65bba2e elofgren: Add description to TogglePanel? class. (merged from branches/gsoc) Ingo Schommer 2007-09-15 21:03:27 +0000
  • 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) Ingo Schommer 2007-09-15 21:03:01 +0000
  • 1c90231f45 mlanthaler: Reverted change of r38052. DataObject::addExtension() is now again DataObject::add_ex (merged from branches/gsoc) ischommer: naming change already reverted Ingo Schommer 2007-09-15 21:02:33 +0000
  • 707e4f8cf1 moved .ComplexTableField rule into ComplexTableField.css Ingo Schommer 2007-09-15 20:49:53 +0000
  • 5536aac284 qhoxie: ssviewer foreach interation tracking (merged from branches/gsoc) Ingo Schommer 2007-09-15 20:07:32 +0000
  • 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) Ingo Schommer 2007-09-15 20:06:42 +0000
  • f2dc279789 mlanthaler: ... forgot to remove debug code :-) (merged from branches/gsoc) Ingo Schommer 2007-09-15 20:00:24 +0000
  • 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) Ingo Schommer 2007-09-15 20:00:00 +0000
  • 6b378430f4 sminnee: Changes to keep db/build working on sites that don't yet have RememberLoginToken? (merged from branches/gsoc) Ingo Schommer 2007-09-15 19:42:14 +0000
  • 342376a552 sminnee: Updated TinyMCE to 2.1.1.1 on branches/gsoc (merged from branches/gsoc) Ingo Schommer 2007-09-15 02:12:52 +0000
  • 5e0a5283b2 fixed bugs introduced by merging branches/gsoc Ingo Schommer 2007-09-15 02:05:23 +0000
  • 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) Ingo Schommer 2007-09-15 01:55:55 +0000
  • 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) Ingo Schommer 2007-09-15 00:40:28 +0000
  • 00cb1546db sminnee: Renamed Yadis' XML.php to not conflict with integration/XML.php (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:28:38 +0000
  • fedd019322 sminnee: Changes to keep db/build working on sites that don't yet have RememberLoginToken? (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:27:40 +0000
  • 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) Ingo Schommer 2007-09-15 00:26:21 +0000
  • 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) Ingo Schommer 2007-09-15 00:24:15 +0000
  • 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) Ingo Schommer 2007-09-15 00:23:44 +0000
  • 0872f87358 bfojcapell: Renaming of functions and new function prototype of the translator function (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:21:51 +0000
  • 3444cf28e8 mlanthaler: Bugfix: Invalid code caused an parse error. (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:19:29 +0000
  • 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) Ingo Schommer 2007-09-15 00:18:21 +0000
  • e25d8bab65 bfojcapell: Added i18n api comments (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:17:37 +0000
  • 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) Ingo Schommer 2007-09-15 00:17:11 +0000
  • 7e9623f4ac bfojcapell: Added security check, only admins can use text collector (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:16:41 +0000
  • 46be50f0a2 bfojcapell: LocaleAPI renamed to i18n (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:16:11 +0000
  • 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) Ingo Schommer 2007-09-15 00:13:21 +0000
  • 89b737678e bfojcapell: sapphire changes to allow i18n (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:12:28 +0000
  • d75537eb1c bfojcapell: added locale api file (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:11:39 +0000
  • 5314a6832a elofgren: Use & instead of & in 'Email & Password' to prevent XML parsing error in Firefox on login form. (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:08:50 +0000
  • 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) Ingo Schommer 2007-09-15 00:08:23 +0000
  • be2f2243ae mlanthaler: Added permission check for edit rights and changed the labels according to Sigs suggestions. (merged from branches/gsoc) Ingo Schommer 2007-09-15 00:06:49 +0000
  • 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) Ingo Schommer 2007-09-15 00:05:49 +0000
  • 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) Ingo Schommer 2007-09-15 00:03:12 +0000
  • 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) Ingo Schommer 2007-09-14 23:43:02 +0000
  • 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) Ingo Schommer 2007-09-14 23:38:26 +0000
  • 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) Ingo Schommer 2007-09-14 23:33:51 +0000
  • 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) Ingo Schommer 2007-09-14 23:31:08 +0000
  • 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) Ingo Schommer 2007-09-14 23:22:23 +0000
  • 2a2b1db203 mlanthaler: Small fix to prevent E_NOTICEs. (merged from branches/gsoc) Ingo Schommer 2007-09-14 23:21:35 +0000
  • 3d612298a4 mlanthaler: Small fix to prevent E_NOTICEs. (merged from branches/gsoc) Ingo Schommer 2007-09-14 23:12:22 +0000
  • fa43f70696 mlanthaler: Fixed small typo. (merged from branches/gsoc) Ingo Schommer 2007-09-14 23:10:25 +0000
  • 66ccb6914a mlanthaler: Switched from file-based to database-based storage to prevent replay attacks. (merged from branches/gsoc) Ingo Schommer 2007-09-14 23:08:11 +0000
  • 4d7346825a mlanthaler: Bugfix: Fixed small bug. Also notified the OpenID library maintainer so that they fix the library itself. (merged from branches/gsoc) Ingo Schommer 2007-09-14 23:07:23 +0000
  • 0eada9f41b Refactored getClassManifest() for clearer ignore-rules added $ignore_files and $ignore_folders Ingo Schommer 2007-09-14 23:03:29 +0000
  • 568489ede7 elofgren: USABILITY: Increase height of ImageField? iframe to make room for padding around fieldset. Also increase width of 'Replace Image' block to make the image drop-down fit. This change goes with r37020 (merged from branches/gsoc) Ingo Schommer 2007-09-14 19:20:43 +0000
  • c6dc670cff mlanthaler: Bugfix: Member::logout() is not a static method! (merged from branches/gsoc) Ingo Schommer 2007-09-14 19:20:03 +0000
  • 6f21a7cea9 mlanthaler: Bugfix: *size* is not a constant, added quotes. (merged from branches/gsoc) Ingo Schommer 2007-09-14 19:19:32 +0000
  • 17202b859e mlanthaler: Bugfix: Fixed error "Trying to get property of non-object" when the accessed page doesn't exists (passed wrong URL). (merged from branches/gsoc) Ingo Schommer 2007-09-14 19:17:37 +0000
  • f96879bb13 elofgren: In Member::autoLogin() suppress errors in the call to list() so that I don't get this error if _COOKIEalc_enc? does not have the expected parts: Notice: Undefined offset: 1 in /var/www/silverstripe-gsoc/sapphire/security/Member.php on line 69 Which causes this error: FATAL ERROR: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent At line 40 in /var/www/silverstripe-gsoc/sapphire/security/Member.php (merged from branches/gsoc) Ingo Schommer 2007-09-14 19:14:35 +0000
  • fcc1ea82a3 elofgren: Add missing single quotes around 'uid' variable in call to DataObject::get_one in Member::autoLogin() (merged from branches/gsoc) Ingo Schommer 2007-09-14 19:13:51 +0000
  • b5156e26ae mlanthaler: Login forms are now styled and use the tabstrip library. Ingo Schommer 2007-09-14 19:13:12 +0000
  • fbc375a282 mlanthaler:OpenID authentication works now. To use it simple create an user account without password and put your *complete* OpenID identifier in the email field, e.g. "http://markus-lanthaler.myopenid.com/". Ingo Schommer 2007-09-14 19:10:18 +0000
  • b0e9e89aad mlanthaler: Bugfix: The added isset() caused a bug when adding a new member because it produces an invalid SQL statement ("... WHERE (ID IN ())"). (merged from branches/gsoc) Ingo Schommer 2007-09-14 18:23:28 +0000
  • 6b2b21e735 elofgren: VAR FIX: Change first concatation to an assignment in CompositeField::debug() (merged from branches/gsoc) Ingo Schommer 2007-09-14 18:05:21 +0000
  • 282b8292a4 elofgren: In TableField::sortData() initialize 'dataObjects' to an empty array to prevent undefined variable errors when editing the name of a Security group that has no members. (merged from branches/gsoc) Ingo Schommer 2007-09-14 18:03:15 +0000
  • 4ae8c85d46 mlantahler:Bugfix: Small bugfix to prevent the usage of uninitialized $funcName. Happens if the form is submitted by pressing <enter> instead of pressing the button (at least in IE7). (merged from branches/gsoc) Ingo Schommer 2007-09-14 18:02:03 +0000
  • d47e6cf67c mlantahler:Bugfix: Added checks in DataObjectSet::First() and DataObjectSet::Last() to prevent errors on an empty $items array. (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:59:33 +0000
  • 898d897c9e mlantahler: Bugfix: $URL != $url. The variable names are case-sensitive in PHP (http://www.php.net/manual/en/language.variables.php) (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:47:45 +0000
  • 692b4b3df9 mlantahler: Small bugfix: Member::currentUser() returns FALSE if the user is not logged in. So Member::currentUser()->ID won't work. (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:44:33 +0000
  • 9a22699fcc elofgren: Add 2 needed calls to isset(): in Hierarchy::markingFilterMatches() and Notifications::getItems(). Errors were encountered when moving and deleting files in 'Files and Images'. (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:40:29 +0000
  • ff2f8fa7f4 elofgren: Remove padding:0; margin:0; accidentally committed in r36714 (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:38:38 +0000
  • 1d07b6b254 elofgren: Change width of 'HtmlEditorField? textareas' from 100% to 97% to prevent horizontal scrollbars at 1024x768 using IE7. (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:37:48 +0000
  • c6a0bf260a mlanthaler: Initial import of the PHP OpenID library. (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:11:09 +0000
  • f3018529ac elofgren: Add 2 needed isset() calls: in forms/Form.php and security/Member.php (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:10:37 +0000
  • 7b3f754add mlanthaler: Initial import of the OpenID authenticator and form class. OpenIDAuthenticator_Controller not yet implemented. (merged from branches/gsoc) Ingo Schommer 2007-09-14 17:04:11 +0000
  • aadac616c0 mlanthaler: Save the email address in the session variable to reuse it when the login fails. (merged from branches/gsoc) Ingo Schommer 2007-09-14 16:57:12 +0000
  • daca02b9a7 mlanthaler: Don't show a error message and don't quit the script when the error was expected (statement with an @ in front to suppress the error). (merged from branches/gsoc) Ingo Schommer 2007-09-14 03:19:34 +0000
  • a377a67e54 mlanthaler: Switched to an authenticator and a form class to be able to add other authentication methods. (merged from branches/gsoc) mlanthaler: The missing authenticator base class... (merged from branches/gsocmlanthaler: Switched to an authenticator and a form class to be able to add other authentication methods. (merged from branches/gsoc) mlanthaler: The missing authenticator base class... (merged from branches/gsoc)) Ingo Schommer 2007-09-14 03:12:21 +0000
  • f7646412f4 fixed merging error Ingo Schommer 2007-09-14 02:49:36 +0000
  • 1eea62a361 mujma: ENHANCEMENTS: Folder _tmp has been added to list of ignored folders.Change depends on r38765 in cms branch. (merged from branches/gsoc) Ingo Schommer 2007-09-14 02:10:14 +0000
  • 1ad4769c5f 3 Notices removal Romain Louis 2007-09-14 02:04:30 +0000
  • 5a74d0e63d mujma: BUGFIX: Added rotatePixelByPixel method to add rotate functionality on machines where imagerotate function it's not available Ubuntu. (merged from branches/gsoc) Ingo Schommer 2007-09-14 01:52:50 +0000
  • 85bd9b0460 mujma: Added comments and method to retrieve image width and height. (merged from branches/gsoc) Ingo Schommer 2007-09-14 01:51:53 +0000