Changeset 33 for trunk/includes

Show
Ignore:
Timestamp:
09/03/05 22:42:52 (7 years ago)
Author:
alexx
Message:
  • Auth: Remove MySQL PASSWORD hashing method to hash password, replace by MD5 hashing, add code to make a smooth transition between hashing method
  • XML engine: Fix a trivial recent bug in dotnode-xml.php
  • Robots: fix a bug in crontab script robots/launch_robots.sh (add cd dirname $0)
  • CSS: Add max_width to image in blog (work on Mozilla/*, Opera but not good on Safari (no proportional resizing), of course, that doesn't work on IE)
  • DB: changing DB structure !!!
    ALTER TABLE `user` ADD `passwd_md5` CHAR( 32 ) NOT NULL AFTER `passwd` ;
    ALTER TABLE `user` CHANGE `passwd` `passwd` VARCHAR( 42 ) NULL ;
    ALTER TABLE `dntp_translator` ADD `passwd_md5` CHAR( 32 ) NOT NULL AFTER `passwd` ;
    ALTER TABLE `dntp_translator` CHANGE `passwd` `passwd` VARCHAR( 42 ) NULL ;
    
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/includes/functions.inc.php

    r27 r33  
    499499'www', 'mail', 'smtp', 'imap', 'pop', 'pop3', 'mysql', 'home','irc','ircd', 'todo', 
    500500'pede', 
     501'bsd', 
    501502'udf', 'ump', 'cgt', 'cfdt', 
    502503'club', 'nyrk','asso','all-hp','login','foaf','blog','blogs', 
     
    509510        $bad_word = array ( 
    510511'sql', 'stat', 
    511 'ns[0-9]{1,}', 'dns', 'admin', 'moderat', 'ikse', 'microsoft', 'linux', 'php[1-9]{1,}', 'bsd', 'apple', 'atari', 'amiga', 'beos', 'macos', 
     512'ns[0-9]{1,}', 'dns', 'admin', 'moderat', 'ikse', 'microsoft', 'linux', 'php[1-9]{1,}', 'apple', 'atari', 'amiga', 'beos', 'macos', 
    512513'bite', 'bitte', 'couille', 'sex', 'anal', 'fist', 'condom', 'capote', 'vagin', 'chatte', 'clito', 'cum', 'sperm', 'breast', 'blow', 'sodo', 'sado', 'zoophi', 'cock', 'pussy', 
    513514'connar', 'conar', 'encul', 'homoph', 'lesb', 'gay', 'pute', 'puta', 'fuck', 'pedo', 'pedal', 'batar', 'enfoir', 'salo', 'salau', 'con',