Scott Sanderson
e8fd4ba9c2
TEST: Allow greater or equal modified_date on rename.
11 years ago
Jason Grout
5ee06cd27c
Delete the packing/unpacking tests, since we just use generic json now
11 years ago
Jason Grout
4ef0a23839
work-in-progress for custom js serializers
11 years ago
Min RK
b3839d7e7a
handle undefined when sorting quick help
...
since undefined is neither less than nor greater than
anything in Javascript,
the sort function was treating it as equal to everything, causing inconsistent behavior,
depending on the sort algorithm of the browser.
This ensures undefined elements are sorted last in the sequence.
11 years ago
Min RK
8454ae087b
update last_modified on rename
...
some storage backends may update the last_modified date on rename
11 years ago
Scott Sanderson
72aeb78aaf
TEST: Add test for handling of last_modified.
...
Saving should increment last_modified. Renaming should not. Noticed
because incrementing last_modified on rename results in a scary error
message from the frontend.
11 years ago
Min RK
4b0553ae45
Merge pull request #8120 from jasongrout/arraybuffers
...
Make it possible for msg.buffers in javascript to be either ArrayBuffers or views
11 years ago
Jason Grout
94724fdee1
Typecheck the .buffer attribute before assuming it is an ArrayBuffer
11 years ago
Jonathan Frederic
4a7466b9e8
Dynamic traits.
11 years ago
Jason Grout
aa8e36064c
Make it possible for msg.buffers in javascript to be either ArrayBuffers or views
11 years ago
Sylvain Corlay
55246125e4
Adding readout for Valid widget
11 years ago
Sylvain Corlay
c1a3e7f389
Valid widget
11 years ago
Sylvain Corlay
5c0a797813
inherit from Unicode
11 years ago
Sylvain Corlay
19768ba7a3
Move color trait type to the widget package
11 years ago
Sylvain Corlay
7262de2216
Using the Color trait type for styling widgets
11 years ago
Scott Sanderson
7971a5ffc7
TEST: Also test deletion.
11 years ago
Scott Sanderson
fdcbd02ffb
TEST: Add test for renaming files with checkpoint.
...
The checkpoint name should follow the file rename.
11 years ago
Matthias Bussonnier
265c1d8a28
Merge pull request #7933 from jdfreder/buttonmove
...
Move dynamic buttons to the left and upload button to the right.
11 years ago
Matthias Bussonnier
166595686c
Merge pull request #8059 from minrk/deselect-click
...
deselect all when clicking partial checkbox
11 years ago
Jonathan Frederic
dfa2804887
invoke css
11 years ago
Jonathan Frederic
a840383a38
Add tooltip on the upload button.
11 years ago
Jonathan Frederic
a6ceb828aa
Add dynamic instructions
11 years ago
Jonathan Frederic
f283754df0
invoke css
11 years ago
Jonathan Frederic
94a8d09dfc
Move upload to the right and dynamic buttons to the left.
11 years ago
Min RK
1c09425838
Merge pull request #8000 from mathieu1/dashboard-nb-rename-dialog
...
Fix rename issues in dashboard
11 years ago
Robert Smith
e539734f5a
Remove image resizer.
11 years ago
Min RK
0fa751b894
Merge pull request #7798 from jasongrout/buffer-memoryview
...
Extract session buffers as memoryviews
11 years ago
Min RK
9ded491c97
Merge pull request #7708 from SylvainCorlay/allow_none
...
allow_none=False for all trait types but Instance and Type
11 years ago
Min RK
b9f5a43ebd
`setup.py jsversion`
11 years ago
Min RK
b8bbc958a4
Merge pull request #8091 from quantopian/move-test
...
TEST: Move test_escape_root to TestFileContentsManager
11 years ago
Matthias Bussonnier
b64389a1b5
Merge pull request #8092 from Carreau/log-erros
...
log error when there is one.
11 years ago
Scott Sanderson
e21b99900d
MAINT: Remove unused import.
11 years ago
Matthias Bussonnier
1a377f8a44
log error when there is one.
...
Otherwise it's a pain to debug
11 years ago
Scott Sanderson
257c7296c9
TEST: Move test_escape_root to TestFileContentsManager
...
`root_dir` is specific to the FileContentsManager implementation.
11 years ago
Matthias Bussonnier
8c69b4c376
Merge pull request #8082 from minrk/output-z-index
...
set z-index on output_wrapper
11 years ago
Min RK
090c847aa4
Merge pull request #8084 from Carreau/delete-duplicate
...
Bad code duplication, I suppose duplicate was meant.
11 years ago
Matthias Bussonnier
657dffe20f
Bad code duplication, I suppose duplicate was meant.
11 years ago
Min RK
63f120db45
set z-index on output_wrapper
...
avoids scrolled output overlaying input in some strange circumstances
11 years ago
Thomas Kluyver
f4e25f5d77
Merge pull request #8058 from Carreau/css-v-ch
...
fix css checkbox vertical align, closes #8065
11 years ago
Thomas Kluyver
05d5b586e5
Merge pull request #8045 from Carreau/cmconfigmerge
...
Merge codemirror config with user config.
11 years ago
Matthias Bussonnier
bfc45392f8
remove Stray .c
11 years ago
Min RK
71fcc3375a
deselect all when clicking partial checkbox
...
stores state in `data('indeterminate')` instead of `prop('indeterminate')`
because the property is cleared before the event handler is called
11 years ago
Matthias Bussonnier
14ab9854c6
fix css checkbox vertical align, closes #8065
11 years ago
Matthias Bussonnier
3b338cb424
Not critical, and more color as warning is orange
11 years ago
Matthias Bussonnier
025ec6df77
Rename local variable to avoid confusion.
11 years ago
Matthias Bussonnier
63a4a764f2
Merge codemirror config with user config.
...
Simplify customisation of codemirror without duplicating the all
codecell configuration.
Closes #8038
11 years ago
Min RK
676da764fe
scroll quickhelp dialog if large
...
using `calc(100vh-padding)` for max-height
11 years ago
Thomas Kluyver
cf6925ce7a
Merge pull request #8005 from minrk/files-as-file
...
Get /files/ unmodified from contents
11 years ago
Min RK
c6e440c1f9
Merge pull request #7992 from Carreau/falsejs
...
remove false info in custom.js
11 years ago
Min RK
0e4417326f
Merge pull request #8027 from bollwyvl/fix-select-multiple
...
Don't re-implement option.click to trigger select.change
closes #8012
11 years ago
Min RK
91cf4ba394
get mime from filename
...
remove never-true `type: notebook` case
11 years ago
Matthias Bussonnier
22f619f316
add dot end of sentence.
11 years ago
Min RK
3a21271d7e
Merge pull request #7926 from Carreau/config-3.1
...
Fix configurability of codecell
11 years ago
Matthias Bussonnier
0e46460094
Remove false info in custom.js
11 years ago
Thomas Kluyver
484958d282
Merge pull request #7983 from minrk/contents-escape-root
...
contents: double check that os_path is always within root
11 years ago
Min RK
08d8fe6c10
Merge pull request #8024 from Carreau/fix-focus
...
Fix save switch to command mode after shortcut
11 years ago
Matthias Bussonnier
596dd46e93
Merge pull request #7932 from jdfreder/dashcss
...
Fix alignment of dashboard things.
11 years ago
Matthias Bussonnier
86e131d478
Merge pull request #7982 from minrk/window-height
...
use $(window).height() instead of window.innerHeight
11 years ago
Justin Tyberg
8c486f0963
Fix custom.js samples to define requirejs module rather than require it.
11 years ago
Matthias Bussonnier
0408e7e4e4
Fix save switch to command mode after shortcut
...
When triggering actions with button one have to refocus the notebook
cell. Though with keyboard shortcut, you don't want cell to switch to
command mode.
11 years ago
Nicholas Bollweg
1fa4296cef
fixes #8012
11 years ago
Matthias Bussonnier
75fe862814
remove private methods
11 years ago
Min RK
a89e800e18
trigger save before copy if there are unsaved changes.
...
just like we do before downloading
11 years ago
Min RK
a4321ccf5a
Get /files/ unmodified from contents
...
request raw files instead of parsing notebooks
avoids reserializing (inconsistently) on download of notebooks.
11 years ago
Mathieu
23d9ad741f
remove debug logging
11 years ago
Mathieu
237b34e2df
fix rename issues in dashboard
...
- Do not display the full path of the selected item in the text box
- Adapt dialog for files and notebook
- Do not allow renaming a running notebook
11 years ago
Jonathan Frederic
c5f20e9481
Merge pull request #7681 from mathieu1/tree-selector-ui
...
Streamline tree-selector menu
11 years ago
Min RK
62e4a5d072
contents: double check that os_path is always within root
...
check based on tornado `StaticFileHandler.validate_absolute_path`
I haven't been able to actually escape root, but we should have this check anyway.
11 years ago
Min RK
bfa501855a
use $(window).height() instead of window.innerHeight
...
to measure window height when resizing contents
Sometimes these values differ by a pixel,
we may never know why.
window.innerHeight seems to be larger when they disagree, causing an extra scrollbar to be drawn.
11 years ago
Thomas Kluyver
1daa179153
Merge pull request #7981 from Carreau/focus-after-save
...
Refocus notebook after click on save
11 years ago
Matthias Bussonnier
afd74fbb94
Refocus notebook after click on save
...
closes #7963
11 years ago
Mathieu
eaeff19314
simpler select function
11 years ago
Scott Sanderson
7a1b8d7dff
DEV: Add re-raise toggle for server extensions.
...
Also renames toggles to "reraise_*_extension_failures".
11 years ago
Peter Parente
dc8f9b0733
Ensure Cache-Control is set once and only once
...
Whether browsers should pick the first or last instance of a duped header is ill defined
11 years ago
Min RK
dfb36abc4d
make 'download as PDF' say 'via LaTeX'
...
so it's clear that LaTeX is required
11 years ago
Jason Grout
e1a6dbd4be
Handle kernel messages synchronously
...
A problem can happen when two messages come in for different
comms, where the second depends on the first (for example, the
first might be a message setting the state of a widget, and the
second triggering a view creation for the widget). Since comm
message queues are independent of each other, the second message
could be executed before the first message.
This exposes a more fundamental assumption users are likely to
have that messages from python are processed synchronously.
Thanks to @dmadeka for reporting an error that led to discovering this issue.
11 years ago
Jonathan Frederic
e50344f4e6
invoke css
11 years ago
Jonathan Frederic
b8ffcf351c
invoke css
11 years ago
Jonathan Frederic
5ad87d13d6
Merge pull request #7902 from gertingold/radio
...
fix margin in RadioButtons
11 years ago
Jonathan Frederic
0cf008d23d
Only pad indicator text.
11 years ago
Jonathan Frederic
65868feb17
Move checkbox down two pixels b/c it looks like 💩 where it is.
11 years ago
Jonathan Frederic
e09b83e910
Merge pull request #7725 from SylvainCorlay/fabutton
...
Adding font-awesome icon to button and toggle button
11 years ago
Sylvain Corlay
03b884a615
Moving styling to else statement
11 years ago
Matthias Bussonnier
103f2f1df2
Update comment for future removal of code
11 years ago
Matthias Bussonnier
ed60311a75
Fix configurability of codecell
...
code cell where actually not configurable,
this fixes that + add a convenient methods to dump the
content of the configuration in the config file.
this also close #7896 by defaulting closebracket to true,
which is now configurable :-)
It also switches the default magic highlight mode to string so that they
could also be configured.
11 years ago
Min RK
6cb15fbffe
Merge pull request #7780 from jasongrout/message-race
...
Fix race condition in javascript kernel message processing
11 years ago
Matthias Bussonnier
242fc93f93
Merge pull request #7889 from Carreau/after-one-year
...
Js completion traceback, erase line on tab, and double complete.
11 years ago
Min RK
f76ce1d6b9
warn about failure to bind to localhost
...
when falling back on 127.0.0.1
11 years ago
Min RK
c605ea44cc
fallback on 127.0.0.1 if localhost cannot be bound
...
Some (broken) systems cannot bind to localhost.
This handles that failure and falls back to 127 as the default
11 years ago
Min RK
17ee541add
actually catch failure to load widget state
...
load callback was called directly,
rather than in promise function that catches errors
11 years ago
Min RK
fb12238bb2
update js serialize test
...
msg count and msgspec v5 API changes
11 years ago
Thomas Kluyver
2b95955079
Merge pull request #7906 from minrk/skip-perm-test-windows
...
skip permission error -> 403 test on Windows
11 years ago
Matthias Bussonnier
709126542a
Merge pull request #7832 from minrk/default-secure-session
...
remove default_secure, make Session secure by default
11 years ago
Min RK
0bc4549d25
skip permission -> 403 test on Windows
...
The test actually passes on my VM (Win 7),
but not on Jenkins (Server 2012).
I haven't figured out how to identify the subset of Windows systems where it won't work,
but since the problem appears to be in the test,
not the tested code, skipping on Windows seems the right way to go.
11 years ago
Min RK
d9f01671ae
make it clearer that we adapt to old messages
...
> Adapting to protocol vX for kernel Y
instead of
> Kernel Y speaks protocol version X
some have interpreted the "Kernel speaks" statement was an error message;
this should be clearer about what's happening,
and that there is no error.
11 years ago
Min RK
109ee00ebb
get session.key from kernel manager
...
in kernel channel handlers
we were accidentally relying on loading Session.key from config set via the default_secure decorator,
which forced the key to be the same for every kernel.
11 years ago
Min RK
96334d4594
deprecate default_secure decorator
...
make Session secure by default on its own
I think the decorator was an artifact of very early design prototyping, and really isn't necessary.
11 years ago
Matthias Bussonnier
dad4ba22b8
Merge pull request #7881 from minrk/ssl-options
...
add ssl_options config value
11 years ago
Matthias Bussonnier
de90843b29
Merge pull request #7893 from Carreau/add-markdown-menu
...
Add Markdown to the list of downloadable nbconverted formats.
11 years ago
Matthias Bussonnier
4c567fb544
Merge pull request #7779 from abeguerra/defect-5544-fix-hyperlink-display
...
Fixed rendering of URL in append_stream function
11 years ago
Gert-Ludwig Ingold
5cef46f26e
fix margin in RadioButtons
11 years ago
Min RK
65b2b3a651
Merge pull request #7888 from Carreau/horse
...
Don't recompute values
11 years ago
Fernando Perez
50c8c5feed
Merge pull request #7852 from minrk/open-perm
...
Catch IOError in addition to OSError.
Closes #7848
11 years ago
Thomas Kluyver
2111ac4812
back to development
11 years ago
Thomas Kluyver
76ce8cd2fb
Release 3.0
11 years ago
Matthias Bussonnier
59cab4c2d8
Add Markdown to the list of downloadable nbconverted formats.
...
Seem it was just forgotten. The list was not auto generated on purpose
IIRC, as some format, like TeX were deemed not useful in menu.
11 years ago
Matthias Bussonnier
a30b9b9446
Fix #4777 and #7887
...
The function in charge of actually converting cursor offset to
CodeMirror line number and character number was actually crashing when
the cursor was at the last character (loop until undefined, then access
length of variable, which is undefined).
This was hiding a bug in which when you would completer to a single
completion pressing tab after as-you-type filtering, the completion
would be completed twice.
The logic that was supposed to detect whether or not all completions had
a common prefix was actually faulty as the common prefix used to be a
string but was then changed to an object. Hence the logic to check
whether or not there was actually a common prefix was always true, even
for empty string, leading to the deletion of the line (replace by '') in
some cases.
11 years ago
Matthias Bussonnier
230ea32f0d
Dont recompute values
11 years ago
Min RK
3aa004e5c3
add ssl_options config value
...
exposes more ssl config, such as ca_certs, disabling SSLv3, etc.
11 years ago
Min RK
41e61d42a5
Merge pull request #7871 from takluyver/docs-misc-cleanup-feb15
...
Misc docs cleanup
11 years ago
Jonathan Frederic
f2dec681d2
Merge pull request #7872 from jdfreder/interact-styling
...
Remove padding without breaking interact style.
11 years ago
Jonathan Frederic
100b4470f3
invoke css
11 years ago
Jonathan Frederic
63b181a1a2
Only style direct decendants.
11 years ago
Jonathan Frederic
b822a9f191
invoke css
11 years ago
Sylvain Corlay
78d6a5023d
fix padding issue
11 years ago
Jonathan Frederic
1fbbda5a14
Pad interact widgets.
11 years ago
Thomas Kluyver
751de151e3
Clean up some docstring formatting for interact/interactive
11 years ago
Thomas Kluyver
80b931897c
Fix some formatting for config options help
11 years ago
Thomas Kluyver
0dd26a9b32
Merge pull request #7855 from minrk/no-extra-contents-manager
...
don't force instantiation of extra, unused contents manager
11 years ago
Min RK
ce7e03bc61
make sure SessionManager tests have a ContentsManager
11 years ago
Thomas Kluyver
193ecc9d22
Merge pull request #7858 from takluyver/i7857
...
Dump frontend config JSON with an indent
11 years ago
Thomas Kluyver
8e4514d88b
Dump frontend config JSON with an indent
...
Fixes gh-7857
11 years ago
Min RK
94656735f3
don't force instantiation of contents manager by default
...
this is never used and never needed, and results in the instantiation of a contents manager that is immediately discarded.
11 years ago
Min RK
b83a9383a6
test that FileContentsManager.open turns permission error into 403
11 years ago
Min RK
4e6805c408
catch IOError in addition to OSError
...
IOError is a subclass of OSError on py3, but not py2
11 years ago
Jason Grout
512187ac10
Fix contentsmanager api error message to give the path name
11 years ago
Min RK
d256f841f0
Merge pull request #7791 from parente/empty-running-table-fix-7789
...
Fix empty running table background
11 years ago
Sylvain Corlay
5c16ffe559
removing redundant allow_none=False
11 years ago
Jonathan Frederic
c65a28eb42
Merge pull request #7794 from SylvainCorlay/css_numeric_text
...
Minor styling fix for IntText and FloatText widgets
11 years ago
Thomas Kluyver
6272522a5a
Revert "Prevent image outputs from being wider than their container."
11 years ago
Jonathan Frederic
d423b11dd4
Merge pull request #7801 from jasongrout/display-state-change
...
Force display_message to be processed in order
11 years ago
Kyle Kelley
720e0d1ef7
Merge pull request #7811 from abalkin/patch-2
...
Update actions.js
11 years ago
abalkin
3a6c634f3e
Update actions.js
...
Added help for select- actions.
11 years ago
abalkin
6e5ef91f5a
Update actions.js
...
Clarified "delete-cell" action.
11 years ago
abalkin
25a1d9e2f6
Update actions.js
...
See issue #7807 .
11 years ago
abalkin
64de4432a6
Update quickhelp.js
11 years ago
abalkin
66f6818e42
Update quickhelp.js
11 years ago
abalkin
433dea8215
Update quickhelp.js
...
Use left/right instead of before/after.
11 years ago
Jason Grout
8b5715d738
Add check to skip work in versions past 3.4
11 years ago
Jason Grout
e441242f21
Fix serialization tests
11 years ago
Jason Grout
d9d089759d
Fix websocket/zmq serialization to expect memoryviews
11 years ago
Jason Grout
0b2f212786
Force display_message to be processed in order
...
Otherwise sometimes the display message will be processed before the update message.
11 years ago
Jason Grout
b4c8bda690
Add test to check that deserializing messages preserves the message order
11 years ago
Sylvain Corlay
0daa48b2c9
wrong css class for widget-int
11 years ago
Peter Parente
f29646bc39
Fix empty running table background
...
* Add list_placeholder style
* Change id so list_header class doesn't get added by JS
11 years ago
Sylvain Corlay
a70b65b5b4
Font-awesome icons for toggle buttons
11 years ago
Sylvain Corlay
829d25bdfd
Tooltips in togglebuttons
11 years ago
Jason Grout
0169ce472e
Fix race condition in javascript kernel message processing
...
Because the binary messages are now deserialized using the asynchronous FileReader API, we need to have some way to force the messages to still be processed in the order they are received. This patch implements a simple processing queue using promises.
11 years ago
Min RK
10dcd71550
back to dev
11 years ago
Min RK
c597f97b82
release 3.0.0rc1
11 years ago