witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

1699 Commits

Author SHA1 Message Date
Dan Helfman b7b88f25a3 Accidentally left out of last commit. 2007-07-28 04:23:17 +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 f81707ea2f For none_okay validator flag, allow empty strings as well. 2007-07-28 04:11:14 +00:00
Dan Helfman e963007ae5 This __setstate__ function is no longer necessary, as all databases have been converted to the new schema. 2007-07-28 04:09:37 +00:00
Dan Helfman 069532b58c Reverting to previous revision. Didn't mean to checkin these changes yet, as they're not complete. 2007-07-27 00:33:32 +00:00
Dan Helfman 35459270be Now ignoring link clicks that are with the right or middle mouse buttons. 2007-07-27 00:32:42 +00:00
Dan Helfman ccc1cc2f2d Fix for bug introduced by revisions list that preventing opening of new editors by clicking links. 2007-07-26 23:02:24 +00:00
Dan Helfman 0cbbc68282 Simulating max-height for pulldowns in brain-dead IE6. 2007-07-26 19:38:49 +00:00
Dan Helfman f05d3db661 * Added a "changes" tab with a list of revision timestamps for each note. Note yet clickable.
* Made controller.Notebooks.save_note() return the newly minted revision timestamp upon a successful save.
 * Whenever we get back a revision timestamp from save_note(), we store in in the client's list of revisions for that note.
 * Now raising Access_error in controller.Notebooks in various places where the notebook requested is unknown.
 * Tweaked pulldown CSS a bit. Now will sport a handy-dandy scrollbar if the pulldown gets too tall, at least in real browsers.
 * Fixed bug where clicking "show on startup" checkbox directly didn't visually toggle the checkbox.
2007-07-26 01:18:41 +00:00
Dan Helfman 55b8ac6446 Fix for nasty session timeout in which you'd get spontaneously logged out for
no apparent reason. The fix is to enable cherrypy's implicit session file
locking, which, interestingly enough, isn't enabled implicitly.
2007-07-25 20:04:24 +00:00
Dan Helfman e356b3349e Another work-around for None notes. 2007-07-24 21:12:12 +00:00
Dan Helfman 35e06bccef Fixing unit test that was broken by earlier switching to secondary id keys including class names. 2007-07-24 00:03:50 +00:00
Dan Helfman c05e143269 When scrolling the window, scroll to the top of the note controls instead of just the top of the iframe. 2007-07-23 23:49:57 +00:00
Dan Helfman 120c29954c More changes to search results displaying:
* Now, already open editors that happen to be in the search results are forcibly moved to be with the result of the search results.
2007-07-23 23:42:53 +00:00
Dan Helfman 94f75f23a7 Search results display changes:
* Search results are now appended to the open notes, instead of replacing them.
 * Already-open notes that also happen to be in the search results are closed so that they're not shown twice.
2007-07-23 23:19:15 +00:00
Dan Helfman bcd1dcbcd9 Increasingly brittle, but this fixes the following bug:
* hit bold, type some text, hit space, start a link. this will not actually start a link and will just insert a space
2007-07-23 22:57:48 +00:00
Dan Helfman a6fff8da31 Yet more selection shenanigans for starting a link in Firefox. Hopefully less buggy now. 2007-07-21 20:14:48 +00:00
Dan Helfman 852a432712 Making each object have a list of its previous revisions. 2007-07-21 04:17:31 +00:00
Dan Helfman 8e6b152483 Factored out options pulldown into a separate "sub-class" of Pulldown. 2007-07-20 22:41:20 +00:00
Dan Helfman 0129c2a2c3 Schema change to secondary ids are stored with their class, not just their bare id. 2007-07-20 20:05:02 +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 78fef663b2 Now, if an exception is raised within a function decorated with
@update_client, it get propagated to the client in the form of a
not-very-helpful generic error message.
2007-07-19 23:13:19 +00:00
Dan Helfman ed594fd798 Added info about saving notes. 2007-07-19 22:36:23 +00:00
Dan Helfman c34811f378 Replaced Scheduler's internal use of threading.Event with threading.Semaphore
to prevent race condition that caused timeouts.
2007-07-19 22:18:07 +00:00
Dan Helfman 203a8f9e70 Another filter to skip None notes. 2007-07-19 20:15:07 +00:00
Dan Helfman 2b307b6690 Html_cleaner no longer converts ":" to ":". 2007-07-19 19:23:59 +00:00
Dan Helfman 1ecad1a00c Fix so None doesn't ever get added to result list, which screws up the parser. 2007-07-19 19:06:22 +00:00
Dan Helfman 24a7205d3a Html_nuker now converts some character/entity refs to their ascii equivalents,
which allows searching for things that contain non-alphanumeric characters
encoded as char/entity refs.
2007-07-19 19:03:40 +00:00
Dan Helfman 6bb233f8da When Html_nuker was initialized with allow_refs, the code was incorrectly
allowing character/entity references, so ":" was becoming just "58".
2007-07-19 18:24:08 +00:00
Dan Helfman 0e968d0b60 Fix for negative indexing. 2007-07-19 02:50:58 +00:00
Dan Helfman 302dd0c869 Clarifying link creation. 2007-07-18 22:32:47 +00:00
Dan Helfman 8df8036255 Ending a link in IE no longer moves the cursor to the end of the line. 2007-07-18 21:51:59 +00:00
Dan Helfman dcc42cf808 Simplified the "welcome to your wiki" note. 2007-07-18 21:47:43 +00:00
Dan Helfman de9e3a55e3 Fixing Firefox link creation when in the middle of a line. 2007-07-18 21:29:47 +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 abd9948588 When downloading the wiki as HTML, skip None notes. 2007-07-18 20:17:58 +00:00
Dan Helfman 733e104872 Now that the databases are changed from Entry to Note, removing schema evolution stuff. 2007-07-18 20:05:55 +00:00
Dan Helfman eb957d169b Re-adding Entry yet again, and putting __setstate__() back in Notebook to
properly update the database's schema for Entry -> Note.
2007-07-18 20:05:13 +00:00
Dan Helfman 60d01fe483 Updating reloaddb.py to use the new Database.reload() method. 2007-07-18 20:03:55 +00:00
Dan Helfman 3ba0527d4c Added a reload() method to Database, designed for loading and immediately
saving a key/value to the database. This is useful for schema evolution.
2007-07-18 19:43:12 +00:00
Dan Helfman 2bdf683ae4 Removing __setstate__() methods and the Entry class now that all databases
have been switched over to new Note class. In the future some schema evolution
script would probably be useful.
2007-07-17 17:32:15 +00:00
Dan Helfman 15d4758766 Fixed __setstate__() methods to update revision. 2007-07-17 17:29:47 +00:00
Dan Helfman 433b3b3915 Temporarily re-adding Entry for db conversion purposes. 2007-07-17 01:54:03 +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 35481a9cba Update db script now renames the main notebook appropriately. 2007-07-16 21:07:07 +00:00
Dan Helfman 64bf5e34a1 Renamed placeholder title "Limited Medium" to "Luminotes". 2007-07-16 21:03:39 +00:00
Dan Helfman 9029c713d4 Renaming main file to luminotes.py 2007-07-16 20:55:45 +00:00
Dan Helfman 02cfca5322 Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00