Commit Graph

  • 76797cc5e1 Made all sapphire/thirdparty classes _manifest_exclude'd Sam Minnee 2008-08-17 01:08:10 +00:00
  • 25f8cd78c5 Renamed illegal function that was hiding in Time.php Sam Minnee 2008-08-17 01:07:26 +00:00
  • b92b2a5887 Fixed saving of blank values to the has_one relations on versioned objects Sam Minnee 2008-08-15 03:08:03 +00:00
  • 72c9bdda5a Fixed HasManyComplexTableField and ManyManyComplexTableField in trunk Sam Minnee 2008-08-15 02:43:51 +00:00
  • 1cc1fb2805 Fixed bugs with Image upload fields Sam Minnee 2008-08-14 22:20:32 +00:00
  • 4acd84a837 Trap potential data-integrity bug Sam Minnee 2008-08-14 22:20:14 +00:00
  • c706dbdcc1 BUGFIX Fixed TableListField->Link() to allow for instanciation without a form/controller (e.g. for unit tests) Ingo Schommer 2008-08-14 08:19:02 +00:00
  • d38d7208b7 BUGFIX Fixed ScaffoldINGComplexTableField file name Ingo Schommer 2008-08-14 07:12:25 +00:00
  • 125ca5801b BUGFIX Fixed DataObject::fieldLabels() to detect labels on inherited database fields Ingo Schommer 2008-08-14 04:43:47 +00:00
  • 4dc20e699d ENHANCEMENT Removed recently added DataObject::$result_permissions and replaced with more specific TableListField::permissions_for_object() Ingo Schommer 2008-08-14 04:43:15 +00:00
  • 16a5b9b745 BUGFIX Fixed partial merge from nzct (originally from r47039, partially merged in r60440) Ingo Schommer 2008-08-14 04:38:22 +00:00
  • 3942a9b609 Ensure that a theme template is tried before getting a non-theme template Sam Minnee 2008-08-14 03:57:46 +00:00
  • 50790d8098 Added logging of SSViewer and Controller behaviour when using ?debug_request=1 API CHANGE: Template precedence changed. Page_results now takes precedence over HomePage. That is, all action templates of parent classes take precedence over the actionless templates. Sam Minnee 2008-08-14 03:35:13 +00:00
  • e7cbdbc07d BUGFIX Fixed $this reference in static Member call Ingo Schommer 2008-08-14 03:30:32 +00:00
  • 7063547b58 API CHANGE: Allow DataObject searchablefields to be decorated with updateSearchableFields API CHANGE: Allow Group CMS fields to be decorated with updateCMSFields API CHANGE: TableListField utility links no longer have target=_blank Saophalkun Ponlu 2008-08-13 23:57:53 +00:00
  • e020ff3f25 Removed error when saving checkboxsetfield with no values. Added tests for CheckboxSetField Saophalkun Ponlu 2008-08-13 23:56:27 +00:00
  • cb2919f56d ENHANCEMENT Added Maori to i18n::$common_languages Ingo Schommer 2008-08-13 22:09:06 +00:00
  • 67e427cdf6 BUGFIX Reinstated error_handling(E_ALL) for dev environments in main.php after clarifying with sam - we want to force developers to recard notice-level errors unless they expicitly opt-out in their _config.php Ingo Schommer 2008-08-13 21:49:52 +00:00
  • 3663221773 ENHANCEMENT Showing error level in custom error handlers on DebugView and CliDebugView Ingo Schommer 2008-08-13 08:40:02 +00:00
  • be2d56e7d7 BUGFIX Disabled mandatory override of default PHP error handler to E_ALL when in dev mode (which means you have no way of overriding error_reporting() in your _config.php, and by that no way of disabling e.g. E_NOTICE level errors) Ingo Schommer 2008-08-13 08:24:14 +00:00
  • 8b3056fcd0 Removed notice level error when ArrayLib::valuekey() is passed an empty array Sam Minnee 2008-08-13 04:33:33 +00:00
  • 7f72a0120b Correct line numbers in error source fragment view Sam Minnee 2008-08-13 03:54:50 +00:00
  • ab6d6dd32f Ensure that MySQLDatabase::tableList() always returns an array Sam Minnee 2008-08-13 03:54:04 +00:00
  • 26f3dc26da Fix error in Geoip when REMOTE_ADDR isn't set Sam Minnee 2008-08-13 03:43:37 +00:00
  • 300dfa9d07 Include full traces in unit test failures, for easier debugging Sam Minnee 2008-08-13 03:42:45 +00:00
  • ec96a10a20 Removed unnecessary chatter from test runner Sam Minnee 2008-08-13 03:41:54 +00:00
  • cad5130fb5 Improved db/build output for CLI Sam Minnee 2008-08-13 03:41:21 +00:00
  • 45ee7149d7 Improved robustness of FunctionalTest HTML testing. Removed junk output from stderr Sam Minnee 2008-08-13 03:40:56 +00:00
  • 1a73ef447e Added Debug::get_rendered_backtrace() for rendering backtraces from other contexts (such as exceptions) Sam Minnee 2008-08-13 03:40:06 +00:00
  • 12868bab9f Added DatabaseAdmin::clearAllData() to empty out a database. Improved performance of testrunner so that it doesn't create a new database for each test, instead only once per test run. Sam Minnee 2008-08-13 02:47:14 +00:00
  • 9dcb89bf51 Removed warning when session_regenerate_id can't be set. It's not strictly necessary and just causes testing headaches Sam Minnee 2008-08-13 02:31:11 +00:00
  • 00677d8cb7 Passed controller argument to ChangedPasswordForm constructor Sam Minnee 2008-08-13 01:58:54 +00:00
  • 788ec0e536 Fixed MemberAuthenticator::authenticationFailedUnknownUser code Sam Minnee 2008-08-13 01:48:54 +00:00
  • 0bdc8fad81 Improve CLI use of Debugging tools and test execution. Sam Minnee 2008-08-13 01:47:05 +00:00
  • 0e0fc7a1cb Allow flush=1 to be added as 2nd argument to cli-script. Removed code that used 2nd arg as HTTP_HOST value, in favour of more robust $_FILE_TO_URL_MAPPING Sam Minnee 2008-08-13 01:44:43 +00:00
  • 128e5e4a05 Add checks to see if REMOTE_ADDR is set before making use of it. Sam Minnee 2008-08-13 01:43:49 +00:00
  • 48b60fa710 Improvements to better allow for CLI-based testing Sam Minnee 2008-08-13 01:43:09 +00:00
  • 222a1a139f Ensure that IP-based security can't be bypassed if an IP address isn't set. Sam Minnee 2008-08-13 01:42:56 +00:00
  • cb86fdb3d1 BUGFIX: Fixed bug with unpaginated TableListFields. Added tests for TableListField pagination Sam Minnee 2008-08-13 01:39:46 +00:00
  • 26051153b8 Added tests for random queries Improved DataObjectTest to use more helpful assertions Sam Minnee 2008-08-13 00:44:52 +00:00
  • 11ea5dd0c7 Fixed bug in Requirements::clear() Sam Minnee 2008-08-13 00:01:07 +00:00
  • b512e4bd3b Changed Debug::loadErrorHandlers to use value returned by error_reporting() rather than E_ALL. This way, the user can adjust the error handler screens with the error_reporting function. Hayden Smith 2008-08-12 23:50:28 +00:00
  • 62d0de45d8 Merged [47094]: Fixes Session IP addresses in reverse order. Hayden Smith 2008-08-12 23:14:00 +00:00
  • af9657bd8c Blocked [47093]. Hayden Smith 2008-08-12 23:06:29 +00:00
  • 8447e7fca5 Refactored [47092]: Add TableListField::getCastedValue Hayden Smith 2008-08-12 23:04:14 +00:00
  • f7ff65c04d Merged [47091]: Added Round and NiceRound to Float. Hayden Smith 2008-08-12 22:47:08 +00:00
  • 19da6e3128 Refactored [47088]: File::getFullPath now compares the filename with Director::baseFolder and returns filename if the filename stars with Director::baseFolder. Hayden Smith 2008-08-12 22:26:52 +00:00
  • 339c580aee Blocked [47084]: Needs refactoring for new Sapphire code which provides similar functionality. Hayden Smith 2008-08-12 22:20:37 +00:00
  • 78c2615821 Refactored [47082]: Modified Member::mapInCMSGroups to make use of CMSMain::providePermissions. Hayden Smith 2008-08-12 22:14:36 +00:00
  • ef08421ed7 Merged [47081]: Modified construction of manifest to allow custom definition of MANIFEST_FILE constant filename in _config.php. Hayden Smith 2008-08-12 21:59:32 +00:00
  • 9852fd104b Merged [47080]: Fix for pagination when using customSourceItems in TableListField. Hayden Smith 2008-08-12 21:48:07 +00:00
  • 25808a11da Merged [47079]: Fix for template logic. Hayden Smith 2008-08-12 21:44:18 +00:00
  • f0733c4c45 Refactored [47078]: AccessLogEntry will be created via an object extension. Hayden Smith 2008-08-12 21:41:00 +00:00
  • ed98195b14 Blocked [47074] to [47077]. Hayden Smith 2008-08-12 21:35:34 +00:00
  • f2e8c234b3 Merged [47074]: Added register and unregister as aliases to Authenticator. Hayden Smith 2008-08-12 21:32:00 +00:00
  • 41ebffce4f Merged [47073]: Fix for pagination in TableListField::sourceItems. Hayden Smith 2008-08-12 21:14:06 +00:00
  • b2064a726f Blocked [47072]: Changeset needs to be refactored so Session logging isn't strictly required. Hayden Smith 2008-08-12 21:10:33 +00:00
  • a158cccca3 Merged [47071]: Added Session::get_timeout. Hayden Smith 2008-08-12 21:05:29 +00:00
  • 1aa5b9e4f7 Blocked [47070]. Hayden Smith 2008-08-12 21:04:23 +00:00
  • ca6c248de1 Merged [47069]: Replaced explicit calls to AccessLogEntry::create with more flexible calls to extensions. AccessLogEntry to be refactored into separate module. Hayden Smith 2008-08-12 20:59:32 +00:00
  • 5be532e96d Refactored [47068]: Member::logOut now calls memberLoggedOut on any extensions on Member. Hayden Smith 2008-08-12 05:59:15 +00:00
  • ec9bcf337d Blocked [47065] to [47067]. Hayden Smith 2008-08-12 05:22:29 +00:00
  • ea956432f9 Merged [47064]: Set 'show' as the default action for ComplexTableField. Hayden Smith 2008-08-12 05:20:20 +00:00
  • 6de1a3652f Blocked [47062]. Hayden Smith 2008-08-12 05:00:19 +00:00
  • 3982ccda5c Merged [47061]. Hayden Smith 2008-08-12 04:54:59 +00:00
  • fc52af2668 Merged [47060]. Hayden Smith 2008-08-12 04:50:00 +00:00
  • af60007c9b Merged [47059]: Session expiry times can now be set based on the client's IP address. Hayden Smith 2008-08-12 04:46:04 +00:00
  • ff0f0b4294 Blocked [47057] to [47058]. Hayden Smith 2008-08-12 04:12:22 +00:00
  • 21243264a7 Merged [47056]: Adds unique identifier when creating Behaviour rule sheets to prevent duplicate behaviours from being applied repeatedly. Hayden Smith 2008-08-12 04:09:00 +00:00
  • 6a6d0f1b35 Merged [47055]: Modified FormResponse to append Behaviour rules last. Hayden Smith 2008-08-12 04:04:58 +00:00
  • b744a560f6 Blocked [47047] to [47054]. Hayden Smith 2008-08-12 03:58:16 +00:00
  • ea28c7b9cc Merged [47046]: Minor optimisation to BankAccountField and added methods to get specific parts of the account number. Hayden Smith 2008-08-12 03:54:54 +00:00
  • e4654c4ab6 Reverted accidental change Sam Minnee 2008-08-12 03:34:49 +00:00
  • a99accbea4 ArrayData should only change the type of included objects if they're not ViewableData. Included regression test Sam Minnee 2008-08-12 03:34:19 +00:00
  • 130ecfe5aa Merged [47044]: Introduces modifications to Sapphire's form handling that allows it to ignore fields marked as Disabled when saving the contents of a form's fields to a DataObject. Hayden Smith 2008-08-12 02:58:48 +00:00
  • 0bd9bc4ff8 Merged changes from 2.2.2-assets - everything except the asset refactoring Sam Minnee 2008-08-12 02:51:33 +00:00
  • b5001bc906 Allow object-methods to be used as columns in TableListField Sam Minnee 2008-08-12 00:12:29 +00:00
  • 668dc7c6d2 Fixed js error when defaultAction isn't set Sam Minnee 2008-08-12 00:12:10 +00:00
  • 8bf5c3781e Reverted Hierarchy::extraDBFields() because it interfered with normal generation of the site hierarchy. Note that children(), stageChildren(), and liveChildren() cannot be simply labelled as relations because they are methods with a different semantic meaning. I recommend the use of something similar to to enable access to information beyond relations via the data formatters Sam Minnee 2008-08-11 23:51:45 +00:00
  • 62d90957eb Refactored [47041] to [47043]: Moved to project-specific PhoneNumberField. Hayden Smith 2008-08-11 23:37:25 +00:00
  • e87efed15e Refactored [47040]: Functionality moved to project-specific Member subclass. Hayden Smith 2008-08-11 23:34:11 +00:00
  • 1220f6d86d Merged [47039]: Introduces custom actions to TableListField and ComplexTableField. By default, the show, edit and delete actions are included. Hayden Smith 2008-08-11 23:24:54 +00:00
  • 4258361337 API Change: Turned Requirements::clear_combined_files() into Requirements::delete_combined_files() and Requirements::clear_combined_files() Sam Minnee 2008-08-11 23:18:56 +00:00
  • 72b9d12aae Fix test runner to show errors as well as assertion failures Sam Minnee 2008-08-11 23:17:32 +00:00
  • 12a62b9f62 Updated SecurityTest to use new FunctionalTest system consistently Sam Minnee 2008-08-11 23:04:25 +00:00
  • 300e77bda9 Added FunctionalTest->autoFollowRedirection, so that redirection following can be disabled on a test by test basis Sam Minnee 2008-08-11 23:04:01 +00:00
  • a94c7c8a2f Improved error checking in TestSession Sam Minnee 2008-08-11 23:02:22 +00:00
  • 655802177c BUGFIX Added Requirements::path_for_file() to support external URLs in required paths (incl. unit test) Ingo Schommer 2008-08-11 07:22:50 +00:00
  • 15b11e3f13 BUGFIX Fixed RequirementsTest combine_files() testing to accept new javascript inclusion format with added modified flags Ingo Schommer 2008-08-11 06:28:29 +00:00
  • b795186d0a BUGFIX Fixed JSON.php include path in Convert.php Ingo Schommer 2008-08-11 06:27:53 +00:00
  • 970cba1b5d Fixed call to badly named static method Sam Minnee 2008-08-11 06:11:33 +00:00
  • 9b7bf6a187 BUGFIX: Fixed test runner's handling of errors Sam Minnee 2008-08-11 06:10:59 +00:00
  • 4c4c20919f MINOR Re-enabled DataObjectDecoratorTest Ingo Schommer 2008-08-11 06:01:16 +00:00
  • c9b09e6c96 MINOR Moved sapphire/misc* to sapphire/thirdparty and sapphire/integration Ingo Schommer 2008-08-11 05:58:34 +00:00
  • 8cc53c39ec API CHANGE Removed merged USZipCode field - should be custom code until we figure out proper localization Ingo Schommer 2008-08-11 05:56:32 +00:00
  • 69100325ca BUGFIX: Further fixes to Director::test() Sam Minnee 2008-08-11 05:55:31 +00:00
  • 34479223fa MINOR Moved ScaffoldComplexTableField to separate file Ingo Schommer 2008-08-11 05:41:00 +00:00
  • 4904969c60 MINOR Removed DataObject->mapRelationshipObjects() - incomplete functionality Ingo Schommer 2008-08-11 05:37:56 +00:00
  • d1561b82aa MINOR Moved BulkLoader and CsvBulkLoader from sapphire/tools to sapphire/dev MINOR Removed sapphire/tools Ingo Schommer 2008-08-11 05:36:54 +00:00
  • 9cb17cd5d1 BUGFIX: Changes to DataObject::get_one() caching to try and fix segfaults Sam Minnee 2008-08-11 05:31:13 +00:00