Thomas Kluyver
8da4e89e3a
Make a window immediately, and set its location on response
...
Avoids the need for async:false
11 years ago
v923z
a2081d042e
replaced nbmodel.orig_nbformat by orig_nbformat
11 years ago
v923z
9c122dcd15
fixed notebook checking code
11 years ago
Min RK
ef49e32ef0
Merge pull request #6783 from takluyver/contentsmanager-js
...
contents.js wrapper for contents service
11 years ago
Thomas Kluyver
b7a558d5b9
Use synchronous request for creating new notebooks
...
To get round popup blockers
11 years ago
Min RK
04bcfa626d
deprecate heading cells in UI
...
- removed from Kernel Menu
- Main toolbar warns via shouty dialog
- keyboard shortcuts still work to make headings in markdown cells, with no warning
11 years ago
Thomas Kluyver
2a497c16eb
load_file -> load
11 years ago
Thomas Kluyver
1f2e4cc6c3
Fix passing empty list to draw_notebook_list()
11 years ago
Thomas Kluyver
a4f869aa8b
Rename methods to remove _file suffix
11 years ago
Thomas Kluyver
5279418acf
Make Contents.new more generic
11 years ago
Thomas Kluyver
4452754a6b
Set notebook nbformat in toJSON
11 years ago
Min RK
6b67a69c22
don't assume converted notebooks are old
...
in notebook.js dialogs, which can now be triggered
by nbformat 4 from the future.
11 years ago
Thomas Kluyver
684516c79f
Fix copy-paste mistakes
11 years ago
Thomas Kluyver
658eb39c56
Remove one more unnecessary cache parameter
11 years ago
Thomas Kluyver
2962a3ce17
Remove some unnecessary cache: false parameters
...
According to the jQuery docs, this is only needed for GET and HEAD
requests.
11 years ago
Thomas Kluyver
a2f3e23fd8
Add copy_file to contents JS API
11 years ago
Thomas Kluyver
b8f9dc07e2
Fix error callback when deleting file
11 years ago
Kester Tong
9797a6b7c0
typo fix
11 years ago
Kester Tong
89df330129
Modifies Contents API to return Error objects
...
Modfies the Contents class to return JavaScript Error objects instead of passing on the return values from $.ajax(). This has two advantages. First, it allows the content manager to parse errors and give more informative messages than the ajax response. Second, it makes the Contents interface more general, since other kinds of backends might generate client-side errors.
11 years ago
Thomas Kluyver
e1cbaf3d3c
Fix spelling
11 years ago
Thomas Kluyver
f8ec8d4abe
Various minor fixes from review
11 years ago
Thomas Kluyver
ea314a2a86
Rename callback parameters to success/error
11 years ago
Thomas Kluyver
060dd1305c
Miscellaneous JS fixes
11 years ago
Thomas Kluyver
c1c591336e
Some more event cleanup
11 years ago
Thomas Kluyver
cf828ccf4e
Cut out some superfluous events
11 years ago
Thomas Kluyver
c9bd254735
Make contents JS API consistent
11 years ago
Thomas Kluyver
29d88a91a6
Standardise JS checkpointing API, use it for notebooks
11 years ago
Thomas Kluyver
14106cbd66
Move contents API module into services
11 years ago
Thomas Kluyver
a10dea4cd5
Add Contents.api_url convenience function
11 years ago
Thomas Kluyver
9538726b16
Don't do UI stuff in contents API module
11 years ago
Thomas Kluyver
478648bde5
Page URL is /notebooks/..., not contents
11 years ago
Thomas Kluyver
c661c85abd
Add missing semicolon
11 years ago
Jeff Hemmelgarn
47a88f0e1d
Remove version
11 years ago
Jeff Hemmelgarn
dab99c599f
Remove unnecessary backwards compatibility code
11 years ago
Jeff Hemmelgarn
53463898eb
Move contentmanager to contents
11 years ago
jhemmelg
5109be2d28
ContentManager function signatures updated
11 years ago
jhemmelg
496fa1901f
Initial interface for javascript contentmanagers
...
contentmanager.js is going to be a js proxy for the current
filenbmanager.py. This will allow a contentmanager for Google Drive to
be created.
11 years ago
Jeff Hemmelgarn
09e0ff93d8
Fix a few problems with cherry-picked commits
...
api/notebooks => api/contents
add type to JSON model
fix a few things in notebooklist.js
11 years ago
KesterTong
3994d4d56a
Adds configuration options to use Google Drive content manager
...
Adds the key contentmanager_js_source to webapp_settings that allows for specifying the content manager JavaScript source file. Also adds a NotebookManager subclass, ClientSideNotebookManager, which does minimal logic. This class is used when the JavaScript content manager doesn't use the Python notebook manager, but rather implements that logic client side, as is the case for the Google Drive based content manager.
A sample command line that uses the Google Drive content manager, and the ClientSideNotebookManager, is
ipython notebook --NotebookApp.webapp_settings="{'contentmanager_js_source': 'base/js/drive_contentmanager'}" --NotebookApp.notebook_manager_class="IPython.html.services.notebooks.clientsidenbmanager.ClientSideNotebookManager"
11 years ago
KesterTong
952ac7d0d8
Moves load_notebook to ContentManager and adds new_notebook to Google Drive version
11 years ago
KesterTong
e3ef5d3b70
Moves list_notebooks to ContentManager
11 years ago
KesterTong
dfcf14f26c
Uses events for ContentManager.save_notebook
...
Modifies ContentManager.save_notebook() to use events, so that the Notebook instance can listen for success or failure events. Also moves some logic out of save_notebook()
11 years ago
KesterTong
04fc61285f
Use events for rename_notebook
...
Triggers events on ContentManager.rename_notebook success and failure. Also moves some logic out of this method.
11 years ago
KesterTong
75d7e69fc8
Use $.proxy instead of that
11 years ago
KesterTong
9881d17bb1
Remove unused event
...
This event never seems to get used.
11 years ago
KesterTong
61a911fc0c
Fix constructor comments
...
Add content_manager as a dictionary key to the options param passed in to the NotebookList and Notebook constructors.
11 years ago
KesterTong
0aada3ac5d
Remove deleted notebook from notebook list
...
Uses events to notify the NotebookList when the content manager deletes a notebook, and remove the deleted notebook in response to such an event.
11 years ago
KesterTong
077ba397c1
Removes unnecessary parameter from ContentManager.delete_notebook
11 years ago
Jeff Hemmelgarn
99323b1173
Move saving to contentmanager
...
Make notebook.save_notebook call contentmanager.save_notebook.
11 years ago
Jeff Hemmelgarn
5b5e194082
Move notebook.rename to contentmanager
...
Make notebook.rename call contentmanager.rename
11 years ago
Jeff Hemmelgarn
7043aa1b9e
switch notebook.delete to use contentmanager
...
Make notebook.delete call contentmanager.delete_notebook
11 years ago
Jeff Hemmelgarn
728c6f005f
Move deleting a notebook to contentmanager.js
...
Move code to handle deleting a notebook from notebooklist to
contentmanager.
11 years ago
KesterTong
993833d018
Replace other methods with ContentManager.new_notebook
...
Replaces Notebook.new_notebook and NotebookList.new_notebook with ContentManager.new_notebook
11 years ago
KesterTong
d17ca85f5b
Adds dialog on new_notebook failure
...
This logic doesn't really belong in ContentManager. It would be better to trigger an event, which is handled somewhere else. But there's no obvious place to put this event, so creating the error dialog inside the new_notebook method is ok for now.
11 years ago
KesterTong
5717a3eb10
Make ContentManager stateless
...
Don't store notebook_path in ContentManager, because this sort of state (in addition to notebook_name) can change, and keeping track of this logic doesn't seem to be a part of the file management system. Instead, this logic can be left to the Notebook instance (and possible other places that manage it). This makes refactoring easier, and avoids having to replicate this logic in every implementation of ContentManager.
11 years ago
KesterTong
99f2647edd
Use IPython style constructor
11 years ago
KesterTong
21a5b5a965
Style and bug fixes
11 years ago
jhemmelg
112a74c566
ContentManager function signatures updated
11 years ago
jhemmelg
d5a84bb8a4
Initial interface for javascript contentmanagers
...
contentmanager.js is going to be a js proxy for the current
filenbmanager.py. This will allow a contentmanager for Google Drive to
be created.
11 years ago
Thomas Kluyver
a16a3d0270
Merge pull request #6045 from minrk/nbformat4
...
nbformat v4
11 years ago
Min RK
96183a60a0
create new terminals with POST /api/terminals
...
instead of GET terminals/new
to be consistent with creating new notebooks.
We had to stop using GET notebooks/new
because browsers would create new notebooks when making preview thumbnails for commonly visited pages, etc.
I assume the same issue would apply to terminals
11 years ago
Min RK
196b91e73b
Merge pull request #6828 from takluyver/terminal-list
...
Add terminals tab to the dashboard
11 years ago
MinRK
53ef8e1e1e
remove unused OuptutArea.rename_keys
11 years ago
MinRK
d979f4bedd
better regex replacement for MarkdownCell.set_heading_level
...
(c/o Matthias)
11 years ago
MinRK
dd95b1ef5f
remove heading cells in v4
11 years ago
MinRK
458dcd12e3
make markdown heading input match output size
11 years ago
MinRK
6ca260e611
output[mime/type] -> output.data[mime/type] in javascript
11 years ago
MinRK
a50042745f
semicolons, you guys!
11 years ago
MinRK
09acc6c854
msgspec: stream.data -> stream.text
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
Thomas Kluyver
d32322e332
Show terminals as terminals/name
...
Bigger click target
11 years ago
Thomas Kluyver
4025b57ed8
Only display terminals in dashboard if terminals are available
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
Thomas Kluyver
65e664b143
Add list of available terminals in the dashboard
11 years ago
Thomas Kluyver
db6cd028ea
Merge pull request #6793 from takluyver/langinfo
...
Move language info from kernelspec to kernel_info_reply
11 years ago
Min RK
965102ba60
Merge pull request #6554 from Carreau/itsallaboutme
...
Add About IPython
11 years ago
Min RK
5ff9ded54a
Merge pull request #6614 from takluyver/nb-terminal-ui
...
Terminal emulator in the notebook
11 years ago
Mateusz Paprocki
3d825cfbcc
Allow to specify CodeMirror's syntax mode as MIME
...
This is required for e.g. Scala, where the mode is given as
text/x-scala, but the actual implementation is in clike mode.
This wouldn't be an issue, but IPython loads modes lazily, so
you need both mode name and MIME to resolve correct file and
configure CodeMirror.
11 years ago
Jonathan Frederic
ba77877c18
Rebase fixes
11 years ago
Jonathan Frederic
db10ae8f2d
s/target_name/widget_class
11 years ago
Jonathan Frederic
3cb5ac6fbb
Clarified API for the create_model function,
...
Also added a test!
11 years ago
Jonathan Frederic
a68df8a8b1
Address @minrk 's review comments.
11 years ago
Jonathan Frederic
fbca0bfa3f
Rebase fixes.
11 years ago
Jonathan Frederic
5a655b24da
Fixed typo.
11 years ago
Jonathan Frederic
2b5ebb9e8f
Make Python push initial state.
...
Also added initial state push callback.
11 years ago
Jonathan Frederic
e7ee9c12b3
Enable widget instanciation from front-end.
11 years ago
Min RK
b26706ba69
Merge pull request #6800 from takluyver/mdcell-render-event
...
Add event for Markdown cell rendered
11 years ago
Thomas Kluyver
659accf69e
Add event for Markdown cell rendered
11 years ago
Thomas Kluyver
8917e9951e
Move terminal CSS into LESS file
11 years ago
Thomas Kluyver
d352d52bd8
Add comment explaining 1.02 factor
11 years ago
Bussonnier Matthias
1b200e5504
recompute dummy size dynamically + styling in css
11 years ago
Thomas Kluyver
9c0084e615
Multiple terminals and conditional initialisation
11 years ago
Thomas Kluyver
d4676bf2ad
Terminal basically working
...
Still need to deal with things like authentication
11 years ago
Thomas Kluyver
d211ebf067
Basic infrastructure for terminal page
11 years ago
Thomas Kluyver
9c7d73a05e
Move language info from kernelspec to kernel_info_reply
11 years ago
Thomas Kluyver
a77b5e8e31
Support specifying requirejs modules for comm targets
11 years ago
Thomas Kluyver
031530da42
Support specifying requirejs modules for widget models
11 years ago
Thomas Kluyver
eacd05505c
Open download in a new window instead of changing the URL
...
Closes gh-6764
11 years ago
Jonathan Frederic
79670e8afb
Merge pull request #6494 from takluyver/widget-comm-require
...
Allow widget views to be loaded from require modules
11 years ago
Thomas Kluyver
f0f6c0d29b
Merge pull request #6677 from minrk/services
...
remove unnecessary 'js' subdir from services
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
61c17c8ef6
Update static/style/{ipython,style}.min.css
11 years ago
MinRK
a67abc297d
remove unnecessary 'js' subdir from services
...
part of the point of services is that they are just code, so they won't have js/less/etc. files.
11 years ago
Matthias Bussonnier
103d5dc9b7
Merge pull request #6720 from takluyver/kernelspec-pygments-lexer
...
Respect kernelspec metadata for syntax highlighting in nbconvert
11 years ago
Matthias Bussonnier
d269912958
Merge pull request #6110 from minrk/binarycomm
...
support binary buffers in comm messages
11 years ago
MinRK
7fd161599b
cleanup serialize per review
11 years ago
MinRK
ab9e2b496d
move grid-float-breakpoint to 540px
...
collapses navbar before running over to two lines
due to help/indicator collision.
11 years ago
MinRK
e36df49c5f
tweak collapsed navbar style
...
- notification and indicators appear above menu on small screen
- collapsed menu button floats left
11 years ago
MinRK
36cd457b11
move the navbar-collapse transition to xs
...
avoids stacked navbar on narrow (but not too narrow) windows
11 years ago
Matthias Bussonnier
197c66d0d5
Use native map when possible
...
Implemented on all modern browser.
There is a small behavior difference between $.map and Array.prototype.map
but we don't rely on it.
(jQuery flatten arrays and filters null-like)
11 years ago
Matthias Bussonnier
f8fe41dd67
add test warning shadow
11 years ago
Matthias Bussonnier
f116510592
remove debug
11 years ago
Matthias Bussonnier
8aa3815130
Add notion of action that differs from shortcuts.
...
This decouple the notion of shortcut from the notion of executed "action"
This allow the shortcuts manager to be purely describe as data, and the
same action to be later refered to either from the shortcut, from a toolbar
button or a menu.
This also implement a more complete keyboard shortcut handler which is
able ton interpete sequences like `Cmd-X,Meta-v` By storing the
shortcuts in a tree.
11 years ago
Matthias Bussonnier
7ae250bbeb
Merge pull request #6693 from minrk/please-no-jsonp
...
set contentType='application/json'
11 years ago
Matthias Bussonnier
3b31574971
Merge pull request #6697 from minrk/less-1.7.5
...
require less >= 1.7.5
11 years ago
Thomas Kluyver
ddbe427dfa
Add pygments_lexer key to kernelspec
11 years ago
Matthias Bussonnier
bd8413dfc7
Use low overhead object heritence in Js (Object.create vs new)
...
the use of
XX.prototype = new YY();
Does trigger the constructor of YY without the nead for it. `Object.create`
does go around this limitation and target browser that are relatively Old.
Cf https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create
for more info
It might help to get rid of some logic in constructors that check wether some
options are passed in, that were causing errors on noteboko load. Typically
`if(element){ }` on Abstract `Cell` constructor.
11 years ago
MinRK
492b80d05f
require less >= 1.7.5
...
fixes bug where `vbox > *` style was applied to `vbox()` classes
11 years ago
Matthias Bussonnier
6766daa397
Merge pull request #6705 from jhamrick/celltoolbar-justify
...
Right-justify celltoolbar instead of reversing
11 years ago
Matthias Bussonnier
e7c2c369e0
Add about dialog in Notebook Help Menu.
...
This allow to get info on version of IPython when running remotely.
The about dialog also send a kernel info request and display the banner
which is useful for non-python kernel that don't match IPython version
11 years ago
MinRK
2624f82787
set contentType='application/json'
...
instead of skipping straight to headers
avoids jQuery's crazy JSONP detection on `=.*??`,
which was triggered because it assumed the contentType was unspecified,
and thus should be guessed based on content.
12 years ago
MinRK
8c743d304f
unsigned ints for offsets
...
because signed ints for sizes is icky
12 years ago
MinRK
11f5775103
test binary websocket messages
...
only runs on slimerjs for now
12 years ago
MinRK
b548e51550
use TextEncoding for string<->ArrayBuffer
...
requires text-encoding js polyfill, for now
12 years ago
MinRK
3693ac83ae
support binary message from javascript
12 years ago
MinRK
6cef7fcb86
use utf8.js
...
move message serialization to kernel.serialize module
12 years ago
MinRK
c9c131ebf9
s/unserialize/deserialize
12 years ago
MinRK
3a1c845f96
support buffers in comm messages
...
- add buffers arg to comm Python api
- support binary websocket messages when buffers are present
- reimplement utf8 in javascript, because javascript is the best
12 years ago
Jessica B. Hamrick
b68507ae91
Display prompt in the notebook correctly
12 years ago
Jessica B. Hamrick
8294a5938b
Right-justify celltoolbar instead of reversing
12 years ago
Jonathan Frederic
c0108e1089
Merge pull request #6681 from SylvainCorlay/widget_hbox_align
...
Minor change in widgets.less to fix alignment issue
12 years ago
Min RK
8107e8a41b
Merge pull request #6669 from SylvainCorlay/font_awesome_update
...
Font awesome update
12 years ago
MinRK
3946dedbda
remove redundant 'responsive-utilities' from style.less
...
it's already included in bootstrap.less
12 years ago
Sylvain Corlay
e9ceb94db1
genereate css
12 years ago
Jonathan Frederic
98cef15a7c
Merge pull request #6221 from Carreau/cm4
...
Switch to CodeMirror 4.6.0
12 years ago
Min RK
1b5874ac65
Merge pull request #6629 from minrk/wscookie
...
remove on_first_message authentication
12 years ago
Sylvain Corlay
43d08b0795
fix alignment
12 years ago
Matthias Bussonnier
87dc17ccbc
cleanup style fixed in separate PR and few other things
12 years ago
Matthias Bussonnier
b24e69b058
cleanup whitespace
12 years ago
Matthias Bussonnier
3de3ef9add
add comment about codemirror.modeURL
12 years ago
Matthias Bussonnier
c183aa5fe6
remove unused cm_loadmode
12 years ago
MinRK
8e863d951c
use require to load CodeMirror modes
...
CM's loadmode addon only works if you *don't* load CodeMirror itself with require.
12 years ago
MinRK
7aed2fbb55
fix this.editor reference
12 years ago
Matthias Bussonnier
dc912dbdbd
handle somehting selected and multiple cursors and 4 tabs show content in pager
12 years ago
Matthias Bussonnier
e0f19a386e
protect agains undefined
12 years ago
Matthias Bussonnier
804d89351b
rework keyboard management to avoit completer and up/down bugs
12 years ago
Matthias BUSSONNIER
5b355936df
Update to codemirror 4
...
Update to codemirror 4.6 and update most notebook to work wiht it
this include keyevent that where triggerd twice and the re-writing of
ipython-gfm anf ipython mode to work with require.
12 years ago
Jonathan Frederic
262bf7d2c9
Merge pull request #6673 from jhamrick/fix-tooltip
...
Fix broken show in pager button
12 years ago
Jessica B. Hamrick
685040427a
Fix broken show in pager button
12 years ago
MinRK
624f0071a2
remove on_first_message authentication
...
in ZMQStreams. No need for weird, special first message.
- use regular cookie auth
- use url param for session id
12 years ago
Min RK
63a7969123
Merge pull request #6416 from Carreau/foobarcode
...
Unify Text/CodeCell code.
12 years ago
Min RK
60bfcf8c74
Merge pull request #6665 from jdfreder/travis_please_run_on_this
...
Separate widget model name from com target name.
12 years ago
Jonathan Frederic
4b968ece0b
s/target_name/model_name
12 years ago
Matthias BUSSONNIER
9657a3f7cd
Generalise render/unrender to all cells type
...
Allow change of behavior in pure (custom) css.
12 years ago
Matthias Bussonnier
b2a0798fdf
Merge pull request #6598 from minrk/nbformat-backport
...
nbformat validation
12 years ago
Matthias Bussonnier
a8949405da
Merge pull request #6644 from minrk/trust-changed
...
trigger trust_changed properly on load
12 years ago
Matthias Bussonnier
65f41327c9
Merge pull request #6106 from chronitis/interact-slider-textedit
...
Allow text input on slider widgets
12 years ago
Jonathan Frederic
24096b0f45
Separate widget model name from com target name.
12 years ago
MinRK
4ae05c729c
trust is stored in code_cell.metadata
...
not top-level code_cell
12 years ago
MinRK
ddd3aa2a5a
add dialogs for failed save/load
...
- failed validation doesn't prevent save/load,
but the user is now warned about it.
- there is now a warning dialog if fromJSON fails,
rather than the usual silent failure.
12 years ago
Jessica B. Hamrick
b650c56a66
One more this/that change
12 years ago
Jessica B. Hamrick
bbb9edf374
Fix bugs with this and that
12 years ago
Jessica B. Hamrick
37c2419c5e
Rename all status_event to kernel_event
12 years ago
Jessica B. Hamrick
40ebe5d816
Make kernel dialogs be a special type of dialog
12 years ago
Jessica B. Hamrick
8f28134a89
Keep trying to reconnect
12 years ago
Jessica B. Hamrick
205a35ceec
Fix equals sign and clarify where the number of restart attempts comes from
12 years ago
Jessica B. Hamrick
e5a5bdcdd3
Handle and test for failed restart in session.js
12 years ago
Jessica B. Hamrick
29e6885b60
Test for autorestart and failed autorestart
12 years ago
Jessica B. Hamrick
7f8b95a661
Add status_ready.Kernel event and rename status_started to status_created
12 years ago
Jessica B. Hamrick
dea6b85f3c
Fix bug when clicking notification for kernel_dead.Session
12 years ago
Jessica B. Hamrick
504f0b4d9d
Add docstring to Session.restart
12 years ago
Jessica B. Hamrick
c43e06bbc4
Add test for kernel_dead.Session
12 years ago
Jessica B. Hamrick
42e863db8c
Remove debugging statements
12 years ago
Jessica B. Hamrick
01ba501b88
Fix event tests
12 years ago
Jessica B. Hamrick
9180004fd1
Better way of logging events
12 years ago
Jessica B. Hamrick
fa718fc8d2
Use Session.restart in Notebook.start_session
12 years ago
Jessica B. Hamrick
d5a4dec6c3
Add restart function to session
12 years ago
Jessica B. Hamrick
42a9a1f46d
Make kernel js events clearer and more consistent
12 years ago
Jessica B. Hamrick
f77e60764e
Use session.delete rather than kernel.kill
12 years ago
Jessica B. Hamrick
951d9a7249
Don't actually change kernel constructor signature
12 years ago
Jessica B. Hamrick
05611569ec
Add docstrings to kernel.js
12 years ago
Jessica B. Hamrick
4aa66d09dd
Add docstrings to session.js
12 years ago
Jessica B. Hamrick
2dbfc30934
Add no_kernel.Kernel event
12 years ago
Jessica B. Hamrick
d606d53b4e
More informative error messages
12 years ago
Jessica B. Hamrick
999daf041c
Handle query string in Kernel.start
12 years ago
Jessica B. Hamrick
befe8eb720
Update session tests
12 years ago
Jessica B. Hamrick
741b2e97b1
Only set channels to null when they are fully closed
12 years ago
Jessica B. Hamrick
a601531e1c
Move channels into their own object
12 years ago
Jessica B. Hamrick
cf98a0a5a0
Better respect for abstraction barriers
12 years ago
Jessica B. Hamrick
2f3d8617b4
Fix shutdown test
12 years ago
Jessica B. Hamrick
ade7692ccd
Fix bugs in kernel.js
12 years ago
Jessica B. Hamrick
3dfe601a8f
Fix session references in toolbar and menubar
12 years ago
Jessica B. Hamrick
bd3c553d44
Fix messages received by notification area
12 years ago
Jessica B. Hamrick
bd16964276
Clean up kernel.js
12 years ago
Jessica B. Hamrick
c0eb372612
Fix bugs introduced into session.js
12 years ago
Jessica B. Hamrick
3f00b88baa
Fix reference to session in notebook.js
12 years ago
Jessica B. Hamrick
8d76a40677
Clean up session class
12 years ago
MinRK
1da7562d55
trigger trust_changed properly on load
...
event signature was not consistent
12 years ago
Mateusz Paprocki
ba54e020a3
Use more yellowish color for ansiyellow
12 years ago
Mateusz Paprocki
904216d546
Fix ansispan() to ignore stray [0m
12 years ago
Jonathan Frederic
032300ea49
Merge pull request #6645 from jdfreder/css_order
...
Make sure DOMWidget _css is set after basic style traits
12 years ago
Thomas Kluyver
6163656f28
Merge pull request #6634 from minrk/select-contains
...
don't use contains in SelectWidget item_query
12 years ago
Jonathan Frederic
176529cce2
Make sure DOMWidget _css is set after basic style traits
12 years ago
Matthias Bussonnier
cfbd65d808
Merge pull request #6640 from jhamrick/ui-tour
...
Fix icons and typos in ui tour
12 years ago
Jessica B. Hamrick
27562308b1
Fix button alignment/size
12 years ago
Jonathan Frederic
60531c917f
Merge pull request #6481 from jdfreder/intvalidatefix
...
Fix bug in bounded int/float logic.
12 years ago
Jessica B. Hamrick
9ee37de1db
Fix icons and typos in ui tour
12 years ago
MinRK
6740d0492e
don't use contains in SelectWidget item_query
...
gives false positive matches when some values are substrings of others
12 years ago
Thomas Kluyver
825284bc6d
Remove superfluous error checking
12 years ago
Thomas Kluyver
590ba19ac3
Clean up some JS code
12 years ago
Thomas Kluyver
1ff846520b
Put callbacks for create_view and create_child_view in options
...
And add errback support
12 years ago
Thomas Kluyver
c4a9cf9020
Fix logic
12 years ago
Thomas Kluyver
09b10dcb86
Make changes suggested by @jdfreder
12 years ago
Thomas Kluyver
5953a3f874
Allow widget views to be loaded from require modules
...
This required refactoring things that create widget views to use
callbacks instead of return values.
12 years ago
Matthias Bussonnier
ffc574d4dd
Merge pull request #6596 from minrk/stream-text
...
msgspec 5: stream.data -> stream.text
12 years ago
Jason Grout
7700848737
Add semantic classes to top-level containers for single widgets
...
This makes it much easier to customize all widgets of a certain type using
CSS. For example, to change just the IPython widget selects, a CSS
rule like .widget-select select {...} should work well.
12 years ago
Sylvain Corlay
8a384cd489
adding a tooltip in IPython buttons
12 years ago
Matthias Bussonnier
0d9db64180
Merge pull request #6582 from jdfreder/symmetric_state
...
Symmetric widget get/set_state
12 years ago
Matthias Bussonnier
eeb9cb0209
Merge pull request #6558 from jhamrick/kernel-start-failure
...
Handle kernel start failures more gracefully
12 years ago
Jessica B. Hamrick
1d6359f970
Use codemirror for error messages
12 years ago
Min RK
28edb94897
Merge pull request #6488 from jhamrick/lock-cells
...
Proof of concept for preventing cell deletion via metadata
12 years ago
MinRK
f69b1b15a3
msgspec 5: stream.data -> stream.text
12 years ago
Gordon Ball
48b6f53f51
Require base/js/keyboard and use keycode.enter
12 years ago
Jonathan Frederic
60bf0f5b2f
s/apply_update/set_state
12 years ago
Jessica B. Hamrick
6a8cae2913
Don't pop up modal dialog
12 years ago
Jessica B. Hamrick
d0e942213d
Always show the modal dialog, and have a fallback generic message
12 years ago
Jessica B. Hamrick
c4a89cd54d
Better user experience when kernel isn't found
12 years ago
Jessica B. Hamrick
5ba858fc7c
Remove 'we' from message
12 years ago
Jessica B. Hamrick
263181c416
Report the exact error that occurred
12 years ago
Jessica B. Hamrick
58fcb3abb9
Show the user a different notification
12 years ago
Min RK
780ceee03a
Merge pull request #6415 from Carreau/move-md-show-logic
...
Move md-cell display logic to css
12 years ago
Matthias Bussonnier
a940971866
Merge pull request #6568 from minrk/remember-kernel
...
Make default kernel configurable
12 years ago
Jonathan Frederic
b5195e1b17
Merge pull request #6548 from SylvainCorlay/widget_views_by_id
...
Make WidgetModel.views be an object indexed by view id
12 years ago
Matthias Bussonnier
2d490858e5
Merge pull request #6544 from jhamrick/notification-widget
...
Clean up notification widget
12 years ago
sylvain.corlay
60925f0a1a
hasOwnProperty
12 years ago
MinRK
072bcdc484
allow kernel_name to be undefined in js
...
Falls back to KM.default_kernel_name,
as configured server-side.
12 years ago
Doug Blank
6c3d40bbcd
Update documentation for functions that can return null
12 years ago
Doug Blank
3997769def
Fixed off by one error in get_prev_cell
...
Not sure why this was a TODO. Maybe `find_cell_index()` returned zero at one time, but in the browsers I tested, it always returns null if not found.
12 years ago
Jessica B. Hamrick
9c1e7fa2eb
Clarify stickiness of warning/danger notifications
12 years ago
Sylvain Corlay
d8635fc1cc
on_atomic_change -> on_some_change
12 years ago
Sylvain Corlay
b6a0f60d3f
Make Widget.views be an object indexed by view id
12 years ago
Jessica B. Hamrick
e68f6e585a
Small changes to notification widget
12 years ago
Jessica B. Hamrick
2c5a10a6e0
Add documentation to notification area
12 years ago
Jessica B. Hamrick
5769a5bd97
Add documentation to NotificationWidget methods
12 years ago
Jessica B. Hamrick
180dd71e81
Allow timeout and click callback
12 years ago
Jessica B. Hamrick
10d500525a
Make cell be undeletable ONLY when metadata is explicitly false
12 years ago
Jessica B. Hamrick
990425f034
Handle 'deletable' cell metadata
12 years ago
Thomas Kluyver
3cb8c5a0a1
Merge pull request #6532 from SylvainCorlay/barewidgetmodels
...
Fix Issue #6530
12 years ago
Matthias Bussonnier
4609465161
Merge pull request #6472 from parleur/master
...
Keep metadata through celltype changes
12 years ago