June 21st, 2002

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Fri Jun 21 14:18:07 UTC 2002

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

Log Message:
------------
avva:
Three new languages. Note that Chinese Traditional is defined
'diff:zh' instead of 'diff:en_LJ' as we have for most everything now.
It should work fine, right? -- I don't see any reason why not; and
it's very sensible to have it that way.

I made up zh_TR for Chinese Traditional, a-la our en_LJ, because
the standard language name is 'zh' for both.


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

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri Jun 21 14:31:11 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: cleanhtml.pl
livejournal/htdocs/view: index.bml

Log Message:
------------
avva:
This patch fixes the problem of [Unknown LJ tag] tags in subjects messing up with
monthly subject views. It introduces a new option, 'textonly', to
clean(), which teaches it to output text-only version HTML it inserts
into the outgoing stream (the issue here is that HTML generated by
custom tags never goes through the parser and isn't subject to being
processed and its tags being removed/stripped like the rest, so the
code needs a special hint). This is really only relevant for [Unknown LJ tag]/[Unknown LJ tag] tags now.

Tested.

bradfitz: month view BML escaping


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 livejournal/cgi-bin/cleanhtml.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/cleanhtml.pl.diff?r1=1.29&r2=1.30
cvs rdiff -r1.14 -r1.15 livejournal/htdocs/view/index.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/view/index.bml.diff?r1=1.14&r2=1.15

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri Jun 21 14:33:16 UTC 2002

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

Log Message:
------------
evan: extra "at:" on the success page when creating accounts; it's
in the translate string.


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

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri Jun 21 14:34:29 UTC 2002

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

Log Message:
------------
avva:
This patch fixes a bug in editjournal_do.bml which prevents people
from modifying the current mood from the one in the drop-down list to
a custom mood (w/o changing anything else in the entry).

The bug was that prop_current_moodid is deleted from the req hash if
a custom field prop_current_mood is present. It needs to be emptied,
not deleted, so that the protocol code will see it and delete the
existing moodid of the entry (if it was there).

Tested.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 livejournal/htdocs/editjournal_do.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/editjournal_do.bml.diff?r1=1.21&r2=1.22

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri Jun 21 14:36:18 UTC 2002

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

Log Message:
------------
evan: html cleaner fix

Just as you and I thought simultaneously, I think this fixes everything.

My previous concern was actually wrong. This'll fix bkalil's complaint
http://www.livejournal.com/talkread.bml?journal=changelog&itemid=292525&thread=532653
just as well.


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

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri Jun 21 15:14:20 UTC 2002

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

Log Message:
------------
English-removes two strings forgotten in the original patch.

anton: submitted. avva: reviewed.

Tested.


To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 livejournal/htdocs/talkpost.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkpost.bml.diff?r1=1.57&r2=1.58

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri Jun 21 20:30:52 UTC 2002

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

Log Message:
------------
eru: Patch: allow contextual HTML in subjects

I noticed that cleanhtml.pl strips out all but certain tags from
subjects. It allows <i>, <b>, and <u> for simple formatting, but it
will strip out the newer contextual equivalents: <em>, <strong>, and
<cite>. So, if I'm an XHTML weenie and want to make a point in the
title, I can't write "LiveJournal is <em>so</em> cool" Here's the
trivial diff.


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 livejournal/cgi-bin/cleanhtml.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/cleanhtml.pl.diff?r1=1.31&r2=1.32