March 16th, 2002

ljcom: utf-8 local

Module Name: ljcom
Committed By: bradfitz
Date: Sat Mar 16 20:13:08 UTC 2002

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

Log Message:
------------
shit, the last commit didn't show on the changelog
because I'd changed my password and didn't update the logaccum.conf
file.

anyway, avva mostly finished utf-8 support, so it's all in
CVS now. only these 2 files in ljcom changed, but tons and tons
changed in livejournal.

more will be coming over next few days.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 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.12&r2=1.13
cvs rdiff -r1.4 -r1.5 ljcom/htdocs/suggestions/generator.bml
http://cvs.livejournal.org/browse.cgi/ljcom/htdocs/suggestions/generator.bml.diff?r1=1.4&r2=1.5

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 16 20:44:36 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: update-db-general.pl

Log Message:
------------
start of friends view generation speed-up


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.53&r2=1.54

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Sat Mar 16 20:45:41 UTC 2002

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

Log Message:
------------
both IE6 and Mozilla require the charset=utf-8 in the HTTP header, not
in the meta.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 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.13&r2=1.14

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 16 21:39:39 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: update-db-general.pl
livejournal/cgi-bin: ljlib.pl
livejournal/htdocs: talkpost_do.bml

Log Message:
------------
reverting some of avva's db changes. namely:

1) don't alter user table twice
2) run each alter in its own check
3) don't alter the talktext[2] tables
4) don't alter userprop (varchar(60) is fine... userproplite is the wide one)
5) don't alter pollquestion opt (see what it's used for? app-defined, not user)


To generate a diff of this commit:
cvs rdiff -r1.54 -r1.55 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.54&r2=1.55
cvs rdiff -r1.171 -r1.172 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.171&r2=1.172
cvs rdiff -r1.47 -r1.48 livejournal/htdocs/talkpost_do.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkpost_do.bml.diff?r1=1.47&r2=1.48

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 16 21:48:00 UTC 2002

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

Log Message:
------------
send charset=utf-8 from users page by default when $LJ::UNICODE is set.
and when sending RSS (though that is alll to be redone anyway)


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 livejournal/cgi-bin/ljviews.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljviews.pl.diff?r1=1.40&r2=1.41
cvs rdiff -r1.17 -r1.18 livejournal/htdocs/users
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/users.diff?r1=1.17&r2=1.18

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 16 22:00:57 UTC 2002

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

Log Message:
------------
remove that ugly ass disabled box, and break encoding into its own
little subsection. better, i think. i'm open for suggestions if people
really hate it, but it seems okay.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 livejournal/htdocs/editinfo.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/editinfo.bml.diff?r1=1.6&r2=1.7

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 16 23:26:13 UTC 2002

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

Log Message:
------------
dear avva,

remember the no-tabs policy you were so excited about me starting to obey?
please don't send me patches with tabs in them.

(setq-default show-trailing-whitespace t)
(setq-default default-indicate-empty-lines t)
(setq-default indent-tabs-mode nil)
(set-variable 'default-indicate-empty-lines t)


To generate a diff of this commit:
cvs rdiff -r1.86 -r1.87 livejournal/cgi-bin/ljprotocol.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.86&r2=1.87

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 16 23:36:21 UTC 2002

Modified Files:
---------------
livejournal/bin/maint: stats.pl
livejournal/bin/upgrading: update-db-general.pl
livejournal/htdocs: stats.bml

Log Message:
------------
promos? hah. old-skool. bye. that was from before we ever had a business model.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 livejournal/bin/maint/stats.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/maint/stats.pl.diff?r1=1.20&r2=1.21
cvs rdiff -r1.55 -r1.56 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.55&r2=1.56
cvs rdiff -r1.12 -r1.13 livejournal/htdocs/stats.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/stats.bml.diff?r1=1.12&r2=1.13

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 16 23:52:53 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: update-db-general.pl

Log Message:
------------
avva slipped this by without me noticing. :P

the user table uses only fixed-size fields for speed and reliability.
that is, no VARCHARs. which means user record takes the full amount
of bytes possible, so i'm shrinking this from 100 to 80. really,
we need to have a userprop for journal title, which can be really long.
i posted to lj_dev about this ages ago. journal name and journal title
are different ideas.

even with CJK utf-8, 80 should be enough for a name... 80/3 = 26 chars.
my full name is 26 chars: "bradley joseph fitzpatrick". we can change
this later if it's really a problem, but i don't think it will be.


To generate a diff of this commit:
cvs rdiff -r1.56 -r1.57 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.56&r2=1.57

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 17 03:42:13 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: update-db-general.pl

Log Message:
------------
let's drop this column tonight at the same time as the utf-8 changes.


To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.57&r2=1.58

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 17 04:46:51 UTC 2002

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

Log Message:
------------
start of work to make friends views build faster (by never trying to
load journal data of friends that posted stuff you can't see)

we log now the time of each security bit used, rather than only
"something in this journal is updated".


To generate a diff of this commit:
cvs rdiff -r1.87 -r1.88 livejournal/cgi-bin/ljprotocol.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.87&r2=1.88