June 30th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jun 30 19:12:25 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: directorylib.pl
livejournal/htdocs: directory.bml interests.bml

Log Message:
------------
when interest.bml thinks it'll return too many interests, redirect to
the directory instead, which knows how to page efficiently and such.
and then, let free users use that part of the directory.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 livejournal/cgi-bin/directorylib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/directorylib.pl.diff?r1=1.13&r2=1.14
cvs rdiff -r1.16 -r1.17 livejournal/htdocs/directory.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/directory.bml.diff?r1=1.16&r2=1.17
cvs rdiff -r1.29 -r1.30 livejournal/htdocs/interests.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/interests.bml.diff?r1=1.29&r2=1.30

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Sun Jun 30 19:25:00 UTC 2002

Modified Files:
---------------
ljcom/cgi-bin/bml/scheme/dystopia: generic.look

Log Message:
------------
avva:
This patch fixes a problem with the width of LJ tables in the
template. The problem doesn't manifest itself in English, but only
when other languages are used.

Quick description. Search bar and logged-in bar are currently
implemented with two rows. Search bar has one empty column of 19%
and the rest, the actual search fields, are in a [td colspan=2
align=right]tag. The logged-in bar has three columns: 19% for the
hello message, 34% empty and remaining 47% for useful links.

For some languages, the "Welcome to LiveJournal!" text in the
logged-in bar is too long to coexist with the search fields in the
[td colspan=2 align=right] tag in the search bar. As a result the
browser (IE in particular) expands the whole table in width and
enforces horizontal scrolling for the whole page. This is very
inconvenient for the user.

The long "Welcome to LiveJournal!" message is actually short enough to
coexist peacefully with the other text in its own row; it
conflicts with the search row above it because it lives in the first
column of the logged-in bar which is identified with the first column
of the search bar. So, uniting this message with the next "empty" column
after it in the logged-in bar into a colspan=2 tag solves the problem.

The patch has been tested on IE and Opera, and should work fine on
other browsers. We already use colspan elsewhere in the same template,
so there's no new HTML functionality.

bradfitz: works great in IE, but not perfectly in Mozilla.
thinking there's still a problem somewhere. some numbers off?


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 ljcom/cgi-bin/bml/scheme/dystopia/generic.look
http://cvs.livejournal.org/browse.cgi/ljcom/cgi-bin/bml/scheme/dystopia/generic.look.diff?r1=1.30&r2=1.31

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jun 30 20:22:04 UTC 2002

Modified Files:
---------------
livejournal/cvs: multicvs.conf
Added Files:
------------
livejournal/doc/raw/build/api: apidoc.conf
Removed Files:
-------------
livejournal/bin: apidoc.pl

Log Message:
------------
move apidoc.pl to wcmtools, add a LJ-specific conf file for it.


To generate a diff of this commit:
cvs rdiff -r1.11 -r0 livejournal/bin/apidoc.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/apidoc.pl.diff?r1=1.11&r2=0
cvs rdiff -r1.2 -r1.3 livejournal/cvs/multicvs.conf
http://cvs.livejournal.org/browse.cgi/livejournal/cvs/multicvs.conf.diff?r1=1.2&r2=1.3
cvs rdiff -r0 -r1.1 livejournal/doc/raw/build/api/apidoc.conf
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/api/apidoc.conf.diff?r1=0&r2=1.1

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jun 30 21:40:09 UTC 2002

Modified Files:
---------------
livejournal/cvs: multicvs.conf
livejournal/doc/raw: index.xml
livejournal/doc/raw/build: generate.pl ljdocs2html.xsl
livejournal/doc/raw/build/api: api2db.pl
livejournal/doc/raw/build/console: console2db.pl
livejournal/doc/raw/build/priv: priv2db.pl
livejournal/doc/raw/build/protocol: authinfo.ent.xml postevent.mode.xml
xml-rpc2db.xsl xmlrpc.dtd
livejournal/doc/raw/entities: authors.ent books.ent lj.book.ent
ljp.book.ent
livejournal/doc/raw/lj.book/customize: layout.xml
livejournal/doc/raw/lj.book/install: general_setup.xml
ljconfig.vars.xml mysql_setup.xml
livejournal/doc/raw/lj.book/intro: why.xml
livejournal/doc/raw/ljp.book: index.xml
livejournal/doc/raw/ljp.book/csp: index.xml
livejournal/htdocs: protocol.dat
Added Files:
------------
livejournal/doc/raw/build: docbooklib.pl titlepage.xsl
livejournal/doc/raw/build/protocol: flat2db.pl proplist2db.pl
livejournal/doc/raw/lj.book/install: ljconfig.dbinfo.xml
livejournal/doc/raw/ljp.book/csp: proplist.xml versions.xml
livejournal/doc/raw/ljp.book/csp/flat: index.xml

