| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
db_next_id().
|
| |
|
|
|
|
|
|
| |
Currently pager_query() is the black sheep of the database query family, because it does not allow for printf-style arguments to be inserted in the query. This is a problem because it introduces developer confusion when moving from an unpaged query to a paged one, and it encourages substitution of variables directly into the query, which can bypass our check_query() security feature.
This patch adds this ability to pager_query(). The change is backwards-compatible, but a couple calls to the function in core have been changed to use the new capability.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- #8193: Moving the two instances of the timezone list into a function.
- #3859: Adding drupal_goto for module/theme/settings pages. Aside from general drupal_goto usability, this fixes the bug of menu items not immediately appearing after enabling a module.
|
|
|
|
| |
PostgreSQL
|
|
|
|
| |
'false' in this case)
|
|
|
|
| |
in the name.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
else's account.
|
| |
|
|
|
|
| |
files consistent with Drupal standards, and adds a wealth of Doxygen-style comments to aid developers in writing solid database access code using the API.
|
|
|
|
| |
additional menu's were never displayed, but were saved. Only the last custom menu was displayed.
|
|
|
|
| |
if "user_register" was set to 0.
|
| |
|
|
|
|
| |
by adding a items column to the categories table which acts like the same column in the feeds table.
|
|
|
|
|
|
|
|
| |
blocks not to render any output. If I create a new menu and menu items, and then enable the block, no output from that block is visible.
This commit fixes the problem: custom menus were being defined as MENU_CUSTOM_ITEM rather than MENU_CUSTOM_MENU. It also fixes a problem in which custom menus were mistakenly given the MENU_VISIBLE_IN_BREADCRUMB bit when edited. This would cause their titles to show up in the breadcrumb (which is undesirable... only menu items should be in there).
Note that this will not fix any non-functioning custom menus you've defined since this bug appeared. You'll have to delete and recreate them or update the "type" column in the DB manually.
|
|
|
|
| |
page when a user has submitted a comment that goes into the moderation queue. Part of the problem seemed to be that the "your comment is in the moderation queue" message was set as a theme print, as opposed to a drupal_set_message(). This patch fixes that, as well as adding a drupal_goto() to redirect the user back to where they came.
|
|
|
|
| |
timestamp from {history}" SQL statement is executed multiple times in two different functions. This duplicated code should be placed in a function, and that's been done already with node_last_visited() - the remaining code was just never updated to use the new routine. This patch changes the old code to use node_last_visited, and also modifies node_last_visited() to cache the result of the database call.
|
|
|
|
|
|
|
|
|
| |
modules (and all occurrances elsewhere) to match their 4.4.x equivalents. In the discussion when these permissions were introduced, it was decided that "edit own ..." was clearer, but "maintain personal ..." slipped into CVS HEAD anyway, while "edit own ..." landed in the 4.4.x branch.
Changes are as follows:
"maintain personal blog" -> "edit own blog" (aggregator.module, blog.module, blogapi.module)
"maintain personal pages" -> "edit own pages" (page.module)
"maintain personal stories" -> "edit own stories (story.module)
|
|
|
|
| |
bootstrap.inc.
|
|
|
|
|
| |
- Small usability improvement thanks to using drupal_goto() after deleting an
alias.
|
| |
|
|
|
|
| |
to UTF-8. It also throws a friendlier error message when none of these extensions is installed.
|
| |
|
|
|
|
| |
devel.module.
|
|
|
|
|
| |
possibly other crawlers try fetching these frequently as can be seen
from the watchdog logs. Made possible by the recent path module change.
|
| |
|
|
|
|
| |
menu system improvements.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* improves the doxygentation and help text.
* deletes comment_admin and comment_page; using proper callbacks instead.
* related/modified callbacks/menus/functions were tweaked to not use arg() at all.
* the "settings" subtab was weighted to -10 so it'd appear first (in prep of JonBob's local default).
* moderation pages weren't properly showing defined votes or thresholds; fixed.
* when moderation votes or thresholds didn't exist, no error stating as such was shown; fixed.
* we show "submit votes" on the moderation votes page only when votes actually exist.
* fixes the (broken in CVS) comment/reply and comment/edit features.
* fixes the (broken in CVS) "save settings" for comment view options and comment moderation.
In addition I:
* fixed a couple warnings introduced by Morbus' patch.
* fixed a couple translation bugs.
* fixed comment_node_url().
I also found that:
* the collapsed comment views (i.e. 'threaded list - collapsed) are broken.
|
| |
|
|
|
|
| |
module.
|
|
|
|
| |
pages. Useful to reduce your site's bandwidth.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
http://drupal.org/files/issues/error_messages_list.png (issue #9138).
drupal_set_message() has been changed to group message by type and a
helper function, theme_status_message(), is added to display the messages.
Chameleon and Xtemplate have been updated to use this new function.
- Updated CHANGELOG.txt.
|
|
|
|
|
|
|
|
|
| |
forms using the $required argument of the form_ functions.
- Replaced all Optional's and Required's from the taxonomy forms with proper
use of the form_ functions.
Please check your contributed modules too!
|
| |
|
|
|
|
| |
- Renamed '... your ...' to '... my ...' (cfr. 'my account).
|
|
|
|
|
| |
movies) using a comma. Only few users actually read the form description,
it seems ...
|
|
|
|
|
| |
- Removed left-over instance of theme('error'): error handling is now done by
the form code.
|