Archived
1
0
Commit Graph

411 Commits

Author SHA1 Message Date
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
cadb172d22 CSS for <ins> and <del> tags, used for diffs. 2008-05-02 18:59:26 +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
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
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
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
7ec04b9056 Changed sign up link to /pricing page. 2008-04-22 19:46:14 +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
1ca9af536c Added RSS subscription links for all notebooks. 2008-04-18 20:49:22 +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
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
43dea71039 Bug: In IE 6 and 7, the icon next to a link in the tree area looks
broken when the link title spans multiple lines. Fixed by changing
background image to be aligned to top instead of center.
2008-04-16 04:46:24 +00:00
Dan Helfman
a607106b32 Okay, I was wrong, the quotes have nothing to do with it. IE just ignores the "_top" target regardless. 2008-04-16 01:42:14 +00:00
Dan Helfman
9c4279ebfd Making sign up link in "this is a demo" note a live link. For some reason, target=_top works fine in IE, but target="_top" doesn't. 2008-04-16 01:36:53 +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
7a26f96535 Officially complying with the Tango Desktop Project's Creative Commons
Attribution Share-Alike license.
2008-04-15 23:00:30 +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
43121421ca Password reset link now contains the note id, which means that it works in the new note tree. 2008-04-13 21:04:57 +00:00
Dan Helfman
7aff23f8ba Changing CSS so external link icon only shows up on links with target="_new" (and not target="_top"). 2008-04-13 21:00:31 +00:00
Dan Helfman
afd72463c3 Login page "signup" link now goes to the /pricing page. 2008-04-13 20:56:28 +00:00
Dan Helfman
420f67672f Now "notes" heading is full font size and the table below is 90%. 2008-04-13 20:50:44 +00:00
Dan Helfman
d9c17a38a9 Fixing a misquoted link target and changing it from _top to _new. 2008-04-13 20:38:52 +00:00
Dan Helfman
31a052b870 Table layout fixes. 2008-04-13 19:59:52 +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