Skip to content
  1. May 29, 2002
  2. May 26, 2002
    • Dries Buytaert's avatar
      · 0908a06c
      Dries Buytaert authored
      - Replaced a "mysql_query()" by a "db_query" as identified by Moshe (see
        his sandbox) and fixed some typos in the module's comments.
      
        * Moshe: what are the $wordlist changes you made?  Mind to elaborate a
                 bit on those?
      
        * TODO: validate the SQL queries used in the search module using a SQL
                validator tool - I wonder whether they are ANSI compliant.
      
      
      -    // If the word is preceeded by a "+", then this word is required, and
      +    // If the word is proceeded by a "+", then this word is required, and
      
      -        $inputword = ("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)");
      -        mysql_query($inputword);
      +        db_query("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)");
             }
      
      -      // Zap the weighted words array, so we dont add multiples.
      +      // Zap the weighted words array, so we don't add multiples.
      0908a06c
    • Dries Buytaert's avatar
      · 41914814
      Dries Buytaert authored
      - Bugfix: just before submitting a node, one could change the content of
        that node to something that would not have passed the preview pages.
      
        Patch by Revar:
      
          "If you uploaded a valid file, and filled out the form right, you will
          get a Submit button.  The problem comes in when you choose a different
          file to upload, and then click Submit.  The filestore_save() function
          cannot do proper validation and handling of the form data, as it only
          returns a list of what node fields to save.  On error, a node entry is
          still created, but with only the nid field set.  The user can't be
          forced to fix their bad entry."
      
          "Add a _form_validate() node hook to process and validate any form
          results.  That way even on Submit, the node code would check the
          validity of the data, and if bad, it could drop you back to the preview
          screen with the current bad data warnings.  Have it return an array of
          errors that can be passed in as $error to the _form() hook.  If it
          returns a null array, then there's no errors, and the submit can go
          through."
      41914814
    • Dries Buytaert's avatar
      · ad83b449
      Dries Buytaert authored
      - Bugfix: found a bug with the 'create poll' title attribute.  It was
        getting added to the <a> tag as '0="title" 1="Add a new poll."'.
      
        Patch by Revar.
      ad83b449
  3. May 24, 2002
  4. May 23, 2002
    • Kjartan Mannes's avatar
      - pending user accounts will not be notified to the site_email. · 66e1bbfb
      Kjartan Mannes authored
      - fixed access checks on the register form, do this before you enter the
        _save function. If registrations are disabled the register link will
        no longer show (again).
      - changed &#187 to &raquo, using the names of entities are better than
        the numbers.
      - fixed user information being set when account is registered (properly this
        time, really!)
      - reversed the if(!...) commit.
      - node_add specifies more defaults.
      - added link to blog entries from user page.
      66e1bbfb
  5. May 22, 2002
  6. May 21, 2002
  7. May 20, 2002
    • Steven Wittens's avatar
      Locale.module: · 52bfb710
      Steven Wittens authored
      Added a piece of code to insert common strings (currently weekdays and month-names) into the locale table. It's triggered whenever you visit the locale admin pages, but executes only once.
      52bfb710
    • Kjartan Mannes's avatar
    • Kjartan Mannes's avatar
      - tweaking the links. Too many of them. · 34650f8f
      Kjartan Mannes authored
      34650f8f
    • Kjartan Mannes's avatar
      - fixing perma links. · 33604ae0
      Kjartan Mannes authored
      33604ae0
    • Kjartan Mannes's avatar
      - bug fix. · 59b9ebaa
      Kjartan Mannes authored
      59b9ebaa
    • Dries Buytaert's avatar
      - Fixed typo in the "request new password" e-mail: · 6d3be31e
      Dries Buytaert authored
      diff -r1.69 user.module
      869c869
      <       $body = strtr(variable_get("user_mail_pass_body", t("%username,\n\nHere is your new password for %site. You may now login to %uri". drupal_url(array("mod" => "user", "op" => "login"), "module") ." using the following username and password:\n\nusername: %username\npassword: %password\n\nAfter logging in, you may wish to change your password at %uri". drupal_url(array("mod" => "user", "op" => "edit"), "module") ."\n\nYour new %site membership also enables to you to login to other Drupal powered web sites (e.g. http://www.drop.org) without registering. Just use the following Drupal ID and password:\n\nDrupal ID: %username@%uri_brief\npassword: %password\n\n\n--  %site team")), $variables);
      ---
      >       $body = strtr(variable_get("user_mail_pass_body", t("%username,\n\nHere is your new password for %site.  You may now login to %uri". drupal_url(array("mod" => "user", "op" => "login"), "module") ." using the following username and password:\n\nusername: %username\npassword: %password\n\nAfter logging in, you may wish to change your password at %uri". drupal_url(array("mod" => "user", "op" => "edit"), "module") .".\n\nYour new %site membership also enables you to login to other Drupal powered web sites (e.g. http://www.drop.org/) without registering.  Just use the following Drupal ID and password:\n\nDrupal ID: %username@%uri_brief\npassword: %password\n\n\n-- %site team")), $variables);
      6d3be31e
    • Kjartan Mannes's avatar
      - changing sort order. · 3d5d2476
      Kjartan Mannes authored
      3d5d2476
    • Dries Buytaert's avatar
      · f3c87571
      Dries Buytaert authored
      - Ran the code through 'scripts/code-clean.sh': removed trailing whitespace
        (and possibly tabs).
      f3c87571
    • Dries Buytaert's avatar
      · d895ef8c
      Dries Buytaert authored
      - Bugfix: the tracker module was using an incorrect time interval to show
                recent/new comments.  Patch by Gerhard.
      d895ef8c
  8. May 19, 2002
    • Kjartan Mannes's avatar
      - updating all nodes to use taxonomy terms. · c9871b78
      Kjartan Mannes authored
      - updated node modules not to cause errors when taxonomy module is disabled.
      - added %date variable to user mail configuration.
      - added hyperlinks to admin.php?mod=system (site configuration) for easy access.
      - usual coding style and xhtml fixes.
      c9871b78
  9. May 17, 2002
  10. May 16, 2002
  11. May 15, 2002
  12. May 14, 2002
  13. May 13, 2002
  14. May 12, 2002