1. 18 Nov, 2004 2 commits
  2. 17 Nov, 2004 1 commit
    • Dries's avatar
      · 38c91a8d
      Dries authored
      - Patch #8506 by Gerhard: added basic node_load() caching.
      38c91a8d
  3. 15 Nov, 2004 2 commits
  4. 04 Nov, 2004 2 commits
    • Dries's avatar
      · 14353d18
      Dries authored
      - Slightly modified the API of node_title_list(): it will no longer call comment_num_all() for each node.  Instead, it checks for the availability of the node_comment field, available through the node_comment_statistics table.  If updated the Doxygen comments accordingly.
      
        People were using node_title_list() without realizing it would do numereous database queries.  This change greatly reduces the number of database queries required to render the node statistics block as well as to render the forum block (coming up next).
      
        If your module is using node_title_list() and you want the number of comments to be shown as title attributes, chances are you have to update your SQL query to join node_comment_statistics.
      14353d18
    • Dries's avatar
      - Patch #12232 by Steven: more search improvements: · b6eee48c
      Dries authored
         + When a comment is posted, a node needs to be re-indexed. Luckily, we can use node_comment_statistics for this easily.
         + When a node is deleted, it should be deleted from the search index as well.
         + The search wipe didn't properly remove links to nodes from the index.
         + Section url was faulty in _help.
         + Minor code rearrangement.
      b6eee48c
  5. 03 Nov, 2004 1 commit
    • Dries's avatar
      - Patch by Steven: · bd6ae693
      Dries authored
         + Display 'friendly' name rather than module name in search watchdog
           messages.
         + Remove left-over from search_total table.
         + Add index wipe button to the admin
         + Moved the admin to admin/settings/search
         + Prevented menu bug when node modules update the breadcrumb in view
           (thanks JonBob).
         + Changed search_total table's word key to PRIMARY.
      bd6ae693
  6. 31 Oct, 2004 2 commits
    • Dries's avatar
      - Patch #11875 by Neil Drumm: block module configuration improvements. · b3adcf05
      Dries authored
      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.
      b3adcf05
    • Dries's avatar
      - Patch #12232 by Steven/UnConed: search module improvements. · 8daed9cb
      Dries authored
      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.
      8daed9cb
  7. 29 Oct, 2004 1 commit
  8. 19 Oct, 2004 1 commit
  9. 16 Oct, 2004 1 commit
    • Dries's avatar
      · 7ebd772f
      Dries authored
      - Patch #10664 by TDobes: fixed collapsed comments + updated the code comments.
      7ebd772f
  10. 12 Oct, 2004 1 commit
  11. 10 Oct, 2004 1 commit
  12. 09 Oct, 2004 1 commit
  13. 04 Oct, 2004 2 commits
  14. 28 Sep, 2004 1 commit
  15. 21 Sep, 2004 1 commit
    • Dries's avatar
      · 4f5164c9
      Dries authored
      - Patch #10977 by Gerhard: added missing node access controls for RSS feeds.
      4f5164c9
  16. 20 Sep, 2004 2 commits
  17. 16 Sep, 2004 1 commit
    • Dries's avatar
      · 5c7983c4
      Dries authored
      - Patch #8179 by JonBob: reintroduced menu caching.
      5c7983c4
  18. 14 Sep, 2004 2 commits
  19. 09 Sep, 2004 2 commits
  20. 08 Sep, 2004 1 commit
  21. 06 Sep, 2004 1 commit
  22. 25 Aug, 2004 1 commit
  23. 23 Aug, 2004 1 commit
  24. 22 Aug, 2004 1 commit
  25. 21 Aug, 2004 2 commits
    • Dries's avatar
      · 8b8a2bd6
      Dries authored
      - Patch #10187 by JonBob: bugfix: added missing permission check.
      8b8a2bd6
    • Dries's avatar
      · 94e30bf7
      Dries authored
      - Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
      94e30bf7
  26. 19 Aug, 2004 1 commit
    • Dries's avatar
      · fa25c7a0
      Dries authored
      - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
      fa25c7a0
  27. 18 Aug, 2004 1 commit
    • Dries's avatar
      · 83a739bd
      Dries authored
      - Code improvements by Stefan: made all status messages consistent (and easier to translate).
      83a739bd
  28. 17 Aug, 2004 1 commit
    • Dries's avatar
      · 78b052a6
      Dries authored
      - The upload (filehandler) module has landed!
      78b052a6
  29. 16 Aug, 2004 3 commits
    • Dries's avatar
      · 451821ab
      Dries authored
      - Patch #10110 by JonBob: code improvement: looks like we have an artifact from before clean URLs in node.module. This patch removes the global variable $mod, which is no longer set and not necessary here anyway.
      451821ab
    • Dries's avatar
      · 2f33b939
      Dries authored
      - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
      2f33b939
    • Dries's avatar
      · ef07dd08
      Dries authored
      - Patch #10102 by Gerhard: removing some cruft from the node module!
      ef07dd08