1. 19 May, 2001 2 commits
    • Dries's avatar
      · 34af2a3a
      Dries authored
      - Rewrote the cron system.  Removed cron.module and moved all cron
        related options to settings.module.  Cron was a confusing thing:
        it has been made simpler both in terms of code and configuration.
         + You had to rehash your modules to make the cron show up in
           the list.  This is no longer required.
         + You couldn't tell what cron "watchdog" or cron "story" were
           up to.  Instead, we now display a clear description message
           for every cron involved.
         + The user interface of setting.module - and the admin section
           in general, looks a bit ackward but I couldn't care less and
           don't want to see this improve at the time being.
      - Improved setting.module:
         + Now uses variable_set().
         + Added some help and documentaition on how to setup cron.
      - Improved ./export.
      - Updated CHANGELOG.
      - I'm now going to look into UnConeD's question with regard to
        check_output() and $theme->node(), as well as the filter and
        macro stuff.  I'll probably be fine-tuning setting.module a
        bit more on my way.
    • Steven Wittens's avatar
      There was an "echo $story->cid;" after the date in $theme->story, which caused... · c5f9c709
      Steven Wittens authored
      There was an "echo $story->cid;" after the date in $theme->story, which caused date/times for stories to appear like:
      on Tuesday, 05/15/2001 - 18:393
      on Friday, 05/11/2001 - 07:033
  2. 18 May, 2001 4 commits
  3. 17 May, 2001 6 commits
  4. 16 May, 2001 4 commits
    • Dries's avatar
      · 6f02738c
      Dries authored
      - Removed the "history"-field from the SQL table "users" and added
        this information to the "users"-field in both nodes and comments.
        This database/table change reduces the number of SQL queries and
        makes Drupal scale better where a lot of voting/moderation takes
        place.  Last but not least it can be considered a new and better
        foundation for future moderation metrics / algorithms.  In other
        words: it is plain better.
          --> oops, all voting/moderation results will be lost!
          --> requires database update, see "2.00-to-x.xx.sql"!
      - Updated database/database.mysql
    • Dries's avatar
      · 0b13183e
      Dries authored
      - Fixed warning in headline_admin_add().
        (reported by Remco)
    • natrak's avatar
    • Dries's avatar
      · ced0838a
      Dries authored
      - Fixed bug in path_uri()
  5. 15 May, 2001 5 commits
    • Dries's avatar
      · 1022eb61
      Dries authored
      - Drastically simplified the node_save() API, which should make the
        node-forms more secure.  Updated "node.module" and "queue.module"
        to work with the new API.
        The upgrade script, 2.00-to-x.xx.php, is still broken and needs
    • Dries's avatar
      · a669485b
      Dries authored
      - Renamed ./themes/jeroen2/ in ./themes/yaroon/ (again).
    • Dries's avatar
      · 14ddbc47
      Dries authored
      - Created 2 new functions:
          + path_uri(): returns the fully-qualified URI of your drupal site.
          + path_img(): returns the image directory or http://image-server.com/
                        in case you prefer to load-balance bandwidth usage.
        Replaced all occurences of the variable "site_url" with path_uri()
        and removed "site_url" from "setting.module".
      - Drastically simplified the node_save() API, which should make the
        node-forms more secure.  Updated "story.module", "book.module",
        "forum.module", "page.module" and "node.module" to reflect this
        change.  This is needs more testing so hit it, beat it, tease it.
      - Fixed an occasional glitch in the configuration file loading logic.
      - Made "queue.module" display an informative notice when an anonymous
        user tries accessing the moderation queue.
      - Updated the hard-coded information in drupal.module a bit.
    • Jeroen's avatar
      Hey, · 1da587a9
      Jeroen authored
      I updated the theme a bit, changed some variables and the drop down menu... I hope it works because frankly I haven't tested it... I mean, I tested it but not that toroughly. Hope with me :)
      I'll write a short story about it.
    • Dries's avatar
      · 05676ba0
      Dries authored
      - Fixed bug in theme Yaroon: the image-path was set to ./themes/jeroen2/
        instead of ./themes/yaroon/.
  6. 14 May, 2001 13 commits
    • Steven Wittens's avatar
      This is a major rewrite of the Goofy-theme.... the major problem with it was... · bd76632b
      Steven Wittens authored
      This is a major rewrite of the Goofy-theme.... the major problem with it was that it required a *lot* of overhead for a simple box, due to the fancy borders. To counter this, I've added simple functions in JavaScript to output the actual boxes, while the PHP functions themselves output simple function calls to them.
      The result is an incredible loss of size, especially on larger pages.... on a typical drupal page (header/footer, 1 story box, 1 comment mod box, 4 comments and 1 side box) the difference was 23K vs 15K, which I find quite good. You should also notice how big some pages were in the old version, which are still tiny in the new version.
      There are a few problems though:
       - You can't use it in some parts of the admin section (preview a story), since admin.php leaves out the header(), so the html-generating functions are not included there.
       - Because drop can occasionally insert HTML directly, without going through themes, I have to wrap each box in its own <script> tag. The optimization would benefit even more if i could group all function calls in one <script> tag, but it's not possible at the moment.
      I suggest you take a snapshot of an original goofy-page (drop.org) and compare it with the output of this one (cvs-version) to see how it works exactly. And finally, it works on both IE5 and NS4, so I assume it does on most browsers.
    • Steven Wittens's avatar
    • Steven Wittens's avatar
      I've restored it to its previous condition... apparently the database.mysql is... · 2baf9ac1
      Steven Wittens authored
      I've restored it to its previous condition... apparently the database.mysql is terribly outdated (didn't know this), so we should probably just wait till the final release to update it.
    • Steven Wittens's avatar
      Hmmm the "promote" column was missing... · 1e8b5a92
      Steven Wittens authored
    • Steven Wittens's avatar
      Typo · 9164b903
      Steven Wittens authored
    • Steven Wittens's avatar
      I think I've fixed the "chicken and egg"-problem when creating the first user... · 9790dc10
      Steven Wittens authored
      I think I've fixed the "chicken and egg"-problem when creating the first user account. I've made a snippet that deducts the host/path combo from $HTTP_HOST and $REQUEST_URI, which seems to be working OK over here. Try it out...
    • Dries's avatar
      · bb3ccea5
      Dries authored
      - Fixed typo: "$language" should have been "$languages".
    • Dries's avatar
      · e9295e20
      Dries authored
      - Small improvement (by Natrak) to display the correct CVS username.
    • Dries's avatar
      · e22f1042
      Dries authored
      - Renamed "hostname.conf" to "setting.php" (cfr. "setting.module").
        Note that - when upgrading - you have to rename all your existing
        configuration files to reflect this change:
           yourdomain.com.conf -> yourdomain.com.php
        By default, i.e. if no configuration file is found, setting.php
        will be used instead.  Using the ".php"-extension will fix most
        configuration/security issues with .htaccess-files ...
      - Removed some dead code from forum.module.
    • Steven Wittens's avatar
      Updated headline.module: · 8ec10183
      Steven Wittens authored
       - Added edit capabilities (allows you to view the backend-file url as well, wasn't possible before)
       - Docs: replaced "http://yourname.com/export/headlines.rdf" with the correct URL (using the site_url setting).
    • Kjartan's avatar
    • Kjartan's avatar
    • Dries's avatar
      · 95195155
      Dries authored
      - Removed the <PRE></PRE>-tags from cvs.module to make the CVS log
        messages wrap nicely on all browsers.  (requested by Steven)
  7. 13 May, 2001 6 commits