Click here to show or hide the menubar.

Sign-in form


Status

After many hours of fumbling around in virtual darkness, I finally seem to have wrestled my new sign-in dialog to the ground and it is my bitch. Hah. I wish. But it seems to work.

Now we're up to the point where it's time to figure out what the implications are inside the OPML environment, worldoutline, Radio2 and such.

Big change

There is no more sign-in or sign-out page.

When you want to sign-out, click the sign-out link as before. However to sign-in, click the sign-in link and up pops the modal dialog. Enter your username and password, click OK, and if it's valid, the dialog is removed and the page refreshes. It must because you might have some new commands in the menubar. Perhaps at some point this could become an ajax object, so no refresh is needed, but not yet.

There is a question of what page you go to when there is nothing that can be displayed without signing in. In some places this is not the case.

In worldoutline, most of the page-reads are done by people who are not signed in.

In the rest of the apps you have to be signed in. This could be relaxed, on a case-by-case basis, but is something that has to be thought about carefully. I might want to let everybody see my river, but it's hard to imagine I'd want to let anyone who isn't me see the dashboard of my Radio2 linkblog.

The sign-in page

For right now, the net-effect of all this work is that the sign-in page becomes blank.

But later we can put stuff on it, maybe a little explanation of what the software does. A logo. A podcast link?

A new responder

I tried at first to put the other side of the ajax call in the opmlEditor website, but it's doing a lot of work on the side that interferes with what is a very simple function. So I created a new responder, user.webserver.responders.ajax, that can be used to host all kinds of ajax calls. It's designed to be lean and very simple, an easy base to grow from.

Notes

In worldoutline don't redirect to signin page when you signout. This was never the right thing to do. You should just redirect back to the page you came from.

Parts

opmlEditor.data.outlines.signinForm

opmlEditor.member.jsonSigninForm

opmlEditor.member.signin

opmlEditor.member.signout

user.webserver.responders.ajax

webApp.data.signInCommand

webApp.data.signOutCommand

webApp.viewMenu

worldOutlineSuite.viewMenu

worldOutlineWebsite.signOut

worldOutlineWebsite.signIn


Posted on Monday, March 19, 2012 at 8:41 PM by Dave Winer.