witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

1710 Commits

Author SHA1 Message Date
Dan Helfman 1ded442791 In IE, now resizing on iframe init with onresize instead of a somewhat arbitrary setTimeout() delay.
This prevents the resize from breaking and only showing part of the iframe contents.
2007-09-27 05:45:43 +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 0052858fdc Set email util. 2007-09-27 02:33:24 +00:00
Dan Helfman c23b4b324c support@ instead of questions@luminotes.com 2007-09-27 00:28:19 +00:00
Dan Helfman cb66bc6da3 Fewer small fonts, and sans-serif instead of times. 2007-09-27 00:26:51 +00:00
Dan Helfman 9e6ad24351 Removing fancy "take a tour" / "try it out" image buttons in favor of text links, because the images clashed with the rest of the page. 2007-09-27 00:09:25 +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 4a39a798cd Rewrote the "about" note, because I didn't like the previous one. 2007-09-24 21:32:11 +00:00
Dan Helfman 90aa4d1903 Preloading hover images for great responsiveness. 2007-09-24 21:05:41 +00:00
Dan Helfman 3be8f891b4 Fancy new image buttons for "take a tour" and "try it out".
Also updated initdb.py to handle links containing more than just text.
2007-09-24 20:50:01 +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 0c9c2b6ac2 Wrote basic tool for setting a user's rate plan. 2007-09-22 17:19:13 +00:00
Dan Helfman 22b8c70f9e New utility to show whether a user is present (by username). 2007-09-22 02:50:12 +00:00
Dan Helfman f495f44a96 Made a tour images and linked to it from various places.
Also removed references to "take a tour" note, since it no longer exists.
2007-09-21 23:10:08 +00:00
Dan Helfman 13bc06295f Changing the storage usage calculation algorithm to not count old notebook revisions. 2007-09-21 19:15:02 +00:00
Dan Helfman c5a2b3900f Sigh. IE commas. 2007-09-20 23:34:34 +00:00
Dan Helfman 212f516aeb uh, whoops 2007-09-20 23:30:09 +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 f1caee29a4 Removed trash link in quota warning, because we don't have access to this.notebook there. 2007-09-20 23:07:24 +00:00
Dan Helfman c5c4498d19 Warning displayed when you're nearing your storage quota. 2007-09-20 22:59:00 +00:00
Dan Helfman c9bd2ae576 Now updating storage utilization on client in "realtime" as a result of user actions. 2007-09-20 22:26:43 +00:00
Dan Helfman ae329d771a Returning storage usage to the client whenever usage changes. 2007-09-20 22:16:52 +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 ebf1538313 model.User now has a storage_bytes member, and controller.Users has a method for calculating and updating this field. 2007-09-13 00:53:49 +00:00
Dan Helfman 2e75521ac2 controller.Users.calculate_storage() method to calculate the total bytes used by a particular user. 2007-09-12 22:42:46 +00:00
Dan Helfman 8e7749d512 controller.Database.size() function for getting the approximate storage size of an object. 2007-09-12 21:28:28 +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 d4d41c9d48 Now replacing/refreshing "all notes" when it's already open and you click the "all notes" link again. 2007-09-11 19:19:03 +00:00
Dan Helfman 49a692f378 Intentionally *not* showing a link pulldown when you start a link and begin
typing. Only showing the pulldown when you end the link (or when you navigate
away and then come back).
2007-09-11 00:10:44 +00:00
Dan Helfman 1f87db664b Makes slightly more sense with this change. 2007-09-10 21:59:54 +00:00
Dan Helfman 060b0b6845 Overhauled display of search results. Now displaying a "magic" search results
note containing a list of search results along with previews of the display
notes.
2007-09-10 20:04:46 +00:00
Dan Helfman 67c43cbef0 Learned to spell JavaScript. 2007-09-10 19:43:51 +00:00
Dan Helfman 7634393431 Reverting previous change since it has the unwanted side-effect of making link pulldowns stay open too long. 2007-09-08 00:21:33 +00:00
Dan Helfman 57c456d839 If you started a link and began typing, the link pulldown appeared when you type a space, even if the link isn't done. 2007-09-08 00:12:42 +00:00
Dan Helfman 78d5845140 Fixing broken "all notes" link. Sigh. 2007-09-07 23:58:03 +00:00
Dan Helfman 6620dbb8cf Added info about JavaScript unit tests. 2007-09-07 23:54:31 +00:00
Dan Helfman 773ea3bf2b If a link had title "all notes" but a different link id for the destination,
and you clicked on the link without opening the link pulldown first, then the
link would open up "all notes" instead of the correct link destination.
2007-09-07 23:46:01 +00:00
Dan Helfman ecf44bdf6e Made code dealing with "all notes" in link pulldown work better (or at all). 2007-09-07 23:03:12 +00:00
Dan Helfman 7e67181be9 Test for editor.empty(). 2007-09-07 22:17:08 +00:00
Dan Helfman 0e8f557ae4 Forgot to checkin Stub_editor.js previously.
Also, factoring out Editor test setup into Editor_setup.js for reuse.
Added test for Editor.contents().
2007-09-07 22:07:43 +00:00
Dan Helfman 707c3dbc02 Test_editor() function that actually runs. 2007-09-07 21:39:01 +00:00
Dan Helfman 3955bcb8b9 Wrote a very basic stub editor for testing the Wiki class.
Made test for Editor() constructor slightly more useful.
2007-09-07 21:05:39 +00:00
Dan Helfman ae347d0e3b Wrote stub invoker for testing purposes and made use of it in Test_wiki.html. 2007-09-06 21:36:39 +00:00
Dan Helfman 779769ae79 Fixed inexplicable IE test failure. Maybe focus is a reserved keyword? 2007-09-06 20:18:08 +00:00
Dan Helfman 61c6ab3fb0 Beginning stubs for client-side javascript "unit" tests. (Probably more like
functional tests, unless a whole lot of mock objects are introduced, which
isn't entirely out of the question). Uses JsUnit, which is included in this
commit.
2007-09-06 10:25:06 +00:00
Dan Helfman e747e9c2ff Reverting r333 and making alternate fix for duplicate notes when repeatedly
clicking links, because r333 broke link pulldown title grabbing. Must..
write.. unit.. tests!
2007-09-06 08:27:41 +00:00
Dan Helfman ae342ac5d6 Preventing opening of dup notes from note links. 2007-09-05 23:49:25 +00:00
Dan Helfman f7b97fb41d Don't create duplicate "all notes" when opened from a note link. 2007-09-05 23:44:34 +00:00
Dan Helfman 5aaf0d6276 Reverting to earlier behavior: Options pulldown doesn't close if you click a checkbox. 2007-09-05 23:11:19 +00:00
Dan Helfman 439fd49880 Prevent one note from "shadowing" another note with the same name. Previously,
if you clicked a link with a note id and a note with the link's title was
already open, it just highlighted that note, regardless of the id. Now, that
will only happen if the link has no id.
2007-09-05 19:54:04 +00:00