witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

416 Commits

Author SHA1 Message Date
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 08cd7057f3 Fixed bug that prevented you from opening a note with a title that looked
like an external URL.
2008-01-08 23:33:25 +00:00
Dan Helfman 17b7dfc74e If the user is logged in and hits the front page of the site with an HTTP
request that has no referrer, then redirect to the user's first notebook.
2008-01-08 09:45:05 +00:00
Dan Helfman 8e87239e6f Display all redeemed invites sent to the same email address, instead of just displaying one invite per email address. 2008-01-06 22:22:46 +00:00
Dan Helfman 7bdc228d09 A user can now revoke their own access. Protecting users from the own
stupidity proved too complex and fragile. So now they have the full power to
shoot themselves in the foot.

A user can no longer, however, redeem an invite that they send to themself.
2008-01-06 21:59:22 +00:00
Dan Helfman 179f7ea4d1 Fixed bug where revoke buttons would be created with the same invite_id due to
a closure using a variable within a for-loop.
2008-01-06 06:01:30 +00:00
Dan Helfman 2bcbc17172 Feature to preview notebook as viewer or collaborator, so you can see what it
will look like to people you share it with.

Hopefully fixed broken demo conversion detection.
2008-01-06 00:12:18 +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 980ad74e79 When redirected to a note in the main notebook as a result of accessing, for
instance, the "/upgrade" URL, your no longer appear to get logged out.
2008-01-05 00:42:50 +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 9fb0951c16 Unit test for one user saving a note that was created by a different user. 2008-01-04 22:58:20 +00:00
Dan Helfman 28473599e0 Updating storage quota calculation to only include notebooks that the user owns. 2008-01-04 22:54:01 +00:00
Dan Helfman 1b830c06a1 Add username on conflicting revision to change notification message. 2008-01-04 21:50:11 +00:00
Dan Helfman 762de24bca Fixed bug that prevented loading notes to compare conflicting versions. 2008-01-04 21:43:54 +00:00
Dan Helfman 5520fe5892 * make a User_revision object containing a revision timestamp, user_id, username
* change controller.Notebooks.load_note_revisions() to select and return User_revision objects
 * change controller.Notebooks.save_note() to use User_revision objects for new_revision and previous_revision as well
 * update client to deal with new load_note_revisions() return values (make sure all uses of revisions_list are updated)
 * update client to deal with new new_revision/previous_revision
 * update changes pulldown to show username along with each timestamp
 * update model.Invite to load redeemed_username along with redeemed_user_id
 * display the redeemed username next to each email address in the "share this notebook" note
2008-01-04 04:45:43 +00:00
Dan Helfman e086114478 Unicode passwords containing special characters would break sha.new(). Now they're encoded as utf8 first. 2008-01-03 22:04:34 +00:00
Dan Helfman c4a2cf6713 Prevent web crawlers from spidering the "download as html" version of a notebook. 2008-01-02 03:27:31 +00:00
Dan Helfman e7ae481eea Changing thumbnail CSS from padding to margin to make IE happier.
Hard-coding thumbnail width and height.
2008-01-02 00:45:22 +00:00
Dan Helfman a354eadcbb When saving a model.Notebook or model.Note to the database, set the user_id field based on the current user. 2008-01-01 01:44:54 +00:00
Dan Helfman 6135b3216d Mentioning notebook sharing feature. 2007-12-31 19:48:48 +00:00
Dan Helfman 405081e27a Fix for note summary sometimes showing up with literal HTML tags. 2007-12-30 21:55:25 +00:00
Dan Helfman 45657094f4 Fix for broken rss feed. 2007-12-30 21:05:08 +00:00
Dan Helfman 0eae953a30 Adding release date. 2007-12-30 19:49:08 +00:00
Dan Helfman 24530cdd34 Wrote a stand-in upgrade/subscribe page until such a time as users can actually purchase subscriptions. 2007-12-30 03:28:21 +00:00
Dan Helfman d0d87731d2 * Preventing a user from revoking their own access.
* More unit tests for revoking access.
2007-12-30 01:20:38 +00:00
Dan Helfman 05876e2d7e Another unit test for sending invites. 2007-12-29 20:00:42 +00:00
Dan Helfman bb1bbb26e1 Unit tests for controller.Users.redeem_invite(). 2007-12-28 06:36:57 +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 8372b03373 Began work on invite redeeming. 2007-12-18 00:05:13 +00:00
Dan Helfman 687b73d375 CSS for new error pages. 2007-12-14 21:57:38 +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 4a5aeaed98 Implemented server-side portion of revoke_invite(), so now the UI for revoking invites functions properly. 2007-12-14 01:53:12 +00:00
Dan Helfman f9b4d41a15 model.Invite.sql_load_similar() should not require from_user_id to be the same.
This way, when there are multiple notebook owners, they can get each others' similar invites.
2007-12-13 23:17:24 +00:00
Dan Helfman 60f8838b1d Preventing "x invitations have been sent message." from disappearing as soon as it's displayed. 2007-12-13 23:02:33 +00:00
Dan Helfman a501d5fcce UI for invite revocation. 2007-12-13 22:29:57 +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 05279d2c8e Only owners of a notebook should get a list of its invites. 2007-12-12 06:15:15 +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 02444c81cc Adding some emphasis to remark within "share this notebook". 2007-12-11 05:52:33 +00:00
Dan Helfman 52c111895a Non-paying users can now invite people to their notebook, but only as viewers.
Paying users can invite them as viewers, collaborators, or owners.
2007-12-11 02:58:31 +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 a615f65d29 Made send_invites() update any similar invites that have already been sent. 2007-12-06 22:05:00 +00:00
Dan Helfman 10cee7291a Improved input validation on search terms, so certian punctuation doesn't cause the query to fail. 2007-12-06 03:49:50 +00:00
Dan Helfman 32fd09b3f7 * Implemented controller.Users.send_invites().
* Added some SQL indices to invite table.
2007-12-06 01:32:20 +00:00
Dan Helfman 8b030b1a87 Sigh. 2007-12-05 22:55:23 +00:00
Dan Helfman 69889b5a29 Fix for bug where you'd see "&" in notebook rename field. 2007-12-05 22:52:37 +00:00
Dan Helfman 1cb12f6ae4 Making various notebook/user functions support the new "owner" access flag. 2007-12-04 21:28:03 +00:00
Dan Helfman 274a87dee2 New model.Invite object for the invite table.
Renamed sent_user_id column to from_user_id, which makes a lot more sense.
2007-12-03 23:34:35 +00:00
Dan Helfman c750862263 Whoops, didn't mean to checkin the commenting out of these lines. 2007-12-03 21:36:25 +00:00