January 26th, 2002

ljcom: update old info

Module Name: ljcom
Committed By: bradfitz
Date: Sat Jan 26 08:27:27 UTC 2002

Modified Files:
---------------
ljcom/htdocs/paidaccounts: whysafe.bml

Log Message:
------------
Remove my oldoldold phone number and replace with link to oregon
corp search page, to prove we exist, etc. etc.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 ljcom/htdocs/paidaccounts/whysafe.bml
http://danga.com/lj/cvsweb.cgi/ljcom/htdocs/paidaccounts/whysafe.bml.diff?r1=1.1&r2=1.2

livejournal: talk - clustering support, almost

Module Name: livejournal
Committed By: bradfitz
Date: Sat Jan 26 10:17:54 UTC 2002

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

Log Message:
------------
95% of the clustering support for the talk system.
talkpost_do.bml in particular is incomplete.
everything else is about done.

other bonuses:
-- more image abstraction (move to imageconf.pl, which can be
overridden per-site)

-- talklib.pl: TONS AND TONS of crap from talk*.bml is moving in there.

Will finish this tomorrow.

The talk system might still be working for non-clustered case, but I
can't say for sure.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 livejournal/cgi-bin/imageconf.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/imageconf.pl.diff?r1=1.2&r2=1.3
cvs rdiff -r1.127 -r1.128 livejournal/cgi-bin/ljlib.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.127&r2=1.128
cvs rdiff -r1.3 -r1.4 livejournal/cgi-bin/talklib.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/talklib.pl.diff?r1=1.3&r2=1.4
cvs rdiff -r1.29 -r1.30 livejournal/htdocs/talkpost.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost.bml.diff?r1=1.29&r2=1.30
cvs rdiff -r1.25 -r1.26 livejournal/htdocs/talkpost_do.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.25&r2=1.26
cvs rdiff -r1.35 -r1.36 livejournal/htdocs/talkread.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.35&r2=1.36

livejournal: more talk work

Module Name: livejournal
Committed By: bradfitz
Date: Sat Jan 26 20:13:10 UTC 2002

Modified Files:
---------------
livejournal/htdocs: talkpost.bml talkpost_do.bml talkread.bml

Log Message:
------------
Talk system is now rewritten, but isn't quite working. It's now bug
fixing & testing time.

One cool thing is that all 3 of these files are now 'use strict'.
Hooray.

More updates later. Just getting this in now for those of you
playing along at home.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 livejournal/htdocs/talkpost.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost.bml.diff?r1=1.30&r2=1.31
cvs rdiff -r1.26 -r1.27 livejournal/htdocs/talkpost_do.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.26&r2=1.27
cvs rdiff -r1.36 -r1.37 livejournal/htdocs/talkread.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.36&r2=1.37

livejournal: talk bugfixes

Module Name: livejournal
Committed By: bradfitz
Date: Sat Jan 26 22:56:27 UTC 2002

Modified Files:
---------------
livejournal/htdocs: talkpost.bml talkpost_do.bml talkread.bml

Log Message:
------------
getting much closer to a working talk system for both
clustered & normal users.

still lots of problems, though.


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 livejournal/htdocs/talkpost.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost.bml.diff?r1=1.31&r2=1.32
cvs rdiff -r1.27 -r1.28 livejournal/htdocs/talkpost_do.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.27&r2=1.28
cvs rdiff -r1.37 -r1.38 livejournal/htdocs/talkread.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.37&r2=1.38

livejournal: cluster selection

Module Name: livejournal
Committed By: bradfitz
Date: Sat Jan 26 23:58:53 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: ljlib.pl
livejournal/htdocs: create.bml

Log Message:
------------
Allow users to select clusters when flag is set in ljconfig.pl.
In reality, no site would want this on, but we'll use it during
our public beta test.

But create.bml also needed this work to support $LJ::DEFAULT_CLUSTER
anyway.

Patch by xb95


To generate a diff of this commit:
cvs rdiff -r1.129 -r1.130 livejournal/cgi-bin/ljlib.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.129&r2=1.130
cvs rdiff -r1.13 -r1.14 livejournal/htdocs/create.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/create.bml.diff?r1=1.13&r2=1.14

livejournal: talkleft_xfp

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jan 27 01:51:53 UTC 2002

