July 7th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jul 7 18:40:42 UTC 2002

Modified Files:
---------------
livejournal/doc/raw/build/protocol: editevent.mode.xml
postevent.mode.xml xml-rpc2db.xsl
livejournal/doc/raw/ljp.book/csp: cs.xml index.xml
Removed Files:
-------------
livejournal/doc/raw/build/protocol: test.xml

Log Message:
------------
jproulx:
Contains the previously discussed XML-RPC interface doc changes, plus I
cleaned up the xml-rpc2db.xsl stylesheet a bunch.

Also, added in the short guide to writing a client, which is basically a
docbook version of /developer/protocol.bml

BTW - we don't need doc/raw/build/protocol/test.xml in CVS; that's my bad
-- I shouldn't have sent that file to you.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/build/protocol/editevent.mode.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/editevent.mode.xml.diff?r1=1.1&r2=1.2
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/build/protocol/postevent.mode.xml \
livejournal/doc/raw/build/protocol/xml-rpc2db.xsl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/postevent.mode.xml.diff?r1=1.2&r2=1.3
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/xml-rpc2db.xsl.diff?r1=1.2&r2=1.3
cvs rdiff -r1.1 -r0 livejournal/doc/raw/build/protocol/test.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/test.xml.diff?r1=1.1&r2=0
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/ljp.book/csp/cs.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/ljp.book/csp/cs.xml.diff?r1=1.1&r2=1.2
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/ljp.book/csp/index.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/ljp.book/csp/index.xml.diff?r1=1.2&r2=1.3

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jul 7 19:24:53 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: texttool.pl

Log Message:
------------
avva:
This patch adds "remove" functionality to texttool.pl .
It also updates and fixes the help message.

Tested.


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

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jul 7 21:07:47 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: en.dat
livejournal/htdocs: editinfo.bml editjournal.bml modify.bml
livejournal/htdocs/friends: edit.bml edit_do.bml

Log Message:
------------
avva: english-removes edit friends and unifies some translation items


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 livejournal/bin/upgrading/en.dat
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/en.dat.diff?r1=1.24&r2=1.25
cvs rdiff -r1.21 -r1.22 livejournal/htdocs/editinfo.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/editinfo.bml.diff?r1=1.21&r2=1.22
cvs rdiff -r1.7 -r1.8 livejournal/htdocs/editjournal.bml \
livejournal/htdocs/modify.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/editjournal.bml.diff?r1=1.7&r2=1.8
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/modify.bml.diff?r1=1.7&r2=1.8
cvs rdiff -r1.6 -r1.7 livejournal/htdocs/friends/edit.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/friends/edit.bml.diff?r1=1.6&r2=1.7
cvs rdiff -r1.18 -r1.19 livejournal/htdocs/friends/edit_do.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/friends/edit_do.bml.diff?r1=1.18&r2=1.19

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Mon Jul 8 03:29:33 UTC 2002

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

Log Message:
------------
bradfitz: procnotify support:

can call LJ::procnotify_add to pass a message to all web processes on
all clusters.

DBI::Role does most the hard work (already committed). this patch just
adds the table DBI::Role needs, and adds the LJ:: function to send
a message, and the callback.

Tested.


To generate a diff of this commit:
cvs rdiff -r1.69 -r1.70 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.69&r2=1.70
cvs rdiff -r1.221 -r1.222 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.221&r2=1.222

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Mon Jul 8 03:31:58 UTC 2002

Modified Files:
---------------
ljcom/bin: renameuser.pl

Log Message:
------------
bradfitz: Change the renameuser script to use the new procnotify support.

Avva, this is very rough ... mostly just an example. Really, what
should happen at this point is that a new LJ function
(LJ::rename_user) should be made which uses procnotify, does proper
locking (combined with create.bml locking), and accepts all the
options we discussed.

No lj_swap_* should be needed, so eventually this renameuser.pl
command should be mostly rewritten, if not removed entirely.
(I'm leaning towards removal)

In any case, this patch is mostly an example of how to use LJ::procnotify_add()


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 ljcom/bin/renameuser.pl
http://cvs.livejournal.org/browse.cgi/ljcom/bin/renameuser.pl.diff?r1=1.10&r2=1.11