summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAge
* #12363: Bug in user_access() with uid 1 and $account parameter.Steven Wittens2004-11-02
|
* - Patch #11875 by Neil Drumm: block module configuration improvements.Dries Buytaert2004-10-31
| | | | | | | | | | The primary goal of this patch is to take the 'custom' and 'path' columns of the block overview page and make them into something understandable. As of Drupal 4.5 'custom' lacked an explanation which wasn't buried in help text and path required dealing with regular expressions. Every block now has a configuration page to control these options. This gives more space to make form controls which do not require a lengthy explanation. This page also gives modules a chance to put their block configuration options in a place that makes sense using new operations in the block hook. The only required changes to modules implementing hook_block() is to be careful about what is returned. Do not return anything if $op is not 'list' or 'view'. Once this change is made, modules will still be compatible with Drupal 4.5. Required changes to core modules are included in this path. An additional optional change to modules is to implement the additional $op options added. 'configure' should return a string containing the configuration form for the block with the appropriate $delta. 'configure save' will come with an additional $edit argument, which will contain the submitted form data for saving. These changes to core modules are also included in this patch.
* - Patch #12232 by Steven/UnConed: search module improvements.Dries Buytaert2004-10-31
| | | | | | | | | | | | | | | | | | | | | | 1) Clean up the text analyser: make it handle UTF-8 and all sorts of characters. The word splitter now does intelligent splitting into words and supports all Unicode characters. It has smart handling of acronyms, URLs, dates, ... 2) It now indexes the filtered output, which means it can take advantage of HTML tags. Meaningful tags (headers, strong, em, ...) are analysed and used to boost certain words scores. This has the side-effect of allowing the indexing of PHP nodes. 3) Link analyser for node links. The HTML analyser also checks for links. If they point to a node on the current site (handles path aliases) then the link's words are counted as part of the target node. This helps bring out commonly linked FAQs and answers to the top of the results. 4) Index comments along with the node. This means that the search can make a difference between a single node/comment about 'X' and a whole thread about 'X'. It also makes the search results much shorter and more relevant (before this patch, comments were even shown first). 5) We now keep track of total counts as well as a per item count for a word. This allows us to divide the word score by the total before adding up the scores for different words, and automatically makes noisewords have less influence than rare words. This dramatically improves the relevancy of multiword searches. This also makes the disadvantage of now using OR searching instead of AND searching less problematic. 6) Includes support for text preprocessors through a hook. This is required to index Chinese and Japanese, because these languages do not use spaces between words. An external utility can be used to split these into words through a simple wrapper module. Other uses could be spell checking (although it would have no UI). 7) Indexing is now regulated: only a certain amount of items will be indexed per cron run. This prevents PHP from running out of memory or timing out. This also makes the reindexing required for this patch automatic. I also added an index coverage estimate to the search admin screen. 8) Code cleanup! Moved all the search stuff from common.inc into search.module, rewired some hooks and simplified the functions used. The search form and results now also use valid XHTML and form_ functions. The search admin was moved from search/configure to admin/search for consistency. 9) Improved search output: we also show much more info per item: date, author, node type, amount of comments and a cool dynamic excerpt à la Google. The search form is now much more simpler and the help is only displayed as tips when no search results are found. 10) By moving all search logic to SQL, I was able to add a pager to the search results. This improves usability and performance dramatically.
* #12295: missing </p> in filter help.Steven Wittens2004-10-30
|
* - #12305: Blog it icon was broken due to missing parameter.Steven Wittens2004-10-29
|
* #7607: Sort node types in node/add by translated names.Steven Wittens2004-10-29
|
* #12128: Change label for comment subject settings to match behaviour;Steven Wittens2004-10-28
|
* #12186: Add xml icon to taxonomy listings.Steven Wittens2004-10-28
|
* #12146: Improve locale import/export messages (Stefan)Steven Wittens2004-10-26
|
* - Patch #11725 by mrrowe: custom menus are not wrapped in <div class="menu"> ↵Dries Buytaert2004-10-23
| | | | tags which made their appearance differ from the built-in "navigation" menu.
* - Patch #11879 by Moshe: deprecated the _content hook.Dries Buytaert2004-10-23
| | | | | | TODO: + Update Doxygen hook list (if required). + Document this in the developer's upgrade section.
* - Patch #11868 by Neil Drumm: fixed broken link in the help text and made ↵Dries Buytaert2004-10-23
| | | | the help text more accurate.
* - Patch #11935 by Neil Drumm: removed left-over documentation from archive ↵Dries Buytaert2004-10-23
| | | | module.
* - Patch #11952 by Neil Drumm: the path module's help text contained ↵Dries Buytaert2004-10-23
| | | | information that was no longer up-to-date.
* - Patch #11947 by puregin: ensured that a book node's weight is captured ↵Dries Buytaert2004-10-23
| | | | | | when the book node lists returned by book_location() and book_location_down() are generated. This information is required when selecting next page candidates in book_next(). Note that book_location_down() was missing an explicit field b.weight in the SQL SELECT statement, but this value would usually be supplied implicitly because it is used to ORDER the result.
* Missing check if file upload fails.Steven Wittens2004-10-20
|
* - Patch #11728 by Uwe Hermann: fixed some typos in the code comments, ↵Dries Buytaert2004-10-19
| | | | | | Doxygen documentation and screen output. Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
* Comment deleting brokenSteven Wittens2004-10-18
|
* - Fixed parentheses.Dries Buytaert2004-10-18
|
* - Patch by James: made the blogapi module work again.Dries Buytaert2004-10-18
|
* - Patch #11510 by Adrian: turned a non-ANSI SQL query into ANSI SQL so it ↵Dries Buytaert2004-10-18
| | | | works with PostgreSQL.
* - Patch #11682: changed FILTER_DEFAULT_FORMAT to FILTER_FORMAT_DEFAULT to ↵Dries Buytaert2004-10-18
| | | | make the Blog API work.
* - Patch #11670 by TDobes: comment.module did not properly set a breadcrumb ↵Dries Buytaert2004-10-17
| | | | for creating/previewing new comments. The node on which your commenting and its location within the menu is not displayed. Instead, there is only a "Home" link. This is especially apparent when the "add new comment" form is set up to display on a separate page.
* - Patch #11505 by Steven: 'my account' information is not saved.Dries Buytaert2004-10-16
| | | | | | + Drupal 4.4 stored profile data in the serialized user->data column. Drupal 4.5 stores profile data in tables (but user->data is still available and used for other stuff, like locale or themes). The update from 4.4 to 4.5 didn't remove the old data from the user->data column properly, because there is no mechanism in user_save to do so (it did try to unset the fields, but this has no effect). + On registration, hook_user('insert') is invoked after saving the data column. This means that any module-specific data is put into the data field. We cannot move hook_user('insert') higher up, because before that point, we do not have a complete $user object yet.
* - Patch #11642 by Steven: when editing a user as an admin, you can choose ↵Dries Buytaert2004-10-16
| | | | the user's roles through form checkboxes. If the form validation fails and the form is redisplayed, the roles are lost. This is because the format for $user->roles is different from what form_checkboxes uses.
* - Fixed bug #9948: added some checks to system_setting_save() to avoid PHP ↵Dries Buytaert2004-10-16
| | | | warnings/errors.
* - Patch #10664 by TDobes: fixed collapsed comments + updated the code comments.Dries Buytaert2004-10-16
|
* search: Removing iso-8859-1 characters from update_index() and adding the ↵Steven Wittens2004-10-15
| | | | | | same stripping to do_search(). This fixes the embarrasing bug of not being able to search for "4.5.0" because it is indexed as "450".
* - Patch #9252 by TDobes: admins should be able to edit anonymous commenters' ↵Dries Buytaert2004-10-15
| | | | names.
* - Patch #11605 by TDobes: if a user happens to have uid=0 defined in their ↵Dries Buytaert2004-10-15
| | | | database, the name assigned to that user will always override any name submitted by an anonymous commenter. Checking against $user->uid instead of $user->registered_name fixes this problem.
* - Mofified patch #8862 by puregin: improved book module documentation.Dries Buytaert2004-10-15
|
* - Patch #11577 by drumm: changed t('ago') -> t('%time ago', ...) to make itDries Buytaert2004-10-15
| | | | translatable in languages such as Spanish.
* - Fixed bug #11312: menu caching to aggresively. I did not apply the proposedDries Buytaert2004-10-14
| | | | | patch but moved the menu-logic to the $may_cache clause and added some checks to avoid SQL overhead. I think this is the most performant solution.
* - Patch #10869 by JonBob: the menu.module forget the parent item on form error.Dries Buytaert2004-10-14
|
* - Patch #10677 by drumm: removed dead code. Leftover.Dries Buytaert2004-10-14
|
* #10677: Confirmation when deleting a block + unifying confirmation screens.Steven Wittens2004-10-14
|
* fixing typoes.Steven Wittens2004-10-14
|
* Theme system bug: only show search box if search.module is enabled.Steven Wittens2004-10-14
|
* #6595: Unifying profile.module textbox widths with user.module.Steven Wittens2004-10-13
|
* #11503: Fixing bad t()Steven Wittens2004-10-13
|
* - Modified patch #10424 by Jeremy: deleting terms can orphan child terms in ↵Dries Buytaert2004-10-13
| | | | | | the database. I rewrote this patch for simplicity.
* - Patch #11530 by Frodo: fixed long filter tips.Dries Buytaert2004-10-13
|
* - Modified patch #10613 by killes: generate a 'page not found'-page when a ↵Dries Buytaert2004-10-12
| | | | requested node does not exist. I modified the patch to avoid duplicate 'not found'-checking in the second bulk.
* - Patch #11298 by nato: the function _forum_topics_read was not returning ↵Dries Buytaert2004-10-12
| | | | only nodes of type 'forum' resulting in the forum overview listing counting all node types as topics; attached patch modifies queries to return counts of only 'forum' type nodes.
* #11503: consistency improvements by StefanSteven Wittens2004-10-12
|
* #11503: (more) missing t()Steven Wittens2004-10-12
|
* #11503: missing t() in throttle and filter modules.Steven Wittens2004-10-12
|
* - Bugfix: provide an absolute URL to the 'ping servers'.Dries Buytaert2004-10-10
|
* - Code improvement: removed some redundant code from the node module.Dries Buytaert2004-10-10
|
* - Orphaned the node_link() hook as per #9769.Dries Buytaert2004-10-10
|