witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

334 Commits

Author SHA1 Message Date
Dan Helfman 3f2c51e338 Fixed mouse click handling brokenness introduced by 03b6a15e86e1. Also Beginning to phase out special-case hack for form submission. 2008-05-30 17:10:57 -07:00
Dan Helfman f8e454d4b6 By the time this is rolled out onto the live site, it won't be "coming soon!", it'll be "done!" 2008-05-28 16:33:18 -07:00
Dan Helfman 9130828ffd Merged in new rate plans and an updated pricing page. Also fixed bug on new pricing page in which "You're currently subscribed to..." showed the wrong plan. 2008-05-28 16:21:51 -07:00
Dan Helfman c6443d49b6 Added new pricing plans and updated pricing page accordingly. 2008-05-28 16:06:57 -07:00
Dan Helfman df3d170362 View groups that you're a member of, with an indicatation if you're an admin of that group.
- modify controller.Users.current() to return the user's groups
    - update test_current() unit tests to expect empty groups list in results
  - modify Main_page, Notebook_rss, Front_page, Tour_page, and Upgrade_page to accept a new groups parameter
    - Main_page should add it as a hidden HTML variable
  - update Wiki.js to read the hidden groups variable and display the groups in account settings
2008-05-28 16:05:38 -07:00
Dan Helfman 23665a0e6c Introduced some <meta> description and keywords tags on the product pages.
Also switched view.Page to use isinstance() instead of "type() in".
2008-05-27 14:06:51 -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 694dc2eaba Removed key binding for title button (ctrl-T), since it was interfering
with tab opening in Firefox.
2008-05-27 13:38:10 -07:00
Dan Helfman e971959755 Attempting to access the RSS feed for a non-existent notebook now
displays a somewhat informative message in the feed instead of just
silently raising an error.
2008-05-26 23:00:31 -07:00
Dan Helfman ef1ebd55a4 Font size tweaking of note tree instructions. 2008-05-19 13:46:02 -07:00
Dan Helfman e102438957 Show pricing plans on signup page from highest to lowest, since that seems to be in vogue on subscription sites.
Also added "No fee" price text to Free pricing plan for consistency in layout with the other plans.
2008-05-18 01:38:21 -07:00
Dan Helfman ee24b34b76 Updated the pricing page with more info about each feature. 2008-05-14 22:51:37 +00:00
Dan Helfman 507e8412da New strikethrough toolbar button. 2008-05-14 00:07:02 +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 0323f6bc91 Passing new yearly parameter to main page. 2008-05-08 19:29:11 +00:00
Dan Helfman a6baa45435 Made signup support yearly subscriptions. 2008-05-08 19:14:39 +00:00
Dan Helfman 269c28983d Support for yearly subscriptions. 2008-05-08 18:39:46 +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 11263d65fa Yet another user quote for the front page. 2008-05-07 22:31:49 +00:00
Dan Helfman ae92e04e83 Bug fix: when you load a particular note (or note revision) in its own window, and that note is a startup note, it shows up in the note
tree twice.
2008-05-07 21:30:00 +00:00
Dan Helfman 2342ded4c2 Including quote by Lifehacker. 2008-05-05 21:56:50 +00:00
Dan Helfman 53bc23f374 UI and font size changes. 2008-04-29 20:53:39 +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 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 011baf2cb4 Adding unfinished Forums controller and associated tests. 2008-04-25 20:34:01 +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 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 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 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 d0a1cbf71d Complete unit tests for controller.Notebooks.load_note_links(). 2008-04-16 08:13:35 +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 9fc3045b76 Changing "recent notes" heading to "recent updates". 2008-04-16 01:37:19 +00:00
Dan Helfman 8649fa2796 Wording change to note tree instructions. 2008-04-16 01:18:59 +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 8993f69c0c Only hide recent notes if recent_notes is None. 2008-04-16 00:32:09 +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 33727efcd7 Not showing "recent notes" or note tree instructions while in trash. 2008-04-15 21:05:28 +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 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 70487ccc92 Add the contents of the notes variable onto the list of startup notes to display in the note tree. 2008-04-13 21:14:15 +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 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 21c2d0a050 Switched to a better looking checkmark.. I think. 2008-04-12 02:22:37 +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 ede5e5ac27 Fixin tyepo. 2008-04-05 17:33:56 +00:00
Dan Helfman af9b8de448 Blog page now triggers Firefox/IE rss feed autodetection. 2008-04-04 09:20:14 +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 5d97c2b194 Fixed minor bug in initdb that caused initial anonymous user creation with
owner permission to main notebook.

