February 8th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri Feb 8 20:22:09 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: console.pl
livejournal/htdocs/admin/console: index.bml

Log Message:
------------
From mart:
Admin Console 'help' command, plus little fixes
http://www.livejournal.com/talkread.bml?journal=lj_dev&itemid=313472


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 livejournal/cgi-bin/console.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/console.pl.diff?r1=1.19&r2=1.20
cvs rdiff -r1.5 -r1.6 livejournal/htdocs/admin/console/index.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/admin/console/index.bml.diff?r1=1.5&r2=1.6

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Feb 9 00:03:02 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: base-data.sql update-db-general.pl
livejournal/cgi-bin: ljlib.pl
Added Files:
------------
livejournal/htdocs/admin: dbadmin.bml

Log Message:
------------
Totally bad-ass patch.

So now all the DB connection info & role weightings are stored in the
database, and we have a web-based tool to admin them, and the
changes take effect right away, so we can quickly take a machine
out of rotation or whatever.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 livejournal/bin/upgrading/base-data.sql
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/base-data.sql.diff?r1=1.5&r2=1.6
cvs rdiff -r1.44 -r1.45 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.44&r2=1.45
cvs rdiff -r1.155 -r1.156 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.155&r2=1.156
cvs rdiff -r0 -r1.1 livejournal/htdocs/admin/dbadmin.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/admin/dbadmin.bml.diff?r1=0&r2=1.1

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Feb 9 00:58:38 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: bmlp.pl lj-bml-init.pl

Log Message:
------------
change BML to let you register a startup hook, and then make lj-bml-init
tie that hook to LJ's startup procedure.

BML files weren't auto-pulling db info from master on startup.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 livejournal/cgi-bin/bmlp.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/bmlp.pl.diff?r1=1.12&r2=1.13
cvs rdiff -r1.13 -r1.14 livejournal/cgi-bin/lj-bml-init.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/lj-bml-init.pl.diff?r1=1.13&r2=1.14

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Feb 9 01:44:34 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: ljlib.pl

Log Message:
------------
Set _fromdb at the end, not at the beginning, so we can iterate
over Ûinfo and assume all values are hashrefs, not possible scalar
flags.


To generate a diff of this commit:
cvs rdiff -r1.159 -r1.160 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.159&r2=1.160