1. 09 Jun, 2002 4 commits
    • Dries Buytaert's avatar
      · 10f808b3
      Dries Buytaert authored
      - Updated the poll documentation.  Patch by Scott.
    • Dries Buytaert's avatar
      · 366118ce
      Dries Buytaert authored
      - Made a small cosmetic change to the modules admin page.
    • Dries Buytaert's avatar
      · 359ff953
      Dries Buytaert authored
      - Some small editorial changes to the user module.
    • Dries Buytaert's avatar
      · 2d5630bb
      Dries Buytaert authored
      - Included Moshe's *excellent* user module documentation.
        NOTE: I remove the gravity stuff as this optional and already documented
               in rating.module.
  2. 08 Jun, 2002 10 commits
    • Kjartan Mannes's avatar
      - improved module descriptions. · 5d36c704
      Kjartan Mannes authored
      - removed admin options for queue and comment module if the modules are not
      - nodes are now auto promoted when queue module isn't enabled.
      - moderation result block is now visible by the node author.
    • Dries Buytaert's avatar
      · 37ee9eed
      Dries Buytaert authored
      - Bugfix: we now keep a per-node $date cache in comment_is_new().  Suggested
        by Natrak.
    • Dries Buytaert's avatar
      · 291d119b
      Dries Buytaert authored
      - Removed non-existing theme from both update.php and database.mysql.  Patch
        by Marco.
    • Dries Buytaert's avatar
      · 92665ec0
      Dries Buytaert authored
      - Bugfix: clicking "help" on the "site configuration" didn't show any help.
    • Dries Buytaert's avatar
      · e6096b60
      Dries Buytaert authored
      - Extended the blog module documentation with input from the Drupal
        handbook.  The documentation is not particulary exciting/good but
        it is better than what it used to be.
    • Dries Buytaert's avatar
      · 1c929509
      Dries Buytaert authored
      - Removed the redundant "enable/disable" setting from the Blogger API module.
      - Revised the documentation: fixed about 5 typos, removed the bit about
        downloading the module from the Drupal contributions repository,
        updated the installation guidelines, etc.
    • Dries Buytaert's avatar
      · 2b3ca2d3
      Dries Buytaert authored
      - More documentation updates.  Added "Requires crontab" message to the
        settings that require crontab, make some things more consistent, etc.
    • 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.
  3. 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.
  4. 04 Jun, 2002 2 commits
  5. 02 Jun, 2002 1 commit
  6. 01 Jun, 2002 6 commits
  7. 31 May, 2002 4 commits
  8. 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.
  9. 29 May, 2002 5 commits
  10. 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.
  11. 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 ... ?