Brad Fitzpatrick (brad) wrote in fotobilder,
Brad Fitzpatrick
brad
fotobilder

Disk quotas & LJ Auth

Disk quotas & LJ Authentication (http://pics.livejournal.com) are live.

I gave people I've seen recently and different contributors disk space. If you want disk space and have been active but I missed you, let me know.

(23:54:03) evan: what is the lj change?
(23:55:01) bradfitz: http://www.livejournal.com/interface/fotobilder
(23:55:24) bradfitz: k, it's working
(23:55:25) bradfitz: http://pics.livejournal.com/
(23:56:02) bradfitz: you haven't gone yet
(23:56:02) bradfitz: :P
(23:57:03) bradfitz: and magically, your client works... upload a pic to evan@pics.livejournal.com
(23:57:09) bradfitz: your HTTP lib sends the Host: header like a good lil' boy
(23:58:11) bradfitz: cool shit is that behind the scenes, fotobilder never gets your LJ plain-text password, or anything useful.
(23:58:21) bradfitz: we can host deadjournal's pictures transaprently on picpix, without a security risk
(23:58:43) bradfitz: i see you!
(23:58:47) bradfitz: mysql> select userid, domainid, user from user where userid > 80;
+--------+----------+----------+
| userid | domainid | user     |
+--------+----------+----------+
|     81 |        0 | darksoul |
|     82 |        0 | dan      |
|     83 |        0 | tsutton  |
|     84 |        0 | system   |
|     85 |        0 | billiam  |
|     86 |        1 | brad     |
|     87 |        1 | evan     |
+--------+----------+----------+
7 rows in set (0.00 sec)


(23:59:17) bradfitz: mysql> select userid, domainid, user, password from user where user='evan';
+--------+----------+------+----------+
| userid | domainid | user | password |
+--------+----------+------+----------+
|     79 |        0 | evan | XXXXXXXX |
|     87 |        1 | evan |          |
+--------+----------+------+----------+
2 rows in set (0.00 sec)


(23:59:50) bradfitz: in the FB config file:
  $AUTH_DOMAIN{1} = [ "LiveJournal", {
        'ljhost' => 'livejournal.com',
        'domain' => [ 'livejournal.com' ],
        'vhost' => [ 'pics.livejournal.com' ],
    }];


(00:00:03) bradfitz: "LiveJournal" being the plug-in name
(00:00:08) evan: interesting...
(00:00:10) bradfitz: we're gonna integrate with hot-or-not too
(00:00:15) evan: omg
(00:00:37) evan: so evan@livejournal is different than evan@picpix?
(00:00:39) bradfitz: yup
(00:00:41) bradfitz: but on same server
(00:00:47) bradfitz: so you can add evan@livejournal.com as a friend
(00:00:50) evan: so the financing could probably go both ways
(00:00:50) evan: yeah
(00:01:11) bradfitz: yeah, the db tables to track paid-for resources track domains too
(00:01:25) bradfitz: so your LJ paid account will get you so much disk, etc
(00:01:28) bradfitz: and that'll forward
(00:01:38) evan: does the lj paid account provide pic bandwidth?
(00:01:46) bradfitz: maybe a tiny amount
(00:01:50) bradfitz: haven't figured that out
(00:01:53) evan: yeah, hrmm
(00:01:57) bradfitz: gotta be a tiny amount to show it off
(00:02:00) bradfitz: and have some fun
(00:02:15) bradfitz: probably for awhile it'll be a promo that bandwidth is included
(00:02:16) bradfitz: to grow it
(00:02:27) evan: i think a bunch of people would buy paid lj accounts if they got some fb bandwidth
(00:02:31) bradfitz: disk quotas are entirely working now
(00:02:33) bradfitz: http://pics.livejournal.com/manage/accountstatus
(00:02:48) bradfitz: which was a requirement before I put the LJ auth live. :)
(00:02:49) evan: pics.livejournal.com actually points to fb, right?
(00:02:52) bradfitz: yeah
(00:02:52) bradfitz: same IP
(00:03:16) bradfitz: so to host deadjournal, they setup DNS, and we add a new %AUTH_DOMAIN to the fbconfig
(00:03:37) bradfitz: i'm also gonna make different auth domains have different BML styles
(00:03:45) bradfitz: so pics.livejournal.com is dystopia-ish
Subscribe

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic
  • 11 comments

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…