notebook/IPython/html/services
Scott Sanderson 4da8a30f20 DEV: Refactor checkpoint logic from FileContentsManager.
- Add a `CheckpointManager` base class and infrastructure for creating a
  `checkpoint_manager` instance attribute on `ContentsManager`.

- Provide default implementations of `delete` and `rename` in the base
  `ContentsManager` class.  `ContentsManager` subclasses are now
  required to implement `delete_file` and `rename_file`.  These methods
  no longer need to manage checkpoints.

- Move checkpoint-related functionality from `FileContentsManager` to a
  dedicated `FileCheckpointManager` subclass.

- Move shared filesystem interaction logic into `FileManagerMixin`
  used by both `FileContentsManager` and `FileCheckpointManager`.

- Minor tweaks to ContentsManager tests to get methods from the right
  object.

The purpose of this change is to provide an API for users to replace
just the checkpoint logic associated with a particular
`ContentsManager`.  In particular, this change makes it possible to
easily support remote storage of checkpoints while otherwise retaining
normal filesystem interactions.
2014-12-27 00:23:14 -05:00
..
clusters Merge pull request #6607 from minrk/cluster-load-remove 2014-10-05 11:45:58 +02:00
config s/Json/JSON/g **/*.py 2014-12-15 21:54:54 +01:00
contents DEV: Refactor checkpoint logic from FileContentsManager. 2014-12-27 00:23:14 -05:00
kernels Merge pull request #7078 from takluyver/kernelpath 2014-12-04 16:59:54 +01:00
kernelspecs kernelspecs is a dict 2014-12-05 12:06:55 -08:00
nbconvert turn missing dependencies in nbconvert to 500 errors 2014-01-07 15:15:57 -08:00
security Log warning directly. 2014-12-02 15:12:14 -06:00
sessions Add a brief sleep after shutting down sessions in test teardown 2014-12-15 12:45:45 -08:00