witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

736 Commits

Author SHA1 Message Date
Dan Helfman 1d17ea4eff Fixed a bug where attempting to load a notebook preview without access
would give a "list index out of range" error instead of an access error.
2008-05-05 23:10:26 +00:00
Dan Helfman c6ab3b5da0 Fixed a database indexing bug that prevented notes with really long (~2700+
character) titles from saving correctly.

Changed the literal quotation character in the starting wiki note to the
""" character entity so it doesn't show up as a change in the diff.
2008-05-05 22:56:20 +00:00
Dan Helfman 2342ded4c2 Including quote by Lifehacker. 2008-05-05 21:56:50 +00:00
Dan Helfman b9d92d4080 Instructions for enabling JavaScript, linked from various forms that
require it.
2008-05-05 07:08:09 +00:00
Dan Helfman 1095e509de Fixed yet another diff-breaking edge case. This one had to do with
inserting italicized text right before some existing italicized text.
2008-05-03 07:40:46 +00:00
Dan Helfman 570e0ade77 More diff fixes. This time for "<br/>" tags. 2008-05-03 06:10:09 +00:00
Dan Helfman 94fdd08cf4 * Fixed a bug that prevented diffs from working for notes with links.
* Made CSS for links within <del> or <ins> red or green, respectively.
2008-05-03 05:36:28 +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 42ae3e0ba1 Completed Html_differ unit tests. 2008-05-02 23:59:03 +00:00
Dan Helfman ba89c8116b Updated to handle the following case:
* If a phrase becomes italicized, it should show the non-italic version in red and immediately after, the italic
   version in green.

This required doing a pass on the HTML to merge certain elements together before doing the actual diff.
2008-05-02 21:03:46 +00:00
Dan Helfman cadb172d22 CSS for <ins> and <del> tags, used for diffs. 2008-05-02 18:59:26 +00:00
Dan Helfman 9b2a9db4e9 Implemented new HTML diffing class to produce an HTMLized diff of two HTML
strings. Not perfect yet. For instance, if string a contains "foo bar baz" and
string b contains "foo <i>bar</i> baz", the resulting output does not show
"bar" in strikeout and "<i>bar</i>" in green, as one might expect.
2008-05-02 18:58:36 +00:00
Dan Helfman e052e3b357 Fixed bug in Html_cleaner which produced broken tags like "<br/>" instead of "<br />" 2008-05-02 18:56:03 +00:00
Dan Helfman 7a2936f857 Fixing broken URL. 2008-05-01 17:57:05 +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 d382fb53e2 Can now load children links for a note that's in the trash. 2008-04-29 21:27:05 +00:00
Dan Helfman 5f852a3d8e Bug fix: Used to get access error when you loaded the children links for a note that was in the trash. 2008-04-29 21:26:09 +00:00
Dan Helfman 53bc23f374 UI and font size changes. 2008-04-29 20:53:39 +00:00
Dan Helfman 45fafeeb19 Decreasing size of "notes" and "recent updates" links so they wrap less. 2008-04-29 20:37:10 +00:00
Dan Helfman 18a3adcf9c Adding some vertical space between "recent updates" and "more" link. 2008-04-29 20:16:33 +00:00
Dan Helfman 99a01ac51b Releasing today! 2008-04-29 03:26:03 +00:00
Dan Helfman b71568b35b Implemented unit tests for controller.Notebooks.load_recent_updates(). 2008-04-29 03:25:38 +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 f43d6b5573 Changing commented out discussion forums link to be a comment tag itself, so it doesn't show up in the note tree. 2008-04-28 20:17:51 +00:00
Dan Helfman 09f771b508 Commenting out discussion forums for now since they're unfinished. 2008-04-25 20:36:01 +00:00
Dan Helfman 011baf2cb4 Adding unfinished Forums controller and associated tests. 2008-04-25 20:34:01 +00:00
Dan Helfman 9c617687bd Fixing comment. 2008-04-25 19:46:42 +00:00
Dan Helfman b3d297e3f2 Whoops. Forgot to svn add. 2008-04-24 23:05:26 +00:00
Dan Helfman 25d72da73e Reducing the number of links in the header by consolidating several into
one "support" link.
2008-04-24 23:02:53 +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 16ef54164a RSS subscription support. 2008-04-23 02:58:07 +00:00
Dan Helfman ea87c273f9 Added unit tests for new RSS related controller methods.
Setting separator to empty for a few more Rss_item elements.
2008-04-23 02:54:59 +00:00
Dan Helfman da27791fc1 New quote (with link to review), plus added some missing end quotes. 2008-04-23 00:43:21 +00:00
Dan Helfman 37ee01fab8 Disabling RSS feed for the main notebook. 2008-04-23 00:00:30 +00:00
Dan Helfman e6d237ffab Added RSS subscribe link to link area.
Now passing updates_path to link area.
Including RSS rel=alternate link on main page.
2008-04-22 23:42:58 +00:00
Dan Helfman b316b2f4a3 * Increasing after_login max string size from 100 to 1000 to accomodate larger URLs.
* controller.Notebooks now takes (and stores) an https_url constructor parameter.
 * New controller.Notebooks.updates() method to produce an updates RSS feed for a particular notebook.
 * New controller.Notebooks.get_update_link() method to make a brief page with just a link for an updated note, referred to by the feed.
 * Implemented views for the new RSS feed.
 * Fixed bug in Rss_item's guid that caused newlines to be inserted before and after long URLs.
 * Still need to unit test new controller code.
2008-04-22 23:24:30 +00:00
Dan Helfman d3dce6f775 Sigh. 2008-04-22 20:26:09 +00:00
Dan Helfman 7ec04b9056 Changed sign up link to /pricing page. 2008-04-22 19:46:14 +00:00
Dan Helfman 0f30c89ff3 Fixing "local variable 'image_buffer' referenced before assignment" error. 2008-04-22 19:35:33 +00:00
Dan Helfman b3d5187c6c Fixed bug where calling image.save() with an interlaced PNG file would
raise an IOError. Now just displaying the default thumbnail if that
happens.
2008-04-22 18:34:34 +00:00
Dan Helfman fde4c6e04b Changing title on quote at user's request. 2008-04-21 19:30:14 +00:00
Dan Helfman 5478ea194a New customer quote. 2008-04-21 03:20:50 +00:00
Dan Helfman 21bf35b93a Adding IE-specific CSS for clutter link so the link has some margins. 2008-04-19 00:04:45 +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 9bf3762fe6 Disabling RSS subscription link (except for blog), because it only works if you're logged in and accessing it from your browser. 2008-04-18 20:59:09 +00:00
Dan Helfman 1ca9af536c Added RSS subscription links for all notebooks. 2008-04-18 20:49:22 +00:00
Dan Helfman eb587fc44f Fixed bug where recent notes were ordered by creation time instead of revision time. 2008-04-18 20:39:23 +00:00
Dan Helfman c488864273 * Now if you try to load a page where access is required, and you're not
logged in, you'll be redirected to a login page. After you login, you'll
   be redirected to the page you were originally trying to access.
2008-04-18 19:54:50 +00:00
Dan Helfman 935693a543 New banner for PayPal with the standard glow affect and blue background. 2008-04-17 05:08:46 +00:00