Archived
1
0
Commit Graph

172 Commits

Author SHA1 Message Date
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
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
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
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
89f97dd7a4 Focusing username field on signup and login notes upon loading. 2007-11-07 20:44:30 +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
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
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
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
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
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
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
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
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