Archived
1
0
Commit Graph

1434 Commits

Author SHA1 Message Date
Dan Helfman
98a0ee228a No more rounded corners on many UI elements, since the rounding was done by a
browser-specific CSS hack and looked crappy. Those elements that are still
rounded are now implemented with nice smooth images instead.

Also changed downloaded HTML generation to specify sans-serif for the font.
2007-10-31 07:46:02 +00:00
Dan Helfman
6ad00cecf6 Fixed incorrect arguments passed to create_editor(), which, among other things, caused hiding "all notes" to yield an error message. 2007-10-31 06:41:23 +00:00
Dan Helfman
ad58956f34 Some early work in support of a reverse chronological order view of a notebook, useful for a blog. 2007-10-30 23:05:46 +00:00
Dan Helfman
99c08bc3d1 Finally, when you start a link, the cursor no longer disappears!
Unfortunately, doing this required a total selection hack, and litters the note HTML with empty spans.
2007-10-27 07:54:52 +00:00
Dan Helfman
d68c12c9bb Making cursor into a pointer when hovering over various buttons. 2007-10-27 07:10:27 +00:00
Dan Helfman
22ce1728f4 Adding a blank note stub box thingy at the bottom of the notes. When you hover
over it, you see its outline. When you click on it, a new blank note is
created.

Also, now creating a blank now closes open pulldowns/messages.
2007-10-27 03:22:34 +00:00
Dan Helfman
55e6e38ad5 Updating faq to mention Postgres and Postfix, and not mention bsddb.
Also making tools/updatedb only update notes with changed contents.
2007-10-26 23:35:25 +00:00
Dan Helfman
a8117f3c2f No longer auto-hiding blank editors unless they are the blank_editor_id. In
other words, if you have an existing note and you nuke all of its contents,
then navigate to another note, the blank note won't just disappear.
2007-10-26 21:01:22 +00:00
Dan Helfman
f965eb1978 Read-only editors should not issue title change events. This fix also happens
to prevent links for read-only old revision notes from showing up in the "all
notes" note.
2007-10-26 20:50:58 +00:00
Dan Helfman
29ae81d1e3 Switching the "new note" button back to the plus, because the new image didn't pass the Wife Test. 2007-10-26 06:31:04 +00:00
Dan Helfman
c23515d249 Switching to new image-based buttons on the toolbar. Also preloading those images for great premature optimization. 2007-10-25 23:19:57 +00:00
Dan Helfman
1c4223d1e2 New hover + down button images. 2007-10-25 22:25:18 +00:00
Dan Helfman
0937123a16 Fixed pixel problem. 2007-10-25 21:25:36 +00:00
Dan Helfman
39c0409f6e Removed glow, recreated all buttons at 40x40 resolution. 2007-10-25 21:21:39 +00:00
Dan Helfman
3bedacbf2f Forgot to add a PNG for this image. 2007-10-25 10:26:28 +00:00
Dan Helfman
0de7a60db8 Lots and lots of toolbar images. 2007-10-25 10:23:07 +00:00
Dan Helfman
84283f524e If you click on a link for a note that's in the trash, you just get a message telling you so, with a button to undelete the note. 2007-10-22 23:17:56 +00:00
Dan Helfman
8dabd65291 Fix for bug where loading the link pulldown title can overwrite something the user has typed/pasted. 2007-10-22 21:44:17 +00:00
Dan Helfman
28835e5850 Strip newlines before comparing contents of a note to see if it's been altered. 2007-10-22 21:20:20 +00:00
Dan Helfman
c4e523a52d Shouldn't include search results note in "all notes" list. 2007-10-22 20:57:26 +00:00
Dan Helfman
9ef2eb9954 Update "all notes" note dynamically as notes as created, deleted, undeleted, renamed, etc. 2007-10-22 20:52:04 +00:00
Dan Helfman
5a49506eee Simpler, faster, and more correct storage usage calculation. 2007-10-22 08:11:50 +00:00
Dan Helfman
f41b659850 Adding rewrite rule for robots.txt. 2007-10-19 22:55:00 +00:00
Dan Helfman
7ebdf4aa26 New robots.txt file disallowing /users/demo so search engine spiders don't create a bunch of demo accounts. 2007-10-19 22:53:41 +00:00
Dan Helfman
6fe4b1f38e alert() warning message for Safari/Opera user agents in read-write mode. 2007-10-19 21:07:22 +00:00
Dan Helfman
d44f3b9224 Some tweaks for Opera, even though it's not supported. 2007-10-19 20:55:13 +00:00
Dan Helfman
cfaf607a7a Briefly highlight the all notes link when you hide a note. 2007-10-19 20:38:38 +00:00
Dan Helfman
27a6a06c91 Display a realtime count of total notes next to the "all notes" link. 2007-10-19 20:24:16 +00:00
Dan Helfman
89a3d6d300 Added a paragraph about sending email. 2007-10-19 19:23:28 +00:00
Dan Helfman
f2e7ed17ca Bug fix for displayed link pulldown destination getting replaced when it
contained an external URL and you changed the title of the link.
2007-10-17 21:22:21 +00:00
Dan Helfman
d7ee122efb * Altered password reset URL path to start with /r/
* Made notes in the main notebook accessable by title at root URLs. So you can get to the "sign up" note at the /sign_up URL.
2007-10-17 07:53:42 +00:00
Dan Helfman
218fe3995c Bug fix. Repro: Try making a link to a note that doesn't exist yet, then click
on the link. Delete the new note. Then go back to the first message, and click
after the link, so the link's pulldown shows. You'll get this error message:
"Sorry, you don't have access to do that."

