witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

238 Commits

Author SHA1 Message Date
Dan Helfman 2a542999c5 * In development mode, disable session filter for static files. This may
prevent some session deadlock errors.
 * Fixed some bugs with the new auto-resizing toolbar:
   * In IE 6/7, when you click on a formatting button such as italics, it
     doesn't visibly depress, because update_toolbar() is causing it to
     unpress until you start typing the italic text. Fixed by only calling
     update_toolbar() in focused_editor() if focused_editor is null.
   * When downing or upping a toolbar button, now calling
     resize_toolbar_button() unconditionally.
2008-05-13 04:02:31 +00:00
Dan Helfman 5d38e917f6 * Created different sizes of toolbar buttons.
* Made the toolbar auto-resize based on browser window size.
2008-05-12 23:27:42 +00:00
Dan Helfman 0323f6bc91 Passing new yearly parameter to main page. 2008-05-08 19:29:11 +00:00
Dan Helfman a4eecfaa65 No longer showing "settings" link unless you're viewing your wiki.
In account settings note, now showing link to upgrade/downgrade/cancel.
2008-05-08 03:37:24 +00:00
Dan Helfman 18982dc129 Implemented basic user account settings. Now you can change your email
address.
2008-05-08 03:05:35 +00:00
Dan Helfman 668c782781 Bug fix: flag a note as "show on startup". hide it. click the note's title on
the left under "notes". the "show on startup" checkbox for that note is not
checked, even though the note is a startup note.
2008-05-06 20:27:10 +00:00
Dan Helfman 60e07faf79 Made it clearer whether the invitee has accepted a particular invite yet. 2008-05-06 06:23:51 +00:00
Dan Helfman 5a3bb508b2 Fixed brokenness in IE. (Introduced by previous commit.) 2008-05-06 05:52:14 +00:00
Dan Helfman 7ba5351b32 Fixed inability to hide previous note revisions. (This bug was introduced by the previous commit.) 2008-05-06 05:50:49 +00:00
Dan Helfman 9e0177f90c - bug: if you save a note that fails to be saved, e.g. due to being longer than 25k characters in size, then the note still shows up in
recent updates. fixed by making it so that when an error is received by invoker, the error message is displayed but the callback is
  not invoked
- bug: if you get an error when saving a note, the note should not disappear. it should still be present so you can try to save it again    - make invoker not call a callback if there's an error
  - in Wiki.hide_editor(), only close an editor after save_editor() has invoked a provided callback function
  - make sure this doesn't break the note conflict notification error (saved editor should still shutdown)
  - test this in IE
2008-05-06 05:47:31 +00:00
Dan Helfman 97c373561d * Added replace_contents() to model.Note to set the contents without updating the revision or anything else.
* Added new optional previous_revision params to default(), contents() and load_note() in controller.Notebooks.
   These use Html_differ() to generate and return diffs.
 * Updated Wiki.js:
   * provide previous_revision when a revision is opened in a new window/tab
   * call load_note() when two revisions when a revision is clicked in Changes_pulldown
   * update compare_versions() to display a diff instead of opening the two revisions separately
   * update load_editor():
     * update all invocations of load_editor(), including in Editor.js, to accept a new previous_revision argument
     * modify load_editor() to use the previous_revision argument (when supplied) to load a diff
2008-05-03 04:29:23 +00:00
Dan Helfman ab83f4de6a Bug fix: Opening an old revision should not modify the recent updates list. 2008-04-30 02:51:56 +00:00
Dan Helfman 53bc23f374 UI and font size changes. 2008-04-29 20:53:39 +00:00
Dan Helfman d8eb591549 Made function not throw in IE when run before the page is fully loaded. 2008-04-29 03:25:19 +00:00
Dan Helfman 1d0867d776 * Renamed existing controller.Notebooks.load_recent_notes method to just recent_notes().
* Implemented new controller.Notebooks.load_recent_updates() method.
 * Added new Wiki.js total_notes_count_updated signal
 * Added "more" and "less" links to "recent updates" table.
 * Updated Wiki.js Recent_notes to support new "more" and "less" links.
 * Commented out unfinished discussion forums unit test.
