Permalink
Commits on Jul 21, 2003
  1. Straightened out FOREIGN KEYs. The old schema as written had

    jamiemccarthy committed Jul 21, 2003
    serious problems creating its foreign keys, which often stymied
    the very installation of a slashsite.  Now all the FOREIGN KEYs
    are created with ALTER TABLEs *after* all tables are created.  And
    MySQL has some problems in that FOREIGN KEYs have to be precisely
    the same as the columns they reference, which creates problems
    when pointing to a foreign primary key that's AUTO_INCREMENT -- so
    the keys that cause problems are commented out until I can figure
    out how best to handle this.  This is a big complex change and I
    may have missed something -- in any case it shouldn't affect
    already established sites, this only affects install.
    
    Added querylog.  This checks for the presence of a file at
    /usr/local/slash/querylog every minute or so, and if present,
    starts logging ALL SQL queries into the table 'querylog'.
    Should be very useful for debugging but be careful using it
    on a running production site!  (Which of course is where it's
    most useful!)
    
    To maximize querylog utility, many sqlDo()s were converted into
    their respective sqlInsert(), sqlUpdate(), sqlDelete(), etc.
    
    Note that some shenanigans had to be done with LAST_INSERT_ID
    for querylog;  I believe all the bugs there are squashed.
    
    Added "rand" vmethod for scalars for templates, e.g.
    [% x=1000; x.rand %]
  2. I'm a Slash author too!

    jamiemccarthy committed Jul 21, 2003
Commits on Jul 20, 2003
Commits on Jul 18, 2003
  1. Debug log fix.

    jamiemccarthy committed Jul 18, 2003
  2. Run more often.

    jamiemccarthy committed Jul 18, 2003
  3. Note counthits task.

    jamiemccarthy committed Jul 18, 2003
Commits on Jul 17, 2003
  1. Help message if no graph ...

    pudge committed Jul 17, 2003
  2. memcached_prefix

    jamiemccarthy committed Jul 17, 2003
Commits on Jul 15, 2003
  1. useperl update

    pudge committed Jul 15, 2003
  2. s/use/require/ MemCachedClient

    pudge committed Jul 15, 2003
  3. i am not comfortable with "or" there; does it even work? i didn't fin…

    pudge committed Jul 15, 2003
    …d docs on it ... changing it to something i KNOW will work .... and fixing whitespace :-)
  4. aight

    pudge committed Jul 15, 2003
  5. white diddly-ite!

    pudge committed Jul 15, 2003
  6. white white white!

    pudge committed Jul 15, 2003
  7. the white!

    pudge committed Jul 15, 2003
  8. Add slashProf

    pudge committed Jul 15, 2003
  9. Memcached.

    jamiemccarthy committed Jul 15, 2003
  10. Schema changes

    tvroom committed Jul 15, 2003