Commit Graph

1267 Commits (2fe78b84f314a598fb6b45ee7624d4b320a47074)

Author SHA1 Message Date
Dries Buytaert b362985de5 - Patch #41118 by Goba: various upgrade script fixes. 2005-12-26 17:20:23 +00:00
Dries Buytaert 6c2f3e7982 - Patch #39179 by chx et al: fix checkboxes #default_values. 2005-12-26 11:14:14 +00:00
Steven Wittens b43fa0f9da - #41744: global urlencode() for menu paths 2005-12-22 22:58:12 +00:00
Dries Buytaert 4f13fbb709 - Patch #41023 by wtanaka: custom form elements can't cleanly set a value for themselves. 2005-12-19 14:43:42 +00:00
Dries Buytaert eb412f7c7e - Patch #39179 by chx: improved validation of forms. 2005-12-19 14:30:53 +00:00
Dries Buytaert 0dfc8e059f - Patch #41437 by webchick: improved code comments. 2005-12-17 17:24:46 +00:00
Steven Wittens db42745522 - Code style 2005-12-17 10:35:59 +00:00
Dries Buytaert bd4fe6ede9 - Patch #40813: Taxonomy forms should be in a fieldset. 2005-12-16 06:23:46 +00:00
Dries Buytaert b6dba6fa8e - Patch #40486 by chx/netbjarne: duplicate form id's breaks html validation. 2005-12-15 22:47:16 +00:00
Dries Buytaert 5accfa08f5 - Patch #41133 by DriesK: as of PHP 5.1.0, strtotime() returns FALSE on failure instead of -1.
Changed code to be compatible with all versions.
2005-12-15 16:02:50 +00:00
Dries Buytaert 764f1177ef - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). 2005-12-14 20:10:45 +00:00
Dries Buytaert c4fc7f401f - Patch #40886 by chx: fixed problem with recursive/nested node API calls manipulating the same array references. 2005-12-14 18:46:21 +00:00
Dries Buytaert c0a43c50dc - Patch #40765 by chx: fixed problem with form types. 2005-12-14 13:22:19 +00:00
Dries Buytaert 12e0151715 - Patch #40855 by Ber: fixed typo in watchdog message. 2005-12-12 11:36:56 +00:00
Dries Buytaert b9f2b7e2a6 - Patch #40706 by chx: fixed warnings. 2005-12-11 12:31:17 +00:00
Dries Buytaert b4552cd977 - Patch #40512 by Richard: fixed coding style + performance improvements. 2005-12-10 20:01:55 +00:00
Dries Buytaert 4758c8cd28 - Patch #40518 by drumm: upgrade system fixes. 2005-12-09 16:14:26 +00:00
Dries Buytaert 1d0fa04d33 - Patch #40518 by drumm: remove hook_versions. 2005-12-09 15:46:47 +00:00
Dries Buytaert c54234d71a - Patch #40341 by Neil: fixed problems with database schema versions.
- When user #1 creates an account (we can assume this happens only once), system.module's schema version is set to the latest availiable.
  - system_get_files_database() now includes a 'schema_version' child of each file object.
  - That new information is re-saved when Drupal re-populates the system table.
  - An array of newly-enabled modules is built, module_list() is reloaded, and the schema versions of each newly-enabled module are set to the most recent availiable. If the schema version is already set (presumably from a previous installation) it is not changed.
