Skip to content
  1. Sep 18, 2001
    • Dries Buytaert's avatar
      · cd771f66
      Dries Buytaert authored
      - Applied Alexander Schwartz's patches on the Drupal 3.00 branch.
      cd771f66
  2. Aug 16, 2001
    • Dries Buytaert's avatar
      · a7fc73ee
      Dries Buytaert authored
      - account.php:
         + fixed bug with new password not being e-mailed (thanks Mike).
         + fixed bug with generating a 'not-so-rock-solid' hash upon
           account registration.
      a7fc73ee
  3. Aug 11, 2001
    • Dries Buytaert's avatar
      · 8578d947
      Dries Buytaert authored
      - Small visual update to user information page.
      8578d947
    • 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
  4. Aug 04, 2001
    • Dries Buytaert's avatar
      · c54c4f86
      Dries Buytaert authored
      - Disabled the real name feature until a proper fix has been found.
      c54c4f86
  5. Jul 27, 2001
  6. Jul 25, 2001
    • natrak's avatar
      common.inc · d016fb14
      natrak authored
      - format_username() now takes a second optional parameter which gives the
        real name of the user.
      
      Rest
      - updated the calls to format_username() where appropriate to show the name
        of the user instead of the account id. Clicking on a name will still give you
        the account info etc. If you find a place where the real name is not shown
        let me know.
      d016fb14
    • natrak's avatar
      comment.inc · 6fbd8403
      natrak 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).
      6fbd8403
  7. Jul 24, 2001
    • natrak's avatar
      account.php · 845888fe
      natrak authored
      - real name is now shown to all users.
      
      page.module
      - improved the locale support.
      
      comment.inc
      - added a wrapper table for comment_thread_max() as suggested by nick.
      845888fe
  8. Jul 20, 2001
    • natrak's avatar
      account.php · cbcd94c2
      natrak authored
      - Added real name in the for when the user is looking at their own information
        as reported by Gerhard Killesreiter
      cbcd94c2
  9. Jul 12, 2001
  10. Jul 07, 2001
    • Dries Buytaert's avatar
      · 5077cafd
      Dries Buytaert authored
      - account.php:
          + tidied up the texts
      
      - common.inc:
          + undid bad coding style
          + fixed typo in permissions
      
      - poll.module:
          + (automatically) removed tabs and trailing whitespaces
      5077cafd
    • Dries Buytaert's avatar
      · adfbda3d
      Dries Buytaert authored
      - Tidied up some stuff in account.php and theme.inc.
      - Tidied up the box() API.
      adfbda3d
  11. 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
  12. Jun 24, 2001
    • Dries Buytaert's avatar
      · d29684a6
      Dries Buytaert authored
      - Added simple referer module, for sake of fun.
      d29684a6
  13. 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
  14. Jun 19, 2001
    • Dries Buytaert's avatar
      · 7752dc4c
      Dries Buytaert authored
      - Fixed small bug in account.php with some usernames not being tolerated.
      7752dc4c
    • Dries Buytaert's avatar
      · 29e0e0fc
      Dries Buytaert authored
      - Made it so that usernames can contain spaces.  Like that, people can
        use their full name as their username.
      29e0e0fc
  15. 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
    • Dries Buytaert's avatar
      · 03c06a86
      Dries Buytaert authored
      Oops, a rather large commit:
      
      - Changed meta.module, node.module and index.php to use comma-seperated
        lists of attributes rather then "foo=a,bar=b" lists.  This makes it a
        a lot easier to use both modules.  In addition, error handling can be
        discarded as it can't be made any simpler, really ...
      
        It fits rather nicely in Drupal's design so I'm getting more and more
        happy with this meta.module (but we are not 100% there yet).
      
      - node.module, node.inc:
      
         + Improved the node-related admin interface so that navigating back
           and forth the administrative menus is made both easier and faster.
      
         + Removed some redundant database fields from the node table.  See
           2.00-to-x.xx.sql!
      
         + Added 2 news hooks called "node_insert" and "node_update".  Just
           like this is the case with the existing hook "node_delete" these
           new hooks will automatically get called when a node has been
           inserted or udpated.  Note that this is an optional call-back that
           only needs to be implemented when required.  With the addition of
           these two hooks, the node mechanism (version 1) is pretty well
           completed.
      
      - watchdog.module:
         + Fixed bug whit the 'regular messages' query in the watchdog.module.
      
      - book.module:
         + Fixed bug in book.module: the 'parent' was not set properly when
           updating a book page.
         + Made it so that older versions of a book page are automatically
           reactived upon deletion of the most recent version, i.e. when
           doing a version roll-back.
      
      - comment.inc:
         + Undid Remco's patch to comment.inc; it does not work in some cases.
      
      
      - conf.module:
         + Fine-tuned some of the options in conf.module a bit.
      
      - marvin.theme:
         + Visual changes to make it look better on Windows browsers.  Mind
           to give some feedback on this?
         + Fixed 3 HTML typos/bugs.
         + XHTML-ified the theme at a best effort basis; I didn't carry the
           XHTML specification with me.
         + Made use of the theme_slogan variable to display the site's slogan.
         + As soon we have at least one valid XHTML theme we can wonder on how
           to integrate other XML namespaces (cfr. MathML story at drop.org).
      
      - database.mysql:
         + Updated database.mysql so that it contains all the latest "database
           patches".
      03c06a86
  16. Jun 15, 2001
    • natrak's avatar
      Changes · 21386979
      natrak 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.
      21386979
    • Dries Buytaert's avatar
      · 1045715f
      Dries Buytaert authored
      - Added very basic 'filters' to the watchdog.module which should make it
        easier to sort through all the watchdog "noise".  I'm sure the current
        filters will do for 99% of all the Drupal sites though.
      
        (Sorry for the awful color scheme, Coney but I can't do any better.)
      1045715f
  17. Jun 08, 2001
    • Dries Buytaert's avatar
      · a37211cf
      Dries Buytaert authored
      - Revised the 'track sitename' feature: it should be more accurate now.
      a37211cf
    • Dries Buytaert's avatar
      · a616715a
      Dries Buytaert authored
      - Revised the 'track sitename' feature: it should be more accurate now.
      a616715a
  18. Jun 04, 2001
  19. Jun 02, 2001
    • Dries Buytaert's avatar
      · b0c349e2
      Dries Buytaert authored
      - Moved most of the options in structure.module to node.module.  The
        structure.module either needs work, or replacement by index.module:
        see "admin > node > node settings".
      
        It will do for now and it can always made better when we can think
        of a better solution; it is the best I could think of.   Now what?
        index.module or structure.module?  I'm currently pro index.module.
      
      - Drastically simplified "variable.inc".
      
      - Removed most dependecies on structure.module from all content related
        modules.  Thus making our modules more modular.  ;)
      
      - Fixed calculation glitch in queue.module.
      
      - Fixed potential function name clash/conflict in rating.module, and
        simplified some code on my way.
      
      - Started removing all global variables $status and $rstatus.  Global
        variables are "yucky" so in near future, we will replace all global
        $status variables by a call to node_status().  Originally, $status
        was only introduced as a temporary hack and nothing is as permanent
        as a temporary hack so I took it out when still possible.
      
      - Changed the watchdog messages a bit.
      b0c349e2
  20. May 20, 2001
    • 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
  21. May 15, 2001
    • Dries Buytaert's avatar
      · 14ddbc47
      Dries Buytaert 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.
      14ddbc47
  22. May 14, 2001
  23. 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
  24. Apr 30, 2001
    • Dries Buytaert's avatar
      · fead09a8
      Dries Buytaert authored
      Welp.  Large commit ahead.
      
      CHANGES:
      
      - Added "read" and "write" permissions into drupal but removed
        it again because - when finished after 3 hours of work - it
        was considered nothing but added complexity that didn't buy
        us anything. :I
      
        (I'll explain this in detail on the mailing list, I guess.)
      
      - Added a very simple help.module to group all available
        documentation on a single page.
      
      - Fixed bug in node_control(), book.module: UnConeD forgot to
        global $user when updating the combobox code.
      
      - Removed static wishlist.module: in future, the wishlist can
        be maintained as a page in our collaborative book.
      
      - Revised most of settings.module: tidied up the code and the
        descriptions to accompany the settings and introduced a new
        "default maximum number of nodes to display on the main page"
        variable.
      
      - Revised most of comment.module: the administration interface
        looks better now, integrated node permissions, and -finally-
        made it possible to delete comments.
      
      - Polished on:
         + account.module
         + structure.module
         + locale.module
         + module.module
         + forum.module
      
      - Form-ified:
         + account.php
         + account.module
         + setting.module
         + cvs.module
         + submit.php
         + comment.module
         + forum.module
         + book.module
         + page.module
         + locale.module
      
      - Updated CHANGELOG
      
      INFO:
      
      - Designed a "generic tracker system with optional backends"
        on paper.  The idea is to allow registered users to hot-list
        certain topics, individual nodes or threads (comments) and
        to "plug-in" output backends like - for instance - an e-mail
        digest.  The design requires "intelligent blocks" though.
      
      
      TODO:
      
      - I want to tidy up the headline.module and backend.class as
        well as merge in headlineRSS10.module.  Julian spent quite
        some time working on headline.module but I'm not sure what
        he changed and whether he'd contribute it back?
      fead09a8
  25. Apr 19, 2001
    • Dries Buytaert's avatar
      · a6e6dfb9
      Dries Buytaert authored
      - Addition: added 2 new functions check_mail() and check_name()
        to functions.inc useful for resp. verifying an e-mail address
        and username: currently used by account.php - but reusable by
        Julian's refer.module for example (prepares integration).
      a6e6dfb9
  26. 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
  27. Apr 15, 2001
    • Dries Buytaert's avatar
      · 1f056580
      Dries Buytaert authored
      - improved submit.php:
        it now uses the new category code, incl content bindings.
        You can setup different "categories" which map on a content
        type.  Example:
          review   -> review.module
          article  -> story.module
          column   -> story.module
          announc. -> story.module
          addons   -> file.module
          themes   -> file.module
      - "generalised" story.module and book.module's output.
      - fixed bug in includes/timer.inc
      - fixed glitch in theme example.theme: it said "$how by" but
        the variable $how has never been declared.
      - added "drupal development settings" to display some timings
      - more work on the categories/topics -> does NOT work yet
      1f056580
  28. Apr 12, 2001
  29. Apr 08, 2001
    • Dries Buytaert's avatar
      · 0d14ee0b
      Dries Buytaert authored
      - fixed small bug in "recent nodes"
      0d14ee0b
  30. 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
  31. Apr 04, 2001
    • Dries Buytaert's avatar
      · 8d249c5f
      Dries Buytaert authored
      Last night's updates:
      
       - improved "track drop.org": it has now 2 boxes, one for "track
         comments" and one for "track nodes"
       - various small improvements to the book module based on the
         feedback we got.
       - fixed typo in moderation module
       - ...
      8d249c5f
  32. Apr 02, 2001
    • Dries Buytaert's avatar
      · 805107cd
      Dries Buytaert authored
      Commiting my work of last Sunday:
      
       - removed ban.inc and ban.module and integrated it in account.module
         under the name "access control" --> the ban code was not really up
         to standard so this has now been dealt with.  This refactoring and
         reintegration cuts down the code size with 100 lines too.  :-)
         (The ban.module code was really old and it showed.)
      
       - added node.module and made the other modules reuse some of this
         code --> cut down the code size of modules by at least 100 lines
         and adds stability.
      
       - added a status() function to admin.php to display a conform status
         message where appropriate.  See admin.php for usage.
      
       - removed $theme->control() and made comments.inc handle this itself
         wrapped in a $theme->box().  No need to clutter the themes with
         such complexity --> updated all themes already. :-)
      
       - some small visual changes to some administration pages to be more
         consistent across different modules.
      805107cd
  33. Apr 01, 2001