witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

334 Commits

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