MinRK
cb25736a24
reorganize who knows what about paths
...
- add NotebookApp.notebook_dir
- add KernelManager.root_dir
- remove NotebookManager.notebook_dir, move to FileNBM.notebook_dir
Default value for KM.root_dir and fNBM.notebook_dir is NotebookApp.notebook_dir, but they can be configured separately.
SessionManager passes the API path to KernelManager,
which is responsible for turning it into the kernel's cwd.
2014-02-21 13:22:56 -08:00
MinRK
37cb0fbdee
remove websocket url
...
websockets should follow the kernel URL
(normal behavior is unchanged, only unused configurability is removed)
2014-02-20 22:54:36 -08:00
MinRK
a184724bdb
remove base_kernel_url
2014-02-11 21:26:10 -08:00
Thomas Kluyver
79c27df217
Specify encoding in remainining instances of io.open
2013-11-20 10:50:04 -08:00
Thomas Kluyver
93ee2d7173
Make sessions REST API test more robust.
...
Was seeing failures on Windows because it failed to delete the folder.
2013-10-29 09:15:57 -07:00
Thomas Kluyver
bce32ec03b
Fixes for notebook session manager
2013-10-29 09:15:56 -07:00
Thomas Kluyver
4a14ed7e22
Replace references to unicode and basestring
2013-10-29 09:15:54 -07:00
MinRK
922f458d6a
set kernel cwd to notebook's directory
...
closes #4424
2013-10-23 10:15:55 -07:00
MinRK
7ea311ad64
escape URLs in Location headers
2013-10-18 16:13:53 -07:00
Brian E. Granger
36aa39e3b7
Improving tests and setting of Location header.
2013-10-17 14:09:20 -07:00
MinRK
8b9bb04d12
review pass on Sessions API
2013-10-17 14:09:18 -07:00
Thomas Kluyver
18f88d020f
Add failing test for listing nonexistant directory
2013-10-17 14:09:18 -07:00
Thomas Kluyver
c18aaefbde
Fix sessionmanager test
2013-10-17 14:09:17 -07:00
Thomas Kluyver
e240f21ea1
Clean up sessions code from static analysis
2013-10-17 14:09:17 -07:00
Thomas Kluyver
693cc97905
Fix some HTTP status codes in sessions API
2013-10-17 14:09:17 -07:00
Thomas Kluyver
b3d2698c11
Fix session API tests
2013-10-17 14:09:17 -07:00
Thomas Kluyver
a02bd3d5e4
Improve Session REST API tests
2013-10-17 14:09:17 -07:00
Zachary Sailer
d3e456d9a1
add tests to notebooks api
...
- check for correct status codes
- check headers location
- fix COPY api
2013-10-17 14:09:12 -07:00
Zachary Sailer
9e0beba86f
adding to test_kernels_api.py
...
- Check all HTTP status code responses for requests
- Test invalid kernel IDs
- Check 'location' key in POST request to kernels
2013-10-17 14:09:12 -07:00
Zachary Sailer
c26700cd3a
changes after session manager code review
2013-10-17 14:09:12 -07:00
Zachary Sailer
27680dacb2
Code review changes.
...
Fixed handler issues and api tests from code review
from @minrk and @carreau.
2013-10-17 14:09:11 -07:00
Zachary Sailer
04c6a3cfac
refactoring of nbmanager and filenbmanager
...
major clean up of the two managers. We make sure to follow
the standard models described in IPEP 16
2013-10-17 14:09:10 -07:00
Zachary Sailer
050a3098a8
review fixes on tests, add extra kernel api test
2013-10-17 14:09:10 -07:00
Zachary Sailer
e9ac1c2d37
add tests for session api
2013-10-17 14:09:10 -07:00
Zachary Sailer
22e351ae3b
cleaning nb handlers, adding doc-strings/comments
2013-10-17 14:09:09 -07:00
Zachary Sailer
8c2009874c
session manager restructuring
...
Redid the sessionmanager, added tests for the session manager,
and added a sqlite database to hold kernel,session,nb mapping.
2013-10-17 14:09:09 -07:00
Zachary Sailer
8261ac2cb9
change standard money keys
2013-10-17 14:09:06 -07:00
Zachary Sailer
c7375e170f
rebase master- eliminate read-only
2013-10-17 14:09:06 -07:00
Zachary Sailer
a219abaeeb
standard model changes
2013-10-17 14:09:06 -07:00
Zachary Sailer
5af83cd705
redirect url after notebook rename
2013-10-17 14:09:05 -07:00
Zachary Sailer
fd282698bc
removing debug logs
2013-10-17 14:09:05 -07:00
Zachary Sailer
ece92127d3
Add 'patch' to session & notebook, rename working
2013-10-17 14:07:51 -07:00
Zachary Sailer
e4a7b724a6
fixed shutdown button refresh on dashboard
2013-10-17 14:07:51 -07:00
Zachary Sailer
0559df1b8a
manual rebase - add sessions web service
2013-10-17 14:07:49 -07:00