Log Message:
------------
tons more docs from jproulx


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 livejournal/cvs/multicvs.conf
http://cvs.livejournal.org/browse.cgi/livejournal/cvs/multicvs.conf.diff?r1=1.3&r2=1.4
cvs rdiff -r1.4 -r1.5 livejournal/doc/raw/index.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/index.xml.diff?r1=1.4&r2=1.5
cvs rdiff -r0 -r1.1 livejournal/doc/raw/build/docbooklib.pl \
livejournal/doc/raw/build/titlepage.xsl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/docbooklib.pl.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/titlepage.xsl.diff?r1=0&r2=1.1
cvs rdiff -r1.8 -r1.9 livejournal/doc/raw/build/generate.pl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/generate.pl.diff?r1=1.8&r2=1.9
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/build/ljdocs2html.xsl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/ljdocs2html.xsl.diff?r1=1.1&r2=1.2
cvs rdiff -r1.3 -r1.4 livejournal/doc/raw/build/api/api2db.pl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/api/api2db.pl.diff?r1=1.3&r2=1.4
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/build/console/console2db.pl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/console/console2db.pl.diff?r1=1.1&r2=1.2
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/build/priv/priv2db.pl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/priv/priv2db.pl.diff?r1=1.1&r2=1.2
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/build/protocol/authinfo.ent.xml \
livejournal/doc/raw/build/protocol/postevent.mode.xml \
livejournal/doc/raw/build/protocol/xml-rpc2db.xsl \
livejournal/doc/raw/build/protocol/xmlrpc.dtd
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/authinfo.ent.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/postevent.mode.xml.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/xml-rpc2db.xsl.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/xmlrpc.dtd.diff?r1=1.1&r2=1.2
cvs rdiff -r0 -r1.1 livejournal/doc/raw/build/protocol/flat2db.pl \
livejournal/doc/raw/build/protocol/proplist2db.pl
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/flat2db.pl.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/build/protocol/proplist2db.pl.diff?r1=0&r2=1.1
cvs rdiff -r1.1 -r1.2 livejournal/doc/raw/entities/authors.ent
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/entities/authors.ent.diff?r1=1.1&r2=1.2
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/entities/books.ent
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/entities/books.ent.diff?r1=1.2&r2=1.3
cvs rdiff -r1.6 -r1.7 livejournal/doc/raw/entities/lj.book.ent
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/entities/lj.book.ent.diff?r1=1.6&r2=1.7
cvs rdiff -r1.3 -r1.4 livejournal/doc/raw/entities/ljp.book.ent
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/entities/ljp.book.ent.diff?r1=1.3&r2=1.4
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/lj.book/customize/layout.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/customize/layout.xml.diff?r1=1.2&r2=1.3
cvs rdiff -r1.4 -r1.5 livejournal/doc/raw/lj.book/install/general_setup.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/install/general_setup.xml.diff?r1=1.4&r2=1.5
cvs rdiff -r0 -r1.1 livejournal/doc/raw/lj.book/install/ljconfig.dbinfo.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/install/ljconfig.dbinfo.xml.diff?r1=0&r2=1.1
cvs rdiff -r1.9 -r1.10 livejournal/doc/raw/lj.book/install/ljconfig.vars.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/install/ljconfig.vars.xml.diff?r1=1.9&r2=1.10
cvs rdiff -r1.5 -r1.6 livejournal/doc/raw/lj.book/install/mysql_setup.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/install/mysql_setup.xml.diff?r1=1.5&r2=1.6
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/lj.book/intro/why.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/intro/why.xml.diff?r1=1.2&r2=1.3
cvs rdiff -r1.3 -r1.4 livejournal/doc/raw/ljp.book/index.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/ljp.book/index.xml.diff?r1=1.3&r2=1.4
cvs rdiff -r1.1 -r1.2 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.1&r2=1.2
cvs rdiff -r0 -r1.1 livejournal/doc/raw/ljp.book/csp/proplist.xml \
livejournal/doc/raw/ljp.book/csp/versions.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/ljp.book/csp/proplist.xml.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/ljp.book/csp/versions.xml.diff?r1=0&r2=1.1
cvs rdiff -r0 -r1.1 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=0&r2=1.1
cvs rdiff -r1.8 -r1.9 livejournal/htdocs/protocol.dat
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/protocol.dat.diff?r1=1.8&r2=1.9

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jun 30 23:30:51 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: en.dat
livejournal/htdocs: userinfo.bml

Log Message:
------------
This patch English-removes userinfo.bml.
anton wrote and submitted the patch.
avva reviewed, fixed some glitches, tested and XHTMLified a
lot.

Tested.


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 livejournal/bin/upgrading/en.dat
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/en.dat.diff?r1=1.23&r2=1.24
cvs rdiff -r1.55 -r1.56 livejournal/htdocs/userinfo.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/userinfo.bml.diff?r1=1.55&r2=1.56

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Jun 30 23:45:29 UTC 2002

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

Log Message:
------------
make create.bml's double-click protection stronger... every couple
months we get a case where a user creates a journal that already
exists and happens to use the same password, and thus think they found
a hole and broke into the journal.

i guess it kinda is a hole, but only occurs if people used dumb passwords.
but now it won't happen on accident.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 livejournal/htdocs/create.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/create.bml.diff?r1=1.30&r2=1.31

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Mon Jul 1 00:47:33 UTC 2002

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

Log Message:
------------
'set' console command for setting userprops and running hooks


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 livejournal/cgi-bin/console.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/console.pl.diff?r1=1.26&r2=1.27
cvs rdiff -r1.219 -r1.220 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.219&r2=1.220

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Mon Jul 1 00:48:56 UTC 2002

Modified Files:
---------------
ljcom/bin/upgrading: base-data-local.sql
ljcom/cgi-bin: ljcom.pl

Log Message:
------------
New ljcom userprop to disable one's @livejournal.com email address.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 ljcom/bin/upgrading/base-data-local.sql
http://cvs.livejournal.org/browse.cgi/ljcom/bin/upgrading/base-data-local.sql.diff?r1=1.3&r2=1.4
cvs rdiff -r1.22 -r1.23 ljcom/cgi-bin/ljcom.pl
http://cvs.livejournal.org/browse.cgi/ljcom/cgi-bin/ljcom.pl.diff?r1=1.22&r2=1.23