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
    • natrak's avatar
      user.inc · 0bddb523
      natrak authored
      system.module
      - made the words used in passwords configurable thru the admin interface.
      0bddb523
  3. 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
  4. 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
  5. 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
  6. Jun 19, 2001
    • 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
  7. Jun 18, 2001
    • natrak's avatar
      Changes · 6e646914
      natrak authored
      - Moved account_password() and account_validate() to user.inc.
      - Greatly reduced the number of SQL calls in account_save() when editing an
        account. Now uses one db_query() call instead of 1 + (2 * # of access
        granted).
      - Fixed access not being saved when account was added.
      - Should now be possible to edit and add accounts. There were certain bugs
        before that would cause odd errors.
      6e646914
  8. 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
  9. 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
  10. 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
  11. Apr 07, 2001
    • Dries Buytaert's avatar
      · 209f53ca
      Dries Buytaert authored
      - small fine-tuning
      209f53ca
    • Dries Buytaert's avatar
      · d7e9ad10
      Dries Buytaert authored
      - small update to gravity
      d7e9ad10
  12. Apr 05, 2001
    • Dries Buytaert's avatar
      · 048664f2
      Dries Buytaert authored
      - a bunch of various updates
      048664f2
  13. Apr 04, 2001
    • Dries Buytaert's avatar
      · 7fac91c2
      Dries Buytaert authored
      - various smaller improvements
      7fac91c2
  14. 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
  15. Mar 31, 2001
    • Dries Buytaert's avatar
      · d1a07a2e
      Dries Buytaert authored
      - fixed "you-have-to-logout-and-login-before-permissions-change" bug
        (reported by UnConeD)
      - added "add node" link to book selection box and made it display the
        current location
      - removed tabs and whitespaces from themes - done automatically
      d1a07a2e
  16. Mar 28, 2001
    • Dries Buytaert's avatar
      · 3f2b0e0b
      Dries Buytaert authored
      Flushing my backlog (in case Natrak wants to make more changes):
      
       - tidied up some of the code
       - fixed a small problems
      3f2b0e0b
  17. 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
  18. Feb 18, 2001
    • Dries Buytaert's avatar
      · 4371b627
      Dries Buytaert authored
      - added fine-grained user permission system which allows us to give
        certain users access to specific administration sections only.
          Ex. a FAQ maintainer can only edit the FAQ, and members of an
              "editorial board" can only edit comments, diaries and
               stories, ..
      - code review => rewrote include/user.inc which is much easier now
      - fixed 4 small bugs
      4371b627
  19. Feb 14, 2001
  20. Feb 06, 2001
    • Dries Buytaert's avatar
      · 9d36ccac
      Dries Buytaert authored
      - small fix for 4.0.4
      9d36ccac
  21. Feb 04, 2001
  22. Jan 26, 2001
    • Dries Buytaert's avatar
      · d386c110
      Dries Buytaert authored
      - removed redundant spaces
      d386c110
  23. Jan 21, 2001
    • Dries Buytaert's avatar
      · ea978885
      Dries Buytaert authored
      I know, I know, it is getting nasty lately but I have another large commit after nothing but code.
      
      This time I redid the "category"-stuff.  Categories - from now on called sections - are now maintained from the admin pages, can have their own post, dump and timout thresholds as discussed earlier (some weeks ago).  By tomorrow evening users will be able to enable or disable section as well - i.e. to customize the content of drop.org.
      ea978885
  24. Dec 30, 2000
    • Dries Buytaert's avatar
      · 44c48004
      Dries Buytaert authored
      - here a bunch of changes to make "drupal" (for now) work with PHP 4.0.4
      - tidied up some of the code and mainly working on the documentation
      44c48004
  25. Dec 16, 2000
    • Dries Buytaert's avatar
      · dcfcd99c
      Dries Buytaert authored
      - improved web interface of cron module.
      
      - improved web interface of account module.
      
      - added simple permission system with both administrators
        and regular users. It can be made more fine-grained but
        it will do for now.
      
      - various small enhancements to the other modules, but
        nothing big.
      dcfcd99c
  26. Dec 10, 2000
    • Dries Buytaert's avatar
      · e8ea2ab8
      Dries Buytaert authored
      - large batch of updated files featuring various changes: big, small and
        new stuff!
      e8ea2ab8
  27. Nov 13, 2000
    • Dries Buytaert's avatar
      · 9559f61f
      Dries Buytaert authored
      Another batch with a lot of internal updates, yet no visual changes to the
      site:
      
      - watchdog (rewrite):
         + the collected information provides more details and insights
           for post-mortem research
         + input limitation
      - database abstraction layer:
         + mysql errors are now verbose and is no longer displayed in a
           browser - fixes a possible security risk
      - admin.php:
         + updated watchdog page
         + fixed security flaw
      - diary.php:
         + fixed nl2br problem
      - themes:
         + fixed comment bug in all 3 themes.
      - misc:
         + renamed some global variables for sake of consistency:
            $sitename  -->  $site_name
            $siteurl   -->  $site_url
         + added input check where (a) exploitable and (b) possible
         + added input size check
         + various small improvements
         + fixed various typoes
      
      ... and much, much more in fact.
      9559f61f
  28. Oct 19, 2000
    • Dries Buytaert's avatar
      · 11ee95da
      Dries Buytaert authored
      A big, fat commit with a shitload of internal changes.  Not that much
      visual changes:
      
      - removed redundant files user.class.php, calendar.class.php
        and backend.class.php.
      - converted *all* mysql queries to queries supported by the
        database abstraction layer.
      - expanded the watchdog to record more information on what
        actually happened.
      - bugfix: anonymous readers where not able to view comments.
      - bugfix: anonymous readers could gain read-only access to
        the submission queue.
      - bugfix: invalid includes in backend.php
      - bugfix: invalid use of '$user->block'
      
      and last but not least:
      
      - redid 50% of the user account system
      11ee95da
  29. Oct 10, 2000
  30. Sep 11, 2000
    • Dries Buytaert's avatar
      · 1f0a87f4
      Dries Buytaert authored
      Over the last 2 days I redid and reorganized an afwul lot of code and
      made quite a lot of additions.   The most remarkable addition is the
      diary server, which I slapped together in less then 40 minutes.   Most
      of the other changes are however `unvisible' for the user but add much
      value to a better maintainability from a developer's objective.  Like
      always, I fixed quite a number of small bugs that creeped into the code
      so we should have a bigger, better and more stable drop.org.
      
      Unfortunatly, some theme update _are_ required:
      
      
      REQUIRED THEME UPDATES:
      =======================
      
      * use format_username() where usernames are used
      * use format_date() where timestamps/dates are used
      * use format_email() where e-mail addresses are displayed
      * use format_url() where url are displayed
      * replace 'formatTimestamp' with format_date
      * replace 'morelink_*' with 'display_morelink'
      
      [most of these functions are in function.inc or template.inc]
      
      ___PLEASE___ (<- this should get your attention ;) update your themes
      as soon as possible - it only takes 30 min. to get in sync with the
      other themes.  Don't start whining about the fact you don't know what
      to change ... either eat the source cookie, or ask me to elaborate on
      a few changes.  Just let me know what's puzzling you and I'll try to
      help you out!
      
      
      TODO LIST FOR NEXT WEEK
      =======================
      * Add checks for max. text length in textarea's?  Is there an HMTL
        attribute for this or ...?
      * Comment moderation + mojo
      * Edit/admin user accounts: block, delete, change permissions, ...
      * E-mail password, change password, change e-mail address -> extra
        checks and routines to validate such `special' changes.
      * Input checking - input filter: bad words, html tags, ...
      1f0a87f4
  31. Jul 02, 2000
    • Dries Buytaert's avatar
      · 14b12b3a
      Dries Buytaert authored
      * Added more and better error checking which should fix 'potential'
        bugs or weird behavior in case something goes wrong.  We aim for
        something that is rock-solid, right? :-)
      14b12b3a
  32. Jun 22, 2000
    • Dries Buytaert's avatar
      · b32b897a
      Dries Buytaert authored
      * Integrated the database abstraction layer into the account pages.  One
        reason for doing so is because the database abstraction layer provides
        build-in error checking and a debug mode for easy development.
      b32b897a
  33. Jun 20, 2000
    • Dries Buytaert's avatar
      · 988707a6
      Dries Buytaert authored
      Here we go again with a rather large commit:
      fixed a lot of annoying bugs and boxed whatever there was left to be boxed.
      
       * user.class.php: renamed $user->update() to $user->rehash().
       * user.class.php: fixed a typical quote-bug in $user->rehash().
       * functions.inc: fixed bug in displayOldHeadlines().
       * functions.inc: improved several functions.
       * account.php: fixed major bug in showUser().
       * account.php: added some extra words to the human-readable
                      password-generator(tm).
       * account.php: boxed ALL functions! Fieuw!
       * submit.php: add some general information and guidlines on how to
                     post submissions.
       * config.inc: re-thought the categories to be more generic.
       * submission.php: minor changes
       * search.pph: fixed minor bug with the author's names.
      
      Woops.  I have an exam within 4 hours: back to my books. ;-)
      
      --------------------------------------------------------------------
      
       * Anyone could check sumbit.php, sumbission.php and faq.php for
         typoes?
       * Anyone could adjust calendar.class.php to fit IE?  *huh*huh*
       * Don't be scared to hack along (see below)!  I'll be working on
         the submissions and comments.
      
      --------------------------------------------------------------------
      
      Status of drop v0.10:
      (make the system erational' and release it.)
      
        - submissions:
            submission queue         (75% complete)
            submission moderation    (75% complete)
        - comments:
            comment moderation       ( 0% complete)
            comment administration   ( 0% complete)
            fixup timestamp mess     ( 0% complete)
        - user system:
            mail password            ( 0% complete)
            user administation       (50% complete)
            patch admin.php          ( 0% complete)
            account confirmation     ( 0% complete)
            e-mail confimation upon modification of e-mail address
                                     ( 0% complete)
        - proper handling of forms: text2html, html2text
            html2txt, txt2html       (10% complete)
            bad-word filter          (80% complete)
            automatic link detection ( 0% complete)
            allowed HTML-tag checker ( 0% complete)
        - FAQ:
            cleanup, disclaimer      (50% complete)
        - theme:
            box everything          (100% complete)
      988707a6
  34. Jun 13, 2000
    • Dries Buytaert's avatar
      · 1887ba80
      Dries Buytaert authored
      Hoeray!  I have a first core version of submission moderation up and
      running.  This means people can submit stories, and moderators can
      moderate stories.  When a submission reaches a certain positive
      threshold (currently set to 2) the submission becomes a story and up
      it goes.   If a submission reaches a certain negative threshold
      (currently set to -2) the submission is dumped.
      
      The fact this is all done by our visitors (without our intervention)
      makes it truly spiffy imho.  The website can live a life on it's own,
      fed by the visitors.
      
      Beware, a lot of work need to be done though ... it's just a first
      basic implementation with the core functionality.  There are quite
      a lot of things that I'll need to change, extend and improve.  But
      comments, suggestions and ideas are - as always - welcomed.
      
      Please read this log message carefully!  It features quite a lot of
      important information.
      
      To test the moderation, log in, select theme 'Dries' (the other themes
      need a small update) and head by clicking the one and only 'submission
      moderation' link.  Don't be afraid to submit lame/funny/useless
      stories for testing purpose ... as soon we go public, we'll wipe out
      the story database.  ;-)
      
      
      WHAT'S NEW?
      -----------
      * Added 2 new operations to user.class.php to set and retrieve the
        user's "history".  Very evil but required to avoid people voting
        twice.
      * Moved dbsave() from account.php to functions.php.  In addition, I
        added a new function to user.class.php called `save()' that ...
        well, saves the object back to the database.  It's (IMHO) a better
        approach compared to dbsave(): it keeps things organized. ;-)
      
      
      BUGFIXES:
      ---------
      * Fixed a (heavy) memory leak in the constructor of user.class.php:
        mysql_fetch_array() returns an _associative_ array which made the
        constructor `pollute' the object with a lot of useless variables.
      * Fixed the slash-problem on the account pages. :-)
      * Fixed UnConeD's theme glitch, alas the warning.
      * Fixed the e-mail address not showing in the confirmation email
        (upon registration).
      * Fixed the typical quote and backslash problems in submit.php.
      * submit.php now uses the database abstraction layer.
      
      IMPORTANT:
      ----------
      * You can check the new submission system at:
          http://beta.drop.org/submission.php
        or by following the `submission moderation' link from my theme.
      * UnConeD, Jeroen: you'll need to update your themes to take
        advantage of the new function: displayAccount().  This function
        will display the `submission moderation' link when a user is
        logged on.
      * Natrak: you might want to apply the patches in user.class.php
        on the other sites using the same user-system.
      1887ba80
  35. Jun 11, 2000
    • Dries Buytaert's avatar
      · f66120de
      Dries Buytaert authored
      Updates:
       * Various small changes to account.php including a SQL table movement:
         'testusers' -> 'users'.  As a result, user.class.php and article.php
         needed patching as well.  Hopefully I didn't break anyting.  ;o)
      f66120de
  36. Jun 02, 2000