witten
/
luminotes
Archived
1
0
Fork 0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/static/js
Dan Helfman 02a3544590 Search result now return notes from multiple notebooks.
- change model.Notebook.sql_search_notes() to be a static method
   - take a first_notebook_id argument and a user_id argument
   - join user_notebook on notebook_id and matches on user_notebook.user_id instead of notebook_id
   - order by notebook_id = first_notebook desc, rank instead of just rank
   - include search result for notebooks readable by anonymous user, but only if such a notebook is given as first_notebook_id
 - update code that calls model.Notebook.sql_search_notes()
 - update model.Note.to_dict() to include notebook_id
 - modify Wiki.display_search_results()
   - separate search results for the current notebook and results for all other notebooks
   - indicate which notebook each result is from
   - if there are results in other notebooks but no results in the current notebook, indicate that clearly
   - when you click on a result note link in the current notebook, it should simply open a new note
   - when you click on a result note link in another notebook, it should open in a new window
 - test in IE
 - update unit tests for:
   - controller.Notebooks.search()
   - model.Notebook.sql_search_notes()
   - model.Note.to_dict()
2008-05-19 15:16:25 -07:00
..
test * model.Invite now has a to_dict() method, like other model classes do. 2007-12-12 00:52:34 +00:00
Editor.js Search result now return notes from multiple notebooks. 2008-05-19 15:16:25 -07:00
Invoker.js - bug: if you save a note that fails to be saved, e.g. due to being longer than 25k characters in size, then the note still shows up in 2008-05-06 05:47:31 +00:00
MochiKit.js Hack to MochiKit's Visual.ScrollTo() to make it work in IE. 2007-10-31 22:48:15 +00:00
MochiKit_LICENSE Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00
Wiki.js Search result now return notes from multiple notebooks. 2008-05-19 15:16:25 -07:00