Skip to content
  1. May 29, 2002
  2. May 26, 2002
    • Dries Buytaert's avatar
      · 2156045a
      Dries Buytaert authored
      - Change to use the proper db_query syntax.  Patch by Marco.
      2156045a
    • 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 25, 2002
    • Dries Buytaert's avatar
      · e426775f
      Dries Buytaert authored
      - Bugfix.  When a theme does no longer exist on disk, it should not be
        returned by theme_list() as it breaks the site ...  The attached patch
        prevents this from happening but does not remove the theme from the system
        table in the SQL database - if the theme is removed from the database upon
        viewing the themes administration page (or another trigger), I guess that
        is fine.
      
      Kjartan: my fix is the right thing to apply because theme_list() is used
               elsewhere where it requires to return a list of existing themes.
               Maybe it's a little sad but the current theme loading code might
               be slower and more complex than the old Drupal 3 theme loading
               code ... ?
      e426775f
  4. May 24, 2002
    • Dries Buytaert's avatar
      · 04e491f8
      Dries Buytaert authored
      - Now all themes use the new taxonomy stuff, we can remove the depricated
        function node_index() - it was an empty function.
      04e491f8
    • Dries Buytaert's avatar
      · 73f9ffc8
      Dries Buytaert authored
      - Removed a "nowrap" attribute to make theme Marvin look better on IE6.
        (Suggested by UnConed.)
      
      - Made theme Marvin support the taxonomy module.
      73f9ffc8
    • Kjartan Mannes's avatar
      - the user_admin_edit() would loose the theme settings. · f711bace
      Kjartan Mannes authored
      - added some more help text to page.module.
      f711bace
  5. May 23, 2002
    • Kjartan Mannes's avatar
      - Coding style changes. · 793db831
      Kjartan Mannes authored
      - Included modules will now cause parse errors instead of them being supressed.
        Was making debugging really hard.
      793db831
    • 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
  6. May 22, 2002
  7. May 21, 2002
  8. 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
    • Steven Wittens's avatar
      Forgot to use l() for the taxonomy links. · 037ad054
      Steven Wittens authored
      037ad054
    • Kjartan Mannes's avatar
      - tweaked password changes. · 367ae7a6
      Kjartan Mannes authored
      - changed the meta -> taxo to append terms instead of overwriting.
      - added more warnings to file.
      367ae7a6
    • Kjartan Mannes's avatar
      - added taxonomy output to BaseTheme. · 12713bee
      Kjartan Mannes authored
      12713bee
    • Kjartan Mannes's avatar
      - bug fix. · 59b9ebaa
      Kjartan Mannes authored
      59b9ebaa
    • Steven Wittens's avatar
      bf2b4f0b
    • 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
    • Dries Buytaert's avatar
      - Updated CHANGELOG some more. · b9f72e1a
      Dries Buytaert authored
      diff -r1.46 CHANGELOG
      5c5
      < - added weblogs.module.
      ---
      > - added weblogs.module.
      36a37
      > - improved comment module to mark new comments.
      37a39
      > - added an update script that lets you upgrade from previous releases or on a day to day basis when using the development tree.
      40c42
      <     * added proper indexing.
      ---
      >     * added indexing.
      44c46
      <     * added support for session ids in URLs instead of cookies.
      ---
      >     * added support for session IDs in URLs instead of cookies.
      48c5
      <     * added url abstraction for links.
      ---
      >     * added URL abstraction for links.
      b9f72e1a
  9. May 19, 2002
  10. May 17, 2002