Min RK
8407ba3a08
update frontend with path/name changes
...
- remove name from models
- path is full path (contains name)
11 years ago
Jeff Hemmelgarn
53463898eb
Move contentmanager to contents
11 years ago
KesterTong
3994d4d56a
Adds configuration options to use Google Drive content manager
...
Adds the key contentmanager_js_source to webapp_settings that allows for specifying the content manager JavaScript source file. Also adds a NotebookManager subclass, ClientSideNotebookManager, which does minimal logic. This class is used when the JavaScript content manager doesn't use the Python notebook manager, but rather implements that logic client side, as is the case for the Google Drive based content manager.
A sample command line that uses the Google Drive content manager, and the ClientSideNotebookManager, is
ipython notebook --NotebookApp.webapp_settings="{'contentmanager_js_source': 'base/js/drive_contentmanager'}" --NotebookApp.notebook_manager_class="IPython.html.services.notebooks.clientsidenbmanager.ClientSideNotebookManager"
11 years ago
Jeff Hemmelgarn
7043aa1b9e
switch notebook.delete to use contentmanager
...
Make notebook.delete call contentmanager.delete_notebook
11 years ago
KesterTong
993833d018
Replace other methods with ContentManager.new_notebook
...
Replaces Notebook.new_notebook and NotebookList.new_notebook with ContentManager.new_notebook
11 years ago
Matthias Bussonnier
e7c2c369e0
Add about dialog in Notebook Help Menu.
...
This allow to get info on version of IPython when running remotely.
The about dialog also send a kernel info request and display the banner
which is useful for non-python kernel that don't match IPython version
11 years ago
Matthias Bussonnier
87dc17ccbc
cleanup style fixed in separate PR and few other things
11 years ago
MinRK
8e863d951c
use require to load CodeMirror modes
...
CM's loadmode addon only works if you *don't* load CodeMirror itself with require.
11 years ago
Matthias BUSSONNIER
5b355936df
Update to codemirror 4
...
Update to codemirror 4.6 and update most notebook to work wiht it
this include keyevent that where triggerd twice and the re-writing of
ipython-gfm anf ipython mode to work with require.
11 years ago
Matthias BUSSONNIER
0b092b4199
movestyling from js to css
12 years ago
Matthias BUSSONNIER
b8d98e9d81
move border-box-sizing from js to css
...
nothing to do in js, pure styling.
12 years ago
Thomas Kluyver
41626420e2
Allow switching kernel from the notebook UI
12 years ago
Paul Ivanov
b67aac5aef
Merge pull request #6119 from minrk/global-events
...
return global events from require(['base/js/events']).
12 years ago
MinRK
9ff7d264ab
note loaded, unused dependencies in require
12 years ago
MinRK
4097da724b
preserve backward-compatible $([IPython.events])
12 years ago
Jason Grout
abf86d5324
Trigger app_initialized event *after* the 'global' IPython object is initialized
12 years ago
MinRK
b1291df14a
return global events from require(['base/js/events']).
...
In master, it is impossible to load code on IPython events without setting timeouts.
12 years ago
MinRK
579f5101f0
restore websocket_url configurable
...
allows ws to be handled via separate proxies,
as appears to be the case on OpenShift and some other hosting services.
12 years ago
Jonathan Frederic
2478fac032
More requirejs fixes
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
669db572f2
Fix some dialog keyboard_manager problems
12 years ago
Jonathan Frederic
2d7a4a7879
Some JS test fixes
12 years ago
jon
d9ab2d203a
In person review with @ellisonbg
12 years ago
jon
1e098560b8
Revert "Google hangout review comments."
...
This reverts commit 4e120e76014b2630f957c01d17ba3926d4848872.
12 years ago
Jonathan Frederic
eb2b1ab4a4
Google hangout review comments.
12 years ago
Jonathan Frederic
188072d190
@carreau review changes
12 years ago
Jonathan Frederic
2ba8945cab
Fix all the bugs!
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
ca2014ad06
Pager
12 years ago
Jonathan Frederic
152e23dc76
Progress...
12 years ago
Jonathan Frederic
e6b7cc9ff9
Fixed events
12 years ago
Jonathan Frederic
9bfe5fc06c
Use ipython namepsace for instances.
12 years ago
Jonathan Frederic
fb32b6561f
Start of work to make notebook.html requirejs friendly.
12 years ago
MinRK
b7c1f1d8f6
allow notebook tour instantiation to fail
...
can fail with SecurityError,
depending on browser privacy settings
disable UI Tour menu entry if tour instantiation fails
ref: sorich87/bootstrap-tour#262
12 years ago
Paul Ivanov
5725bf80f5
use minified tour
12 years ago
Paul Ivanov
5fead3cdd7
starting the tour from the menu works now
...
JavaScript makes me fond of this phrase:
When there's nothing left to burn, you have to set yourself on fire.
12 years ago
Jonathan Frederic
28423647a2
Updated require references to point to new files
12 years ago
MinRK
a184724bdb
remove base_kernel_url
12 years ago
MinRK
a93040e810
s/get_data/get_body_data/
12 years ago
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
12 years ago
MinRK
13fc9022d9
various unicode fixes
...
- remove notebookPath, notebookName, and baseProjectUrl methods everywhere
- use base_project_url *attributes* instead
- we should never use escaped URLs except when making an actual request
Should fix issues with double-escaping
12 years ago
Jonathan Frederic
5a3665d9ed
s/widget.js/init.js
12 years ago
Jonathan Frederic
8502b2c182
Remove init_widget_js, use require.js for everything
...
Updated examples
Fixed bug with message throttling
12 years ago
Brian E. Granger
caffba142e
Adding keyboard manager logic.
...
This is currently very broken.
12 years ago
MinRK
9e198d2bd6
attach comm_manager to kernel
12 years ago
MinRK
3665cc241f
rename widget to comm
12 years ago
MinRK
6643cffa23
add javascript-side widgets
12 years ago
Zachary Sailer
1b2e41eea4
path with spaces completely fixed
12 years ago