Fixed variable shadowing bug when picking out notebook to use in header "my
wiki" link.
2008-04-04 07:54:17 +00:00
Dan Helfman 0d5610fa80 Header links are now properly bolded when the page for that link is being viewed. 2008-04-04 07:17:01 +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 818b25e64c Another "thing to do" with Luminotes. 2008-03-27 04:14:13 +00:00
Dan Helfman e126fd5c19 Don't show "you're currently subscribe to..." for anonymous users. 2008-03-24 23:14:13 +00:00
Dan Helfman 50c761de54 Phased out in favor of Upgrade_page.py 2008-03-24 22:55:29 +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 e9d2ea28d1 Began redesign of upgrade/pricing page. 2008-03-22 04:01:21 +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 b4a2c7273d Updated upgrade page with new screenshot thumbnails.. Still need to revamp whole upgrade page though. 2008-03-06 23:33:35 +00:00
Dan Helfman 68addd8d56 More work on tour and screenshots. 2008-03-06 23:22:52 +00:00
Dan Helfman 50367579c0 Beginning revamp of tour page and screenshots. 2008-03-06 07:21:35 +00:00
Dan Helfman 2c179192d5 Adding mini screenshot thumbnails to the front page. 2008-03-05 23:35:22 +00:00
Dan Helfman 0828cea4ec Clicking the screenshot now displays a bigger version (again) instead of the tour. 2008-03-05 21:10:10 +00:00
Dan Helfman e7e6e7a7ba Making the header links somewhat page/context sensitive. 2008-03-05 21:06:55 +00:00
Dan Helfman e5b0dd0418 Generalized product page so it could be used for more than just the front page. 2008-03-05 20:55:09 +00:00
Dan Helfman ea3d11f11f Re-adding the toolbar image preloading to the front page. 2008-03-05 06:06:10 +00:00
Dan Helfman 2f0a96885e New user testimonial. 2008-03-03 20:45:51 +00:00
Dan Helfman 3af5af18c5 Changed controller.Users.logout() to not be a JSON method so just hitting the
"/users/logout" URL will log you out and redirect you the front page.

Made front page prettier and better at explaining Luminotes (hopefully). The
front page is no longer a wiki, but is instead a mostly static page.
2008-03-01 00:26:06 +00:00
Dan Helfman 04c2569ae9 Tyepo fix. 2008-02-27 23:53:33 +00:00
Dan Helfman 846d936a2a Changing some wording in the money-back guarantee for clarity, and add an "absolutely no lock-in" section. 2008-02-27 23:53:05 +00:00
Dan Helfman 52f9de706d No longer displaying "subscribe" buttons if logged in as a demo user. 2008-02-27 21:28:03 +00:00
Dan Helfman 092f3ff9c6 Removed Wiki.js.Upload_pulldown.shutdown() "force" flag as it's redundant if this.uploading is set accordingly.
Make IE 6 and 7 actually stop uploading a file when the cancel button is clicked.
Ignoring blank filename renames.
2008-02-25 21:56:33 +00:00
Dan Helfman fb7655707e More defensive programming. 2008-02-25 07:19:15 +00:00
Dan Helfman e6ff9203f3 Fix for a quota error being kicked off from each of the progress bar iframe
and the upload iframe, thereby causing one of them to hit a null
frame.pulldown member in IE 6 and throw a JavaScript error.
2008-02-25 07:13:12 +00:00
Dan Helfman e283151a9b Visually truncating really long filenames. 2008-02-25 03:23:50 +00:00
Dan Helfman 4150811d9e Many more controller.Files unit tests. 2008-02-23 22:17:02 +00:00
Dan Helfman 7b8f6bd6e5 Improved error reporting in the controller.Files.upload() method. Now
correctly displays an error to the user when uploading without a filename or
with an invalid file.
2008-02-21 19:39:03 +00:00
Dan Helfman 1f223089df Updated to emphasis storage space and mention file uploading. 2008-02-20 20:45:39 +00:00
Dan Helfman fd0e91ea39 Implemented quota enforcement when uploading a file. This occurs in two places:
1. In progress(), around the time when the file starts uploading. This causes
an upload that's too large to bail before the whole file uploads, but the
quota calculation is only an estimate and relies on the client actually
calling progress().