Modified Files:
---------------
livejournal/bin: moveucluster.pl
livejournal/bin/upgrading: update-db-general.pl

Log Message:
------------
new table talkleft_xfp stores a user's posts on other clusters
when either 1) that user isn't clustered themselves yet, or 2)
we're doing a mass conversion (moveucluster.pl) and don't want to
look it up. an ljmaint tool later will move talkleft_xfp master data
to talkleft on clusters.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 livejournal/bin/moveucluster.pl
http://danga.com/lj/cvsweb.cgi/livejournal/bin/moveucluster.pl.diff?r1=1.7&r2=1.8
cvs rdiff -r1.37 -r1.38 livejournal/bin/upgrading/update-db-general.pl
http://danga.com/lj/cvsweb.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.37&r2=1.38

livejournal: talk clustering

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jan 27 01:53:52 UTC 2002

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

Log Message:
------------
pretty much works now.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 livejournal/cgi-bin/talklib.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/talklib.pl.diff?r1=1.4&r2=1.5
cvs rdiff -r1.32 -r1.33 livejournal/htdocs/talkpost.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost.bml.diff?r1=1.32&r2=1.33
cvs rdiff -r1.28 -r1.29 livejournal/htdocs/talkpost_do.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.28&r2=1.29
cvs rdiff -r1.38 -r1.39 livejournal/htdocs/talkread.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.38&r2=1.39

livejournal: valid html/xml

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jan 27 02:00:09 UTC 2002

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

Log Message:
------------
fix from supersat:
http://www.livejournal.com/talkread.bml?itemid=21508487


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 livejournal/cgi-bin/cleanhtml.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/cleanhtml.pl.diff?r1=1.9&r2=1.10
cvs rdiff -r1.130 -r1.131 livejournal/cgi-bin/ljlib.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.130&r2=1.131

livejournal: editevents typo

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jan 27 02:03:09 UTC 2002

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

Log Message:
------------
The saved minute was always the month because I typed 'mon', not 'min'. :)
Props to xb95 for noticing.


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 livejournal/cgi-bin/ljprotocol.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.64&r2=1.65

livejournal: statserv stuff

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jan 27 02:06:44 UTC 2002

Modified Files:
---------------
livejournal/bin: dbcheck.pl
livejournal/cgi-bin: ljlib.pl
Added Files:
------------
livejournal/bin: statserv.pl

Log Message:
------------
stuff from dormando


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 livejournal/bin/dbcheck.pl
http://danga.com/lj/cvsweb.cgi/livejournal/bin/dbcheck.pl.diff?r1=1.4&r2=1.5
cvs rdiff -r0 -r1.1 livejournal/bin/statserv.pl
http://danga.com/lj/cvsweb.cgi/livejournal/bin/statserv.pl.diff?r1=0&r2=1.1
cvs rdiff -r1.131 -r1.132 livejournal/cgi-bin/ljlib.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.131&r2=1.132

livejournal: syncupdates tuneup

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jan 27 02:14:24 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: update-db-general.pl
livejournal/cgi-bin: ljprotocol.pl

Log Message:
------------
In clustered land, syncupdates2 has a new update type: del.


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 livejournal/bin/upgrading/update-db-general.pl
http://danga.com/lj/cvsweb.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.38&r2=1.39
cvs rdiff -r1.65 -r1.66 livejournal/cgi-bin/ljprotocol.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.65&r2=1.66

livejournal: ljfunc

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jan 27 05:09:08 UTC 2002

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

Log Message:
------------
LJFunc documentation updates, based on new form from opiummmm.
Still dozens and dozens of functions to update and document.

New format:

class: funcclassname (optional; defaults to 'general')
des: Short, required, no tags.
info: Long, optional, tags allowed, like [table[user]] or
[func[LJ::some_func]] references.

Rest is same.


To generate a diff of this commit:
cvs rdiff -r1.132 -r1.133 livejournal/cgi-bin/ljlib.pl
http://danga.com/lj/cvsweb.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.132&r2=1.133

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jan 27 05:10:11 UTC 2002

Modified Files:
---------------
livejournal/htdocs: talkpost_do.bml

Log Message:
------------
change cmd code to be more general, since delcomment uses the same one.
(so adds and subtracts will be done in same table lock)


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 livejournal/htdocs/talkpost_do.bml
http://danga.com/lj/cvsweb.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.29&r2=1.30