summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAge
* - Patch #9983 by Stefan: various code style improvements.Dries Buytaert2004-08-12
|
* Renumbering filters in filter.module.Steven Wittens2004-08-12
|
* Moving all legacy handlers into legacy.module.Steven Wittens2004-08-12
|
* - Patch #9972 by njivy: modified node_feed() for the instances where locale ↵Dries Buytaert2004-08-12
| | | | is not enabled. Without this patch, reset(array_keys($languages['name'])) throws an error.
* - New locale module thanks to Gerhard, Goba, Marco, Kristjan and others.Dries Buytaert2004-08-11
| | | | | | The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext). Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.
* - Removing tab from line break convertorSteven Wittens2004-08-11
| | | | - Cleaning up code a bit
* - Renaming parameter to hook_filter_tips()Steven Wittens2004-08-10
| | | | - Removing some leftover dead code
* - Patch #8155 by JonBob: removed legacy _system() hook.Dries Buytaert2004-08-10
|
* - #9927: Filter.module doxygen fixes by JonBobSteven Wittens2004-08-10
|
* The Input formats - filter patch has landed. I still need to make update ↵Steven Wittens2004-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instructions for modules and update the hook docs. Here's an overview of the changes: 1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations. The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before. The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs. 2) Filters have toggles Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it. 3) Multiple filters per module This was necessary to accomodate the next change, and it's also a logical extension of the filter system. 4) Embedded PHP is now a filter Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter. This change means that block.module now passes custom block contents through the filter system. As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters. 5) User-supplied PHP code now requires <?php ?> tags. This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code. Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal. 6) Filter caching was added. Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table. 7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists. 8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
* - #9148 and #8766: Fix problem with using '%' in term names.Steven Wittens2004-08-10
|
* Getting rid of parameters which were never passed.Steven Wittens2004-08-10
|
* - Left-over debug statementSteven Wittens2004-08-10
|
* - #4266: When editing a book page, hide the page and its children from the ↵Steven Wittens2004-08-10
| | | | "Parent" selector to prevent circular relationships in the book hierarchy.
* - Patch by Al: improved the admin/help pages (first step).Dries Buytaert2004-08-10
|
* #7646 and more:Steven Wittens2004-08-10
| | | | | - Users who have not edited their account yet would be reset to GMT rather than the sitewide timezone. - Users who chose GMT (zero timezone) on a site with a non-zero timezone as default would have incorrect timezone.
* - Patch #9884 by Bart Jansens:Dries Buytaert2004-08-09
| | | | | | | + The 'previous topic' / 'next topic' links skipped topic without comments (changed one inner join back to a left join). + The default order setting in admin/settings/forum had no effect. + The 'first new topic' link jumped to the first unread topic ever instead of the first unread topic since NODE_NEW_LIMIT. + This also removes the unused $offset param from theme_forum_display and theme_forum_topic_list, so any themes using these functions should be updated (i checked the core themes but none of them used these functions).
* - Patch #9865 by njivy: avoid mangling %'s in the profile SQL query.Dries Buytaert2004-08-09
|
* - Patch #9875 by njivy: call to taxonomy_overview() is missing in admin view.Dries Buytaert2004-08-09
|
* Tiny code cleanup in user.module.Steven Wittens2004-08-08
|
* - Patch #9866 by njivy: when the links are generated for each item in a ↵Dries Buytaert2004-08-08
| | | | list-type profile field, double quotes in the item name can break the link. To fix this, this patch gives drupal_specialchars() the ENT_QUOTES parameter to convert quotes into HTML entities. This fix is also applied to selection-type profile fields which can have the same problem.
* - #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
|