2. In upload(), when the file finishes uploading. This quota calculation is
exact, but only happens after the entire upload completes.
2008-02-20 20:21:54 +00:00
Dan Helfman f6c5071099 Moved HTML streaming progress bar code into view/ where it belongs. 2008-02-19 21:27:14 +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 43f098cda0 Hard-coding luminotes_title.png image dimensions to improve the way the page looks when it's loading without a cache. 2008-02-07 19:06:34 +00:00
Dan Helfman 1398e89f96 Wrote initial unit tests for new Files controller. A few more still needed. 2008-02-06 01:34:12 +00:00
Dan Helfman 04f86f05a6 Rewrote controller.Files.upload_file() not to use a CherryPy-2.1-style file upload filter.
Now releasing session lock before streaming the file to prevent session deadlock in the event of a cancelled upload.
2008-02-04 20:06:02 +00:00
Dan Helfman 362a125b1b Working "cancel" button during upload. 2008-02-01 22:44:01 +00:00
Dan Helfman e56503903b Factored out file upload methods from Notebooks to new Files controller.
Changed file link insertion code to reuse existing link creation code.
2008-02-01 19:17:10 +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 f0325ce58a Even rate plan button value is empty, don't try to use the value. 2008-01-22 22:08:09 +00:00
Dan Helfman 4fd44700e1 Now tracking conversions for subscriptions.
Notes in the trash can no longer be edited. They must be undeleted first.
2008-01-22 20:29:29 +00:00
Dan Helfman 50340cfe10 Fixing tyepo. 2008-01-18 23:24:42 +00:00
Dan Helfman bd38c4af82 Minor wording changes to upgrade page. 2008-01-15 08:14:45 +00:00
Dan Helfman 76d5f48fa2 Wrote unit tests for controller.Users.paypal_notify() and thanks() methods.
Changed some wording on the thank you page.
2008-01-15 00:36:19 +00:00
Dan Helfman f6538ad3a5 First pass at "thank you" page (and related processing/error pages) is complete. 2008-01-11 22:55:04 +00:00
Dan Helfman ae6a501117 Basic paypal integration working. Still need to do thank-you page and more testing. 2008-01-11 01:55:50 +00:00
Dan Helfman 7d2e2e4de2 Added a paypal unsubscribe button. Also added a paypal banner image. 2008-01-10 23:15:37 +00:00
Dan Helfman d0362a3ad1 Upgrade page now tells you what rate plan you're at. 2008-01-10 21:11:45 +00:00
Dan Helfman 1f3b3dcd4c Some wording changes. 2008-01-10 20:58:31 +00:00
Dan Helfman 8f00cceb94 Made upgrade page dynamically generated on the server instead of static html.
This allows things like only displaying subscription buttons if you're logged in.
2008-01-10 08:33:19 +00:00
Dan Helfman 0d9ceeef10 Changed "upgrade" link to always show up, even for accounts with a rate plan > 0. 2008-01-05 00:45:53 +00:00
Dan Helfman 0086c6366b Adding "sign up" link to demo account page and "upgrade" link to page of users with rate plan == 0. 2008-01-05 00:13:47 +00:00
Dan Helfman 45657094f4 Fix for broken rss feed. 2007-12-30 21:05:08 +00:00
Dan Helfman f00809955c * Users.signup(), Users.login(), and Root.default() now support optional invite_id parameter.
* Modified Wiki.js to include invite_id parameter when necessary.
 * Increased storage quota (and price) for premium rate plan.
 * Added a note displayed when redeeming an invite, with links to signup and login.
