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/model/test
Dan Helfman 20313728d2 Several changes to handle the case where a note is changed out from under you, due to being saved
from a different window:
 * Made controller.notebooks responsible for preventing unmodified notes from being saved, instead
   of model.Notebook handling this task.
 * Created a revision validator for passing revisions as arguments to exposed methods.
 * controller.Notebooks.save_note() now requires a previous_revision parameter, used to determine
   whether the note has been modified in the particular window it's being saved from.
 * save_note() returns a new previous_revision value, so the client can determine whether a save
   has occurred from another window.
 * controller.Notebooks.undelete_note() fixed to quietly bail if the note to undelete isn't
   actually deleted, which can happen if it was undeleted in another window.
 * Editor() now responsible for making revisions list if it doesn't exist
 * No longer giving an "undo" message when the user deletes an empty note.
 * On the client side, detecting whether the previous_revision as reported by save_note() looks
   correct, and if not, alerting the user about the conflict. Also displaying a "compare versions"
   button that opens both the current version and the previous version.
2007-08-23 23:56:42 +00:00
..
Test_note.py Implemented a basic trash, including undo upon note deletion and undeletion from the trash: 2007-08-07 01:48:43 +00:00
Test_notebook.py Several changes to handle the case where a note is changed out from under you, due to being saved 2007-08-23 23:56:42 +00:00
Test_persistent.py * Added a "changes" tab with a list of revision timestamps for each note. Note yet clickable. 2007-07-26 01:18:41 +00:00
Test_read_only_notebook.py * Added a trash Notebook to model.Notebook. 2007-08-03 21:12:17 +00:00
Test_user.py * Added a trash Notebook to model.Notebook. 2007-08-03 21:12:17 +00:00