May 8th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Wed May 8 20:47:51 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: bmlp.pl
livejournal/cgi-bin/Apache: BML.pm
livejournal/htdocs/admin/faq: readcat.bml
livejournal/htdocs/support: faq.bml faqbrowse.bml

Log Message:
------------
mod_perl BML is essentially done. just testing now, and cleaning up
BML files that contained code that did ugly things, like calling
internal BML functions that weren't public, like main::note_mod_time,
which is now public in BML::note_mod_time, hence the patch for bmlp.pl
as well.


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 livejournal/cgi-bin/bmlp.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/bmlp.pl.diff?r1=1.23&r2=1.24
cvs rdiff -r1.4 -r1.5 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.4&r2=1.5
cvs rdiff -r1.4 -r1.5 livejournal/htdocs/admin/faq/readcat.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/admin/faq/readcat.bml.diff?r1=1.4&r2=1.5
cvs rdiff -r1.10 -r1.11 livejournal/htdocs/support/faq.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/support/faq.bml.diff?r1=1.10&r2=1.11
cvs rdiff -r1.11 -r1.12 livejournal/htdocs/support/faqbrowse.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/support/faqbrowse.bml.diff?r1=1.11&r2=1.12

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Wed May 8 22:04:49 UTC 2002

Modified Files:
---------------
ljcom/htdocs/developer: modeinfo.bml varinfo.bml

Log Message:
------------
just change &BML:: to BML:: ... no real change, just style.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 ljcom/htdocs/developer/modeinfo.bml \
ljcom/htdocs/developer/varinfo.bml
http://cvs.livejournal.org/browse.cgi/ljcom/htdocs/developer/modeinfo.bml.diff?r1=1.5&r2=1.6
http://cvs.livejournal.org/browse.cgi/ljcom/htdocs/developer/varinfo.bml.diff?r1=1.5&r2=1.6

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Wed May 8 23:34:26 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: bmlp.pl lj-bml-init.pl

Log Message:
------------
fix Accept-Language support which doesn't work anymore with BML's
$ML_GETTER scheme. (not in BML-defined .dat files)


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 livejournal/cgi-bin/bmlp.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/bmlp.pl.diff?r1=1.24&r2=1.25
cvs rdiff -r1.21 -r1.22 livejournal/cgi-bin/lj-bml-init.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/lj-bml-init.pl.diff?r1=1.21&r2=1.22

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Wed May 8 23:36:25 UTC 2002

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

Log Message:
------------
mod_perl BML support... now totally done and ready for testing.

this patch adds:

-- %FORM support in BMLCodeBlock (which is now kinda deprecated,
in favor of more secure %GET and %POST)

-- cookie support

-- Accept-Language support, just as I committed to bmlp.pl a second ago


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.5&r2=1.6

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 9 02:10:31 UTC 2002

Modified Files:
---------------
livejournal/htdocs/admin/priv: index.bml

Log Message:
------------
change so translator admins can give/take translator privs only within their
language. (the admin (priv-give) priv wasn't that fine-grained before)

from code:

# if user has priv 'admin' with arg 'foo/bar', user can grant or revoke the
# 'foo' priv with only argument 'bar'. Normally, the admin arg is just the
# priv name, in which case the user can use grant/revoke that with any arg.
# %maybe_access is used later to decide, "should we show the UI to add/remove
# the 'foo' priv?" and only later does the save code check, "but did they
# use the 'bar' arg?"

also changed:

- some xhtml
- form tags without actions were added, since %GET and %POST args
were colliding in %FORM, which is the new behavior under mod_perl BML.
but we didn't want the old GET args anyway, so changing the form
action to './' fixed it.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 livejournal/htdocs/admin/priv/index.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/admin/priv/index.bml.diff?r1=1.11&r2=1.12

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Thu May 9 03:03:00 UTC 2002

Modified Files:
---------------
ljcom/bin/upgrading: en_LJ.dat text-local.dat

Log Message:
------------
add Finnish and English (UK)


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 ljcom/bin/upgrading/en_LJ.dat
http://cvs.livejournal.org/browse.cgi/ljcom/bin/upgrading/en_LJ.dat.diff?r1=1.15&r2=1.16
cvs rdiff -r1.11 -r1.12 ljcom/bin/upgrading/text-local.dat
http://cvs.livejournal.org/browse.cgi/ljcom/bin/upgrading/text-local.dat.diff?r1=1.11&r2=1.12

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 9 03:32:14 UTC 2002

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

Log Message:
------------
Don't allow registration of same ISO lang code -> LJ lang code twice.
(so en_GB doesn't clobber en_LJ's dominance... booyah!)


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 livejournal/cgi-bin/bmlp.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/bmlp.pl.diff?r1=1.25&r2=1.26
cvs rdiff -r1.6 -r1.7 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.6&r2=1.7

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 9 05:20:38 UTC 2002

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

Log Message:
------------
avva (and I) didn't really like changing BML's %FORM behavior. ;)

really, if we're keeping %FORM, it should behave the same. but in time
we move to %GET and %POST... both live happily. la.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.7&r2=1.8