Archived
1
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/controller
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 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
__init__.py Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00
Async.py Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00
Database.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
Expire.py Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00
Expose.py Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00
Html_cleaner.py Got external links working! 2007-08-16 22:27:58 +00:00
Html_nuker.py Fix so None doesn't ever get added to result list, which screws up the parser. 2007-07-19 19:06:22 +00:00
Notebooks.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
Root.py Factored out hardcoded support email address from various places. 2007-08-20 20:28:17 +00:00
Scheduler.py More docstrings. 2007-08-09 19:44:26 +00:00
Updater.py Factored out hardcoded support email address from various places. 2007-08-20 20:28:17 +00:00
Users.py More docstrings. 2007-08-09 19:44:26 +00:00
Validate.py Removing debugging print. 2007-08-01 20:23:12 +00:00