The fix was to look for the cases when the deleted note is either in the trash
or deleted "forever", and then return None for the note value (instead of just
raising an Access_error).
2007-10-17 01:47:46 +00:00
Dan Helfman
baf38c9e63 Fix for "notebooks" heading not showing up in link area. 2007-10-16 23:16:17 +00:00
Dan Helfman
5b65474151 JavaScript unit tests now pass again. 2007-10-16 23:02:37 +00:00
Dan Helfman
613ee8a217 Completely revamped the way the main page and the notes on it are loaded by
the client. Previously, the main page would load as mostly blank, then the
client would immediately issue two async json calls to load the user and
notebook data, including startup notes. Now, the main page loads with the note
data actually as part of the page. If JavaScript is off, then you see all the
notes displayed, including startup notes and any designated note. If
JavaScript is on, then those "static" notes are instantly hidden and their
contents are loaded into iframes for editing/display.

The real upshot is that Luminotes in read-only mode is now more useful when
JavaScript is off, and actually displays notes and their contents. This is
very useful for search engine indexing.

Updated all Python unit tests. Still have to get to JavaScript unit tests,
what few their are.
2007-10-16 21:37:12 +00:00
Dan Helfman
3e0dbe0509 Rewrote *_current views to use MAX sub-query trick instead of SELECT DISTINCT ON, thereby greatly reducing query duration. 2007-10-16 11:01:05 +00:00
Dan Helfman
92935745fc Handy-dandy one-liner for dumping all current user email addresses to stdout, one per line. 2007-10-11 20:27:14 +00:00
Dan Helfman
322134cba6 Password reset now stores and uses a revision timestamp, which helps when testing for expiry. 2007-10-11 20:18:20 +00:00
Dan Helfman
bbebad528e Renaming new_model to model, now that the old bsddb model is out of the way. 2007-10-11 19:49:00 +00:00
Dan Helfman
17ad869635 Old model no longer needed now that all databases are convered to PostgreSQL. 2007-10-11 19:45:46 +00:00
Dan Helfman
6786f9801a No longer asking the server for revisions for a note that hasn't been saved yet. 2007-10-11 11:29:42 +00:00
Dan Helfman
eb3983af9c Oops.. Debugging print was left in. 2007-10-11 11:18:51 +00:00
Dan Helfman
b71b12fe50 Converting strings pulled out of the database from utf8 to unicode. 2007-10-11 11:06:50 +00:00
Dan Helfman
a11ba8661b Fix for duplicate pkey error. 2007-10-11 10:51:20 +00:00
Dan Helfman
6b2eb3103b Fix for password reset not recording email address. 2007-10-11 10:36:15 +00:00
Dan Helfman
7c2bd7f767 Email address can now be null in a password reset. This is needed for next_id to work. 2007-10-11 10:24:45 +00:00
Dan Helfman
fa288418e5 Sigh. 2007-10-11 10:17:36 +00:00
Dan Helfman
f1c55ffe9f Fixed bug where password reset form link was broken. 2007-10-11 10:15:22 +00:00
Dan Helfman
1875f1ed00 Fix for case where revisions list doesn't yet exist. 2007-10-11 10:07:27 +00:00
Dan Helfman
384ff85f86 Changing createdb line in install doc to include a UTF8 encoding so it doesn't default to ascii. 2007-10-11 09:48:02 +00:00