Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | #57948: Fix header elements in filter_xss_admin | Steven Wittens | 2006-04-09 |
| | |||
* | - #55898: Generic, permissive admin XSS/HTML filtering for mission/footer/... | Steven Wittens | 2006-04-07 |
| | | | | - Clean up some raw output | ||
* | #56947: Restore missing filter tips (drumm) | Steven Wittens | 2006-04-04 |
| | |||
* | Oopsie | Steven Wittens | 2006-04-04 |
| | |||
* | - Store correct format id instead of 0 for anonymous users (+ code cleanup) | Steven Wittens | 2006-04-03 |
| | |||
* | #41171 James Harvard & freso@freso.dk: Add ABBR & ACRONYM to HTML tips | Neil Drumm | 2006-04-02 |
| | |||
* | - theme_placeholder to theme('placeholder') | Steven Wittens | 2006-03-14 |
| | |||
* | #52484 by chx: filter_form needs validation | Neil Drumm | 2006-03-05 |
| | |||
* | - Patch #52265 by Zen: converted filter.module to file API: | Dries Buytaert | 2006-03-04 |
| | | | | | | | | | | * Converts filter.module to the fapi model (besides filter_admin_overview which has already been done.) * On the format edit screen, updates to the roles fieldset were being mangled with the previous code. The previous code relied on only checked checkboxes being returned. Fapi for some reason decides to insert non-checked items as well with values 0. * Makes the name field a UNIQUE field. DB and update patches included. Having a duplicate format name completely b0rks things. * Adds check_plain to the format name in admin_overview. * Removes unnecessary #type => 'markup'. * Moves hook_menu to below hook_help. * drupal_goto -> return. | ||
* | - Patch #52341 by m3avrck: corrected phpdoc. | Dries Buytaert | 2006-03-04 |
| | |||
* | - Patch #50982 by kuba: converted the admin filter overview page to the ↵ | Dries Buytaert | 2006-03-01 |
| | | | | submit-model. | ||
* | #48710, incorrect list of roles that can use default input format, patch by RayZ | Gerhard Killesreiter | 2006-02-27 |
| | |||
* | - #48997: Remove PHP notice from filter.module | Steven Wittens | 2006-02-23 |
| | |||
* | - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) | Dries Buytaert | 2006-02-21 |
| | |||
* | - Patch #49198 by Ber: improved documentation of filter-roles setting. | Dries Buytaert | 2006-02-16 |
| | |||
* | - #45742: XHTML slash fix. | Steven Wittens | 2006-01-25 |
| | |||
* | - Patch #45742 by chx: fixed problem with closed tags being filtered out. | Dries Buytaert | 2006-01-25 |
| | |||
* | - 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. | ||
* | - #44772: {} -> [] (in anticipation of PHP de-deprecation) | Steven Wittens | 2006-01-15 |
| | |||
* | - Partial patch #43014 by wulff: added missing t() function to filter.module. | Dries Buytaert | 2006-01-02 |
| | |||
* | - #42828: Auto-p destroys alphanumeric named entities like ½ | Steven Wittens | 2005-12-31 |
| | |||
* | - #27230: Fix XHTML slash in XSS filter | Steven Wittens | 2005-12-28 |
| | |||
* | - Patch #39179 by chx: improved validation of forms. | Dries Buytaert | 2005-12-19 |
| | |||
* | - Patch #34920 by Morbus/webchick/tangent: fixed order of form fields. | Dries Buytaert | 2005-12-15 |
| | |||
* | - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). | Dries Buytaert | 2005-12-14 |
| | |||
* | - Patch #40975 by chx: filter_format no longer supports multiple filtered areas. | Dries Buytaert | 2005-12-14 |
| | |||
* | - Patch #40628 by Jaza: added missing fieldset around filter options. | Dries Buytaert | 2005-12-10 |
| | |||
* | - Patch #40351 by Richard/chx: filter_xss_bad_protocol too hungry. | Dries Buytaert | 2005-12-08 |
| | |||
* | - 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 #39155 by Alex/chx: #validate, #submit, #process consistency | Dries Buytaert | 2005-12-03 |
| | |||
* | - Patch #39605 by Alex: remove form_filter type. | Dries Buytaert | 2005-12-02 |
| | |||
* | - Improved the protocol whitelist code. | Dries Buytaert | 2005-11-30 |
| | |||
* | - More fixes | Dries Buytaert | 2005-11-30 |
| | |||
* | - #39362: Fix code warnings in filter.module | Steven Wittens | 2005-11-30 |
| | |||
* | - Various fixes. Updated CHANGELOG.txt | Dries Buytaert | 2005-11-29 |
| | |||
* | - Patch #38349 by chx: form API bugfixes. | Dries Buytaert | 2005-11-23 |
| | |||
* | - Patch #35644 by webchick: forms API simplificiations. | Dries Buytaert | 2005-11-12 |
| | |||
* | #36242: Array merge problems with module_invoke | Steven Wittens | 2005-11-10 |
| | |||
* | - Partial patch #34920 by tangent: improved placement of filter settings. | Dries Buytaert | 2005-11-09 |
| | |||
* | - Patch #26139 by webchick / Kieran / documentation team: improved admin ↵ | Dries Buytaert | 2005-11-01 |
| | | | | help of core modules! / | ||
* | - Patch #35320 by asimmonds: couldn't save roles in admin/filters/... | Dries Buytaert | 2005-10-31 |
| | |||
* | - Patch #35596 by ccourtne: form API change introduced input format fieldset ↵ | Dries Buytaert | 2005-10-31 |
| | | | | even when only 1 input format | ||
* | - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. | Dries Buytaert | 2005-10-22 |
| | |||
* | - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. | Dries Buytaert | 2005-10-11 |
| | |||
* | - Patch #33433 by chx: fixed a number of form API problems. | Dries Buytaert | 2005-10-08 |
| | | | | | | | | | | | * Default form value * Leftover debug function in form.inc * PHP5 issue with comment date (I got this patch from another issue) * Validation error fix (was calling legacy form validate) * Lots o' warnings on comment preview * Filter tips plus argument (gremlins. I swear this was not there.) * Message to clear what's going on with system settings * Non-freetagging taxonomies fixed | ||
* | - Patch #29465: new form API by Adrian et al. | Dries Buytaert | 2005-10-07 |
| | | | | | | | TODO: + The contact.module was broken; a new patch for contact.module is needed. + Documentation is needed. + The most important modules need to be updated ASAP. | ||
* | - Modified patch #30775 by timcn, Souvent22, m3avrck: give file uploads ↵ | Dries Buytaert | 2005-09-27 |
| | | | | | | descriptions. (Modified the form a bit.) | ||
* | - Patch #27364 by Ber, m3avrck: filter GUI improvements. | Dries Buytaert | 2005-09-17 |
| | | | | chx: it can be "form API"-ied now. :) | ||
* | - Patch #29385 by chx: no ?> add end of files. | Dries Buytaert | 2005-08-25 |
| | |||
* | - Fixed the filter module. | Dries Buytaert | 2005-08-14 |
| |