May 29th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Wed May 29 18:51:16 UTC 2002

Modified Files:
---------------
livejournal/htdocs/friends: edit_do.bml

Log Message:
------------
well, until we turn off AllowOldSyntax, we have to use LJ::eall still
(*sigh*), but then we can alias the function eall to a C-based ehtml.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 livejournal/htdocs/friends/edit_do.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/friends/edit_do.bml.diff?r1=1.17&r2=1.18

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Wed May 29 20:43:46 UTC 2002

Modified Files:
---------------
livejournal/bin/maint: stats.pl

Log Message:
------------
embarassing bug... hard-coded propids.

props to uncon for repeatedly mentioning the bug in lj_dev
until I finally searched for it and fixed it.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 livejournal/bin/maint/stats.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/maint/stats.pl.diff?r1=1.21&r2=1.22

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Wed May 29 20:52:18 UTC 2002

Modified Files:
---------------
ljcom/bin: screenshots.pl
ljcom/bin/upgrading: de.dat
ljcom/cgi-bin: ljcom.pl
ljcom/htdocs/developer: embedding.bml

Log Message:
------------
This patch removes more old-style BML from various non-.bml places.
Tested.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 ljcom/bin/screenshots.pl
http://cvs.livejournal.org/browse.cgi/ljcom/bin/screenshots.pl.diff?r1=1.2&r2=1.3
cvs rdiff -r1.3 -r1.4 ljcom/bin/upgrading/de.dat
http://cvs.livejournal.org/browse.cgi/ljcom/bin/upgrading/de.dat.diff?r1=1.3&r2=1.4
cvs rdiff -r1.20 -r1.21 ljcom/cgi-bin/ljcom.pl
http://cvs.livejournal.org/browse.cgi/ljcom/cgi-bin/ljcom.pl.diff?r1=1.20&r2=1.21
cvs rdiff -r1.7 -r1.8 ljcom/htdocs/developer/embedding.bml
http://cvs.livejournal.org/browse.cgi/ljcom/htdocs/developer/embedding.bml.diff?r1=1.7&r2=1.8

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Wed May 29 20:52:40 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: en.dat
livejournal/cgi-bin: ljlib.pl portal.pl talklib.pl
livejournal/cgi-bin/bml/scheme: global.look

Log Message:
------------
avva:
This patch removes more old-style BML from various non-.bml places.
Tested.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 livejournal/bin/upgrading/en.dat
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/en.dat.diff?r1=1.14&r2=1.15
cvs rdiff -r1.198 -r1.199 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.198&r2=1.199
cvs rdiff -r1.16 -r1.17 livejournal/cgi-bin/portal.pl \
livejournal/cgi-bin/talklib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/portal.pl.diff?r1=1.16&r2=1.17
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/talklib.pl.diff?r1=1.16&r2=1.17
cvs rdiff -r1.13 -r1.14 livejournal/cgi-bin/bml/scheme/global.look
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/bml/scheme/global.look.diff?r1=1.13&r2=1.14

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Wed May 29 21:26:35 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin/Apache: BML.pm

