1. 29 Jun, 2001 1 commit
    • Dries's avatar
      · 9c43e8fc
      Dries authored
      Extremely large commit:
      
      - Fixed tiny quote problem in account.php.
      
      - Fixed tiny bug in comment.inc.
      
      - Fixed tiny bug in comment.module.
      
      - Fixed tiny bug in meta.module.
      
      - Simplified user_access() API.
      
      - Rewrote link system: still needs fine-tuning and testing so don't
        upgrade if you are running a production site. ;)
      
        Updated all modules and themes to reflect this change.  All other
        themes and modules need updating too!
      9c43e8fc
  2. 29 May, 2001 1 commit
    • Dries's avatar
      · 1a888395
      Dries authored
      - Removed a few lines of dead code.
      1a888395
  3. 20 May, 2001 1 commit
    • Dries's avatar
      CHANGES · 20397ad3
      Dries 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
  4. 19 May, 2001 1 commit
    • Dries's avatar
      · 34af2a3a
      Dries 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
  5. 18 May, 2001 2 commits
  6. 05 May, 2001 1 commit
    • Dries's avatar
      · be8e898d
      Dries authored
      - Uhm.  Rewrote the module system: less code clutter, less run-time
        overhead, and a lot better (simpler) module API.  I had to edit a
        LOT of files to get this refactored but I'm sure it was worth the
        effort.
      
        For module writers / maintainers:
      
        None of the hooks changed, so 95% of the old modules should still
        work.  You can remove some code instead as "$module = array(...)"
        just became obsolete.  Also - and let's thank God for this - the
        global variable "$repository" has been eliminated to avoid modules
        relying on, and poking in drupal's internal data structures.  Take
        a look at include/module.inc to investigate the details/changes.
      
      - Improved design of the content modules "story", "book" and "node"
        (to aid smooth integration of permisions + moderate.module).  I'm
        still working on the permissions but I got side tracked for which
        I "Oops!".
      be8e898d
  7. 23 Apr, 2001 1 commit
    • Kjartan's avatar
      Changes · bd8952eb
      Kjartan authored
      - Fixed an error in module_rehash_blocks() that didn't handle '-symbols.
      - Removed some module depencies. Drupal will now run (sorta) even if there
        are no modules installed.
      - Changed theme_link() to check if certain modules are installed before
        offering a link to them.
      
      Todo
      - Check all SQL queries to make sure they are addslashes'ed correctly.
      - Check the effects of changing the PHP magic_quotes setting.
      - Make the theme_link() function to be customizable either via the admin
        page and/or in the module itself.
      bd8952eb
  8. 19 Apr, 2001 1 commit
    • Dries's avatar
      · 78cd8cda
      Dries authored
      - Addition: added a new function "module_hook($module, $hook)" to check
        wether a module implements a certain hook or not.
      78cd8cda
  9. 10 Mar, 2001 1 commit
    • Dries's avatar
      · accd5f0c
      Dries authored
      - applied David Norman's patch to turn all <?'s into fully qualified
        <?php's.
      accd5f0c
  10. 07 Mar, 2001 1 commit
    • Dries's avatar
      · f516626a
      Dries authored
      A rather large and important update:
      
      revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks).  For drupal's sake, try to screw something up.  See the mail about PHPNuke being hacked appr. 6 days ago.  The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required).  I beg you to be evil.  Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)
      f516626a
  11. 04 Feb, 2001 1 commit
  12. 26 Jan, 2001 1 commit
    • Dries's avatar
      · d386c110
      Dries authored
      - removed redundant spaces
      d386c110
  13. 03 Jan, 2001 1 commit
    • Dries's avatar
      · 4572760e
      Dries authored
      A batch of preparations for release candidate 2:
      
       - expanded documentation
         (written by Jeroen)
       - fixed bug in includes/module.inc
       - fixed bug in modules/backend.class
       - renamed some of the SQL tables (!)
       - started making the diary.module truly modular (not finished yet)
       - renamed "admin_blocks" to "boxes"
       - added new functionality to "boxes": apart from PHP boxes, you
         can now create ASCII boxes as well as HTML boxes for those who
         are not confident with PHP.
         (requested by stalor)
       - added drupal-site module to keep track of known drupal sites
       - added small Perl script to generate encrypted CVS passwords
      4572760e
  14. 23 Dec, 2000 1 commit
    • Dries's avatar
      · 8d5b4e7b
      Dries authored
      - intermediate commit: see previous commit
      8d5b4e7b