witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

125 Commits

Author SHA1 Message Date
Dan Helfman d8eccee5aa In several places, made it clearer that sign up is free to entice people to go to the pricing/signup page. 2008-07-28 16:09:20 -07:00
Dan Helfman e106dc27f9 Increased size of upload pulldown frame to look better in both FF3 and IE6. 2008-07-16 14:05:51 -07:00
Dan Helfman fe139cc749 First pass for suggest-as-you-type for linking. 2008-06-27 16:11:09 -07:00
Dan Helfman cf7cdefd28 Replaced "add new notebook" link with new notebook button next to
"notebooks" heading.
2008-06-21 22:13:52 -07:00
Dan Helfman dbf9dda2a0 Can now left, center, or right justify embedded images. 2008-06-13 23:26:48 -07:00
Dan Helfman 7a5732c776 Fixing image preloading to load correct filename. 2008-06-13 01:11:32 -07:00
Dan Helfman 5257126d6c Changing the alt text capitalization on a few heading images, and wrapped them
with <h1> instead of <div>.
2008-05-27 13:55:19 -07:00
Dan Helfman 4083f7b52b Shrinking font size of storage usage text. 2008-05-20 15:07:46 -07:00
Dan Helfman be2118805f Fixed a bug where image preloading loaded incorrect paths for
certain images.
2008-05-20 12:43:45 -07:00
Dan Helfman f92891a8d5 Decreased some font sizes so more note links don't wrap as much. 2008-05-19 12:03:40 -07:00
Dan Helfman 428a8d3e37 Decreasing size of link area font to match note tree font size. 2008-05-19 11:57:37 -07:00
Dan Helfman 507e8412da New strikethrough toolbar button. 2008-05-14 00:07:02 +00:00
Dan Helfman 8860ebc27b Automatically showing a horizontal scrollbar on a note if you have a word or HTML element too wide for the note frame. 2008-05-13 22:54:36 +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 5b5f971881 Preloading note icon for great rendering. 2008-05-09 20:13:52 +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 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 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 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 420f67672f Now "notes" heading is full font size and the table below is 90%. 2008-04-13 20:50:44 +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
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 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 7ba963090c Width of search text field now set to full width of link area instead of a specific character width. 2008-04-04 08:18:54 +00:00
Dan Helfman 97104fbf38 One of those max-widths did not agree with Firefox's notion of text centering. 2008-04-04 06:51:40 +00:00
Dan Helfman 3e86a72ba8 A few max-widths make the header scale better with bigger and smaller font sizes. 2008-04-04 06:49:26 +00:00
Dan Helfman 21fa43b49c Moving notebook header down a bit. 2008-04-04 06:30:19 +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 88d4f4dbfc Added rss icon to blog subscribe link. 2008-04-03 21:49:21 +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 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
Dan Helfman 731dc52623 More work on file uploading. Unit tests need to be fixed. 2008-02-18 20:08:07 +00:00
Dan Helfman 0cf2b5bda7 Initial work on UI and controller for file uploading:
* new toolbar button for attaching a file
 * button opens new Upload_pulldown() for uploading a file
 * began controller.Notebooks.upload_file() to process the upload
2008-01-31 21:52:32 +00:00
Dan Helfman c4a313bf08 Completed conversion of checkbox and radio button text to use HTML <label> tag. 2008-01-26 19:32:22 +00:00
Dan Helfman 687b73d375 CSS for new error pages. 2007-12-14 21:57:38 +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 426f51d0e4 Replacing textual page title/heading with fancy image title. 2007-11-28 23:17:58 +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 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 af8aa06ae0 Linking to the user guide from various locations. 2007-11-07 00:18:44 +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 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 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 27a6a06c91 Display a realtime count of total notes next to the "all notes" link. 2007-10-19 20:24:16 +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 092614911b Pressing a button now no longer makes the toolbar shift by a few pixels to the side. 2007-09-28 19:19:57 +00:00
Dan Helfman 781683cc6f Toolbar buttons are now more clearer, e.g. list buttons look like little lists. 2007-09-28 05:07:14 +00:00
Dan Helfman c343db12e2 Yet more fucking lame-o CSS changes. 2007-09-27 22:11:16 +00:00
Dan Helfman cb66bc6da3 Fewer small fonts, and sans-serif instead of times. 2007-09-27 00:26:51 +00:00
Dan Helfman 13c63fd400 Made CSS layout much better for scaling to small and large resolutions.
Toolbar and link area now both stay somewhat near the center area.
IE max-width hack rewritten to work better.
2007-09-23 20:42:44 +00:00
Dan Helfman 68d07a6fc8 Adding "ok" button to all messages/errors.
Making quota warning messages not disappear as soon as it's displayed.
2007-09-20 23:25:59 +00:00
Dan Helfman 4d736d4821 Lots of work on user storage quotas:
* Each model.User now has a current storage bytes and a rate plan.
 * model.User.to_dict() updated accordingly.
 * Minor Scheduler.add() change to bail of the given thread is None.
 * controller.Users.current() returns current user's rate plan details.
 * controller.Users.update_storage() now takes an optional callback.
 * Various methods in controller.Notebooks responsible for calling controller.Users.update_storage().
 * Added rate plan details to config/Common.py.
 * Added quota utilization colors to style.css.
 * Implemented quota utilization calculation and display in Wiki.js.