2007-12-27 22:16:47 +00:00
Dan Helfman 07992a63d0 Making error messages a little nicer. Now with img title. 2007-12-14 21:50:33 +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 225167035d * model.Invite now has a to_dict() method, like other model classes do.
* Initial invites are now returned through Main_page() and displayed (but not
   yet updated) within the "share this notebook" note.
2007-12-12 00:52:34 +00:00
Dan Helfman a4a6667642 Demo accounts cannot share their notebook anymore (but free accounts can). 2007-12-11 06:28:56 +00:00
Dan Helfman 5554b1df17 * Started a static upgrade HTML file with rate plans.
* Fixed Invite.sql_update() to have SQL params in proper order.
 * Fixed bug where email addresses containing "-" were considered invalid.
 * Made UI for inviting other people to your notebook.
 * Tweaked the rate plans and added a new one.
2007-12-11 01:15:03 +00:00
Dan Helfman 426f51d0e4 Replacing textual page title/heading with fancy image title. 2007-11-28 23:17:58 +00:00
Dan Helfman 86322f4358 Moved "add new notebook" link so it doesn't look like it's the name of a notebook. 2007-11-18 00:25:31 +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 34f7d223d1 Changed things so the client is responsible for filtering out deleted notebooks from the display instead of the server. 2007-11-17 04:55:53 +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 f79ecbd188 If viewing just a single note in read-only mode, make the notebook name in the
header at the top of the page into a link back to that notebook.
2007-11-16 00:46:37 +00:00
Dan Helfman 4d1cac745e Cannot click and rename notebook name in header on read-only notebooks! 2007-11-16 00:26:27 +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 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 cef3e0c679 Checking in inclusion of google analytics js file. 2007-11-12 20:55:38 +00:00
Dan Helfman c31856b40b Added some code to support Google's conversion tracking. 2007-11-12 10:51:31 +00:00
Dan Helfman dae0e733e9 Adding a link for the blog to the navigation, and reorganization the navigation links a bit. 2007-11-10 07:08:55 +00:00
Dan Helfman f2721be076 Basic rss feed for blog. 2007-11-10 03:57:27 +00:00
Dan Helfman 44a1cb79c2 Added basic multipage navigation to blog.
Made name of notebook link at the top of the page better for "special" Luminotes notebooks.
2007-11-10 01:46:56 +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 32f4501e6b Page title now reflect the note that is on it. 2007-11-08 20:55:45 +00:00
Dan Helfman 26f0892a20 Linking name of note when a single note is shown. 2007-11-07 21:47:23 +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 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 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 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 baf38c9e63 Fix for "notebooks" heading not showing up in link area. 2007-10-16 23:16:17 +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 846abfcd40 Yay, no more stupid deprecation warnings from simplejson about the sre module. 2007-10-04 08:14:45 +00:00
Dan Helfman 5d860300f1 Removed search options button because:
1. It's confusing. People think you click it to perform the search, then are surprised when it doesn't do that.
  2. Now that the search results are displayed more clearly, there's really no need for a titles-only search option.
2007-09-28 20:31:20 +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 5cf7dd3b14 Splitting off IE 6 and 7 CSS into separate, conditionally included files. 2007-09-27 06:16:53 +00:00
Dan Helfman 8b911179f8 Changed the layout of the password reset redeem form from a table to a more tradtional form layout. 2007-09-27 04:10:57 +00:00
Dan Helfman f6da052e88 Self-service password reset functionality, plus full unit tests.
GOD DAMN that was annoying to implement.
2007-09-26 23:49:27 +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 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 67c43cbef0 Learned to spell JavaScript. 2007-09-10 19:43:51 +00:00
Dan Helfman c7d4643264 Adding a little down arrow to "search" button to indicate it's a pulldown. 2007-09-05 02:34:48 +00:00
Dan Helfman 658e42aeba Made some changes intended to speed up page loading slightly.
* Blank iframe contents now come from static HTML rather than dynamic CherryPy.
 * Reindented @strongly_expire decorator.
 * Removed one stage of Editor's multi-stage construction.
