1. 08 Jun, 2002 3 commits
    • Dries Buytaert's avatar
      · 7d9fc047
      Dries Buytaert authored
      - Clarified the help texts a bit.
    • Dries Buytaert's avatar
      · 19736b42
      Dries Buytaert authored
      - Removed the redundant option to enable or disable the locale module.
    • Dries Buytaert's avatar
      · f770b786
      Dries Buytaert authored
      - Small detail in the help.
  2. 06 Jun, 2002 2 commits
    • Dries Buytaert's avatar
      · 68129fd5
      Dries Buytaert authored
      - Changed some "default NULL"s to "default NOT NULL"s as this only works on
        recent MySQL versions.  I included the diffs for review.
      -  update_sql("CREATE TABLE search_index (word varchar(50) default NULL, lno in
      +  update_sql("CREATE TABLE search_index (word varchar(50) default NOT NULL, ln
      -  word varchar(50) default NULL,
      -  lno int(10) unsigned default NULL,
      -  type varchar(16) default NULL,
      -  count int(10) unsigned default NULL,
      + word varchar(50) NOT NULL,
      + lno int(10) unsigned NOT NULL,
      + type varchar(16) default NULL,
      + count int(10) unsigned default NULL,
    • Dries Buytaert's avatar
      · 3eb607b8
      Dries Buytaert authored
      - The Drupal module is no longer required.
  3. 04 Jun, 2002 2 commits
  4. 02 Jun, 2002 1 commit
  5. 01 Jun, 2002 6 commits
  6. 31 May, 2002 4 commits
  7. 30 May, 2002 1 commit
    • Dries Buytaert's avatar
      · af075abb
      Dries Buytaert authored
      - Fixed but #197: "Shouldn't going to index.php?or=xxx show all content
        for the term rather than only promoted content?".  Reported by Barry,
        fixed by Revar's patch.
  8. 29 May, 2002 5 commits
  9. 26 May, 2002 4 commits
    • Dries Buytaert's avatar
      · 2156045a
      Dries Buytaert authored
      - Change to use the proper db_query syntax.  Patch by Marco.
    • 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.
    • 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
    • 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.
  10. 25 May, 2002 1 commit
    • 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 ... ?
  11. 24 May, 2002 3 commits
    • 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.
    • 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.
    • 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.
  12. 23 May, 2002 2 commits
    • 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.
    • 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.
  13. 22 May, 2002 2 commits
  14. 21 May, 2002 4 commits