Archived
1
0
Commit Graph

306 Commits

Author SHA1 Message Date
Dan Helfman
5520fe5892 * make a User_revision object containing a revision timestamp, user_id, username
* change controller.Notebooks.load_note_revisions() to select and return User_revision objects
 * change controller.Notebooks.save_note() to use User_revision objects for new_revision and previous_revision as well
 * update client to deal with new load_note_revisions() return values (make sure all uses of revisions_list are updated)
 * update client to deal with new new_revision/previous_revision
 * update changes pulldown to show username along with each timestamp
 * update model.Invite to load redeemed_username along with redeemed_user_id
 * display the redeemed username next to each email address in the "share this notebook" note
2008-01-04 04:45:43 +00:00
Dan Helfman
c4a2cf6713 Prevent web crawlers from spidering the "download as html" version of a notebook. 2008-01-02 03:27:31 +00:00
Dan Helfman
e7ae481eea Changing thumbnail CSS from padding to margin to make IE happier.
Hard-coding thumbnail width and height.
2008-01-02 00:45:22 +00:00
Dan Helfman
6135b3216d Mentioning notebook sharing feature. 2007-12-31 19:48:48 +00:00
Dan Helfman
405081e27a Fix for note summary sometimes showing up with literal HTML tags. 2007-12-30 21:55:25 +00:00
Dan Helfman
24530cdd34 Wrote a stand-in upgrade/subscribe page until such a time as users can actually purchase subscriptions. 2007-12-30 03:28:21 +00:00
Dan Helfman
f00809955c * Users.signup(), Users.login(), and Root.default() now support optional invite_id parameter.
* Modified Wiki.js to include invite_id parameter when necessary.
 * Increased storage quota (and price) for premium rate plan.
 * Added a note displayed when redeeming an invite, with links to signup and login.
2007-12-27 22:16:47 +00:00
Dan Helfman
687b73d375 CSS for new error pages. 2007-12-14 21:57:38 +00:00
Dan Helfman
60f8838b1d Preventing "x invitations have been sent message." from disappearing as soon as it's displayed. 2007-12-13 23:02:33 +00:00
Dan Helfman
a501d5fcce UI for invite revocation. 2007-12-13 22:29:57 +00:00
Dan Helfman
36c5ff5b08 Display of current invites now updates when you add new invites.
This means that controller.Users.send_invites() now returns a list of current invites.
Added a "new!" to the share link.
2007-12-13 20:26:32 +00:00
Dan Helfman
225167035d * model.Invite now has a to_dict() method, like other model classes do.
* Initial invites are now returned through Main_page() and displayed (but not
   yet updated) within the "share this notebook" note.
2007-12-12 00:52:34 +00:00
Dan Helfman
02444c81cc Adding some emphasis to remark within "share this notebook". 2007-12-11 05:52:33 +00:00
Dan Helfman
52c111895a Non-paying users can now invite people to their notebook, but only as viewers.
Paying users can invite them as viewers, collaborators, or owners.
2007-12-11 02:58:31 +00:00
Dan Helfman
5554b1df17 * Started a static upgrade HTML file with rate plans.
* Fixed Invite.sql_update() to have SQL params in proper order.
 * Fixed bug where email addresses containing "-" were considered invalid.
 * Made UI for inviting other people to your notebook.
 * Tweaked the rate plans and added a new one.