Log Message:
------------
avva:
In preparation of %ENV removal everywhere, this patch:
- adds more BML:: functions for getting information about the request;
- removes needless usage of slightly slower parsed_uri() (all the
stuff's already there in $r).
- creates BML::self_link() analogous to LJ::self_link() (which should be
going away), only it doesn't need the form argument.

Tested.

BTW, I left the LJFUNC documentation of self_link() intact, because it
just seemed so cruel to delete docs. Can't hurt, can it? Maybe we can
document more BML functions later in the same way.

bradfitz: heh... yeah, BML docs wouldn't be bad. :)


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.32&r2=1.33

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Wed May 29 23:23:01 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: ljlib.pl
livejournal/doc: hooks.txt
livejournal/htdocs: register.bml

Log Message:
------------
ljlib.pl: fix bug where you can only send one arg to a hook

hooks.txt: add new emailconfirmed hook

register.bml: run new emailconfirmed hook


To generate a diff of this commit:
cvs rdiff -r1.199 -r1.200 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.199&r2=1.200
cvs rdiff -r1.10 -r1.11 livejournal/doc/hooks.txt
http://cvs.livejournal.org/browse.cgi/livejournal/doc/hooks.txt.diff?r1=1.10&r2=1.11
cvs rdiff -r1.9 -r1.10 livejournal/htdocs/register.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/register.bml.diff?r1=1.9&r2=1.10

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Wed May 29 23:24:49 UTC 2002

Modified Files:
---------------
ljcom/bin/maint: aliases.pl expiring.pl pay.pl taskinfo-local.txt
ljcom/bin/upgrading: update-db-local.pl
ljcom/cgi-bin: ljcom.pl

Log Message:
------------
update-db-local.pl: new table: email_aliases for postfix

ljcom.pl: implement emailconfirmed hook, adding paid users to email_alisaes

pay.pl/expiring.pl: add/remove from table

takeinfo-local.txt / aliases.pl: don't mess with postfix anymore, just
add fixed aliass to email_aliases table


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 ljcom/bin/maint/aliases.pl
http://cvs.livejournal.org/browse.cgi/ljcom/bin/maint/aliases.pl.diff?r1=1.16&r2=1.17
cvs rdiff -r1.7 -r1.8 ljcom/bin/maint/expiring.pl
http://cvs.livejournal.org/browse.cgi/ljcom/bin/maint/expiring.pl.diff?r1=1.7&r2=1.8
cvs rdiff -r1.6 -r1.7 ljcom/bin/maint/pay.pl \
ljcom/bin/maint/taskinfo-local.txt
http://cvs.livejournal.org/browse.cgi/ljcom/bin/maint/pay.pl.diff?r1=1.6&r2=1.7
http://cvs.livejournal.org/browse.cgi/ljcom/bin/maint/taskinfo-local.txt.diff?r1=1.6&r2=1.7
cvs rdiff -r1.10 -r1.11 ljcom/bin/upgrading/update-db-local.pl
http://cvs.livejournal.org/browse.cgi/ljcom/bin/upgrading/update-db-local.pl.diff?r1=1.10&r2=1.11
cvs rdiff -r1.21 -r1.22 ljcom/cgi-bin/ljcom.pl
http://cvs.livejournal.org/browse.cgi/ljcom/cgi-bin/ljcom.pl.diff?r1=1.21&r2=1.22

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 30 03:47:18 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: ljlib.pl ljviews.pl
livejournal/cgi-bin/Apache: LiveJournal.pm
livejournal/htdocs: register.bml
livejournal/htdocs/support: act.bml

Log Message:
------------
avva:
Further work on removing dependence on CGI environment variables.
- modify BML::get_query_string() to be smart as LJ::get_query_string
is, which means to get the previous request's arguments if this one is
redirected and has empty arguments.
- remove all dependencies throughout the source tree
on LJ::get_query_string().
- remove all dependencies throughout the source tree
on LJ::get_form_data(). This function is no
longer needed. It was used to parse the interface string for the flat
interface, and to parse the query string in ljviews.pl . The former now
parses the POST data directly, and the latter parses the query string
directly from the data it already has. Note that client requests now
_have_ to be POST, but it's not a problem because we've always demanded
that anyway.
- remove both these functions from ljlib.pl;
- get rid of all remaining %ENV usage in ljlib.pl.

Everything was carefully tested.

This patch fixes a few bugs in trans() due to the fact that $r->uri
doesn't contain the query string. These bugs manifest by failing to
build correct $opts->{'args'} to make_journal(), and they didn't
manifest before because ljviews.pl ignored args and used
get_form_data() to build them again.

Tested.

bradfitz: fix all the breakage. :P


To generate a diff of this commit:
cvs rdiff -r1.200 -r1.201 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.200&r2=1.201
cvs rdiff -r1.50 -r1.51 livejournal/cgi-bin/ljviews.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljviews.pl.diff?r1=1.50&r2=1.51
cvs rdiff -r1.22 -r1.23 livejournal/cgi-bin/Apache/LiveJournal.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/LiveJournal.pm.diff?r1=1.22&r2=1.23
cvs rdiff -r1.10 -r1.11 livejournal/htdocs/register.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/register.bml.diff?r1=1.10&r2=1.11
cvs rdiff -r1.16 -r1.17 livejournal/htdocs/support/act.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/support/act.bml.diff?r1=1.16&r2=1.17

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 30 04:50:04 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin/Apache: BML.pm
livejournal/htdocs: talkread.bml

Log Message:
------------
Now that we're using HTML-like tags for BML, BML can't slip by the talkread.bml
HTML cleaner, so we can't pass emcolor/emcolorlite BML tags upwards, so we need
to look those up from BML in the talkread.bml _code blocks early. which
requires BML support to do that, first of all.


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.33&r2=1.34
cvs rdiff -r1.77 -r1.78 livejournal/htdocs/talkread.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.77&r2=1.78

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 30 04:54:33 UTC 2002

Modified Files:
---------------
livejournal/doc/raw/entities: lj.book.ent
livejournal/doc/raw/lj.book: index.xml
Added Files:
------------
livejournal/doc/raw/lj.book/customize: images.xml index.xml layout.xml
limits.xml local_cvs.xml tasks.xml text.xml

Log Message:
------------
jproulx/bradfitz: add section on customizing installs


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/entities/lj.book.ent
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/entities/lj.book.ent.diff?r1=1.2&r2=1.3
cvs rdiff -r1.2 -r1.3 livejournal/doc/raw/lj.book/index.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/index.xml.diff?r1=1.2&r2=1.3
cvs rdiff -r0 -r1.1 livejournal/doc/raw/lj.book/customize/images.xml \
livejournal/doc/raw/lj.book/customize/index.xml \
livejournal/doc/raw/lj.book/customize/layout.xml \
livejournal/doc/raw/lj.book/customize/limits.xml \
livejournal/doc/raw/lj.book/customize/local_cvs.xml \
livejournal/doc/raw/lj.book/customize/tasks.xml \
livejournal/doc/raw/lj.book/customize/text.xml
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/customize/images.xml.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/customize/index.xml.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/customize/layout.xml.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/customize/limits.xml.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/customize/local_cvs.xml.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/customize/tasks.xml.diff?r1=0&r2=1.1
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/lj.book/customize/text.xml.diff?r1=0&r2=1.1