Jason Grout
115536874d
Write tests for custom serialization
11 years ago
Matthias Bussonnier
7d90525799
replace undefined by empty string to get aroung bug in ie
11 years ago
Matthias Bussonnier
9c085a9273
Fix action do not provide icon.
...
action might be undefined then button will get no icon.
Prevent throwing an uncatched error and insert warning sign on button
Will do better one I allow text instead of icon
11 years ago
Min RK
168de8b8a5
don't specify kernel profile in notebook
...
to have a kernel in a particular profile,
create a kernelspec
11 years ago
Thomas Kluyver
182639b05e
Merge pull request #8127 from minrk/rename-last-modified
...
update last_modified on rename
11 years ago
Jason Grout
f283d3d1e9
Add the outline of a few new tests for the custom serialization
11 years ago
Min RK
849e752d3d
more profile awareness from config.manager to IPython subclass
...
also enables specifying profile by name,
instead of full path.
11 years ago
Jason Grout
5c797f9672
Simplify error handling for errors in sending sync messages from js
11 years ago
Min RK
191185c84d
Merge pull request #8126 from quantopian/test-modified-date
...
TEST: Add test for handling of last_modified.
11 years ago
Jason Grout
18ff9c5e1c
Fix two calls to utils.reject (misplaced parens)
11 years ago
Jason Grout
c70f687c0e
Increment the pending_msgs counter immediately to avoid race conditions that send more messages
11 years ago
Jason Grout
c9f3c8e073
Make message throttling test easier to debug
11 years ago
Min RK
1eb795ba67
Merge pull request #8098 from rsmith31415/remove-resizer
...
Remove image resizer
11 years ago
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