summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAge
* - #3606: Missing translations for user.module watchdogSteven Wittens2004-08-07
|
* - Patch #6760 by JonBob: refactored the taxonomy module URLs to be nicer, ↵Dries Buytaert2004-08-07
| | | | | | | | | | improved the code/Doxygen comments. As discussed before, the path "taxonomy/page/or/1,2" becomes "taxonomy/term/1+2" and the path "taxonomy/page/and/1,2" becomes "taxonomy/term/1,2". The most common case of listing nodes attached to a single term becomes simpler, since it doesn't require a meaningless "or" or "and". A depth of "0" is assumed, but a positive integer or "all" can be used. Feeds are available at "taxonomy/term/1+2/all/feed" and the like. This iteration of the patch also changes the structure of taxonomy_select_nodes(), since it was not following Drupal conventions. A handful of contrib modules call this function, and will need to be updated. Instead of passing in a $taxonomy object containing parameters for the function, the parameters are passed independently. This simplifies the code quite a bit. The queries were changed to only return node IDs for speed; all results from this function are passed through node_load() anyway, so the extra information returned was discarded. The AND query was also changed to avoid the strange trick and remove an extra query, at the expense of a table join per root term in the AND. This cleans up the code substantially while at the same time enabling the use of AND with a depth parameter. TODO: update contribution modules.
* - Made the taxonomy module use drupal_goto() to fix up the interaction behavior.Dries Buytaert2004-08-07
|
* - Patch #9812 by Adrian: fixed some PostgreSQL/ANSI SQL compabitibilityDries Buytaert2004-08-06
| | | | problems created by the new comment and node access permissions code.
* - Patch #9330: ucfirst() gives problem when used with multibyte charset.Dries Buytaert2004-08-06
| | | | Replaced the use of ucfirst() with a CSS-based solution.
* - Oopsie when committing.Steven Wittens2004-08-06
|
* - Cleaning up the rediculously long 'if' statement for checking block ↵Steven Wittens2004-08-06
| | | | | | visibility. - #9811: Remove session ID before matching block path
* #8154 - Default user timezone to site timezoneSteven Wittens2004-08-06
|
* - Patch #8523 by killes: avoid profile data being deleted when requesting a newDries Buytaert2004-08-05
| | | | password.
* - Patch by Jeremy: usability improvements for the statistics.module's GUI.Dries Buytaert2004-08-05
|
* - Patch #9794 by JonBob: a bug introduced late in the review process makes ↵Dries Buytaert2004-08-05
| | | | individual node views inaccessible to users who should have permission. This does not affect node listings, so was missed.
* - Patch #9775 by TDobes: consistency operation. Changed to "edit foo," ↵Dries Buytaert2004-08-05
| | | | "delete foo," and "view foo" links into simply "edit," "delete," and "view".
* - Patch #9770 by killes: fixed typo in queue module.Dries Buytaert2004-08-04
|
* - Patch #9497 by gordon: made <!--break--> work even when the teaser lengthDries Buytaert2004-08-04
| | | | is set to unlimited and fixed up some code comments.
* - Patch #9768 by killes: admin/user/edit/$uid is no more, removed some ↵Dries Buytaert2004-08-04
| | | | left-overs.
* - Patch #9657: more intelligent theme() function. Hopefully, Adrian will beDries Buytaert2004-08-04
| | | | able to use this patch too.
* - Patch #7458 by killes: conditionally include xmlrpc.inc.Dries Buytaert2004-08-04
|
* - Patch #9757 by Al: improved the aggregator help. Help texts should be to ↵Dries Buytaert2004-08-04
| | | | the point.
* - Patch #7336 by TDobes: in various parts of Drupal, we use the title ↵Dries Buytaert2004-08-03
| | | | attribute for links to provide a slightly more detailed explanation as to the purpose of a link or where it goes.
* - Partial patch #9643 by Bart:Dries Buytaert2004-08-03
| | | | | + the confirmation before deleting a comment was missing a check_output. + after editing a comment, two pages were shown (two calls to theme('page',..)), replaced this by a drupal_goto.
* - Patch by Jeremy: statistics module improvements.Dries Buytaert2004-08-03
|
* - Simplified the block help a bit by removing some dated information. ItDries Buytaert2004-08-01
| | | | should be simplified more.
* - Fixed broken link + removed redundant form descriptions (there is no pointDries Buytaert2004-08-01
| | | | in repeating the title).
* - Patch #9430, backported patch from JonBob: fixed typo: 'that that' -> 'that'Dries Buytaert2004-07-31
|
* - Patch #9649 by JonBob: fixed a buglet in the recent book patch. It triedDries Buytaert2004-07-31
| | | | to set book breadcrumbs for nodes that weren't books.
* - Patch #9650 by Adrian: this change introduces a module_load function, ↵Dries Buytaert2004-07-31
| | | | | | | | | | | | which maintains a list of modules that have already been loaded in a static array, and will not load another module of the same name, or if the file does not exist. Modules can be stored anywhere, as there is now a set of functions called module_get_filename, and module_set_filename .. which allow system_listing and module_list to specify the locations of the files. A new function module_load_all() replaces the hardcoded includes in module_init, and loads all modules which have been enabled, using module_load. module_listing no longer includes files itself, instead it just keeps the listing (and sets the filenames). This patch is a requirement for the multisite configuration patch, as overriding modules are currently being loaded due to the only protection of loading them is include_once.
* - Patch #9543 by JonBob: added node-level access control!Dries Buytaert2004-07-31
|
* - Patch #5347 by JonBob:Dries Buytaert2004-07-30
| | | | | | | | | | | | | | | | | | | | | Here's a new patch that unifies the node/52 and book/view/52 paths for nodes. It involves a small change to hook_view(), which is discussed first: Currently hook_view() expects node modules to return a themed node. However, each module does this the same way; they modify $node as necessary, then call theme('node', $node) and return the result. We can refactor this so that the calling function node_view() calls theme('node') instead. By doing this, it becomes possible for hook_nodeapi('view') to be called after hook_view() where the node contents are filtered, and before theme('node') where the body is enclosed in other HTML. This way the book module can insert its navigation into the body right before the theming. Advantages of this refactoring: - I can use it for book.module to remove the extra viewing path. - The function of hook_nodeapi('view') becomes more like hook_view(), as neither will expect a return value. - We more closely follow the flow of other nodeapi calls, which usually directly follow their corresponding specific node type hooks (instead of preceding them). - The attachment.module people could use it to append their attachments in a list after the node. - Gabor could use it instead of his filter perversion for his "articles in a series" module. - A little less code in each view hook. - The content hook is no longer needed, so that means even less code. Disadvantages: - Any modules written to use nodeapi('view') could be affected (but these would all be post-4.4 modules). - Implementations of hook_view() would need to be updated (but return values would be ignored, so most would work without updates anyway). Now the patch takes advantage of this API shift to inject its navigation at the end of all book nodes, regardless of the viewing path. In fact, since the paths become identical, I've removed the book/view handler entirely. We should probably provide an .htaccess rewrite for this (one is still needed for node/view/nn anyway). At the same time, there is a check in book_block() that shows the block appropriately on these pages.
* - Alternative fix for search module bug.Dries Buytaert2004-07-28
|
* - Patch #8497 by JonBob: check the length of a search key before inserting it.Dries Buytaert2004-07-28
|
* - Patch #9547 by Eric: fixed avatar/picture upload bug.Dries Buytaert2004-07-28
|
* - Patch #8531 by drumm: took this date parser from MagpieRSS (conveniently ↵Dries Buytaert2004-07-26
| | | | GPL). The main benefit here is that timezones are handled properly (I have been noticing increasing complaints about that). I tested with a few feeds of different time formats and time zones and everything appeared correctly in my site's local time. Making this another function adds the benefit of parsability by other RSS (or other contexts) and RSS extension handling functions, where the W3C DTF is recomended.
* - Patch #9346 by drumm: improved themability of some aggregator pages.Dries Buytaert2004-07-25
|
* - Patch 9543 by JonBob: use drupal_goto() in menu administration.Dries Buytaert2004-07-25
|
* - Patch #9464 by Moshe: menu.module omitted a pair of braces when callingDries Buytaert2004-07-25
| | | | db_next_id().
* - Patch #9481 by JonBob: fixed small typo in help text.Dries Buytaert2004-07-25
|
* - Patch #9478 by JonBob: allow printf-style arguments in pager_query.Dries Buytaert2004-07-25
| | | | | | 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.
* - Patch #4269 and #4248 by Killes: added missing t()'s to book module.Dries Buytaert2004-07-25
|
* System.module improvements:Steven Wittens2004-07-22
| | | | | - #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.
* - Patch by Andy: improved help text / module description.Dries Buytaert2004-07-16
|
* - Patch #9177 by James: fixed distributed authentication.Dries Buytaert2004-07-15
|
* Removed the 'user' item in the menu which appeared when editing someone ↵Steven Wittens2004-07-14
| | | | else's account.
* - Patch #7466 by TDobes: comments module would add a link of register even ↵Dries Buytaert2004-07-14
| | | | if "user_register" was set to 0.
* - Patch #8080 by TDobes: added teaser support to the book and page module.Dries Buytaert2004-07-13
|
* - Patch #9261 by drumm: made the aggregator overview tables more consistent ↵Dries Buytaert2004-07-13
| | | | by adding a items column to the categories table which acts like the same column in the feeds table.
* - Patch #9234 by TDobes: the latest menu changes have caused custom menu ↵Dries Buytaert2004-07-13
| | | | | | | | 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.
* - Patch #9253 by Morbus: fixed bug that manifested itself with a duplicate ↵Dries Buytaert2004-07-13
| | | | 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.
* - Patch #8942 by Morbus: when testing under devel.module, the "SELECT ↵Dries Buytaert2004-07-13
| | | | 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.
* - Patch #8398 by TDobes: changed permissions for the blog, story, and page ↵Dries Buytaert2004-07-13
| | | | | | | | | 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)
* - Small code simplifications.Dries Buytaert2004-07-13
| | | | | - Small usability improvement thanks to using drupal_goto() after deleting an alias.