2008-04-29 00:54:08 +00:00
Dan Helfman 6124532500 * Better support for RSS feeds of notebooks with unicode names.
* Now dynamically altering RSS feed link when notebook is renamed.
2008-04-24 20:32:43 +00:00
Dan Helfman 1d03540f71 New "nothing but notes" mode, allowing you to hide everything on the page
except for your notes and the toolbar.
2008-04-18 23:54:09 +00:00
Dan Helfman dbc83be740 * Modified tree control down arrows to have some blank space at the top, so as to better align with the right arrows.
* Put all expanders into <div>s, which are then wrapped in <td>s. This makes for better vertical centering, especially in IE.
 * Modified Wiki.js to account for expanders now having yet another parent.
 * Put note tree instructions in a <tr><td> instead of in a <div>, as <div>s alone don't belong in tables.
2008-04-16 06:38:19 +00:00
Dan Helfman 82623d6e1f Removing TODO since there are now note tree instructions displayed when there are zero note tree links. 2008-04-16 01:20:56 +00:00
Dan Helfman ec526e9e41 Made link pattern case insensitive to match uppercase <A> tags in IE. This
fixes the following bug: When you set a note as a startup note and add its
link to the note tree in IE6, the link isn't added with a visible expander
even if it has child links.
2008-04-16 01:14:37 +00:00
Dan Helfman 4398d07d4c Bug fix: Toggling a note's startup flag didn't add a link to the the note tree
in IE6. Apparently Internet Explorer doesn't support appending rows directly
to tables. Fixed by adding a <tbody> to the table and appending to that
instead of the table itself.
2008-04-16 01:05:12 +00:00
Dan Helfman a282c8d1e1 Bug fix: Clicking the expander for a link that just got its first child didn't appear to work because of double processing the link
clicked event, which caused it to expand and then immediately collapse.
2008-04-16 00:44:57 +00:00
Dan Helfman 431bf6ace7 Completed recent notes list:
* displaying list of links
  * adding links
  * removing links
  * updating links
  * controller.Notebooks.contents() changes to return recent notes
2008-04-16 00:28:18 +00:00
Dan Helfman ea4ad4c683 Bug fix: If you opened the link info box on a link to a deleted note, and then
clicked that link, it wouldn't give you a message about the link being in the
trash but would instead just open an empty version of that note.
2008-04-15 20:59:27 +00:00
Dan Helfman 5202629be0 Now clearing messages/pulldowns upon undeletion of a note. 2008-04-15 20:22:06 +00:00
Dan Helfman efd9755547 Fixed bug where note deletion didn't properly remove the note link from the note tree.
Add a brief paragraph with instructions on how to add a note to the note tree, shown only when there are no notes there.
Added a heading for "recent notes", which should be filled out with links in a subsequent commit.
2008-04-15 19:40:36 +00:00
Dan Helfman db03f39c06 When all the children of a display note are removed, remove the expander from
that note's entries in the note tree. When a note with no children is updated
so that it has at least one child, add an expander to that note's entries in
the note tree.
2008-04-14 23:54:04 +00:00
Dan Helfman fbcd767aa9 Note_tree.update_link() now properly updates the list of children links under
an expanded note tree item whenever the editor for that item is saved.

