Archived
1
0
Commit Graph

592 Commits

Author SHA1 Message Date
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
Dan Helfman
82bf5bca29 Schema and model changes to support invitations and multiple user collaboration:
* added new database table of invited email addresses
 * altered user_notebook table to have a new owner boolean column, indicating whether the user has owner access to the notebook
 * altered notebook and note tables/views to have an additional user_id field to indicate the user that created that revision
 * updated model.Notebook and model.Note to support new user_id field
2007-12-01 01:08:16 +00:00
Dan Helfman
ac3759dcee Ignoring ctrl key being released in IE 6 and 7. 2007-11-30 04:00:31 +00:00
Dan Helfman
2832cebb48 Fixed note state detection of bold/italic in IE 6 and 7. 2007-11-30 01:45:07 +00:00
Dan Helfman
83b3fb5baa Refactored Wiki.toggle_button to work mostly correctly, as the previous revision broke it. 2007-11-30 01:43:06 +00:00
Dan Helfman
d9b36fa613 * Fixed note focusing in Safari.
* Fixed note state detection (bold, italic, etc.) in Safari.
2007-11-30 01:00:03 +00:00
Dan Helfman
08950c2ab7 Resizing onload as well since some browsers (e.g. Safari) don't fire onresize on iframes. 2007-11-29 20:32:41 +00:00
Dan Helfman
2e178f08be Resizing all iframes whenever the window resizes. 2007-11-29 20:15:37 +00:00
Dan Helfman
ef66811968 Fixing background color. 2007-11-28 23:26:33 +00:00
Dan Helfman
333a787427 Updating with 1.0.3 infoz. 2007-11-28 23:21:30 +00:00
Dan Helfman
426f51d0e4 Replacing textual page title/heading with fancy image title. 2007-11-28 23:17:58 +00:00
Dan Helfman
af3bf3c51c Improving error reporting and completing 1.0.2. 2007-11-28 19:17:13 +00:00
Dan Helfman
0152b49475 Refactored the way note summaries are created in the link pulldown window. 2007-11-27 21:28:25 +00:00
Dan Helfman
45f94aa188 Deleting a notebook forever now updates the user's storage usage accordingly. 2007-11-19 22:03:04 +00:00
Dan Helfman
079f7e6f98 Fixed bug where clicking "all notes" in an empty notebook didn't show a message that the notebook is empty. 2007-11-18 23:06:51 +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
bffe9e2f3b Exclude deleted notebooks in various places. 2007-11-17 23:57:30 +00:00
Dan Helfman
517e4d4925 Add strongly expire to default(). 2007-11-17 23:45:18 +00:00
Dan Helfman
e67e2bb253 Releasing 1.0.1. 2007-11-17 23:36:01 +00:00
Dan Helfman
eec5ef6411 Implemented delete forever for notebooks. And unit tests! 2007-11-17 23:29:22 +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
8fe52cef50 Now showing "notebook has been moved to the trash" message even if the notebook we've been redirected to has notes in it.
Also saving the focused note (if any) when deleting a notebook.
2007-11-17 04:39:33 +00:00
Dan Helfman
f7d2bd4885 Making IE happy by removing commas. 2007-11-17 04:31:19 +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