Brian E. Granger
105553e7b1
Fixing minor import error.
13 years ago
Brian E. Granger
8d8c2f6e5b
Updating tests for refactor.
13 years ago
Brian E. Granger
55243f1c1b
Refactor notebookapp __init__ method.
13 years ago
Brian E. Granger
d3a3adf668
Removing dup import.
13 years ago
Brian E. Granger
a1d2d864a0
Moving base ZMQ handlers to base/zmqhandlers.py.
13 years ago
Brian E. Granger
e1c3f81349
Renaming templates to match other names.
13 years ago
Brian E. Granger
428b727b1a
Renaming api handlers and moving FileFindHandler into base handlr.
13 years ago
Brian E. Granger
f17c77eba0
Updating import statements after moving notebook files around.
13 years ago
Brian E. Granger
6b7fd467ee
Reorganizaing the server side of the notebook.
13 years ago
Brian E. Granger
5359f7c99b
More work on the handlers
13 years ago
Brian E. Granger
f0fb443fd4
Removing debug message.
13 years ago
Brian E. Granger
a809db93b1
Fixing url join problems.
13 years ago
Brian E. Granger
0b28fde1b8
Adding __init__.py
13 years ago
Brian E. Granger
6f891eeb6e
Splitting handlers into different files.
...
I have also created a top-level utils.py for notebook related stuff
13 years ago
Brian E. Granger
3155653f6d
Adding new files.
13 years ago
Brian E. Granger
d9e629d87a
Moving handlers to subdir
13 years ago
Matthias Bussonnier
2112c51b7f
Merge pull request #3294 from Carreau/jsfix
...
fix callbacks as optional in js kernel.execute
13 years ago
Matthias Bussonnier
d9d300de39
Typo : optionnal -> optional
13 years ago
Brian E. Granger
fa872236a2
Merge pull request #3275 from minrk/submodule-hooks
...
improve submodule messages / git hooks
13 years ago
Brian E. Granger
a861725303
Merge pull request #3239 from eteq/easy-close-pager
...
Allow "x" icon and esc key to close pager in notebook
13 years ago
Matthias BUSSONNIER
40b760d836
fix callbacks as optional in js kernel.execute
...
plus some doc fixes.
Mainly to fix some backward compatibility with examples here and there.
13 years ago
Erik Tollerud
c2e199abb8
use alternate method to collapse pager from notebook.js as suggested by @Carreau
13 years ago
Thomas Weißschuh
44f5fd3d87
notebookapp: add missing whitespace to warnings
13 years ago
MinRK
9b22138a9b
use highlevel in notebook log format
...
datefmt no longer necessary
13 years ago
MinRK
19c6442a7d
check submodules when starting the notebook server
...
shows a warning (not an error) if components are out of date.
13 years ago
MinRK
4b5ba71307
protect highlight.js against unknown languages
...
falls back on autodetect if specified language fails (e.g. unrecognized language).
closes #3268
13 years ago
MinRK
7782dfcb4e
add missing return
...
closes #3260 (again)
13 years ago
Brian E. Granger
d3da03069d
Merge pull request #3101 from minrk/marked
...
use marked / highlight.js instead of pagedown and prettify
13 years ago
MinRK
8df01f22aa
finish removing prettify
13 years ago
MinRK
796fb5d0a8
unify highlight.js / codemirror style
13 years ago
MinRK
6ac2bdf086
use highlight.js to highlight markdown code blocks
13 years ago
MinRK
b6c390db06
use marked for markdown
13 years ago
MinRK
70dd6e1612
fix set_last_checkpoint when no checkpoint
...
closes #3260
13 years ago
MinRK
e1f4d0a85f
fix a few URLs from previous PR
...
some of the URLs in the submodules PR were not updated
13 years ago
Brian E. Granger
4a654d1c29
Merge pull request #3240 from minrk/submodules
...
remove js components from the repo
13 years ago
MinRK
2cf93510f8
use less from components
13 years ago
MinRK
317debce06
remove unused components
...
remove command from fabfile
components live in a submodule
13 years ago
MinRK
8b5e5a5e09
restore checkpoints in a sub-list
...
minor styling update to the restore dialog as well
13 years ago
MinRK
c1b19755fd
rename shouldn't create a checkpoint
13 years ago
MinRK
46093157d7
deleting a notebook deletes its checkpoints
...
also cleanup a few log messages
13 years ago
MinRK
a3c99d94bb
add checkpoint status to notebook header
...
autosave is also there, but once the dirty flag is an event,
this should stop having the date, and just become 'autosaved / unsaved changes'
13 years ago
MinRK
030c547e58
fix Location headers
13 years ago
MinRK
1f82c03dd2
Save and Checkpoint
13 years ago
MinRK
53ac962d1a
sync with previous handler changes
...
use IPythonHandler, avoid self.application
13 years ago
MinRK
a99a07f10b
only save on close if autosaving
13 years ago
MinRK
01bba482a9
*all* user-initiated saves create a checkpoint
13 years ago
MinRK
8ca57a1779
s/autosave_notebook/set_autosave_interval/
13 years ago
MinRK
80bba145d5
set default autosave interval to two minutes
13 years ago
MinRK
2fe8a9b2cd
only autosave when dirty
13 years ago
MinRK
dd77790a00
add autosave timer
...
autosave interval is tuned based on the duration of saves.
Autosave will never happen more frequently than every 30 seconds,
and if saves take more than 3 seconds, autosave will fire every 10x the duration of the save (i.e. if save takes 6 seconds, it will be every 60 seconds, etc.)
13 years ago
MinRK
6da01bf362
trigger autosave on tab/window close
...
instead of "please don't leave!"
13 years ago
MinRK
e119a6469b
add Revert to the menu bar
13 years ago
MinRK
5bc55ba984
add some checkpoint messages to the notification area
13 years ago
MinRK
db413fadbf
expose notebook checkpoints in html/js
...
- cmd-S does a plain save
- ^M-s does checkpoint
- add save checkpoint to File menu
- save button in bar does checkpoint
13 years ago
MinRK
985289e113
checkpoint info is a dict
...
two keys: checkpoint_id and last_modified
13 years ago
MinRK
dd234bbc93
add ModifyCheckpoints handler
...
separates requests that change specified checkpoint IDs from those that do not.
13 years ago
MinRK
62d61cbbc0
add notebook checkpoint handler
13 years ago
MinRK
c4ac8eee36
add checkpoint API to FileNBManager
13 years ago
Min RK
6be220da56
Merge pull request #3235 from ellisonbg/removeprint
...
Remove the unused print notebook view
13 years ago
Brian E. Granger
56e4759813
Merge pull request #3238 from ellisonbg/tabstyle
...
Improve the design of the tab completion UI
13 years ago
Brian E. Granger
5cc0897dd6
Fixing styling of context type completions.
13 years ago
Erik Tollerud
180f465f16
Collapse -> Close in button description as suggested by @fperez
13 years ago
MinRK
1390270968
use components from external submodule
13 years ago
Erik Tollerud
13b2cadd8b
changed ESC to trigger collapsing of the pager in notebook
13 years ago
Erik Tollerud
aafec25d34
Added clickable icon to collapse pager
...
Closes #3196
13 years ago
MinRK
09adbd4e32
remove components
13 years ago
Brian E. Granger
d9668cdb78
Merge pull request #3190 from minrk/image_size
...
allow formatters to specify metadata
13 years ago
Brian E. Granger
e149319692
Removing print notebook from style.less.
13 years ago
Brian E. Granger
1494b484b6
Removing print handler and URL regepx.
13 years ago
Brian E. Granger
a2c8215947
Removing print handler.
13 years ago
Brian E. Granger
51a897d87c
Removing stale call to print view in JS.
13 years ago
Brian E. Granger
abaafd2363
Removing old autogrow JS code.
13 years ago
Brian E. Granger
93f5f67d37
Updating box-shadows to proper bootstrap less function.
13 years ago
Brian E. Granger
49faf2c939
Improving the tab completion UI/design
13 years ago
MinRK
034331c3fa
support display_pub metadata in js frontend
13 years ago
Brian E. Granger
e77e2fe409
Fixing indentation in fabfile.py.
13 years ago
Brian E. Granger
3e08874316
Adding README.md about notebook development.
13 years ago
Brian E. Granger
bdf1cefac5
Put back the components fab function as we can still use it.
13 years ago
Brian E. Granger
8dbc143512
Fix CM related sizing issues for completer and tooltip.
13 years ago
Brian E. Granger
9d2da9e28f
Removing old codemirror assets - we now use the 1 in components.
13 years ago
Brian E. Granger
c83c0449d5
Fixing CM3 style related issues.
...
CM3 introduced a number of changes to how various paddings are set.
Because of how we change the line-height we had to set these back
to the CM2 values. What a pain!
13 years ago
Brian E. Granger
40617eb340
Give the .CodeMirror class no background so ours shows through.
13 years ago
Brian E. Granger
68dd1370ac
Fixing broken URLs to CM assets.
13 years ago
Brian E. Granger
29a1296ef6
Changing mode name from python -> ipython.
13 years ago
Brian E. Granger
137a40ac96
Fixing typo in ntoebook.html.
13 years ago
Brian E. Granger
222a4f61df
Updating ipython CM mode.
13 years ago
Brian E. Granger
ea4eb9b351
Copying CodeMirror's python mode into place for our ipython mode.
13 years ago
Brian E. Granger
d2460ee0c5
Add components to static URLs.
13 years ago
Brian E. Granger
72d7b6ff39
Updating tooltip.less for CM3 behavior.
13 years ago
Brian E. Granger
6e08dc37fa
In CM3, the class that needs autogrow has changed.
13 years ago
Brian E. Granger
c666acbe5e
Updating tooltip.js to work with CM3.
13 years ago
Brian E. Granger
ed8d859d66
Updating path to codemirror.
13 years ago
Brian E. Granger
85908b1765
Moving cmtemp -> codemirror.
13 years ago
Brian E. Granger
154df41ac3
Moving CodeMirror -> cmtemp
13 years ago
Brian E. Granger
a36d867882
Removing tests from fabfile that are no longer needed.
13 years ago
Brian E. Granger
836f68e4ad
Adding our current components directory.
...
This commit adds the right versions of:
* Bootstrap
* Jquery
* less.js
* CodeMirror
We should always use bower to manage these packages in the
future. BUT, we are not yet using this version of jquery as
we still rely on an older crazy-branch version of jquery.ui.
13 years ago
Brian E. Granger
b5ad7db080
The HTML output type accidentally got removed from the OutputArea.
...
This commit adds it back at the approp. point in the
OutputArea.display_order.
13 years ago
Fernando Perez
7da43f8ebb
Merge pull request #3226 from ellisonbg/renamedialog
...
Text in rename dialog was way too big - making it <p>.
13 years ago
Brian E. Granger
3a515880ae
Text in rename dialog was way too big - making it <p>.
13 years ago
Brian E. Granger
e416cb8658
Removing old restuctured text handler and web service.
13 years ago