Skip to content
  1. Aug 11, 2001
    • Dries Buytaert's avatar
      · 808b6b6c
      Dries Buytaert authored
      - Changed the authentication and login scheme as discussed on the mailing
        list.
      - Fixed the export function in book.module (patch my Julian).
      - Fixed the comment alignment (comments got truncated).
      808b6b6c
  2. Jul 25, 2001
    • Kjartan Mannes's avatar
      comment.inc · 1e5afb39
      Kjartan Mannes authored
      - removed comment_controls().
      - modified comment_render() to use $theme->comment_controls().
      
      theme.inc
      - added BaseTheme->comment_controls().
      
      locale.module
      - can now search for status independant of language.
      - string is now a regular expression. For wildcard searches do .*text.*.
      - can search in modules + pages, all modules or a specific module.
      
      account.php
      - fixed viewing other accounts info would show the active users name in the
        real name field.
      - now shows users recent contributions and comments (if the user has access to
        them).
      1e5afb39
  3. Jul 15, 2001
    • Dries Buytaert's avatar
      · f0867798
      Dries Buytaert authored
      - import.module:
         + added new "tab" to import.module called "news sources".
         + improvement to import.module navigation.
      
      - theme.inc:
         + renamed 'your contributions' to 'your submissions'.
      f0867798
  4. Jul 14, 2001
    • Dries Buytaert's avatar
      · e724f18d
      Dries Buytaert authored
      - blog.module:
         + added RSS 0.91(5) feeds to the blog module which makes it possible
           to both syndicate an particular user's latest blog entries, or the
           latest entries of all users.
      e724f18d
    • Dries Buytaert's avatar
      · b99d4d7a
      Dries Buytaert authored
      - theme system:
          + added $theme->images()
      
      - blog.module:
          + improved user-friendliness and rewrote most of the output routines
          + made quoted text /italic/ by default
          + integrated discussion system like it should
          + ...
      
      - marvin.theme:
          + small visual improvements
      b99d4d7a
    • Steven Wittens's avatar
      Update of the box function in themes to allow a difference in... · e62e3417
      Steven Wittens authored
      Update of the box function in themes to allow a difference in style/output/look of a box() depending on the position on the page.
      Basically this is a 'nice version' of a hack that you could do as a theme author.
      I've updated all the standard themes, but 3rd party themes will of course have to be updated by their authors, in the following manner:
      
      - Replace the box() declaration:
      < function box($subject, $content) {
      > function box($subject, $content, $region = "main") {
      
      - Replace the theme_account call:
      < theme_account($this);
      > theme_account("region", $this);
      
      Note that you'll have to replace "region" with the correct region that the box is placed in. However if you have a one-column theme, you should use "all", and not for example "left" (if all boxes are on the left).
      Usually the "region" here should be the same as the nearest theme_blocks() call.
      
      Those theme authors who want to can make boxes that appear in the center look different from those that appear in the sides for example.
      e62e3417
  5. Jul 07, 2001
    • Dries Buytaert's avatar
      · adfbda3d
      Dries Buytaert authored
      - Tidied up some stuff in account.php and theme.inc.
      - Tidied up the box() API.
      adfbda3d
  6. Jun 29, 2001
    • Dries Buytaert's avatar
      · 9c43e8fc
      Dries Buytaert 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
  7. Jun 23, 2001
    • Dries Buytaert's avatar
      · 5ff9dd65
      Dries Buytaert authored
      - Made it possible to enter longer username such as 'Gerhard K*llesreit'.
      
      - Updated database.mysql.
      5ff9dd65
  8. Jun 20, 2001
    • Dries Buytaert's avatar
      · 72065fb8
      Dries Buytaert authored
      - Added a brand-new access.module which allows you to manage 'roles'
        (groups) and 'permissions' ... (inspired by Zope's system).
      
          + Once installed, click the help-link for more information.
      
          + See updates/2.00-to-x.xx.sql for the SQL updates.
      
      - Modified loads of code to use our new access.module.  The system
        still has to mature though: new permissions have to be added and
        existing permissions need stream-lining.  Awaiting suggestions.
      
      - As a direct result of the new access system, I had to rewrite the
        way the top-level links in admin.php are rendered and displayed,
        and xhtml-ified admin.php while I was at it.
      
      TODO
      
      - Home-brewed modules need updating, home-brewed themes not.
        (Examples: file.module, trip_link.module)
      
      - As soon we *finished* the refactoring of the user system (KJ has
        been working on this refactoring already) we should consider to
        embed this role and permission code into account.module ...
      72065fb8
  9. Jun 17, 2001
    • Dries Buytaert's avatar
      · 3d73a48e
      Dries Buytaert authored
      - Merged "system settings" and "module settings" into one page.  IMHO
        it wasn't a good idea to split them up in first place, and it turned
        out to be quite hard to decide where to put some variables.
      
        Also moved some variables around and even renamed a few variables
        while doing so.
      
      - Added a page_header() and page_footer() to all top-level .php pages.
      3d73a48e
  10. Jun 15, 2001
    • Kjartan Mannes's avatar
      Changes · 7f58ef29
      Kjartan Mannes authored
      - Added a conf option to disable/enable user registrations.
      - Added a add account feature to account.module.
      - Moved some functions from account.php to account.module.
      
      Todo
      - Move most (all?) of account.php to account.module.
      7f58ef29
  11. Jun 13, 2001
    • Dries Buytaert's avatar
      · 2285afd1
      Dries Buytaert authored
      - Applied Remco's patch:
          the <LI>-bullets were not valid HTML and did only take up space.
      2285afd1
  12. Jun 12, 2001
  13. Jun 11, 2001
    • Dries Buytaert's avatar
      - Changed field_set(), field_get() and field_merge() to use ',' and · c56ee67e
      Dries Buytaert authored
        '=' instead of ';' and ':'.  It is considered to be more readable.
        --> A _first_ step towards and improved index.module.  Stay tuned
            for more.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
      - Changed all 'attribute' to 'attributes'.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
        + Important:
           This might require to ieni-wieni small update to your custom
           themes and/or node-related modules:
            - themes: node_index($node->attribute) -> node_index($node)
            - node modules: attribute -> attributes
      c56ee67e
    • Kjartan Mannes's avatar
      Changes · 8f7eddbe
      Kjartan Mannes authored
      - fixed the trailing | in some cases.
      - removed theme_morelinks().
      - added node_links().
      - simplified BaseTheme->links().
      - updated themes.
      
      Notes
      - the new links system is taking form, but concider it beta. There might still
        be some major changes ahead so I suggest waiting a little longer before
        modifying your theme to take advantage of it.
      8f7eddbe
  14. Jun 10, 2001
    • Dries Buytaert's avatar
      · d397bbe9
      Dries Buytaert authored
      This a rather large commit that needs a lot of fine-tuning.  If you
      update, you'll break your site as you need switching from structure
      to index.module: so this can be considered an intermediate commit.
      
      If you upgrade, and you are welcome to, just create a collection
      called "section" (for now) and assign your nodes some attributes
      in the described format.
      
      Feedback and bugreports are welcomed.  Questions will be answered.
      
      CHANGES:
      
      - comment system:
         + when replying to a node (rather then to a comment), that
           node is displayed above the reply form.
         + when replying to a comment (rather then to a node), that
           comment is displayd above the reply form.
      
      - removed structure.inc, removed structure.module.
      
      - node.inc:
         + added 2 new node functions called 'node_attribute_edit()' and
           'node_attribute_save()' used to 'hook in' any indexing system
          including your home-brewed stuff if you'd want to.  Currently,
          index.module is the facto default index system.
      
          See story.module for usage.
      
      - book.module, story.module, poll.module, page.module, forum.module:
         + added preview functionality to administration section (via node
           module).
         + removed all references to structure.inc (category, topic).
      
      - moderate.module:
         + removed all references to structure.inc (category, topic).
      
      - book.module, story.module, page.module, forum.module:
         + increased the sizes of some textareas.
      
      - submit.php:
         + removed all references to structure.inc (category, topic).
      
      - marvin.theme:
         + removed dead code: function story() was depricated.
      
      - unconed.theme:
         + removed hardcoded references to drop.org.
      
      - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
         + removed all references to structure.inc (category, topic).
      
      TODO:
      
      - file.module, trip_link.module:
         + update preview functionality:
             see story.module for example.
         + remove references to 'cid' and 'tid', use 'attribute' instead:
             see story.module for example.
      
      - extend and build upon index.module as well as making it configurable
      d397bbe9
    • Kjartan Mannes's avatar
      Changes · 9e498458
      Kjartan Mannes authored
      - created a BaseTheme class in theme.inc.
      - added links($links = array(), $status = 0, $node = 0) to BaseTheme.
      - modified all themes to extend from BaseTheme.
      - modiefied theme_link() to take advantage of $theme->links().
      - theme_morelink() does not require a $theme argument.
      
      Todo
      - add the other standard variables and functions to BaseTheme.
      - some themes could use some more modifications.
      
      Weird
      - marvin.theme still has a story() function.
      9e498458
  15. 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
  16. May 16, 2001
    • Dries Buytaert's avatar
      · 6f02738c
      Dries Buytaert 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
      6f02738c
  17. May 12, 2001
    • Dries Buytaert's avatar
      · 86bb9a10
      Dries Buytaert authored
      - Made the main page display sub-topics when a specific topic
        is selected.
      
      - Made theme_link() less "hard coded", we still have to make
        it fully configurable though.
      
      - Fixed glitch in story submission: the warning messages were
        not displayed.
      
      - Tidied up block.module a bit.
      86bb9a10
  18. May 06, 2001
    • Dries Buytaert's avatar
      · 25c379fb
      Dries Buytaert authored
      - Added custom PHP error handler to track down warnings and errors.
        (Jeroen: let's sit back and wait until that warning bites again.)
      
      - Simplified drupal.module.  We still need a feature list, anyone?
      25c379fb
  19. May 05, 2001
    • Dries Buytaert's avatar
      · be8e898d
      Dries Buytaert 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
  20. Apr 29, 2001
    • Dries Buytaert's avatar
      · 828f36cd
      Dries Buytaert authored
      - Addition: added a new, tiny forum module: I will use this forum
        module to develop and test the permission system along with the
        regular nodes.  And hopefully, this forum module will grow into
        a very useable piece of code for drop.org.
      
        Requires a new SQL table "forum", see 2.00-to-x.xx.sql.
      
      - Removed 1 unused hook from page.module.
      
      - Removed 1 unused function from comment.inc.
      828f36cd
  21. Apr 23, 2001
    • Kjartan Mannes's avatar
      Changes · bd8952eb
      Kjartan Mannes 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
  22. Apr 16, 2001
    • Dries Buytaert's avatar
      · b9952f53
      Dries Buytaert authored
      Large commit, read it carefully, and make the required changes to
      your theme:
      
      - corrected some missing translations in story.module.  Oops!
      - grealty simplified the "moderation threshold mechanism"(tm) so
        that module writers don't have to worry about this.  As a result
        story.module and book.module became a bit smaller and easier to
        grasp.
      - greatly simplified new "category" and "topic" code which is soon
        going to replace the "section" code.  Needs more work though so
        hang on thight.
      - includes/section.inc and modules/section.module are replaced by
        includes/structure.module and modules/structure.module.
      - beautified example.theme a bit without adding HTML complexity:
        it is a good example but still useful as a theme
      - made theme example use "categories" and "topics"
          --> TAKE A LOOK AT IT AND UPDATE YOUR THEME
      - made theme marvin use "categories" and "topics"
          --> TAKE A LOOK AT IT AND UPDATE YOUR THEME
      - added 2 new "story listings" to administrator interface of
        story.module to verify story integrity.
      - optimized comment table a bit (work in progress)
      b9952f53
  23. Apr 14, 2001
    • Dries Buytaert's avatar
      · 2da4122d
      Dries Buytaert authored
      - added new variable: theme_footer which can be used to provide a
        footer message like a copyright notice. Themes should use this!
      2da4122d
  24. Apr 11, 2001
    • Dries Buytaert's avatar
      · 4711869f
      Dries Buytaert authored
      - fixed a small SQL bug in page.module
      - slightly improved story.module, node.module and book.module
      - made the "default theme" a setting from the setting page
      - polished a bit on the export function: we can now export the
        book or parts thereof through the following url:
      
          1.  http://drop.org/export/book/
                (full book)
          2.  http://drop.org/export/book/nid
                (where nid is the node id to start with)
      
        The export routine demonstrates how it can be done yet the
        output is too basic and can only improve over time.
      4711869f
  25. Apr 06, 2001
    • Dries Buytaert's avatar
      · 8213f5b2
      Dries Buytaert authored
      A lot of small changes (search-n-replace) make a big commit:
      
        - fixed update bug in book.module
        - provide a log message when both adding and updating book pages
        - all configurable variables are now accessed through "variable_get()":
        - rewrote watchdog and submission throttle and removed watchdog.inc
        - improved robustness of sections.inc
        - imporved story.module
        - updated ./database/database.sql
      8213f5b2
  26. Apr 02, 2001
    • Dries Buytaert's avatar
      · 15a6bef4
      Dries Buytaert authored
       <center></center>  ==>  <div align="center"></div>
      15a6bef4
  27. Mar 29, 2001
    • Dries Buytaert's avatar
      · 04ad9b8a
      Dries Buytaert authored
      - fixed issue depricated call-by-reference issues
      - fixed small visual glitch in includes/function.inc
      - changed SQL tables around a bit to be more consistent
        (result: small changes to a lot of different files)
      - improved robustness of includes/node.inc
      - improved output of cron.module
      - improved output of node.php
      04ad9b8a
  28. Mar 25, 2001
    • Dries Buytaert's avatar
      · 5fb307f5
      Dries Buytaert authored
      - refactoring, refactoring, refactoring
      5fb307f5
    • Dries Buytaert's avatar
      · 1f798630
      Dries Buytaert authored
      - large commit of everything else that has been queued in my backlog:
        it's not 100% stable yet
      1f798630
  29. Mar 24, 2001
    • Dries Buytaert's avatar
      · a45fc1a2
      Dries Buytaert authored
      - themes now get there header/footer links through theme_link();
      - tidied up example.theme
      a45fc1a2
    • Dries Buytaert's avatar
      · 68f2112b
      Dries Buytaert authored
      - nodified index.php:
          the index page will only display stories for now but this will/can
          change in the near future
      - all other files now thinks in terms of nodes, rather then stories
      68f2112b
  30. Mar 10, 2001
    • Dries Buytaert's avatar
      · accd5f0c
      Dries Buytaert authored
      - applied David Norman's patch to turn all <?'s into fully qualified
        <?php's.
      accd5f0c
  31. Mar 08, 2001
  32. Mar 01, 2001
    • Dries Buytaert's avatar
      · 728249cb
      Dries Buytaert authored
      - fixed small translation glitch in format_interval
      - added a couple of missing t() functions
      - improved the comments module, fixed the score problem Jeroen
        reported earlier -> it's slicker but I hope it won't break anything
      728249cb
  33. Feb 27, 2001
    • Dries Buytaert's avatar
      · 57e5f6a4
      Dries Buytaert authored
      - fixed bug in block placement when (1) using a theme with 2 side bars
        and (2) being logged out.
        (reported by Jeroen)
      - themed "Editor's note" in theme marvin.
        (reported by Jeroen)
      57e5f6a4