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
13 years ago
Zachary Sailer
c26700cd3a
changes after session manager code review
13 years ago
Zachary Sailer
7aaaab0668
fixed notebook rename after nbmanager refactor
13 years ago
MinRK
14fd50f80b
Simplify Tree handlers
...
- 404 on missing path
- only need one handler for each of redirect and dashboard,
don't need duplicates.
- project property on Handlers is unclear
13 years ago
MinRK
ed66b8b8fe
add path2url and url2path to html.utils
13 years ago
Zachary Sailer
2a946c62ab
added tests to nbmanager for url encode/decode
13 years ago
Zachary Sailer
97bc426bb7
add error catching to kernel manager
...
also, adding further tests to kernel manager
13 years ago
Brian E. Granger
c0bc0410ce
Review and refactoring of notebooks web service.
13 years ago
MinRK
5568cd5db0
ensure test_no_kernels runs first
...
since it expects a clean notebook server.
13 years ago
MinRK
b0468580f7
don't start new notebook server for each test *method*
...
it takes much too long.
This change starts a new notebook server for each test class.
Even that is probably too much, but the module organization makes it troublesome
to start a single notebook server for all services tests.
13 years ago
Zachary Sailer
27680dacb2
Code review changes.
...
Fixed handler issues and api tests from code review
from @minrk and @carreau.
13 years ago
Brian E. Granger
2d6f4628c4
Adding JSON error handling and fixing location headers.
13 years ago
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
13 years ago
Zachary Sailer
050a3098a8
review fixes on tests, add extra kernel api test
13 years ago
Zachary Sailer
e9ac1c2d37
add tests for session api
13 years ago
Zachary Sailer
8ce586a241
move notebooks api tests into notebooks/tests
13 years ago
Paul Ivanov
f517d44d4b
removing contents changes from this PR
13 years ago
Zachary Sailer
95b505d602
Added notebooks API tests.
13 years ago
Zachary Sailer
5f1b7727d8
fix bug in test_contentmanager
13 years ago
Brian E. Granger
136a19e5eb
Added base class for Notebook API tests.
13 years ago
Zachary Sailer
483d16c8ed
clean kernel manager
13 years ago
Zachary Sailer
22e351ae3b
cleaning nb handlers, adding doc-strings/comments
13 years ago
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.
13 years ago
Paul Ivanov
b8318708eb
clean up of get_os_path and its tests
...
work with @Zsailer
13 years ago
Zachary Sailer
34b9840786
fixing broken links from recent changes.
...
After fixing operating system path changes in previous commits,
many links needed to be adjusted to direct to the correct URL.
13 years ago
Zachary Sailer
470595f9e7
handle path separators with os.sep and add tests
...
Added more tests to the notebook manager to check for the correct
path separators on different operating system. Fixed the get_path
method.
13 years ago
Zachary Sailer
bdbe30dc3a
url encode/decode tests added to nbmanager
13 years ago
Paul Ivanov
f42de98c5b
use new assumptions for named_notebook_path
13 years ago
Paul Ivanov
7ca8a21bf6
named_notebook_path: consistent usage convention
13 years ago
Paul Ivanov
a083ad1fd7
more named_notebook_path cleanup
...
named_notebook_path now returns path with leading and trailing slashes.
Work with @Zsailer
13 years ago
Paul Ivanov
fd7a64ff38
simplified named_notebook_path implementation
...
Also updated the tests
13 years ago
Paul Ivanov
9f08aa5a08
cleaning up named_notebook_path
13 years ago
Paul Ivanov
11e5bd7b24
adding tests for named_notebook_path
...
I want to do some refactoring, so I'll put in some tests that will define the
behavior that I want to preserve, so I can verify that my refactoring hasn't
broken anything.
13 years ago
Thomas Kluyver
18fdb26273
Fix to if test
13 years ago
Thomas Kluyver
6154c5f626
Remove some unnecessary imports
13 years ago
Thomas Kluyver
2a81c5f80c
Update docstring
13 years ago
Thomas Kluyver
213b89c1cc
Simplify encoding/decoding URL parts
13 years ago
Thomas Kluyver
adb2fc1fa4
Better use Python slicing
13 years ago
Zachary Sailer
2372628552
entry from command line to notebook
13 years ago
Zachary Sailer
1f04b48725
Renaming fixed
13 years ago
Zachary Sailer
f3af343f4f
Change new/copy URLS to POST requests
13 years ago
Zachary Sailer
a74b9a018b
removed '/new' URL and added POST notebook request
13 years ago
Zachary Sailer
8261ac2cb9
change standard money keys
13 years ago
Zachary Sailer
c7375e170f
rebase master- eliminate read-only
13 years ago
Zachary Sailer
1b2e41eea4
path with spaces completely fixed
13 years ago
Zachary Sailer
eb1690255d
allow spaces in notebook path
13 years ago
Zachary Sailer
a219abaeeb
standard model changes
13 years ago
Zachary Sailer
5af83cd705
redirect url after notebook rename
13 years ago
Zachary Sailer
fd282698bc
removing debug logs
13 years ago
Zachary Sailer
b170c5dee0
allow notebook names with spaces
13 years ago
Zachary Sailer
5462cb4d9b
fixed delete_content in contentmanager
13 years ago
Zachary Sailer
91f25dc046
add contents web service api
13 years ago
Zachary Sailer
6114d4c338
drop file ext off notebook name in notebook
13 years ago
Zachary Sailer
f55381d55b
completer now recognizes session
13 years ago
Zachary Sailer
ad621913f1
added folder creation ability using '/-new'
13 years ago
Zachary Sailer
d06cf1fed7
added "last_modified" to notebook_model
13 years ago
Zachary Sailer
d4ee2da291
proper '.py' and '.ipynb' download files
13 years ago
Zachary Sailer
022b8324b2
Download '.py' fixed, deleted debugging output
13 years ago
Zachary Sailer
bfff3d817d
Fixed bug when linking kernel to new code cells
13 years ago
Zachary Sailer
c4e06a3728
allow rename in subdirectory notebooks
13 years ago
Zachary Sailer
ece92127d3
Add 'patch' to session & notebook, rename working
13 years ago
Zachary Sailer
e4a7b724a6
fixed shutdown button refresh on dashboard
13 years ago
Zachary Sailer
d41544865a
fix kill_and_exit button in notebook
13 years ago
Zachary Sailer
62ec52e276
fix restart/interrupt kernel buttons
13 years ago
Zachary Sailer
324370de53
delete debug comment
13 years ago
Zachary Sailer
20324bafd0
fixing path redirects, cleaning path logic
13 years ago
Zachary Sailer
11cef9ab45
fixing some bugs after rebase
13 years ago
Zachary Sailer
7fbeb814f8
manual rebase tree/handlers.py
13 years ago
Zachary Sailer
d16fe2f826
manual rebase html notebook templates
13 years ago
Zachary Sailer
afb0d571f4
manual rebase static/tree/
13 years ago
Zachary Sailer
385ad6f509
manual rebase static/services (add session.js)
13 years ago
Zachary Sailer
0f52ffa756
manual rebase static/notebook/js files
13 years ago
Zachary Sailer
0559df1b8a
manual rebase - add sessions web service
13 years ago
Zachary Sailer
98e67bfa22
manual rebase notebooks web services
13 years ago
Zachary Sailer
09c4ecbb10
manual rebase services/kernels/
13 years ago
Zachary Sailer
f998dae05f
manual rebase notebookapp.py
13 years ago
Zachary Sailer
72ec51128d
manual rebase notebook/handlers.py
13 years ago
Zachary Sailer
521f03793a
manual rebase base/handlers.py
13 years ago
Min RK
1b9aef3959
Merge pull request #4377 from minrk/fix-cancel
...
fix tooltip cancel
pending tooltip from open-parenthesis was not being cancelled properly
13 years ago
Matthias Bussonnier
f11b95358c
Merge pull request #4293 from Carreau/tooltip-mkp
...
Factorise code in tooltip for julia monkeypatching
13 years ago
Matthias Bussonnier
40eb635824
Merge pull request #4292 from Carreau/more-cpl
...
improve js-completer logic.
13 years ago
Paul Ivanov
7f5e7f4e6d
fix (CTRL-M -) shortcut for splitting cell in FF
...
fun-fact: Chromium uses a different keycode for hyphen/minus than does
Opera and Firefox.
13 years ago
Paul Ivanov
c165b57132
split focuses the top of the newly created cell
13 years ago
MinRK
7080a10362
split adds new cell above, rather than below
...
preserves the order of code and output across split event
rather than moving output into the middle of the split.
13 years ago
MinRK
543b317d92
fix tooltip cancel
...
pending tooltip from open-parenthesis was not being cancelled properly
13 years ago
Brian E. Granger
7ccb1bbc8a
Merge pull request #4154 from ellisonbg/mathstyle
...
Center LaTeX and figures in markdown
13 years ago
Brian E. Granger
882c791a8a
Fixing comments on equation justification.
13 years ago
Matthias Bussonnier
598409c8f0
Merge pull request #4333 from minrk/notebook-metadata
...
Add Edit Notebook Metadata to Edit menu
13 years ago
MinRK
4a04553acd
add Edit Notebook Metadata to Edit menu
13 years ago
Matthias BUSSONNIER
fa23fb9d6d
Partial fix to #3653 (from foo import <tab>)
...
Some configurability for Julia
(change the regexp because ! is a valid char in token from them)
13 years ago
Brian E. Granger
1963605e1f
Fixing minor comment.
13 years ago
Brian E. Granger
b41b519127
Removing inversion of the completion list.
13 years ago
Brian E. Granger
c3d128d38a
Adjust tab completion widget if too close to bottom of page.
13 years ago
Matthias Bussonnier
7c4c9d1c1b
Merge pull request #4289 from jdfreder/clearoutput
...
Fix scrolling output (not working post clear_output changes)
Regression introduced in #4229
13 years ago
Jason Grout
54aa8a9f61
Make parameters for kernel start method more general
13 years ago
Jonathan Frederic
39c6103159
s/'auto'/''
13 years ago
MinRK
8577550756
move edit_metadata to IPython.dialog
13 years ago
MinRK
4d48a84c8b
catch EACCES when binding notebook app
...
can come up for low ports on *ix, or user access control restrictions on Windows.
closes #4308
13 years ago
MinRK
cb953bfcc7
limit random ports to positive values
13 years ago
Matthias Bussonnier
09eacebef7
Merge pull request #4277 from minrk/jsext
...
serves files in IPYTHONDIR/nbextensions at /nbextensions.
This is a location for users / devs to drop-in frontend customization as js modules, css, etc.
The model is very much like the extensions dir (hence the name) - it's a location made available, but not loaded by default. You can load things from there with require, etc.
It's a configurable search path, just like static. This way we can define a system-wide location at a later point
13 years ago
Matthias BUSSONNIER
1a3881dd54
Factorise code in tooltip for julia monkeypatching
13 years ago
Jonathan Frederic
6f0bbe91e1
Fix scrolling output not working
...
by adding a conditional for the append output
height reset.
13 years ago
Matthias Bussonnier
fbbef5174a
Merge pull request #4282 from ellisonbg/linebreaks
...
Enable automatic line breaks in MathJax.
13 years ago
MinRK
eae0cc7e77
s/nb_extensions/nbextensions
13 years ago
MinRK
06b2fdc076
serve local mathjax from nb_extensions
13 years ago
MinRK
84e2384acf
s/js_extensions/nb_extensions
13 years ago
Min RK
bcaa844afd
Merge pull request #4279 from ellisonbg/itemname
...
Fixing line-height of list items in tree view.
13 years ago
Matthias Bussonnier
b16530e57e
Merge pull request #4253 from Carreau/fix-4039
...
fixes #4039 .
Issues is that $(selector).val() return the associated text if no data
is present (hence one cannot associate explicitely an option to
"undefined")
fix in doc and example.
13 years ago
Brian E. Granger
3ef9498d2f
Enable automatic line breaks in MathJax.
13 years ago
Brian E. Granger
3edfec77c3
Fixing line-height of list items in tree view.
13 years ago
MinRK
c85292cf2e
add js_extensions_path
...
serves files in `IPYTHONDIR/js_extensions` at `/js_extensions`.
This is a location for users / devs to drop-in frontend customization as js modules, css, etc.
The model is very much like the extensions dir (hence the name) - it's a location made available, but not loaded by default. You can load things from there with require, etc.
It's a configurable search path, just like static. This way we can define a system-wide location at a later point (/usr/share/ipython/js_extensions?) and still have user installs.
13 years ago
Brian E. Granger
ba38fad3b8
Refactoring the center/left justify.
13 years ago
Brian E. Granger
54c751ce50
Merge pull request #4229 from jdfreder/clearoutput
...
Clear_output: Animation & widget related changes.
13 years ago
Brian E. Granger
33ceac3a99
Removing page.less from base style.less.
13 years ago
Matthias BUSSONNIER
e175bec1a7
fixes #4039 .
...
Issues is that $(selector).val() return the associated text if no data
is present (hence one cannot associate explicitely an option to
"undefined")
fix in doc and example.
13 years ago
Brian E. Granger
0ab0153e5a
Removing extra comment.
13 years ago
Brian E. Granger
4b8ccb37e1
Adding 1em spacing above and below tables in rendered html.
13 years ago
Brian E. Granger
8d9f2e367a
Centering for tables/images/math in Markdown.
13 years ago
Brian E. Granger
417e99e4ae
Compiling CSS for this branch.
13 years ago
Brian E. Granger
8dd8446315
Indenting MathJax rendered equations in rendered_html divs.
...
This is designed to match the indentation level of MathJax equations
in output.
13 years ago
Brian E. Granger
b78b79c7cc
Fixing less @import paths in auth/base/tree.
...
These paths were problematic for --NotebookApp.use_less=True mode.
13 years ago
Brian E. Granger
fc9f3fe72b
Merge pull request #4166 from minrk/localinterfaces
...
avoid executing code in utils.localinterfaces at import time
13 years ago
Brian E. Granger
523b3645fe
Merge pull request #4232 from minrk/no-lang-no-highlight
...
no highlight if no language specified
13 years ago
Jonathan Frederic
b8d7197ec6
Don't preserve height when clear_output(wait=False) is called
13 years ago
MinRK
e3f2eb8452
no highlight if no language specified
13 years ago
Jonathan Frederic
6bfd28b91d
Added wait flag to clear_output.
13 years ago
MinRK
c8cea9d807
avoid executing code in utils.localinterfaces at import time
...
moves away from global constants to utility functions.
The code is still only executed once,
but instead of at import time, it is executed at first request.
13 years ago
Jonathan Frederic
00f0c827e9
Removed ability to clear stdout and stderr individually.
13 years ago
Jonathan Frederic
2b6add80f1
Remove clear_output timeout callback in favor of fixed height
13 years ago
MinRK
5d19c204db
clear previous callbacks on execute
...
avoids mixed up display of multiple executions in one output area
when a cell is resubmitted.
closes #4223
13 years ago
MinRK
b322e72bee
add Kernel.clear_callbacks_for_msg
13 years ago
Min RK
5a3da993e3
Merge pull request #4183 from tkanmae/fix-vim-escape
...
ESC should be handled by CM if tooltip is not displayed
13 years ago
Takeshi Kanmae
7071ae8d90
Update boolean tests
13 years ago
MinRK
ddfeab7728
Merge pull request #4193 from juhasch/overflow-x
...
Firefox seems to require an additional "url-prefix()" for #3549 to work.
13 years ago
MinRK
a1fc91d9ff
fab css
13 years ago
Min RK
4ec07adc60
Merge pull request #4201 from minrk/no-merge-heading
...
HeadingCells cannot be split or merged
closes #4200
13 years ago
Matthias Bussonnier
89109e73d1
Merge pull request #4079 from minrk/status_started
...
trigger `Kernel.status_started` after websockets open
13 years ago
MinRK
2cf6921166
HeadingCells are not splittable or mergeable
...
closes #4200
13 years ago
MinRK
37a345bd93
add Cell.is_mergeable method
...
and check it in the Notebook merge methods
13 years ago
juhasch
deab820002
append Firefox overflow-x fix
13 years ago
Takeshi Kanmae
9ceedb62d0
Have remove_and_cancel_tooltip() return a boolean
13 years ago
Takeshi Kanmae
a11ebc8b0a
ESC should be handled by CM if tooltip is not on
13 years ago
Min RK
5e590218f2
Merge pull request #4136 from minrk/catch-js
...
catch javascript errors in any output
not just javascript.
catches js errors appending anything to the output area, such as js in HTML (#4095 ).
closes #4095
13 years ago
Paul Ivanov
c3b1e07d70
Merge pull request #4125 from minrk/test-help-output
...
Basic exercise of `ipython [subcommand] -h` and help-all
13 years ago
Min RK
287f432d20
Merge pull request #4159 from minrk/minor-style
...
don't split `.cell` and `div.cell` CSS
I know we have bigger CSS scoping issues to deal with, but this is an easy fix for an obvious problem.
13 years ago
Min RK
90d3e90afe
Merge pull request #4065 from Carreau/ecss
...
do not include page css in ipython.min.css
13 years ago
Min RK
76f8de32ea
Merge pull request #4064 from Carreau/default_mode
...
Store default codemirror mode in only 1 place
13 years ago
Kevin Burke
2cf73980c0
Select default title when renaming a notebook
...
The default notebook name is Untitled<x>. It is unlikely the user will want to
keep this name or part of it. Instead, select the text in the input field so the
user can easily type over the name and change it.
13 years ago
MinRK
3211227ecf
fab css
13 years ago
MinRK
29c48fd538
don't split `.cell` and `div.cell` CSS
...
`.cell` matches non-IPython things that it shouldn't (inside highlighted code),
everything `.cell` should match in IPython is a div.
13 years ago