witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

129 Commits

Author SHA1 Message Date
Dan Helfman 7def0fe58c You can now print an individual note. 2009-03-02 17:16:15 -08:00
Dan Helfman 8003ae4107 Fixed unit test by making Notebooks.export() look for AttributeError in addition to ImportError. 2009-02-23 16:45:52 -08:00
Dan Helfman 1d4f3e8300 Removing debugging traceback print. 2009-02-20 15:31:41 -08:00
Dan Helfman 67162b9ec8 No longer hard-coding list of supported export plugins. 2009-02-20 14:05:48 -08:00
Dan Helfman 7f6be83465 Removing unnecessary import. 2009-02-18 23:55:35 -08:00
Dan Helfman 26722eee93 Converting export features to work as separate plugins. Made exported filenames based on the name of the exported notebook. 2009-02-18 23:52:18 -08:00
Dan Helfman a8af8b3fb3 Fixed several edge cases with re-ranking notes during a reorder. Now updating several notes' ranks on every reorder instead of making successively more precise fractional ranks. 2009-02-10 17:05:03 -08:00
Dan Helfman 3c7f8b726a Lots of unit tests for reordering notes. 2009-02-10 13:40:50 -08:00
Dan Helfman c03c54026f Better interaction between empty notes and note reordering via dragging. 2009-02-10 02:17:28 -08:00
Dan Helfman 3b335cca89 Don't display a note movement grabber when in a non-read-write notebook. 2009-02-10 02:00:15 -08:00
Dan Helfman 4f3267b0f4 Now note reordering is saved to the server. Still to do: New unit tests for reordering. Re-rank all notes in notebook when necessary. 2009-02-10 01:32:08 -08:00
Dan Helfman fc502c6c82 Clarified the names of some of the notebook note-loading methods so that they are less confusing. 2009-02-02 13:41:09 -08:00
Dan Helfman b1cdfad22b Redirecting to blog friendly id instead of standard id. 2008-11-18 17:10:16 -08:00
Dan Helfman c211456130 Lots of discussion forum / blog work. 2008-11-18 13:28:51 -08:00
Dan Helfman a97cec4369 Unit tests for new controller.Notebooks.save_note() return parameter: rank. 2008-11-03 14:36:57 -08:00
Dan Helfman 681e11e9a7 Disabled access to several controller methods for READ_WRITE_FOR_OWN_NOTES notebooks.
Also fixed some unit tests. Many other unit tests are forthcoming.
2008-10-31 16:59:36 -07:00
Dan Helfman 23bff4d6b2 For forum threads, redirect from /notebooks/... URLs to corresponding /forums/... URLs. 2008-10-31 15:55:08 -07:00
Dan Helfman ab591a53ce Converting Decimal to float when returning rank. 2008-10-30 15:39:29 -07:00
Dan Helfman b4a40d2c25 More work on the discussion forums. 2008-10-30 15:26:27 -07:00
Dan Helfman 36af0bbfed Propagating notebook tags to the UI code. 2008-10-24 15:07:36 -07:00
Dan Helfman 388f2fcb02 Foundational work for both tags and discussion forums. Should have checked this in in smaller pieces. 2008-10-24 11:51:19 -07:00
Dan Helfman c94443a8c3 Made signup conversion tracking more accurate. 2008-10-15 12:53:00 -07:00
Dan Helfman 4d24914496 Leading/trailing spaces and newlines in note titles and contents are now stripped out when exporting to CSV. 2008-09-29 23:35:45 -07:00
Dan Helfman f2b88441ee Leading/trailing spaces in note titles are now ignored when making links to such notes. 2008-09-28 14:48:22 -07:00
Dan Helfman 7a3fe2fc5a Fixed incorrect commit order in import_csv(). 2008-09-26 23:01:01 -07:00
Dan Helfman 32da3d3db2 Fixed bug in which an incorrectly detected CSV header or an invalid note_id value could break an entire CSV import. Now just ignoring invalid note_id values. 2008-09-26 22:23:38 -07:00
Dan Helfman c04475fc7e Fixed bug in which attempting to export a notebook containing a note saved by a user without a username would raise an error. 2008-09-26 21:57:53 -07:00
Dan Helfman 61fb8cc079 Fixed a bug in which attempting to export a notebook containing a note without a title would raise an error. 2008-09-26 21:54:43 -07:00
Dan Helfman 38f4772a6a Completed note link rewriting support for CSV importing. Also completed unit tests for that and CSV exporting. 2008-09-26 21:30:40 -07:00
Dan Helfman 6c46951285 Mentioned Google Chrome. Added a link to contact info for people to vote for their browser choice. 2008-09-22 14:23:13 -07:00
Dan Helfman 968ef22bc4 Implemented CSV exporting, and improved CSV importing to better handle the exported CSV files.
Importing still needs work on properly handling internal note links.
2008-09-17 23:39:11 -07:00
Dan Helfman f07cd2dc41 Notebooks.summarize_note() can now optionally highlight some particular text. 2008-08-26 19:35:50 -07:00
Dan Helfman 2fa2010dd9 Added very basic note summarizing for search results if the backend doesn't return a note summary (e.g. for SQLite). 2008-08-19 22:15:54 -07:00
Dan Helfman ee38d64302 All Notebooks unit tests are now passing with the new SQLite backend. 2008-08-19 17:49:29 -07:00
Dan Helfman 6e8e1a31c9 Improved escaping of titles based on value of plaintext parameter. Finished unit for import_csv(). 2008-08-11 13:21:12 -07:00
Dan Helfman 6b8bb9ce4f Tweaked CSV import to support HTML refs (e.g. >) in imported titles. 2008-08-11 03:47:17 -07:00
Dan Helfman 4d50c1b869 Began unit tests for Notebooks.import_csv() and added stub tests for those that are still to do. 2008-08-11 02:34:32 -07:00
Dan Helfman 9ed4254e43 When there's no CSV title column, attempting to use the first line of the contents instead of just the first few words.
Also nuking HTML earlier on so that it doesn't interfere with title truncation.
Still needs unit tests for this code.
2008-08-09 01:08:15 -07:00
Dan Helfman 52f129e571 New notebook import feature for importing notes from a CSV file. (Beta.)
Uses existing file upload mechanism with slightly modified UI to upload the file.
Then there's new CSV parsing code to parse the CSV and import it as a new notebook.
Still need a few more unit tests before this feature can be considered complete.
2008-08-08 16:39:53 -07:00
Dan Helfman 8271f82734 Unit tests for controller.Notebooks.revert_note(). 2008-07-11 17:06:01 -07:00
Dan Helfman 3153492086 Basic note reverting now works. 2008-07-11 14:41:48 -07:00
Dan Helfman 48f58d0c0e Fixed bug in which bolding of suggest-as-you-type search text was case sensitive. Now it's case insensitive. 2008-06-29 22:49:29 -07:00
Dan Helfman fe139cc749 First pass for suggest-as-you-type for linking. 2008-06-27 16:11:09 -07:00
Dan Helfman 599971ba01 When linking to a note by title, the note resolution is now
case-insensitive instead of case-sensitive.
2008-06-25 20:04:06 -07:00
Dan Helfman eaf45f5599 Links to embedded images now show up within the note tree's list of links.
Links to files that have not yet been uploaded (or have been deleted) are
now excluded from the note tree's list of links.
2008-06-17 20:25:44 -07:00
Dan Helfman 0faa06ea10 Called controller.Users.calculate_group_storage() from various places. Fixed model.User.sql_calculate_group_storage(). 2008-06-05 15:59:01 -07:00
Dan Helfman e971959755 Attempting to access the RSS feed for a non-existent notebook now
displays a somewhat informative message in the feed instead of just
silently raising an error.
2008-05-26 23:00:31 -07:00
Dan Helfman ae5c911c1c New multiple-notebook search query was way too slow. Now fixed.
- make model.Notebook.sql_search_notes() search either with user_id or an anonymous user_id, not both
  - update controller.Notebooks.search(), so if the anonymous user has access to the given notebook,
    then run the search as the anonymous user instead of the given user id
  - update unit tests
  - don't search trash/deleted notebooks
2008-05-19 22:36:21 -07:00
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
Dan Helfman bb77cefeaa Possibly fixed a bug where IE 7 would fail to download as HTML via HTTPS
due to cache issues. The fix entailed using a new @weakly_expire decorator
on controller.Notebooks.download_html().
2008-05-06 21:41:00 +00:00