Still todo: Update the presence of the expander as children come and go.
2008-04-14 21:57:48 +00:00
Dan Helfman fad6abacbd Now when you toggle the "show on startup" flag, the note's link is appropriately added to or removed from the note tree. 2008-04-14 20:28:42 +00:00
Dan Helfman 17cf1bf9a6 Made note tree expander arrows not show while in the trash.
When emptying the trash, the note tree table is cleared.
2008-04-14 20:18:32 +00:00
Dan Helfman 2fd9514a04 When the expander is clicked for a note id that's also a parent/grandparent/etc note, don't expand and just highlight the
containing table.
2008-04-14 20:14:32 +00:00
Dan Helfman 935c6a5031 Improved automatic adding/removing of note tree root notes when notes are deleted/undeleted. 2008-04-13 22:29:50 +00:00
Dan Helfman 0908693946 Changed note tree root link adding to use new note_tree_root_table id. 2008-04-13 22:02:42 +00:00
Dan Helfman 5af010fab7 Fixed bug that caused exception when Note_tree got signal for a note being removed (and it wasn't a startup note). 2008-04-13 21:57:03 +00:00
Dan Helfman b58ff2450a Note tree links to non-existent notes now work correctly. 2008-04-13 21:25:47 +00:00
Dan Helfman a3909d05d5 * Added onclick handlers for dynamically loaded note tree links and their
associated expanders.
 * Waged an epic battle against the dark forces of CSS. Did you know that the
   max-height property applies to nearly all HTML elements *except* tables? No?
   Well neither did I until I looked it up, seriously wondered what the W3C
   could have been smoking, and then proceeded to spend the next DAY AND A
   FRICKING HALF making my table have a max-height without breaking any of my
   other intricately arranged CSS. Victory is mine.
2008-04-13 07:28:32 +00:00
Dan Helfman b6acd92630 Refactored expand_link() to no longer get elements by note id. Since there may
be multiple links with the same note id, this was fragile.
2008-04-12 21:57:29 +00:00
Dan Helfman 0d4bb81943 Clicking an external link or a file link in the note tree now opens with target=_new. 2008-04-12 02:32:11 +00:00
Dan Helfman eaaf1b3de5 Lots more work on the note tree control. Still not done, and some of the new icons suck. 2008-04-12 00:51:32 +00:00
Dan Helfman cd98b7c9e6 Now the tree expander arrow only displays if there are actually any links within the note. 2008-04-10 19:40:17 +00:00
Dan Helfman ae5fbd5837 When the startup status for a note is changed, update the note tree accordingly. 2008-04-10 18:45:52 +00:00
Dan Helfman 0d0e552a09 Reducing indenting of top-level note tree items.
Made "untitled note" the title for note tree links with no titles.
2008-04-10 00:05:03 +00:00
Dan Helfman a56536ee5e Began implementing note tree control on the left side of the page:
* Added a fixed list of startup links.
  * When link in list is clicked, open corresponding note editor.
  * When a startup note is added/deleted, update the list.

Still much more work to do on this before it's complete.
2008-04-09 23:31:30 +00:00
Dan Helfman a072cbc5ae When search text field is blurred, redisplay "search" in it. 2008-04-04 06:28:26 +00:00
Dan Helfman d232826d0b Several cosmetic and layout changes to the wiki editing page. Specifically,
made the header that's on the product pages present at the top of the wiki
page as well. Still need to make links bold when viewing certain pages
(help, contact, etc).
2008-04-04 05:39:40 +00:00
Dan Helfman 03f015f99a * Propsetting a bunch of svn:ignores.
* Added a bunch of thumbnail-related methods to controller.Files.
 * Modified Files.download() method to redirect to image preview if
   requested.
 * Implemented image preview to popup full image in a separate window.
 * Added empty stubs for relevant unit tests. Still to-do.
 * Added new dependency on python-imaging package (PIL).
 * Updated file info popup to include clickable thumbnail.
2008-04-01 21:54:43 +00:00
Dan Helfman 010cbcf01b Now issuing a *synchronous* save_note() call on page unload. When this call
was done asynchronously, and a Luminotes Firefox window was closed, sometimes
save_note() didn't get called. This didn't occur in IE.
2008-03-29 08:31:34 +00:00
Dan Helfman c452408106 Finished remake of signup page. You can now click "signup" for non-free accounts even if you're not logged in. 2008-03-24 22:33:00 +00:00
Dan Helfman 2cae1faf2d Conditionally quoting download filenames based on detected browser. 2008-03-18 22:22:19 +00:00
Dan Helfman 94a51889f9 Added ability to reorder notebooks on the right side of the page.
Need to complete unit tests for controller.Notebooks.move_up() and move_down().
2008-03-15 03:04:59 +00:00