Bussonnier Matthias
8fc6d2ff1f
saving notebook does not run cell.
...
Thus running cell instead of saving notebook
11 years ago
Bussonnier Matthias
7a3a61fe81
make pseudo action in their own dcit.
...
make test more reliable by adding data-attributes to buttons.
11 years ago
Matthias Bussonnier
2d51cec3c8
adresses Min comments x2
11 years ago
Bussonnier Matthias
e292a82dff
Fix comments
...
move humanize-map out of function call to have only one instance
11 years ago
Matthias Bussonnier
f43d8585d1
Add notion of actions to celltoolbar
...
modify toolbar.js to be able to deal with actions.
modify maintoolbar to deal with the new action architecture
add a way to triger notification widget hiding
11 years ago
Min RK
f0181836b2
run test server in thread
...
instead of subprocess
11 years ago
Thomas Kluyver
8160308bb2
Merge pull request #7120 from Carreau/fix-widget-load
...
lazy load widgets
11 years ago
Bussonnier Matthias
affdb6a8ff
fix test
11 years ago
Nicholas Bollweg (Nick)
eef949eda9
fixing tests
11 years ago
Nicholas Bollweg (Nick)
8f5b447eaf
removing monkeypatch, importing rest of codemirror default theme
11 years ago
Nicholas Bollweg (Nick)
68c4714338
using codemirror mode/meta for detection
11 years ago
Jonathan Frederic
2969de609d
Selection test fix
11 years ago
Matthias Bussonnier
5db4b7a8ee
Merge pull request #6668 from Carreau/actions
...
Add notion of action to keyboard manager.
11 years ago
Jonathan Frederic
907bde3b25
Address review comments
11 years ago
Jonathan Frederic
eb319c8aab
Promise logic is infectious like a disease
11 years ago
Jonathan Frederic
0d591619c6
Make all tests async display safe
11 years ago
Jonathan Frederic
56c5020a84
bool_test passing with slimerjs
11 years ago
Jonathan Frederic
8c149c9112
Current state with lots and lots of debugging junk
11 years ago
Jonathan Frederic
6ee932f298
Add rsvp to setupbase
11 years ago
Jonathan Frederic
26d012b3b7
Add comment clarifying new hook function,
...
Refined Page Error output.
11 years ago
Jonathan Frederic
17108fed3b
Make errors clearer!
11 years ago
Jonathan Frederic
66caa322c5
Make Page Error output clearer
11 years ago
Jonathan Frederic
77789daa12
Test fixes
11 years ago
Jonathan Frederic
4beda5d0fb
Initial stab at adding promises to the widget framework.
11 years ago
Sylvain Corlay
2a026ed45b
Test packing/unpacking instances of Date and String
11 years ago
Min RK
ba370731a5
fix and test path regexes
...
- require leading `/`
- match empty string
- disallow consecutive `//`
This means that path_regex should be included as `/api/whatever%s`, not `/api/whatever/%s`
11 years ago
Min RK
5c2ae3e92c
fix link-following logic in directory nav
...
avoid infinite recursion by recording which links have been visited
11 years ago
Min RK
81764cc1e0
update save test
...
fix some event waiting while there
11 years ago
MinRK
3ada0c2c27
Remove separate 'path', 'name' in Contents API
...
- path is full path (including name)
- name is only used for read-only convenience, and plays no role in any API
- remove 'untitled upload' (POST with content and no path)
11 years ago
Min RK
4871cc4f1d
wait for kernel_ready after ws_closed_error
11 years ago
Min RK
42f0684994
add events to ws_closed_error in kernel.js
11 years ago
Min RK
525f6a7561
fix backward `f, nb` args for nbformat.write
11 years ago
MinRK
af735018f3
don't use nbformat.current in IPython.html
...
use top-level nbformat.read/write, v4 directly for compose
11 years ago
MinRK
ae0b46aa3f
address review from takluyver
...
- various typos
- discuss multi-line strings in nbformat doc
- testing cleanup
- py3compat simplification
- don't use setdefault when composing notebook nodes
- mime-type fix in svg2pdf
11 years ago
MinRK
dd95b1ef5f
remove heading cells in v4
11 years ago
MinRK
6ca260e611
output[mime/type] -> output.data[mime/type] in javascript
11 years ago
MinRK
14cfb2efc1
s/prompt_number/execution_count in nbformat 4
11 years ago
MinRK
07079095a8
update html/js to nbformat 4
11 years ago
Min RK
1d7f8803e0
use ?download=1 to trigger download in /files/
...
sets `Content-Disposition: attachment...`
- master sets this unconditionally
- 2.x sets this iff file is a notebook
11 years ago
Jonathan Frederic
ba77877c18
Rebase fixes
11 years ago
Jonathan Frederic
04d0874a80
JS test fix
11 years ago
Jonathan Frederic
cb2c76999c
Address some more review comments...
11 years ago
Jonathan Frederic
3cb5ac6fbb
Clarified API for the create_model function,
...
Also added a test!
11 years ago
Jonathan Frederic
5366cef17d
Fix an issue in the `kernel_running` function of the JS tests,
...
This fix allows the JS test to be ran against a remote server
with a higher than LAN latency. This bug in our testing
framework was exposed when running `iptest js/widgets --url`
against tmpnb.
11 years ago
Thomas Kluyver
5ede5318d5
Merge pull request #6751 from jdfreder/iptestgun
...
Added --url option to iptest
11 years ago
Jonathan Frederic
fc3178e13e
Make order of operations more explicit.
11 years ago
Jonathan Frederic
c3b1bf795e
Add --url option to iptest
11 years ago
Thomas Kluyver
c39939869f
Merge pull request #6653 from mattpap/fix_ansispan
...
Fix IPython.utils.ansispan() to ignore stray [0m
11 years ago
Mateusz Paprocki
439098a9d5
IPython.{util->utils}.fixConsole() in html/tests/base
11 years ago
Matthias Bussonnier
d269912958
Merge pull request #6110 from minrk/binarycomm
...
support binary buffers in comm messages
11 years ago
Matthias Bussonnier
f8fe41dd67
add test warning shadow
11 years ago
Matthias Bussonnier
7ae250bbeb
Merge pull request #6693 from minrk/please-no-jsonp
...
set contentType='application/json'
11 years ago
MinRK
95355e6ff2
Merge pull request #6624
...
closes #6656
closes #6399
11 years ago
MinRK
7c2083aa60
test saving with problematic cell contents
11 years ago
Jessica B. Hamrick
8896b538b5
Add regression tests for live notebook
11 years ago
MinRK
9e425bf94b
move binary msg test to services/serialize
11 years ago
MinRK
11f5775103
test binary websocket messages
...
only runs on slimerjs for now
11 years ago
MinRK
3de7e9bd74
test websocket-friendly binary message roundtrip
...
Python-side
11 years ago
Jessica B. Hamrick
37c2419c5e
Rename all status_event to kernel_event
11 years ago
Jessica B. Hamrick
e5a5bdcdd3
Handle and test for failed restart in session.js
11 years ago
Jessica B. Hamrick
29e6885b60
Test for autorestart and failed autorestart
11 years ago
Jessica B. Hamrick
f2ad4fc176
Better way to wait inbetween tests
11 years ago
Jessica B. Hamrick
fe2402f99d
Increase wait time between tests
11 years ago
Jessica B. Hamrick
7f8b95a661
Add status_ready.Kernel event and rename status_started to status_created
11 years ago
Jessica B. Hamrick
c43e06bbc4
Add test for kernel_dead.Session
11 years ago
Jessica B. Hamrick
42e863db8c
Remove debugging statements
11 years ago
Jessica B. Hamrick
01ba501b88
Fix event tests
11 years ago
Jessica B. Hamrick
8d4c9e7f30
Add tests for events
11 years ago
Jessica B. Hamrick
b9cf034d51
Add some more kernel tests
11 years ago
Jessica B. Hamrick
befe8eb720
Update session tests
11 years ago
Jessica B. Hamrick
99f686918b
Fix kernel and session tests
11 years ago
Jessica B. Hamrick
9f1574eb6c
User correct check for whether kernel is running in tests
11 years ago
Mateusz Paprocki
ff5b4c6874
Test IPython.utils.fixConsole() (really ansispan())
11 years ago
Jonathan Frederic
d2df98ce1a
Fix conflict with d1305d7510cc3
11 years ago
Manuel Riel
a490488f62
remove commented-out code
11 years ago
Manuel Riel
67f2322a8c
simplify bin-file test
11 years ago
Manuel Riel
0e95bd9eda
remove unused import in test_files.py
11 years ago
Thomas Kluyver
95b857b679
Merge pull request #6637 from minrk/notice-python-error
...
Check for Python errors in js tests
11 years ago
Jonathan Frederic
60531c917f
Merge pull request #6481 from jdfreder/intvalidatefix
...
Fix bug in bounded int/float logic.
11 years ago
MinRK
845c7b4700
Check for Python errors in js tests
...
When running a cell in the js tests,
this checks for any errors and treats them as a failure.
Helps avoid confusion caused by silently ignoring failures in Python code.
11 years ago
Manuel Riel
28d4444def
2 checks for python2 and python3)
11 years ago
Manuel Riel
bb8e33d70d
fix bin-file test in ipython3
11 years ago
Manuel Riel
775ea55206
another shot at bin-tests on python3
11 years ago
Manuel Riel
c6d548fbeb
correctly handle base64 and json, improve bin-file test
11 years ago
Manuel Riel
dc352a334b
Use \xFF in bin file test
11 years ago
Manuel Riel
2268268a9d
add tests for file download via ContentsManager
11 years ago
Matthias Bussonnier
0d9db64180
Merge pull request #6582 from jdfreder/symmetric_state
...
Symmetric widget get/set_state
11 years ago
Min RK
28edb94897
Merge pull request #6488 from jhamrick/lock-cells
...
Proof of concept for preventing cell deletion via metadata
11 years ago
Jessica B. Hamrick
60b18ad23e
Fix ReferenceError in js tests, fixes #6542
11 years ago
Jonathan Frederic
852ec2ab69
s/_handle_receive_state/set_state in tests too
11 years ago
Jessica B. Hamrick
6f49f4b78e
Add tests for notification area and widgets
11 years ago
Jessica B. Hamrick
756d4063c3
Fix tests
11 years ago
Jessica B. Hamrick
a018cb4299
Add tests for undeletable cells
11 years ago
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
11 years ago
Brian E. Granger
4ec1a3b41e
Merge pull request #6235 from jdfreder/addclass
...
Remove add/remove_class and set/get_css.
11 years ago
Jonathan Frederic
aa04d40a8d
Added test
11 years ago
Jonathan Frederic
02d7039a00
Cleaned up hbox and vbox widget div styles,
...
removed 5px margin
12 years ago
Matthias Bussonnier
97e99d0661
Merge pull request #6412 from takluyver/sessions-rest-api-fix
...
Sessions rest api fix
12 years ago
MinRK
6cee444630
make default cell type configurable
...
- adds IPython.notebook.default_cell_type
- default is 'code' (matching IPython 2.0)
- special heuristic values include:
- 'selected': default to selected cell (current master behavior)
- 'above': default to cell above
- 'below': default to cell below
12 years ago
Thomas Kluyver
4c4af25734
Fix failure message for tests
12 years ago