Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) | Dries Buytaert | 2006-02-21 |
| | |||
* | - Patch #50219 by pz: removed some redundant code. | Dries Buytaert | 2006-02-21 |
| | |||
* | - Patch #50219 by pz: removed death code. | Dries Buytaert | 2006-02-20 |
| | |||
* | - Patch #50105 by chx: simplified some code. | Dries Buytaert | 2006-02-19 |
| | |||
* | - Patch #44298 by DriesK: prevent unaccessible links from being generated. | Dries Buytaert | 2006-02-19 |
| | |||
* | - #35073: Admin/node category filter not working | Steven Wittens | 2006-02-14 |
| | |||
* | - Patch #48622 by adrian: remove drupal_goto from _submit functions. | Dries Buytaert | 2006-02-10 |
| | |||
* | - Patch #47406 by Zen: menu sorting shouldn't be case insensitive. | Dries Buytaert | 2006-02-09 |
| | |||
* | - Patch #43622 / #46627 by markus: 'delete the selected posts' operation on ↵ | Dries Buytaert | 2006-02-09 |
| | | | | admin/node doesn't work. | ||
* | - Patch #48564 by JonBob: grammar fix. | Dries Buytaert | 2006-02-09 |
| | |||
* | - Node revisions 404/403 handling called drupal_not_found() twice. | Steven Wittens | 2006-02-08 |
| | |||
* | - Patch #48021 by Zen: removed unused variable. | Dries Buytaert | 2006-02-06 |
| | |||
* | - Patch #46933 by Gerhard: moderated nodes are not indexed. | Dries Buytaert | 2006-02-01 |
| | |||
* | - Patch #46827 by wulff: fixed incorrect links. | Dries Buytaert | 2006-01-29 |
| | |||
* | - Patch #46705 by killes: don't use array_merge. | Dries Buytaert | 2006-01-29 |
| | |||
* | - Modified patch #37754 by Thomas: made the status message show up. | Dries Buytaert | 2006-01-24 |
| | |||
* | - Patch #45530 by Morbus: filter_form shouldn't default to #weight 0 | Dries Buytaert | 2006-01-20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a form element doesn't specify a #weight, it is assumed internally as #weight 0. However, to ensure that our form elements display visually *as they were defined in the array* we, in form_builder, count the number of elements, divide by 1000, and set that as the weight: # Assign a decimal placeholder weight to preserve original array order if (!isset($form[$key]['#weight'])) { $form[$key]['#weight'] = $count/1000; } The above code will set the #weights of elements that have not defined a weight to something like 0 (first element in array definition), 0.001, 0.002, and so on. However, anytime a form element *explicitly* defines a #weight of 0, that #weight is kept at exactly 0, which would cause that form element to appear BEFORE the elements that didn't have a #weight defined (and thus received a #weight such as 0.002). Consider the following pseudo example: $form['game_title'] = array( '#type' => 'textfield', ... ); $form['game_description'] = array( '#type' => 'textarea', ... ); $form['game_format'] = filter_form(variable_get('game_format', NULL)); return $form; Here, we're not definiing weights on our two textfields. We then add an filter_form. The second parameter of the filter_form is $weight, which defaults to 0. After this $form hits form_builder, we have weights 0 (game_title), 0.001 (game_description), and 0 (filter_form) respectively. This is then sorted by weight, which causes filter_form (the third element in the array) to appear BEFORE game_description (0 is lighter than 0.001). The short lesson is: explicitly defining #weight 0 for a form element is probably a bad idea. This patch changes the default #weight of filter_form to NULL, instead of 0, and also removes any other explicit setting of #weight to 0 in core. | ||
* | - Patch #45349 by Morbus Iff: input filters aren't sorting correctly ↵ | Dries Buytaert | 2006-01-19 |
| | | | | infForms API. | ||
* | - #42277: Make node search indexing more robust against bad nodes and timeouts. | Steven Wittens | 2006-01-18 |
| | |||
* | - Patch #45206 by markus: attempt at making the node filters somewhat ↵ | Dries Buytaert | 2006-01-18 |
| | | | | translatable. | ||
* | - Patch #45259 by chx/drumm: cast to object required. | Dries Buytaert | 2006-01-18 |
| | |||
* | - Patch #42072 by m3avrck: more improvements to the node revesion overview ↵ | Dries Buytaert | 2006-01-17 |
| | | | | screen. | ||
* | - Patch #42072 by m3avrck: improved the revision overview screen. | Dries Buytaert | 2006-01-17 |
| | |||
* | - Critical feature #40670: made the form array accessible. | Dries Buytaert | 2006-01-17 |
| | |||
* | - Extended the form description for clarity. | Dries Buytaert | 2006-01-14 |
| | |||
* | - Patch #42886 by chx: critical feature: allow modules to be reordered. | Dries Buytaert | 2006-01-08 |
| | |||
* | - Patch #42955 by Cvbge: critical bugfix: users can't create new content. | Dries Buytaert | 2006-01-06 |
| | |||
* | - #41940: Locale string search broken in some cases (and remove some ↵ | Steven Wittens | 2006-01-05 |
| | | | | | | inappropriate db_escape_string() usage) - #43491: Missing drupal_goto() after saving settings | ||
* | - Patch #35770 by DriesK: make node preview settings work. | Dries Buytaert | 2006-01-04 |
| | |||
* | - Patch #43032 by Steve Dondley: critical fix: can't update nodes by ↵ | Dries Buytaert | 2006-01-03 |
| | | | | anonymous users. | ||
* | - Patch 41169 by Chris: got rid of expensvie object 2 array casts. | Dries Buytaert | 2005-12-31 |
| | |||
* | - #42234: Use standardized feed icon for RSS | Steven Wittens | 2005-12-29 |
| | |||
* | - Bug #42107: redirect to the main page instead of to 'node'. | Dries Buytaert | 2005-12-27 |
| | |||
* | - Patch #28159 by chx: removed some dead code from the search module's form. | Dries Buytaert | 2005-12-26 |
| | |||
* | - Patch #42153 by Junyor: slight clean-up of node_revision_delete(). | Dries Buytaert | 2005-12-24 |
| | |||
* | - Patch #30098 by killes: node revisions should only be viewable by admins. | Dries Buytaert | 2005-12-22 |
| | |||
* | - #41973: Ensure -\>changed and -\>created are equal on node creation | Steven Wittens | 2005-12-22 |
| | |||
* | - #34826: Search results don't include last part of longer pages | Steven Wittens | 2005-12-21 |
| | |||
* | - Patch #34920 by Morbus/webchick/tangent: fixed order of form fields. | Dries Buytaert | 2005-12-15 |
| | |||
* | - Patch #41133 by DriesK: as of PHP 5.1.0, strtotime() returns FALSE on ↵ | Dries Buytaert | 2005-12-15 |
| | | | | | | failure instead of -1. Changed code to be compatible with all versions. | ||
* | - Patch #41211 by Neil: de-dupe XML namespaces in RSS automatically. | Dries Buytaert | 2005-12-15 |
| | |||
* | - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). | Dries Buytaert | 2005-12-14 |
| | |||
* | - Patch #41165 by Morbus: removed rss doctype. | Dries Buytaert | 2005-12-14 |
| | |||
* | - Patch #41109 by chx: fixed problem with _node_name() returning NULL ↵ | Dries Buytaert | 2005-12-14 |
| | | | | instead of array() when there are no node types. | ||
* | - Patch #40587 by wtanaka: execute -> submit | Dries Buytaert | 2005-12-10 |
| | |||
* | - Patch #36429: remove CONCAT() and speed up node_access query. | Dries Buytaert | 2005-12-08 |
| | |||
* | - Patch #29326 by Morbus: optimized performance of URL aliasing for newly ↵ | Dries Buytaert | 2005-12-07 |
| | | | | | | installed sites. There are a number of small optimizations we could add; like, we should never do more lookup queries than the number of unique URL aliases in the database. When the size of the static cache equals the number of unique URL aliases in the database, we can stop doing lookups. I think this could be implemented with a 2-line change. Takers? | ||
* | - Patch #39778 by chx: obliterate nodeapi op form in favor of the forms ↵ | Dries Buytaert | 2005-12-05 |
| | | | | API's way of doing things. Tested with help from webchick. | ||
* | - Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to ↵ | Dries Buytaert | 2005-12-02 |
| | | | | '#submit'. | ||
* | - #7940: Remember publishing options when editing node | Steven Wittens | 2005-11-29 |
| |