July 20th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jul 21 03:29:46 UTC 2002

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

Log Message:
------------
long-awaited rate-limiting infrastucture.

initial use is for denying fast failed logins (password brute-forcing)

another patch is coming shortly to complement this one which requires
good passwords.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 livejournal/bin/dumpsql.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/dumpsql.pl.diff?r1=0&r2=1.1
cvs rdiff -r1.25 -r1.26 livejournal/bin/upgrading/base-data.sql
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/base-data.sql.diff?r1=1.25&r2=1.26
cvs rdiff -r1.71 -r1.72 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.71&r2=1.72
cvs rdiff -r1.226 -r1.227 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.226&r2=1.227
cvs rdiff -r1.113 -r1.114 livejournal/cgi-bin/ljprotocol.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.113&r2=1.114
cvs rdiff -r1.13 -r1.14 livejournal/htdocs/login.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/login.bml.diff?r1=1.13&r2=1.14

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jul 21 03:43:39 UTC 2002

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

Log Message:
------------
avva:
Fixes a small bug in handling the filter= parameter in a friends view.
The bug is that filter=0 is not propagated to the next page in
linkvars, as it should be (filter=0 is useful to turn off one's
default group temporarily).

Tested.


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 livejournal/cgi-bin/ljviews.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljviews.pl.diff?r1=1.64&r2=1.65

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jul 21 03:57:12 UTC 2002

Modified Files:
---------------
livejournal/doc/raw/build: generate.pl ljdocs2html.xsl
livejournal/doc/raw/build/protocol: checkfriends.mode.xml
consolecommand.mode.xml editevent.mode.xml
editfriendgroups.mode.xml editfriends.mode.xml friendof.mode.xml
getdaycounts.mode.xml getevents.mode.xml getfriendgroups.mode.xml
getfriends.mode.xml login.mode.xml postevent.mode.xml
syncitems.mode.xml xml-rpc2db.xsl xmlrpc.dtd
livejournal/doc/raw/entities: lj.book.ent ljp.book.ent
livejournal/doc/raw/lj.book/admin: caps_list.xml
livejournal/doc/raw/lj.book/install: ljconfig.xml
livejournal/doc/raw/ljp.book/csp/flat: index.xml
livejournal/doc/raw/ljp.book/csp/xml-rpc: index.xml
livejournal/doc/raw/ljp.book/int: cap_classes.xml
Added Files:
------------
livejournal/doc/raw/build/caps: cap-local.pl cap2db.pl
livejournal/doc/raw/lj.book/install: ljconfig.caps.xml

Log Message:
------------
documentation update from jproulx

Automatic capability document generation, along with instructions on how
to define caps/classes in ljconfig.pl

Added the ability to include examples for the XML-RPC protocol calls, so
that developers can get a quick glimpse of what they should be expecting.
I will do the same for the flat protocol documentation on the next sweep.

- Opi


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 livejournal/doc/raw/build/generate.pl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/generate.pl.diff?r1=1.9&r2=1.10
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/build/ljdocs2html.xsl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/ljdocs2html.xsl.diff?r1=1.2&r2=1.3
cvs rdiff -r0 -r1.1 livejournal/doc/raw/build/caps/cap-local.pl \
livejournal/doc/raw/build/caps/cap2db.pl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/caps/cap-local.pl.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/caps/cap2db.pl.diff?r1=0&r2=1.1
cvs rdiff -r1.1 -r1.2 \
livejournal/doc/raw/build/protocol/checkfriends.mode.xml \
livejournal/doc/raw/build/protocol/consolecommand.mode.xml \
livejournal/doc/raw/build/protocol/editfriendgroups.mode.xml \
livejournal/doc/raw/build/protocol/editfriends.mode.xml \
livejournal/doc/raw/build/protocol/friendof.mode.xml \
livejournal/doc/raw/build/protocol/getdaycounts.mode.xml \
livejournal/doc/raw/build/protocol/getevents.mode.xml \
livejournal/doc/raw/build/protocol/getfriendgroups.mode.xml \
livejournal/doc/raw/build/protocol/getfriends.mode.xml \
livejournal/doc/raw/build/protocol/login.mode.xml \
livejournal/doc/raw/build/protocol/syncitems.mode.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/checkfriends.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/consolecommand.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/editfriendgroups.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/editfriends.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/friendof.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/getdaycounts.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/getevents.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/getfriendgroups.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/getfriends.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/login.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/syncitems.mode.xml.diff?r1=1.1&r2=1.2
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/build/protocol/editevent.mode.xml \
livejournal/doc/raw/build/protocol/xmlrpc.dtd
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/editevent.mode.xml.diff?r1=1.2&r2=1.3
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/xmlrpc.dtd.diff?r1=1.2&r2=1.3
cvs rdiff -r1.3 -r1.4 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.3&r2=1.4
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/xml-rpc2db.xsl.diff?r1=1.3&r2=1.4
cvs rdiff -r1.7 -r1.8 livejournal/doc/raw/entities/lj.book.ent
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/entities/lj.book.ent.diff?r1=1.7&r2=1.8
cvs rdiff -r1.4 -r1.5 livejournal/doc/raw/entities/ljp.book.ent
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/entities/ljp.book.ent.diff?r1=1.4&r2=1.5
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/lj.book/admin/caps_list.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/admin/caps_list.xml.diff?r1=1.2&r2=1.3
cvs rdiff -r0 -r1.1 livejournal/doc/raw/lj.book/install/ljconfig.caps.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/install/ljconfig.caps.xml.diff?r1=0&r2=1.1
cvs rdiff -r1.4 -r1.5 livejournal/doc/raw/lj.book/install/ljconfig.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/install/ljconfig.xml.diff?r1=1.4&r2=1.5
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/ljp.book/csp/flat/index.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/ljp.book/csp/flat/index.xml.diff?r1=1.1&r2=1.2
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/ljp.book/csp/xml-rpc/index.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/ljp.book/csp/xml-rpc/index.xml.diff?r1=1.1&r2=1.2
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/ljp.book/int/cap_classes.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/ljp.book/int/cap_classes.xml.diff?r1=1.1&r2=1.2

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jul 21 04:35:23 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: ljprotocol.pl
livejournal/htdocs: changepassword.bml create.bml update.bml

Log Message:
------------
support bad_password hook and use it in a bunch of places.

opi, doc this:

* bad_password($password)

return a string saying why the password is bad, or return undef
if the password is good.


To generate a diff of this commit:
cvs rdiff -r1.114 -r1.115 livejournal/cgi-bin/ljprotocol.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.114&r2=1.115
cvs rdiff -r1.10 -r1.11 livejournal/htdocs/changepassword.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/changepassword.bml.diff?r1=1.10&r2=1.11
cvs rdiff -r1.31 -r1.32 livejournal/htdocs/create.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/create.bml.diff?r1=1.31&r2=1.32
cvs rdiff -r1.34 -r1.35 livejournal/htdocs/update.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/update.bml.diff?r1=1.34&r2=1.35

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jul 21 06:20:22 UTC 2002

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

Log Message:
------------
jwz: I think you ought to wrap [nobr] around the picture +
text in [lj user] to prevent the logo and the name from appearing on
different lines.


To generate a diff of this commit:
cvs rdiff -r1.228 -r1.229 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.228&r2=1.229