March 2nd, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 2 21:57:33 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: update-db-general.pl
livejournal/cgi-bin: ljlib.pl
livejournal/htdocs: talkpost_do.bml

Log Message:
------------
Beginnings of event/subscription/notification system. lj_dev post
coming shortly to explain more.

(avva, this isn't the important patch I told you I had to get
in... that's still coming later today. this and that are both easy
merges for ya though... sorry)


To generate a diff of this commit:
cvs rdiff -r1.49 -r1.50 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.49&r2=1.50
cvs rdiff -r1.167 -r1.168 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.167&r2=1.168
cvs rdiff -r1.42 -r1.43 livejournal/htdocs/talkpost_do.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.42&r2=1.43

livejournal: db maintenance robustness patch

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 3 00:21:31 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: ljlib.pl ljprotocol.pl
livejournal/htdocs: talkpost.bml talkpost_do.bml talkread.bml

Log Message:
------------
After all uses of LJ::get_dbh(), we need to check for undef first.
This is but the start. Tons more places need this.


To generate a diff of this commit:
cvs rdiff -r1.168 -r1.169 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.168&r2=1.169
cvs rdiff -r1.82 -r1.83 livejournal/cgi-bin/ljprotocol.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.82&r2=1.83
cvs rdiff -r1.44 -r1.45 livejournal/htdocs/talkpost.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkpost.bml.diff?r1=1.44&r2=1.45
cvs rdiff -r1.43 -r1.44 livejournal/htdocs/talkpost_do.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.43&r2=1.44
cvs rdiff -r1.57 -r1.58 livejournal/htdocs/talkread.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.57&r2=1.58

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 3 03:36:45 UTC 2002

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

Log Message:
------------
does two things:

1) lets BML be used as a per-directory fastcgi access checker:

[Directory /home/lj/htdocs/doc/internal]
FastCgiAccessChecker /home/lj/cgi-bin/bmlp.pl
[/Directory]

2) provides BML function to return an HTTP status code from _CODE blocks:

return BML::http_response(401, "no plz die thx");


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 livejournal/cgi-bin/bmlp.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/bmlp.pl.diff?r1=1.14&r2=1.15

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 3 03:49:08 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: base-data.sql
livejournal/htdocs/admin: dbadmin.bml mysql_status.bml

Log Message:
------------
rename 'dbadmin' priv to 'siteadmin' since it's being used for so much more
besides dbs.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 livejournal/bin/upgrading/base-data.sql
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/base-data.sql.diff?r1=1.6&r2=1.7
cvs rdiff -r1.6 -r1.7 livejournal/htdocs/admin/dbadmin.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/admin/dbadmin.bml.diff?r1=1.6&r2=1.7
cvs rdiff -r1.1 -r1.2 livejournal/htdocs/admin/mysql_status.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/admin/mysql_status.bml.diff?r1=1.1&r2=1.2

livejournal: kill recent on clusters

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 3 04:21:16 UTC 2002

Modified Files:
---------------
livejournal/bin: moveucluster.pl
livejournal/bin/upgrading: update-db-general.pl
livejournal/cgi-bin: ljlib.pl
livejournal/htdocs: talkpost_do.bml talkread.bml

Log Message:
------------
no more recent_*2 tables on clusters
http://www.livejournal.com/talkread.bml?journal=lj_dev&itemid=336006


To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 livejournal/bin/moveucluster.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/moveucluster.pl.diff?r1=1.28&r2=1.29
cvs rdiff -r1.50 -r1.51 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.50&r2=1.51
cvs rdiff -r1.169 -r1.170 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.169&r2=1.170
cvs rdiff -r1.44 -r1.45 livejournal/htdocs/talkpost_do.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.44&r2=1.45
cvs rdiff -r1.58 -r1.59 livejournal/htdocs/talkread.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.58&r2=1.59