2007-12-11 01:15:03 +00:00
Dan Helfman
8b030b1a87 Sigh. 2007-12-05 22:55:23 +00:00
Dan Helfman
69889b5a29 Fix for bug where you'd see "&" in notebook rename field. 2007-12-05 22:52:37 +00:00
Dan Helfman
c750862263 Whoops, didn't mean to checkin the commenting out of these lines. 2007-12-03 21:36:25 +00:00
Dan Helfman
ac3759dcee Ignoring ctrl key being released in IE 6 and 7. 2007-11-30 04:00:31 +00:00
Dan Helfman
2832cebb48 Fixed note state detection of bold/italic in IE 6 and 7. 2007-11-30 01:45:07 +00:00
Dan Helfman
83b3fb5baa Refactored Wiki.toggle_button to work mostly correctly, as the previous revision broke it. 2007-11-30 01:43:06 +00:00
Dan Helfman
d9b36fa613 * Fixed note focusing in Safari.
* Fixed note state detection (bold, italic, etc.) in Safari.
2007-11-30 01:00:03 +00:00
Dan Helfman
08950c2ab7 Resizing onload as well since some browsers (e.g. Safari) don't fire onresize on iframes. 2007-11-29 20:32:41 +00:00
Dan Helfman
2e178f08be Resizing all iframes whenever the window resizes. 2007-11-29 20:15:37 +00:00
Dan Helfman
ef66811968 Fixing background color. 2007-11-28 23:26:33 +00:00
Dan Helfman
426f51d0e4 Replacing textual page title/heading with fancy image title. 2007-11-28 23:17:58 +00:00
Dan Helfman
0152b49475 Refactored the way note summaries are created in the link pulldown window. 2007-11-27 21:28:25 +00:00
Dan Helfman
45f94aa188 Deleting a notebook forever now updates the user's storage usage accordingly. 2007-11-19 22:03:04 +00:00
Dan Helfman
079f7e6f98 Fixed bug where clicking "all notes" in an empty notebook didn't show a message that the notebook is empty. 2007-11-18 23:06:51 +00:00
Dan Helfman
eec5ef6411 Implemented delete forever for notebooks. And unit tests! 2007-11-17 23:29:22 +00:00
Dan Helfman
7bd83199a1 Almost done with notebook deletion/undeletion. Just need to implement delete forever. 2007-11-17 22:55:13 +00:00
Dan Helfman
8fe52cef50 Now showing "notebook has been moved to the trash" message even if the notebook we've been redirected to has notes in it.
Also saving the focused note (if any) when deleting a notebook.
2007-11-17 04:39:33 +00:00
Dan Helfman
f7d2bd4885 Making IE happy by removing commas. 2007-11-17 04:31:19 +00:00
Dan Helfman
cdd971780e Began work on notebook deletion and subsequent undo/undeletion.
Changed schema slightly to support this.
Added a schema delta file and wrote an UPGRADE doc with info on how to upgrade schemas.
2007-11-17 04:21:48 +00:00
Dan Helfman
c1b4a58f65 Adding a new notebook now puts you directly into renaming it. 2007-11-15 23:46:30 +00:00
Dan Helfman
3b2462eff3 Not allowing "trash" as a new name when you rename a notebook.
Not allowing renaming of the actual trash notebook.
Not showing "add new notebook" link when anonymous user.
2007-11-15 22:55:57 +00:00
Dan Helfman
dfaba35d79 Refactored JavaScript total notes count and empty message display code so when
you create a new notebook, it says "This notebook is empty."
2007-11-15 22:40:16 +00:00
Dan Helfman
b22c784d39 Can now create and rename notebooks. Still need to implement deletion and some other niceties. 2007-11-15 01:30:45 +00:00
Dan Helfman
0869ae996b Making Luminotes user guide link fully qualified. 2007-11-13 06:30:49 +00:00
Dan Helfman
b93ab515b0 Sigh. 2007-11-13 01:12:52 +00:00
Dan Helfman
d9d363d956 Doh. Forgot target. 2007-11-13 01:11:49 +00:00
Dan Helfman
3c1191c334 Linking to privacy policy from navigation and mentioning it in the faq. 2007-11-13 01:09:11 +00:00
Dan Helfman
e04a2a8a11 ctrl-n shouldn't work if the notebook isn't read-write. 2007-11-12 11:26:10 +00:00
Dan Helfman
46b888f514 Restoring code in Wiki.js so that clear_messages() clears both errors and messages. 2007-11-12 10:48:37 +00:00
Dan Helfman
21ec98ea2e Add permalink to each note on blog page. 2007-11-11 21:37:30 +00:00
Dan Helfman
dae0e733e9 Adding a link for the blog to the navigation, and reorganization the navigation links a bit. 2007-11-10 07:08:55 +00:00
Dan Helfman
6bc242395c You can now press ctrl-n to open a new note even if no note is focused. 2007-11-09 20:07:32 +00:00
Dan Helfman
0238c27111 If the editor being highlighted is already completely on-screen (within the viewport), then there's no need to scroll. 2007-11-09 08:24:40 +00:00
Dan Helfman
650de327a5 Whoops, forgot a parameter. 2007-11-09 06:54:45 +00:00
Dan Helfman
9d7c38c396 Revamped positioning of new editors and messages so that they show up
immediately after the editor you're working on instead of at the bottom of the
page. Also, if you undo a note's deletion, it'll show up right back where it
was amonst the notes.
2007-11-09 06:49:26 +00:00
Dan Helfman
9cee493141 Bug fix: If you click on a link that has a destination note with a different
title than the link itself, then the destination note title won't show up in
the link info box. It'll instead incorrectly show the link title.
2007-11-08 21:51:13 +00:00
Dan Helfman
6b548820fa Updating some html pages, adding WYSIWYG keyword, etc. 2007-11-07 23:43:59 +00:00
Dan Helfman
89f97dd7a4 Focusing username field on signup and login notes upon loading. 2007-11-07 20:44:30 +00:00
Dan Helfman
4807db7feb Disallowing one particular broken bot, and adding some comments. 2007-11-07 19:43:09 +00:00
Dan Helfman
af8aa06ae0 Linking to the user guide from various locations. 2007-11-07 00:18:44 +00:00
Dan Helfman
051339330c IE 6 makes my heart cry. 2007-11-05 21:51:27 +00:00
Dan Helfman
c05d48de1a Removing "changes" button from notes in the trash because using it causes access errors and JavaScript errors. 2007-11-05 21:36:39 +00:00
Dan Helfman
9b33920703 Changing "link" button to "Link" button in welcome text. 2007-11-05 00:04:02 +00:00
Dan Helfman
2831d56db5 Email address is now completely optional during signup. 2007-11-04 19:09:48 +00:00
Dan Helfman
1d89b83cf0 "No matching notes" is now orange instead of red. 2007-11-04 18:27:28 +00:00
Dan Helfman
37e886f27c Revamped searching to use PostgreSQL's tsearch2 full-text searching. 2007-11-02 20:19:53 +00:00
Dan Helfman
d43eea755a Adding real download note. 2007-11-01 05:13:05 +00:00
Dan Helfman
bb9fff5e6f Hack to MochiKit's Visual.ScrollTo() to make it work in IE. 2007-10-31 22:48:15 +00:00
Dan Helfman
8c498e2c0b Prevent progress bar from flashing in Firefox everytime you press a key within an editor. 2007-10-31 21:03:06 +00:00
Dan Helfman
bd95d98cfc Some more wording changes. 2007-10-31 20:47:25 +00:00
Dan Helfman
093e0fa8cf tyepo 2007-10-31 20:35:20 +00:00
Dan Helfman
26097a8235 Adding missing paragraph break. 2007-10-31 20:33:21 +00:00
Dan Helfman
2624ddefd2 Some updated about text. 2007-10-31 20:32:08 +00:00
Dan Helfman
87a2ccc788 New updated tour image. 2007-10-31 09:11:55 +00:00
Dan Helfman
3f235dded5 Checking in new screenshot. 2007-10-31 08:29:55 +00:00
Dan Helfman
c04c7d3c91 Checking in old version of screenshot for recordkeeping purposes. 2007-10-31 08:29:18 +00:00
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
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
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
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
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
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