2005-12-08 08:40:10 +00:00
Dries Buytaert 3342593eac - Patch #38889 by rkerr: db_error and db_affected_rows did not work properly in presence of multiple database connections. 2005-12-07 15:17:27 +00:00
Dries Buytaert a19acb219e - Patch #35924 by Neil: improved the update system. 2005-12-06 09:25:22 +00:00
Dries Buytaert 0f80b09a4a - Patch #39875 by chx: make form sorting work with PHP5. 2005-12-05 21:21:49 +00:00
Dries Buytaert 7ef324ec84 - Unrolled chx's form sort patch. 2005-12-05 09:48:54 +00:00
Dries Buytaert a2d8174cd4 - Patch #39875 by chx: form_sort is broken with PHP5. 2005-12-05 08:47:24 +00:00
Dries Buytaert 77f55aa7f2 - Patch #39989 by hunmonk: can't pass args properly to #process callback. 2005-12-05 08:41:29 +00:00
Dries Buytaert a806db88fa - Patch #39085 by chx/angie: simplified #tree-#parent code. 2005-12-04 08:14:07 +00:00
Dries Buytaert c7bce9efd4 - Patch #35768 by JonBob/Richard: separate callback handling from menu handling.
Moves callbacks and arguments to a separate data structure from the visible menu tree. As mentioned on drupal-devel, this change has little impact except to slightly improve code legibility and prepare the code base for future separation of these tasks, with an eye toward performance improvements of the menu system.  Also changes array_key_exists() to isset() in several places, which is reported to perform better.
2005-12-03 14:50:27 +00:00
Dries Buytaert 75d2089fba - Patch #39155 by Alex/chx: #validate, #submit, #process consistency 2005-12-03 09:44:50 +00:00
Dries Buytaert 26bd449860 - Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'. 2005-12-02 15:21:01 +00:00
Dries Buytaert b1a648b371 - Patch #39566 by chx: fixed incorrect encoding in URLs. 2005-12-02 10:31:21 +00:00
Dries Buytaert 9c02757477 - Patch #39566 by chx: fixed incorrect encoding in URLs. 2005-12-02 10:29:45 +00:00
Dries Buytaert fe01762387 - Fixed bug with checking for .txt files. 2005-11-30 19:28:18 +00:00
Dries Buytaert f8b90f6262 - Patch #39357 by m3vrck: fixed typo in mysqli backend. 2005-11-30 16:47:34 +00:00
Dries Buytaert a74ebcc87a - More fixes 2005-11-30 15:31:23 +00:00
Dries Buytaert 2917261693 - Removed valid_input_check(). 2005-11-30 10:27:13 +00:00
Dries Buytaert f4799d1ce9 - check_plain() missed its train. 2005-11-29 20:37:19 +00:00
Dries Buytaert 2d0df351d7 - Various fixes. Updated CHANGELOG.txt 2005-11-29 20:17:10 +00:00
Dries Buytaert 7a341583be - Patch #39257 by merlinofchaos: node_access rewrite breaks with FROM_UNIXTIME. 2005-11-29 15:37:27 +00:00
Dries Buytaert 63a78a617b - Patch #38038: hook_elements override instead of merge. 2005-11-28 16:37:11 +00:00
Dries Buytaert 56f054c429 - Patch #33852: remove legacy.inc. 2005-11-28 16:25:52 +00:00
Dries Buytaert c1dbd83e40 - Patch #11758 by Richard Archer: fixed mbstring clash. 2005-11-28 15:45:04 +00:00
Dries Buytaert 244945365d - Patch #10407 by Cvbge: fixed cache problems with PostgreSQL. 2005-11-27 11:52:08 +00:00
Dries Buytaert 229fa7dea8 - Patch #38787 by Jaza: print PHP errors using drupal_set_message(). 2005-11-27 09:14:52 +00:00
Steven Wittens 5cf74ccb72 #27582: menu.inc doc update 2005-11-24 22:04:10 +00:00
Dries Buytaert 5f36738a11 - Patch #38279 by paddy_deburca: fixed theme_item_list() not to generate an empty <ul></ul> tag when $items is empty. 2005-11-24 20:08:54 +00:00
Dries Buytaert 50f148dab7 - Patch by chx: fixed form validation. 2005-11-23 16:21:12 +00:00
Dries Buytaert a3f84c7782 - Patch #38349 by hunmonk:
1. hook_form_validate_alter and hook_form_execute_alter have been eliminated. there usage was limiting and a bit confusing. now, only hook_form_alter remains
   2. replacing those hooks are the #validate and #execute attributes. these can be used either when building the form in a module, or via hook_form_alter. these attributes are built in array form, to allow for flexibility in how they are called. for example, a module could simply add an element to the #validate array via hook_form_alter if it wished to perform additional validation, or it could redeclare the entire #validate array if it wanted to override any existing validation
   3. attributes #validation_arguments and #execution_arguments have been added to allow args to be used w/ custom validation and execution functions. this are also declared in array format
   4. renamed #valid attribute to #validation. this doesn't cause any conflicts, and makes the naming convention more consistent
   5. renamed the existing #execute attribute associated w/ submit buttons to #submit
2005-11-22 21:31:15 +00:00
Dries Buytaert d52bcb63cc - Patch #37766 by Thomas Ilsche: fixed date handling in XML-RPC backend. 2005-11-21 21:35:43 +00:00
Dries Buytaert 7a5c5b83a7 - Patch #35725 by drumm: improved conf_init() documentation. 2005-11-21 21:33:44 +00:00
Dries Buytaert 1b388b4653 - Patch #35863 by chx: add link to forms API documentation 2005-11-21 18:14:23 +00:00