1. 07 Aug, 2004 5 commits
    • Steven Wittens's avatar
      - Adding $id$ · 1e1144f1
      Steven Wittens authored
      1e1144f1
    • Steven Wittens's avatar
      Cron.php · c3737f51
      Steven Wittens authored
      - #1322: Adding a warning if the cron fails to complete.
      - Simplifying odd commenting syntax
      c3737f51
    • Steven Wittens's avatar
      ddb31aaf
    • Dries's avatar
      · bdbc34c9
      Dries authored
      - Patch #6760 by JonBob: refactored the taxonomy module URLs to be nicer, 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.
      bdbc34c9
    • Dries's avatar
      · 6f024382
      Dries authored
      - Made the taxonomy module use drupal_goto() to fix up the interaction behavior.
      6f024382
  2. 06 Aug, 2004 9 commits
  3. 05 Aug, 2004 5 commits
    • Dries's avatar
      · 35cad55e
      Dries authored
      - Patch #8523 by killes: avoid profile data being deleted when requesting a new
        password.
      35cad55e
    • Dries's avatar
      · f971b768
      Dries authored
      - Patch by Jeremy: usability improvements for the statistics.module's GUI.
      f971b768
    • Dries's avatar
      · b47e4e16
      Dries authored
      - Patch #9794 by JonBob: a bug introduced late in the review process makes individual node views inaccessible to users who should have permission. This does not affect node listings, so was missed.
      b47e4e16
    • Dries's avatar
      · c6b1eaa2
      Dries authored
      - Patch #9775 by TDobes: consistency operation.  Changed to "edit foo," "delete foo," and "view foo" links into simply "edit," "delete," and "view".
      c6b1eaa2
    • Steven Wittens's avatar
      - #6400 - Nicer arrows for pushbutton template · 54d45d6e
      Steven Wittens authored
      - Removing gAMA chunk from xtemplate logo.png for less to avoid more gamma issues.
      54d45d6e
  4. 04 Aug, 2004 8 commits
  5. 03 Aug, 2004 3 commits
    • Dries's avatar
      · c0f6fcca
      Dries authored
      - Patch #7336 by TDobes: in various parts of Drupal, we use the title attribute for links to provide a slightly more detailed explanation as to the purpose of a link or where it goes.
      c0f6fcca
    • Dries's avatar
      - Partial patch #9643 by Bart: · 254256de
      Dries authored
         + 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.
      254256de
    • Dries's avatar
      · 0582a304
      Dries authored
      - Patch by Jeremy: statistics module improvements.
      0582a304
  6. 01 Aug, 2004 3 commits
    • Dries's avatar
      · a7a5f51c
      Dries authored
      - Simplified the block help a bit by removing some dated information.  It
        should be simplified more.
      a7a5f51c
    • Dries's avatar
      · 4aefe695
      Dries authored
      - Fixed broken link + removed redundant form descriptions (there is no point
        in repeating the title).
      4aefe695
    • Dries's avatar
      619bb4a4
  7. 31 Jul, 2004 6 commits
    • Dries's avatar
    • Dries's avatar
      · 64dae93a
      Dries authored
      - Patch #9654 by Bart: since the $category paramater was added to user_save,
        update 80 (moving the profile fields to their own tables) no longer works.
      64dae93a
    • Dries's avatar
      - Patch #9649 by JonBob: fixed a buglet in the recent book patch. It tried · f97c3367
      Dries authored
        to set book breadcrumbs for nodes that weren't books.
      f97c3367
    • Dries's avatar
      - Patch by Matt: fixed small typo. · ca3e769f
      Dries authored
      ca3e769f
    • Dries's avatar
      · 9945bca5
      Dries authored
      - Patch #9650 by Adrian: this change introduces a module_load function, 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.
      9945bca5
    • Dries's avatar
      · 202eee42
      Dries authored
      - Patch #9543 by JonBob: added node-level access control!
      202eee42
  8. 30 Jul, 2004 1 commit
    • Dries's avatar
      · aed1b0ca
      Dries authored
      - Patch #5347 by JonBob:
      
      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.
      aed1b0ca