##// END OF EJS Templates
DEV: Refactor checkpoint logic from FileContentsManager....
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.

File last commit:

r18192:4666352e
r19727:974ebd4a
Show More
ansicolors.less
23 lines | 745 B | text/x-less | LessCssLexer
Brian E. Granger
Splitting notebook.less into separate files.
r10730 /* CSS font colors for translated ANSI colors. */
MinRK
add ansi background colors
r11312 .ansibold {font-weight: bold;}
/* use dark versions for foreground, to improve visibility */
Brian E. Granger
Splitting notebook.less into separate files.
r10730 .ansiblack {color: black;}
.ansired {color: darkred;}
.ansigreen {color: darkgreen;}
Mateusz Paprocki
Use more yellowish color for ansiyellow
r18192 .ansiyellow {color: #c4a000;}
Brian E. Granger
Splitting notebook.less into separate files.
r10730 .ansiblue {color: darkblue;}
.ansipurple {color: darkviolet;}
.ansicyan {color: steelblue;}
MinRK
add ansi background colors
r11312 .ansigray {color: gray;}
/* and light for background, for the same reason */
.ansibgblack {background-color: black;}
.ansibgred {background-color: red;}
.ansibggreen {background-color: green;}
.ansibgyellow {background-color: yellow;}
.ansibgblue {background-color: blue;}
.ansibgpurple {background-color: magenta;}
.ansibgcyan {background-color: cyan;}
.ansibggray {background-color: gray;}