Commit Graph

409 Commits (4317b94de53a7f5016794e275190e1e22add09f0)

Author SHA1 Message Date
Matthias Bussonnier c1d9f4d436 Merge pull request #7283 from minrk/kernel-spec-model
11 years ago
Scott Sanderson dc295f67bd MAINT: Add missing `config=True`s.
11 years ago
Scott Sanderson 4da8a30f20 DEV: Refactor checkpoint logic from FileContentsManager.
11 years ago
Scott Sanderson 9aad3c631f MAINT: Move `update` from FileContentsManager to ContentsManager.
11 years ago
Min RK e7b6d5dec3 update kernelspec model tests
11 years ago
Min RK a417785c5e add resource URLs to kernelspec model
11 years ago
Min RK ad995dfdb8 Merge pull request #7244 from minrk/rm-signature
11 years ago
Min RK db5147998d docstring on test_dir
11 years ago
Min RK 00e4ad59c0 add counter to new notebooks in test_manager
11 years ago
Scott Sanderson a1ad9abe51 MAINT: Unicode literal in assertDictContainsSubset
11 years ago
Scott Sanderson 4a2149d1c3 TEST: Add a non-notebook file to directory test.
11 years ago
Scott Sanderson af7d1cdb50 STY: Define dirs as a single expression.
11 years ago
Scott Sanderson f7cf204b25 BUG: Convert to bytes before comparing binary blobs.
11 years ago
Scott Sanderson e9b81b6c7a TEST: Verify base64 return values after decoding.
11 years ago
Scott Sanderson fcc1bbecb3 MAINT: Remove unused blob and b64_blob attributes.
11 years ago
Scott Sanderson f20a7b41cb TEST: Abstract out directory/file deletion methods.
11 years ago
Scott Sanderson 46f299ccf2 TEST: Refactor symlink tests.
11 years ago
Min RK a4b47e7e8a move symlink tests to TestFileManager
11 years ago
Scott Sanderson 61c2e0442f TEST: Add checks for subdirectory name splitting.
11 years ago
Scott Sanderson c7ca3066ec TEST: More fine-grained test for directory contents.
11 years ago
Scott Sanderson 23e5e6da4f TEST: Expect a 404 on delete of non-existent file.
11 years ago
Scott Sanderson 6bfab2de08 BUG: Allow for the possibility that to_path is empty string.
11 years ago
Scott Sanderson 44805b94db BUG: Sanitize to_path in ContentsManager.copy.
11 years ago
Scott Sanderson 7ab1bf7487 BUG: Set default mimetype when base64 is requested
11 years ago
Min RK c166a05f5d abstract some methods in contents service tests
11 years ago
Min RK dc70ae6b07 allow ContentsManager methods to return Futures
11 years ago
Matthias Bussonnier efbe695523 Merge pull request #7226 from takluyver/win-sleep-session-tests
11 years ago
Matthias Bussonnier 5829ceacb9 s/Json/JSON/g **/*.py
11 years ago
Thomas Kluyver 0178e2add0 Add a brief sleep after shutting down sessions in test teardown
11 years ago
Matthias Bussonnier 4bd9ac7882 Add json in the base config manager name
11 years ago
Bussonnier Matthias 6f38f7b014 generalise manager
11 years ago
Min RK 42a92d4794 Merge pull request #6896 from minrk/save-hooks
11 years ago
Thomas Kluyver f2e1b6f65f Merge pull request #7145 from minrk/type____
11 years ago
Thomas Kluyver 4c62fd4210 Merge pull request #7149 from minrk/thread-nb
11 years ago
Scott Sanderson 2216b9522c DEV: Tweaks from PR feedback.
11 years ago
Scott Sanderson 70eb9e219f DOC: Add docstring for validate_model.
11 years ago
Scott Sanderson a45b8a0c67 DEV: Validate models returned from ContentsManager methods.
11 years ago
Min RK 22e206de6f ContentsManager type kwarg to match model key
11 years ago
Thomas Kluyver 4cee2f5f3a Merge pull request #7128 from minrk/more-v-less-m
11 years ago
Thomas Kluyver 9f48e86477 Merge pull request #7136 from minrk/octet-stream
11 years ago
Scott Sanderson ccc8cb9cbf Minor cleanups in the contents API.
11 years ago
Min RK f0181836b2 run test server in thread
11 years ago
Min RK 407e63cb80 set default mimetype to octet-stream for binary files
11 years ago
Min RK c81609f5d6 redirect /edit/ to /files/ if not (utf8) text
11 years ago
Min RK c238553a4e set application/json on contents model replies
11 years ago
Min RK ee00dcf083 docstring
11 years ago
Min RK f2343e4ec5 update `--script` behavior to use `nbconvert --to script`
11 years ago
Min RK 1731b9b449 `--script` triggers post_save hook with nbconvert
11 years ago
Min RK 58c0a97ec3 add pre/post-save hooks
11 years ago
Min RK 11ef669ec6 kernelspecs is a dict
11 years ago
Matthias Bussonnier de52775797 Merge pull request #7078 from takluyver/kernelpath
11 years ago
Thomas Kluyver 3cad1f4b4d Expose ConfigManager one level up the hierarchy
11 years ago
Kyle Kelley a6d3d6a93e Log warning directly.
11 years ago
Kyle Kelley 7a48687929 Update CSP tests for new default.
11 years ago
Kyle Kelley 17d1c2d488 Report CSP violations as warnings.
11 years ago
Kyle Kelley 0c22c140c3 Turn x-frame-options tests into CSP tests
11 years ago
Kyle Kelley 392118d536 One unified CSP report URI
11 years ago
Kyle Kelley cb19f07c9a csp_report_uri caused a cyclic dependency
11 years ago
Kyle Kelley 23b9f09177 Log CSP violations via report
11 years ago
Kyle Kelley 1f03954dd8 Handle CSP Reports
11 years ago
Thomas Kluyver d273b56044 Clean up get_kernel_path logic
11 years ago
Matthias Bussonnier fd2588612a return API path instead of filesystem
11 years ago
Thomas Kluyver f1295c6b8d Add default for profile_dir
11 years ago
Thomas Kluyver febd670716 First stab at ConfigManager class
11 years ago
Thomas Kluyver 25ee73a554 Loading a file works
11 years ago
Min RK 837ef7f122 s/open_w/atomic_writing/
11 years ago
Min RK c9a4e5b00d handle various permission failures
11 years ago
Thomas Kluyver 8252f56b00 Allow FileContentsManager and MappingKernelManager to be used outside NotebookApp
11 years ago
Thomas Kluyver 6d776a5292 Allow starting the server with both file_to_run and notebook_dir
11 years ago
Min RK a62a9abdef update MappingKernelManager module docstring
11 years ago
Min RK 1914e27cff Don't pass IPython-specific args to non-IPython kernels
11 years ago
Thomas Kluyver d04e41251d Merge pull request #6915 from minrk/contents-no-0
11 years ago
Min RK 0a22217f7e Merge pull request #6900 from takluyver/contents-api-get-as-type
11 years ago
Min RK e4e1d47203 Merge pull request #6694 from takluyver/config-rest-api
11 years ago
Min RK 456e65b1f3 adjustments to filename increment
11 years ago
Thomas Kluyver 0f44eced72 Put frontend config files in profile_foo/nbconfig/ subdir
11 years ago
Thomas Kluyver c9b6e30526 Actually pass URL params with API request
11 years ago
Thomas Kluyver f1f81e2efa Rename get_model() to get()
11 years ago
Thomas Kluyver 6f48b58b18 Fix various review comments
11 years ago
Thomas Kluyver b5a6cb7da1 Allow specifying format when getting files from contents API
11 years ago
Thomas Kluyver ce6dd40c5c Add type parameter for contents GET requests
11 years ago
Min RK da832ef59f split ContentsManager.new, add ContentsManager.new_untitled
11 years ago
Min RK 39041a9f03 address review in contents service
11 years ago
Min RK 74c897cc0b unicode!
11 years ago
Min RK bc4f0b32bb rename ContentsManager.create_file->new
11 years ago
Min RK 62dedf921b remove notebook['name'] from sessions
11 years ago
Min RK b6c4baa2fb remove copy via PUT
11 years ago
MinRK 3ada0c2c27 Remove separate 'path', 'name' in Contents API
11 years ago
Thomas Kluyver ae6ae8f7b0 Return updated config from PATCH requests
11 years ago
Thomas Kluyver c26b0f6961 Fix writing JSON on Python 2
11 years ago
Thomas Kluyver 425d5a1c02 Apply JSON config updates recursively
11 years ago
Thomas Kluyver 6786f86c63 Fix docstring, validate JSON on PUT
11 years ago
Thomas Kluyver a76a546627 Add REST API for retrieving, storing and updating config
11 years ago
Thomas Kluyver 963921c4ff Merge pull request #6832 from minrk/request-only-once
11 years ago
Min RK 525f6a7561 fix backward `f, nb` args for nbformat.write
11 years ago
MinRK 7cf53c998c restore ability to sign v3 notebooks
11 years ago
MinRK af735018f3 don't use nbformat.current in IPython.html
11 years ago
MinRK 12f94ae2a2 use from_dict for dict->notebook
11 years ago
MinRK dd95b1ef5f remove heading cells in v4
11 years ago
MinRK 07079095a8 update html/js to nbformat 4
11 years ago