2007-09-01 23:46:15 +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 d867aba6a1 Changed "us" to "we". 2007-08-29 00:24:26 +00:00
Dan Helfman 8f6365c41e Reordering the toolbar buttons a bit. 2007-08-28 22:07:11 +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 bbc3f11914 Changing unordered list key combo from ctrl-u to ctrl-period since it collided with underline's key. 2007-08-27 21:09:39 +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 45bb546f0f Fixed bug where CSS text centering in downloaded wiki HTML caused Thunderbird
to display the entire message as centered if the HTML was sent as an email
attachment.
2007-08-24 21:21:02 +00:00
Dan Helfman ab07f03911 Fixing broken regular expression which was greedily eating nearly entire
contents of notes. Unit tests for this is really necessary.
2007-08-21 05:53:56 +00:00
Dan Helfman 824882a1d8 Factored out hardcoded support email address from various places.
Now it's configurable in the common settings.
2007-08-20 20:28:17 +00:00
Dan Helfman 7973d87a7d * Turned "search:" label into a search button that, when clicked, displays a
pulldown with "titles only" and "everything" radio buttons, defaulting to
   "titles only".
 * Wiki javascript code for submitting a search now sends a new titles_only
   parameter according to what the user has selected in the search pulldown.
 * controller.Notebooks.search() now takes a new titles_only boolean argument,
   which does exactly what you would expect.
2007-08-17 22:26:02 +00:00
Dan Helfman 52fd0d154a * Implemented a link_title() convenience function to get the link title from a link, either from
it's query string "title=" arg or from the actual contained title.
 * Made use of this new function in various places where title-grabbing was being done manually.
 * Made Editor.mouse_clicked() highlight and bail if there's already an open editor with a matching
   title. (Previously, it only did this matching by id.)
 * Wiki.load_editor() now looks to an open Link_pulldown's title field for the note's title, if
   available.
 * Link_pulldown formats "title=" query string args with MochiKit's queryString() to escape spaces
   and such.
 * Updated NOTE_LINK_PATTERN in wiki download view (untested currently).
2007-08-15 00:18:30 +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 1c72e5a87f Fix to recognize and rewrite note links that have target="_top", such as those for "try it out" and "login". 2007-08-03 22:44:29 +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 f23fcdde21 * Can now click on revision timestamps to open up the contents of previous note revisions with a small timestamp at the top.
* Revisions can be opened either in the current page or in a new window/tab.
 * Added ability for a read-write notebook to contain read-only notes. This supports showing read-only revisions.
 * Fixed updatedb.py to properly load the anonymous user.
 * Updated initdb.py and updatedb.py to deadl with new-style /notebooks/notebookid?note_id=noteid wiki links.
 * Made Persistent copy the revisions_list on each revision update so different revisions don't share lists.
 * Prevented Note from updating its revision twice upon construction. Now it's only updated once.
 * Work-around for nasty urlparse() caching bug related to unicode strings that cherrypy barfs on.
 * Added optional revision flag to various controller.Notebooks methods to allow opening of a notebook with a particular note revision displayed.
2007-07-31 22:53:57 +00:00
Dan Helfman 2c20d60f9e * Rewrote all wiki note links to be of the form: /notebooks/notebookid?note_id=noteid
* Refactored some of validator decorator to use clearer variable names internally.
 * Validator decorator now supports treating arguments with default values as optional.
 * controller.Notebooks.default() takes an optional note_id argument.
 * controller.Notebooks.contents() takes an optional note_id argument.
 * Wiki.js now makes use of these new controller APIs.
 * Editor.js now takes a notebook_id argument to its constructor so it can properly make links.
2007-07-28 04:22:44 +00:00
Dan Helfman bd8a6894e2 Added Noscript section to the main page so people without Javascript enabled
are greeted to slightly more than a blank page.
2007-07-20 19:11:22 +00:00
Dan Helfman 5dca7e972e Changing note link key to ctrl-L and unordered list to ctrl-U. 2007-07-18 20:28:42 +00:00
Dan Helfman e66dee112b Another entry -> note straggler. 2007-07-17 01:25:11 +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 64bf5e34a1 Renamed placeholder title "Limited Medium" to "Luminotes". 2007-07-16 21:03:39 +00:00
Dan Helfman 02cfca5322 Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00