Archived
1
0
Commit Graph

92 Commits

Author SHA1 Message Date
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