Skip to content
Snippets Groups Projects
  1. May 27, 2001
  2. May 26, 2001
    • Dries Buytaert's avatar
      - Rewrote the headline module from scratch. Note that the old · 5158eb8a
      Dries Buytaert authored
        headline code is still in place 'till the new code has proven
        to be stable. See "syndication.module" for the new code.
      
        Changes:
      
         + Improved the parser and tested it against RSS 0.9, RSS 0.91,
           RSS 0.92, RSS 1.0, RDF and XML feeds.
      
         + Improved the administration interface.  It might be a bit fuzzy
           at first.  Maybe some native English like Julian, Michael (or any
           one else with knowledge in the field) can help out by suggesting
           better naming, terminology or descriptions - as well as by
           writing the help section for this module?  I'd have no idea how
           much this would be appreciated.
      
         + We can *easily* recognize new tags or extensions: we parse out
           "link", "title", "description" and "author" right now, but we
           will have to revise which tags to support and which not.  New
           tags can be added in less than 10 minutes (if you are familiar
           with the code).  Read: we have something we can build on.
      
         + Within each item, tags can now appear is random order which is
           or was not the case with the old headline code where we expect
           <link>s prior to <description>s for example.
      
         + Feed updates only (ie. always) happen through cron.  Neither do
           we use one global cron for updating all feeds; instead, every
           feed can specify his own update-interval.
      
         + Newly fetched headlines are "appended" to the pool of existing
           headlines (read: we don't replace the whole feed), and headlines
           automatically "expire" after x days or hours.  (Every headline
           has a timestamp.)
      
         + Got rid of backend.class; it is integrated in the module.
      
         + Switched to more generic names: "headline" became "item" and
           "backend" became "feed".  This should ease future non-headline
           oriented syndication.
      
         + You can associate attributes or keyword lists with every feed.
           At the moment new items will automatically inherit their feeds
           attributes but in future we can use heuristics to make these
           attributes "mutate" when and where we see fit.  The attributes
           can be maintained by hand as well.
      
         + We don't export any blocks yet; we will soon do as soon this
           new code has been tested for a bit more.  We will only export
           bundles though so if you want to export by feed/source, you
           will have to make a source-specific bundle.
      
      - Polished a bit on a few other modules: nothing major.
      5158eb8a
  3. May 25, 2001
    • Dries Buytaert's avatar
      · 21ea8abc
      Dries Buytaert authored
      - Wrapped the test URLs in urlencode()
      21ea8abc
    • Dries Buytaert's avatar
      · 0b32787a
      Dries Buytaert authored
      - Added a experimental index.module to try out some of the discussed
        techniques.  It does not work yet, nor is it integrated with the
        rest of the code.
      0b32787a
  4. May 24, 2001
    • Dries Buytaert's avatar
      · bfc897d5
      Dries Buytaert authored
      - Improved the rating module: made it possible to define "weights"
        for the different content types.  These weights are used when
        calculating each user's gravity.  This is a required step before
        we can even think of "nodifying" the diary or headline module.
      
      - Polished a bit more on the other modules' crons.
      bfc897d5
    • Dries Buytaert's avatar
      · c9c14ca5
      Dries Buytaert authored
      - Fixed a small glitch in the moderation queue.
      c9c14ca5
    • Dries Buytaert's avatar
      · 7b56d82a
      Dries Buytaert authored
      - Improved the crons and cron settings a bit.
      
      - Added a cron to queue.module to automatically discard or dump nodes
        older than x days.
      7b56d82a
    • Steven Wittens's avatar
      Hmmm for some reason the \r\n's in the poll output where being changed into... · bf3772ba
      Steven Wittens authored
      Hmmm for some reason the \r\n's in the poll output where being changed into <br>'s... is that because of the check_output() legacy functions inside the themes? In anycase, I removed em.
      bf3772ba
    • Dries Buytaert's avatar
      · 540fdfc0
      Dries Buytaert authored
      - Replaced $theme->story() by a more generic $theme->node().  All themes
        required an update (and so will your custom themes).
      540fdfc0
    • Dries Buytaert's avatar
      · b0288a46
      Dries Buytaert authored
      - Fixed small glitch in check_preview().
      
      - Updated CHANGELOG.
      b0288a46
  5. May 23, 2001
  6. May 22, 2001
  7. May 21, 2001
  8. May 20, 2001
    • Dries Buytaert's avatar
      · 532233a9
      Dries Buytaert authored
      - Removed includes/timer.inc: it has been integrated in common.inc.
      
      - Fixed a bug in node.php: UnConeD forgot to update 1 node_get_object().
      
      - I changed the look of theme_morelink() a bit: it might not look better,
        but at least the output is "correct".
      
      - Various small improvements.
      532233a9
    • Dries Buytaert's avatar
      · 4f1cf00f
      Dries Buytaert authored
      - Improved node_get() so that it will try to skip one additional query
        if possible (ie. to reduce the number of queries).
      
      - Automatically removed tabs and trailing spaces from the poll.module.
      4f1cf00f
    • Dries Buytaert's avatar
      · 6c3e94e3
      Dries Buytaert authored
      - Fixed small glitch in locale.module.
      6c3e94e3
    • Steven Wittens's avatar
      - Changed the node_get_object() and node_get_array() functions to allow multiple conditions · 27496c46
      Steven Wittens authored
      - Added the "delete" hook for node-modules. When called, a module should do additional clean-up if necessary.
      
      - Updated all node-modules
      27496c46
    • Dries Buytaert's avatar
      · db2a5697
      Dries Buytaert authored
      - Improved node_preview().  Fixes a problem with poll.module.
      db2a5697
    • Dries Buytaert's avatar
      CHANGES · 20397ad3
      Dries Buytaert authored
      - Redid settings.module and even renamed it to conf.module.
          * Settings are now grouped in basic categories like "system
            settings", "module settings" and "filters".
        * Added new settings to make Drupal easier to configure and
        to make some aspects like the watchdog scale better.
      
      - Renamed includes/settings.php to includes/conf.php.
      
      - Added filter support to conf.module and introduced filter hooks so
        modules can implement and export new filters.  Example filters are
        an HTML filter (implemented), a profanity filter, an url converter,
        ASCII smileys to images filter and so on ...
      
      - Reworked the check_* functions: user contributed content/input is
        only verified and filtered once in its lifespan.
      
      NOTES
      
      - Altough this is a large commit, no database changes are required.
      20397ad3
    • Steven Wittens's avatar
      - Fixed the errors when adding a new poll. · 3fbd49d7
      Steven Wittens authored
      - Cleaned up the coding style
      3fbd49d7
  9. May 19, 2001
    • Steven Wittens's avatar
      Added poll.module, a poll module :) · c0ecd46a
      Steven Wittens authored
      It's mainly intended as a sideblock-element as there's no real use in having them show up on the mainpage. There's no real poll-browsing system for now either.
      
      I still need to write documentation, and I'm not yet satisfied with the node-output (non-sideblock). I should be able to improve it once the $theme->nodebox ideas get finalized.
      c0ecd46a
    • Dries Buytaert's avatar
      · 34af2a3a
      Dries Buytaert authored
      CHANGES:
      
      - 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.
      
      
      TODO:
      
      - 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.
      34af2a3a
    • 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
      ...
      c5f9c709
  10. May 18, 2001
  11. May 17, 2001
    • Dries Buytaert's avatar
      · 031e4d42
      Dries Buytaert authored
      - Tidied up the field_get() API and improved the implementation of
        both field_set() and field_get().
      031e4d42
    • Dries Buytaert's avatar
      · e5c7aefa
      Dries Buytaert authored
      - Removed debug output.
      e5c7aefa
    • Dries Buytaert's avatar
      · 6c387962
      Dries Buytaert authored
      - Fixed bug in account.module.
      
      - Simplified field_set() API.
      
      - Made UnConeD's cool common timestamp format conform with the
        general coding style.  Sorry to be so picky about this but I
        really can't help it. ;)
      6c387962
    • Steven Wittens's avatar
      Improved and optimized format_interval() · e2f051b3
      Steven Wittens authored
      e2f051b3
Loading