Still to-do: Return updated storage bytes where appropriate in controller.Notebook and update the
client accordingly.
2007-09-20 20:36:19 +00:00
Dan Helfman 52409fc1a1 Got rid of annoying blue lines/spacing around notebook border. 2007-09-11 21:11:59 +00:00
Dan Helfman bcade394e9 Moved login link to the top of the page; now present dependent on whether you're already logged in. 2007-08-30 23:57:56 +00:00
Dan Helfman d90f21b17a New optional parent_id argument to controller.Notebooks.default() to support "return to notebook" in the trash. 2007-08-29 00:50:46 +00:00
Dan Helfman cebc6458cb When viewing the trash, header/border/etc have their own trash color. 2007-08-28 20:57:08 +00:00
Dan Helfman 41372a2df8 At Kevin's suggestion, added a partial border around the notebook, added a
notebook title to the top of the page, and highlighted the notebook title on
the right as well.
2007-08-28 20:36:33 +00:00
Dan Helfman e2d85b79a5 Added underline button to toolbar. Useful for things like book titles. 2007-08-27 21:01:42 +00:00
Dan Helfman 20313728d2 Several changes to handle the case where a note is changed out from under you, due to being saved
from a different window:
 * Made controller.notebooks responsible for preventing unmodified notes from being saved, instead
   of model.Notebook handling this task.
 * Created a revision validator for passing revisions as arguments to exposed methods.
 * controller.Notebooks.save_note() now requires a previous_revision parameter, used to determine
   whether the note has been modified in the particular window it's being saved from.
 * save_note() returns a new previous_revision value, so the client can determine whether a save
   has occurred from another window.
 * controller.Notebooks.undelete_note() fixed to quietly bail if the note to undelete isn't
   actually deleted, which can happen if it was undeleted in another window.
 * Editor() now responsible for making revisions list if it doesn't exist
 * No longer giving an "undo" message when the user deletes an empty note.
 * On the client side, detecting whether the previous_revision as reported by save_note() looks
   correct, and if not, alerting the user about the conflict. Also displaying a "compare versions"
   button that opens both the current version and the previous version.
2007-08-23 23:56:42 +00:00
Dan Helfman 69caeaf655 Code mostly related to manipulating wiki links, plus a new link pulldown:
* Implemented a new controller.Notebooks.lookup_note_id() method to get only a note's id given its title.
 * Added some new link resolution code to Editor and Wiki, to fill in a link's id according to its destination note.
 * Factored out some of the link finding code into a common Editor.find_link_at_cursor() method.
 * Factored out query parsing into a common parse_query() function, which operates on a link node.
 * Added new Link_pulldown class-thingy to represent the little pulldown you see when the cursor's on a link.
 * Refactored Pulldown's positioning code to support offset positioning (needed for elements within an iframe).
2007-08-14 04:13:49 +00:00
Dan Helfman 2871c18721 Changed /about/contact links to mailto links, and improved CSS of 404 / uh oh pages. 2007-08-07 20:29:37 +00:00
Dan Helfman f2eac9cb1f Implemented a basic trash, including undo upon note deletion and undeletion from the trash:
* model.Note has a deleted_from member to indicate the notebook id it was deleted from (if any)
 * controller.Notebooks sets the deleted_from member and makes all deleted notes startup notes in the trash
 * new controller.Notebooks.undelete_note() method
 * split up the idea of UI messages into errors and informational messages, with separate CSS
 * updated Editor and Wiki UI code to deal with new deleted_from variable
 * added "undelete" button when viewing a deleted note, and "delete" changes to "delete forever"
 * added a "trash" link to the notebook links
 * reorganized responsibilities for displaying notebook/user links among Wiki.populate() and Wiki.display_user()
 * when deleting messages in a notebook with a trash, displaying "The note has been moved to the trash"...
   with a working undo button!
 * tweaked focusing logic in display_search_results(), which has been renamed to display_loaded_notes()
2007-08-07 01:48:43 +00:00
Dan Helfman c02d27e841 CSS tweaks involving:
* line height (increasing)
 * font size (switching to % instead of em)
 * note width (in IE)

These changes were made to improve readability.
2007-08-06 00:51:04 +00:00
Dan Helfman 5ceed4bf32 CSS tweaks to better handle smaller browser window widths in both Firefox and IE. 2007-08-02 22:47:20 +00:00
Dan Helfman 0a457585d9 Expanded the page displayed when Javascript is disabled so search engines actually get something useful.
Made the page <title> contain "personal wiki notebook".
2007-08-01 20:46:26 +00:00
Dan Helfman f05d3db661 * Added a "changes" tab with a list of revision timestamps for each note. Note yet clickable.
* Made controller.Notebooks.save_note() return the newly minted revision timestamp upon a successful save.
 * Whenever we get back a revision timestamp from save_note(), we store in in the client's list of revisions for that note.
 * Now raising Access_error in controller.Notebooks in various places where the notebook requested is unknown.
 * Tweaked pulldown CSS a bit. Now will sport a handy-dandy scrollbar if the pulldown gets too tall, at least in real browsers.
 * Fixed bug where clicking "show on startup" checkbox directly didn't visually toggle the checkbox.
2007-07-26 01:18:41 +00:00
Dan Helfman 0976fdf8c6 Renaming all entries to notes to fit better with the name "Luminotes". 2007-07-17 01:21:31 +00:00
Dan Helfman 02cfca5322 Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00