Permalink
Browse files

enter in password field

git-svn-id: svn+ssh://svn.osteele.com/home/osteele/svn/projects/cloud@26 e7b8d44c-8308-0410-acfb-b763ae30a170
  • Loading branch information...
osteele committed Dec 31, 2005
1 parent 5c02fd9 commit 5c80a5898de6c42862ae57d64fdaf8d5a3c09b8c
Showing with 48 additions and 44 deletions.
  1. +12 −36 cloud.lzx
  2. +36 −8 notes.txt
View
@@ -1,38 +1,6 @@
<!--
Sign in:
-- don't login with empty username or password
-- flash the button on enter
-- "remember me"
- underlined links
-- Enter on button
-
-Publish:
-- heads up to delicious
-- http://weblog.infoworld.com/udell/2005/12/20.html#a1357
-- wiki page
-
-Corners:
-- check large tags
-- verify old selector against new
-
-Features:
-- number of posts
-- tooltips
-- hover tags
-- show empty days
-- show number of posts, tags
-
-Tuning:
-- fix dragging bottom thumb
-- rank sizes
-- update during animation
-- drag the selector itself
-
-Visuals:
-- animation for retrieving data
-- skip rhs of left thumb
-- grippers on thumbs
-- mouseover graph
-->
<canvas proxied="false" title="expialidocio.us">
<!--include href="incubator/tooltip/tooltip.lzx"/-->
@@ -330,12 +298,19 @@ Visuals:
width="250" spacing="2"
visible="${appstate.state=='login'}"
fontsize="14">
+ <method name="updateButtons">
+ submitButton.setAttribute('enable', this.userText != '' &amp;&amp; this.passwordText != nil);
+ </method>
<method name="submit"><![CDATA[
+ var username = userField.getText();
// sometimes the password has an initial newline?
- var split = passwordField.getAttribute('text').split();
+ var split = passwordField.getText().split();
var password = '';
for (var i = 0; i < split.length; i++) password += split[i];
- appstate.signin(userField.getAttribute('text'), password)
+Debug.write('username="'+username+'"');
+Debug.write('password="'+password+'"');
+if (username=='' || password=='') return;
+ appstate.signin(username, password)
]]></method>
<text multiline="true" width="100%" fontsize="16">To view your tags, you must log in with your <a href="http://del.icio.us" target="_blank"><u><font color="#0000ff">del.icio.us</font></u></a> username and password.</text>
@@ -351,12 +326,13 @@ Visuals:
<view>
<text id="passwordLabel">password:</text>
<edittext id="passwordField" x="${userField.x}" password="true">
- <method event="onkeyup" args="k">if (k==13) loginView.submit();</method>
+ <method event="onkeydown" args="k">if (k==13) loginView.submit();</method>
</edittext>
</view>
-<roundrectbutton x="${userField.x}" height="20" onclick="loginView.submit()">
+<roundrectbutton id="submitButton" x="${userField.x}" height="20" onclick="loginView.submit()">
log in
+ <method event="onkeydown" args="k">if (k==13) loginView.submit();</method>
</roundrectbutton>
<!--checkbox>Remember me</checkbox-->
View
@@ -1,11 +1,39 @@
-Live feed:
-client:
-- login dialog
-- retry for connection refused
-- store in cookie
-- logout
-server:
-- throttling
+Publish:
+- heads up to delicious
+- make movie, publish
+- http://weblog.infoworld.com/udell/2005/12/20.html#a1357
+- wiki page
+
+Corners:
+- check large tags
+- verify old selector against new
+
+Features:
+- store login in cookie
+- show number of posts
+- tooltips
+- hover tags
+- show empty days
+- show number of posts, tags
+- link to everyone's or just mine
+- mouseover graph
+
+Tuning:
+- fix dragging bottom thumb
+- rank sizes
+- update during animation
+- drag the selector itself
+
+Visuals:
+- animation while retrieving data
+- flash the button on enter
+- show dimmed login while data is coming in
+- skip rhs of left thumb
+- grippers on thumbs
+- justify login text
+
+Refactor:
+-
curl_errno and curl_error
int: CURLOPT_CONNECTTIMEOUT CURLOPT_HTTPAUTH=CURLAUTH_BASIC CURLOPT_MAXREDIRS

0 comments on commit 5c80a58

Please sign in to comment.