Min RK
98c672ad51
Merge pull request #3147 from meteogrid/rproxy_support
...
Notebook support for a reverse proxy which handles SSL
Added a "trust_xheaders" config option to NotebookApp to enable the passing of the xheaders flag to tornado.HTTPServer. This is necessary so tornado can generate the correct wss:// scheme
13 years ago
Brian E. Granger
0490978989
Merge pull request #3058 from minrk/redirect
...
add redirect handler for notebooks by name
13 years ago
MinRK
296587664d
don't test for .ipynb in redirect handler
...
regex already guarantees it
13 years ago
Min RK
073f894e82
Merge pull request #3148 from ivanov/tornado-AI_ADDRCONFIG-patch
...
fix `gaierror: [Errno -9] Address family for hostname not supported`
error from unassociated interfaces.
related to facebook/tornado#593 - but the fix was only applied to 3.0
I've verified that this fix works for tornado 2.1, 2.4, 2.4.1, and the behavior it fixes does not trigger on tornado 3.0
closes #3045
13 years ago
Paul Ivanov
113ba6157f
addressing @minrk's PR feedback
...
* check tornado version
* log.warn about the monkeypatching
13 years ago
Matthias BUSSONNIER
834b146cca
JS Configurablity Take 2
...
Change the way configurability works.
Config dict should be passed down to the parent class where it will be
merged with the default value and propagate to this only in the base
class.
This allow to both alter the configuration on a per instance basis, or
globaly by tempering with the class instance.
This also get rid of IPython global in some cases.
13 years ago
Paul Ivanov
836d20e5e1
closes #3045 , #3123 for tornado < version 3.0
...
related to facebook/tornado#593
I've verified that this fix works for tornado 2.1, 2.4, 2.4.1, and the
behavior it fixes does not trigger on tornado 3.0
13 years ago
Alberto Valverde
9e38b20e8f
Added trust_xheaders config option to delegate it to HTTPServer.
...
This is neccesary if the notebook app is proxied behind a reverse
proxy that handles SSL.
13 years ago
MinRK
0323bea194
add `fab components`
...
installs components with bower
13 years ago
MinRK
2fc4821c2f
tweak heading-anchor css
...
avoids blue links after visiting
13 years ago
MinRK
4976c6fb16
minor heading-link tweaks
...
- use id instead of name
- replace spaces with `_`
for html compliance
13 years ago
Min RK
a4b1bea069
Merge pull request #3136 from jfeser/8b94eddb4d15ce6f0c98675116d4609bdaaf99d9
...
Strip useless ANSI escape codes in notebook
ANSI color escape codes get handled specially by the notebook, but other kinds of codes just get printed out. Strip these codes out of the notebook output.
closes #2385
13 years ago
Jack Feser
5f5ac70660
Strip non color related ANSI escape sequences from notebook output.
...
This fixes issue #2385 .
13 years ago
David Wyde
72c94c4f1c
Fix an incorrect comment.
13 years ago
David Wyde
904be21a9f
Prevent errors when up/down arrows are pressed in an empty notebook.
...
Notebook.get_selected_cell() returns `null` in an empty notebook.
13 years ago
Matthias Bussonnier
a8873230bf
Merge pull request #3102 from minrk/spellcheck
...
set `spellcheck=false` in CodeCell inputarea
13 years ago
Matthias Bussonnier
061d27e877
Merge pull request #3064 from minrk/header-anchors
...
add anchors to heading cells
13 years ago
MinRK
7a648670af
set `spellcheck=false` in CodeCell inputarea
...
prevents autocorrect from firing in Safari (weirdly, autocorrect does not have this effect).
Note: must be `false`, not `off`
closes #3087
13 years ago
Matthias Bussonnier
7bc51fd945
Merge pull request #3078 from minrk/link_re
...
fix regular expression for detecting links in stdout
13 years ago
Matthias Bussonnier
98aba52c58
Merge pull request #3054 from minrk/auto-cluster-size
...
restore default behavior for automatic cluster size
13 years ago
MinRK
4cd0d6e7bb
fix regular expression for detecting links in stdout
...
The previous expression was matching both the beginning and the end of the line,
which would end up swallowing the next match,
ultimately matching every other URL in the string.
This removes the end-of-line check, so it will match every URL.
The wrapURLs function to make URLs easier to identify does not seem to have been necessary,
and has thus been removed.
closes #2834
13 years ago
David Wyde
7a10342d6f
Add YUIDoc in notebook.js.
13 years ago
Paul Ivanov
9ca886dc11
check for SIGUSR1 before using it, closes #3074
...
thanks @takluyver for spotting this
13 years ago
Min RK
b218a55a5d
Merge pull request #3051 from minrk/vbox-ff-fail
...
add width:100% to vbox for webkit / FF consistency
closes #3049
13 years ago
MinRK
b110a02e7a
s/heading-link/heading-anchor/
13 years ago
MinRK
ede5a66198
put the anchor inside the header tag
...
instead of the other way around.
This way, only clicking the text loads the hash link,
rather than the whole area.
13 years ago
Min RK
d4c6bef1f5
Merge pull request #3033 from ivanov/print-server-info
...
on resume, print server info again
13 years ago
Paul Ivanov
6334a481b2
print info string on interrupt, log it on startup
13 years ago
MinRK
10b209f93e
add redirect handler for notebooks by name
...
Now you can visit `localhost:8888/My Notebook.ipynb`,
and it will redirect you to the UUID url.
This allows cross-notebook links, etc. with `[other notebook](Notebook Name.ipynb)`
13 years ago
MinRK
7e6b5d98c7
trigger hash on notebook load
...
enables direct links to anchors within notebooks
13 years ago
MinRK
ba4b1d6e1c
add anchor and link to heading cells
13 years ago
MinRK
276d8b68bb
restore default behavior for automatic cluster size
...
the up/down buttons still work, but it doesn't populate everything with 2,
which was wrong.
13 years ago
MinRK
7fcc683e6f
add width:100% to vbox for webkit / FF consistency
...
closes #3049
13 years ago
Paul Ivanov
fd467e75b6
make SIGUSR1 and SIGINFO trigger printing of info
...
Directory and url/port information for the notebook server is now
printed when it receives one of these signals. SIGINFO is available only
on BSD-based systems, and is triggered via Ctrl-T.
13 years ago
Paul Ivanov
218087104d
log the notebook server directory
...
suggestion provided by @Carreau
13 years ago
Paul Ivanov
786396cbb0
on resume, print server info again
...
This commit makes it possible to differentiate between many different
long-running notebook servers, where the original ip address and port
information printed at the beginning has scrolled out of the screen.
We save the server location string that gets printed on startup, and
re-print it when the user attempts to interrupt the server with Ctrl-C
Thanks to @minrk for discussion on how this should work.
Also added a docstring to the start() method
13 years ago
Olivier Verdier
a7a73c4285
fix time format to international time format
...
use the ISO 8601 standard
see http://en.wikipedia.org/wiki/ISO_8601#Times
13 years ago
Harry Moreno
21fc8cd23b
changed instances of 'outout' to 'output' in alt text's
13 years ago
Matthias BUSSONNIER
3b37cd80e4
fix css in .output_area pre
...
font: inherit conflict with monospace, wich in some cases
leads to non-monospace font (nbviewer for example)
13 years ago
Matthias BUSSONNIER
f84acbbaff
fix run-all (that-> this)
13 years ago
Brian E. Granger
4843a7acd2
Merge pull request #2942 from Carreau/cm-ipython-css
...
Move CM IPython theme out of codemirror folder
13 years ago
Brian E. Granger
66049a99f0
Merge pull request #2929 from Carreau/cleanup-cell-insertion
...
Cleanup cell insertion
13 years ago
Matthias BUSSONNIER
914dfb9f61
fix one more == to ===
13 years ago
Matthias BUSSONNIER
10e92b3034
fix i/index in move up/down and == -> ===
13 years ago
Matthias BUSSONNIER
0033b3e6c5
fix notebook deletion.
...
do not thrust what "that" is in a 3 level deep
callback
13 years ago
MinRK
acf3b2bf21
fix logic for append_javascript
...
PR #2911 results in appending javascript even if dynamic is false,
so in current master all javascript outputs are actually run at load.
13 years ago
Matthias BUSSONNIER
e4cbf5e717
move CM IPython theme out of codemirror folder
13 years ago
Matthias BUSSONNIER
6ed926be7b
fix baseUrl
13 years ago
Bussonnier Matthias
9cd9e5db73
Merge pull request #2903 from Carreau/toggle-line-number
...
Specify toggle value on cell line number
13 years ago
Bussonnier Matthias
a1a32e82ff
Merge pull request #2911 from Carreau/output-order-conf
...
display order in output area configurable
13 years ago
Bussonnier Matthias
f99f0571d7
Merge pull request #2897 from Carreau/baseurl-meth
...
Dont rely on BaseProjectUrl data in body tag
13 years ago
Bussonnier Matthias
0a25fb8749
Merge pull request #2894 from Carreau/cm-configurable
...
Cm configurable
13 years ago
Matthias BUSSONNIER
f6298c6c7f
use show method in toggle method
13 years ago
Matthias BUSSONNIER
1f402a1dac
remove unused/not working function
13 years ago
Matthias BUSSONNIER
e965757a33
simplify logic
13 years ago
Bussonnier Matthias
b8fe73ba3c
Merge pull request #2932 from takluyver/get-static-files
...
Simplify using notebook static files from external code
13 years ago
Thomas Kluyver
9e2894caa2
Simplify using notebook static files from external code.
13 years ago
Bussonnier Matthias
1467f5b59f
abstract, cleanup and document
...
Separate the methods that actually insert dom element for easier
testing.
Cleanup, and order methods more logically
add "docstring"
13 years ago
Bussonnier Matthias
0c5c5b9c83
Merge pull request #2906 from Carreau/mkypatch-cm
...
Unpatch/Monkey patch CM
13 years ago
Matthias BUSSONNIER
44385d9c7f
jslint
13 years ago
Matthias BUSSONNIER
bd59389626
fix bad logic
13 years ago
MinRK
b7fe08c91c
add disabled state to undo-delete-cell when unavailable.
13 years ago
MinRK
7566379d14
add menu item for undo delete cell
...
closes #2920
13 years ago
Matthias BUSSONNIER
d9480a5643
refactor cellc
13 years ago
Matthias BUSSONNIER
2d07627cb1
factor valid cell index logic
13 years ago
Matthias BUSSONNIER
763e7a31ce
doc fixes
13 years ago
Matthias BUSSONNIER
70713da4d4
Method to show hide linenumber of cell
...
mostly convenience methods to wrap codemirror one,
plus doc and 1 doc fix (missing curly bracket)
13 years ago
Bussonnier Matthias
1445b189d4
Merge pull request #2885 from Carreau/monospace-pager
...
get monospace pager back
13 years ago
Matthias BUSSONNIER
fc2ee6289b
display order in output area configurable
13 years ago
Matthias BUSSONNIER
a05bb1cfe3
fix default empty option
13 years ago
Matthias BUSSONNIER
f74bb684f6
Make CodeMirror configurable
...
Both on a per class and per instance basis, using an option dict
in constructor and per class dict
13 years ago
Bussonnier Matthias
0e3b818ff9
Merge pull request #2876 from Carreau/fixctff
...
fix celltoolbar layout on FF
Ok, bug was due to an extra empty div... This seem to lok ok on both FF and Chrome OS X.
Think of adding
$.getScript('/static/js/celltoolbarpresets/example.js')
to your custom.js to fully test.
13 years ago
MinRK
e1748fe10a
fix last remaining KernelApp reference
13 years ago
Matthias BUSSONNIER
f54216e4f6
monkey patch codemirror with new functionality
...
use marijnh recommended way:
https://github.com/marijnh/CodeMirror/pull/661
13 years ago
Matthias BUSSONNIER
5f135d66ea
pass baseUrl as option
13 years ago
Bussonnier Matthias
6561a98368
change more baseurl
13 years ago
Bussonnier Matthias
a0b9736397
make base project url a method on notebook list
13 years ago
Bussonnier Matthias
09e221af6b
add option in menubar to set baseproject url
13 years ago
Bussonnier Matthias
7a300d7ff3
make baseProjectUrl a method in Menubar
13 years ago
MinRK
cb56d2378b
exclude fabfile from tests
...
closes #2890
13 years ago
Matthias BUSSONNIER
2fbb909bb3
get monospace pager back
13 years ago
Matthias BUSSONNIER
93b5ea9d86
remove one useless element
13 years ago
Matthias BUSSONNIER
9ba887ed95
fix button css
13 years ago
Matthias BUSSONNIER
a9e06112ef
minor css fixes
13 years ago
Matthias BUSSONNIER
c426f8d40d
fix celltoolbar layout on FF
13 years ago
MinRK
d684fb8529
fix payload keys
...
A few changes left out from PR #2854
prevented pager or set_next_input (%load) from working in the notebook.
13 years ago
Brian Granger
182ac53568
Fixing styling of toolbar selects on FF.
13 years ago
Brian E. Granger
25fb761da3
Merge pull request #2708 from Carreau/less-css
...
Less css
13 years ago
Matthias BUSSONNIER
97558508a2
fix mdcell background color
13 years ago
Matthias BUSSONNIER
478d8b9818
remove selected cell background
13 years ago
Matthias BUSSONNIER
3ba80dd0ac
use super in templates
13 years ago
Matthias BUSSONNIER
023a53e3f5
re-fix cluster list
13 years ago
Matthias BUSSONNIER
a19c9c2ed6
propagate use_less flag in all pages
13 years ago
Matthias BUSSONNIER
38cc133273
move ref css ipynb
13 years ago
Matthias BUSSONNIER
fe9bcdec21
fix line below header
13 years ago
Matthias BUSSONNIER
c3b2d7d4d5
fix global font size
13 years ago
Matthias BUSSONNIER
45e4e0809a
fix celltoolbar css
13 years ago
Matthias BUSSONNIER
0d68be801d
some css fixes
13 years ago
MinRK
c4c8d970aa
define and test IPython.kernel public API
13 years ago
MinRK
11a01f86ce
move IPython.inprocess to IPython.kernel.inprocess
13 years ago
MinRK
1d0cae7b2e
mv IPython.zmq to IPython.kernel.zmq
13 years ago
MinRK
77715d328a
move multikernelmanager to IPython.kernel
13 years ago
MinRK
ff113b106e
move zmq.KernelManagers into IPython.kernel
13 years ago
Matthias BUSSONNIER
f2f07f3d6f
fix alignemtn
13 years ago
Matthias BUSSONNIER
1599ac6470
fix color
13 years ago
Matthias BUSSONNIER
030211f073
fix tooltip
13 years ago
Matthias BUSSONNIER
af47d9b287
fix border color and select height
13 years ago
MinRK
1f35decb54
move IPKernelApp from zmq.ipkernel to zmq.kernelapp
...
- merged IPKernelApp into KernelApp, they are no longer separate classes
- embed_kernel moved to its own file
- ipkernel now only contains the Kernel class
- associated imports updated
13 years ago
MinRK
98dd01411e
test IPython.kernel
13 years ago
MinRK
8338b936db
move utils.kernel (formerly entry_point and lib.kernel) to kernel.util
13 years ago
MinRK
b24d16b532
move IPython.lib.kernel to IPython.utils.kernel
...
where it always should have been.
13 years ago
MinRK
c699d0f6a5
fix callback testing for pyzmq version_info
13 years ago
MinRK
1c196310d4
bump minimum pyzmq version to 2.1.11
...
and remove the associated workarounds for old pyzmq
13 years ago
Matthias BUSSONNIER
502fbe92c9
not minify option
13 years ago
Matthias BUSSONNIER
8cfd098bbf
migrate from make to fabric
13 years ago
Matthias BUSSONNIER
f2575f15be
speedup tooltip
13 years ago
Matthias BUSSONNIER
7ddc6df4b7
speedup transition adn use class instead of id
13 years ago
Matthias BUSSONNIER
3b4a92742c
replace tab by space comment print view action
13 years ago
Matthias BUSSONNIER
44ca075073
fix select width in toolbar
13 years ago
Matthias BUSSONNIER
09f6c1a2cc
add css reference notebook
13 years ago
Matthias BUSSONNIER
3b62d50398
condense rendered_html css
13 years ago
Matthias BUSSONNIER
79a2d0bbd7
use nested rule in rendered_html less file
13 years ago
Matthias BUSSONNIER
011db71f21
fix stdr background
13 years ago
Matthias BUSSONNIER
3665ce85dc
fix body overflow on dashboard
13 years ago
Matthias BUSSONNIER
cc821b35fc
min and default for engine number
13 years ago
Matthias BUSSONNIER
0996bfffd3
change to cluster list
...
fix css and make engine input of type number
13 years ago
Matthias BUSSONNIER
d078afb51a
use less as a component
13 years ago
Matthias BUSSONNIER
6217b6283e
fix a few css rules
...
especially since the introduction of celltoolbar
13 years ago
Matthias BUSSONNIER
1991cc187e
remove trailing whitespace
13 years ago
Matthias BUSSONNIER
29da710c27
use bootstrap as component with bower
13 years ago
Matthias BUSSONNIER
d173d4613b
fix css toolbar
13 years ago
Bussonnier Matthias
1026e4d3b3
use varaible for background color
13 years ago
Bussonnier Matthias
df22cad01c
clean css.
...
remove some Ui-widget where unnecessary,
Don't show toolbar on media-print
13 years ago
Bussonnier Matthias
1ed845bce0
slight typography changes
13 years ago
Bussonnier Matthias
4bd2f4fc01
Fix project path url in dashbord
...
Use Bootstrap breadcrumbs for later navigation purpouse
13 years ago
Bussonnier Matthias
654a7d3189
fix cell type selector css
13 years ago
Bussonnier Matthias
d5a6b1f382
Add and remove boostra squashed commit
...
To reduce branch size as bootstrap is huge
add default bootstrap theme
does not import code in bootstrap
remove bootstrap
13 years ago
Bussonnier Matthias
bf04da4384
readd flexible-box-model
13 years ago
Bussonnier Matthias
d71a490c12
make file and other less
13 years ago
Bussonnier Matthias
412b54b21f
fix print css less
13 years ago
Bussonnier Matthias
452efb67ed
less flag in templates
13 years ago
Bussonnier Matthias
cf4bc5080a
generate style.css
13 years ago
Bussonnier Matthias
d46b6ad3b9
add less flag
13 years ago
Bussonnier Matthias
689922031c
main_app -> ipython-main-app
13 years ago
Matthias BUSSONNIER
e383eb10bf
remove useless classes
13 years ago
Matthias BUSSONNIER
33cd3b7f1f
use less for tooltip
13 years ago
Matthias BUSSONNIER
430f44dd72
Revert "remove less.css"
...
This reverts commit 076a0fac5a12d4b674f2343f484a2c983a410219.
13 years ago
Matthias BUSSONNIER
ff8339641b
start mixins
13 years ago
Matthias BUSSONNIER
53a48ac7eb
start to migrate to variables
13 years ago
Matthias BUSSONNIER
c4ad378cbb
start introducing less
13 years ago
W. Trevor King
d1506a5a02
frontend.html.notebook: Use utils.localinterfaces.LOCALHOST
13 years ago
Min RK
9f5baaf821
Merge pull request #2811 from minrk/ipc_defaults
...
Still more KernelManager cleanup
Finish up some more work from #2775
closes #2722
- [x] ip/transport configurables only live on KernelManager objects, not ConsoleApp
- [x] fix default ipc paths in `ipython kernel` and `ipython notebook` cases
- [x] fix ipc file cleanup in a few more cases
- [x] add `--transport` alias for all appropriate entry points
13 years ago
Brian E. Granger
11d65e3bac
Minor changes.
...
* Removed Tooltip._cmfocus as it was doing nothing.
* Removed debug console.log in notification area.
13 years ago
Brian E. Granger
8698f6af46
Removing call to $.browser which went away in jQuery 1.9.
...
I have also cleaned up some calls to console.log.
13 years ago
Brian E. Granger
b9193360a2
Refactoring WebSocket connection failure logic.
...
This completely decouples the connection failed event in kernel.js
from its handling in notificationarea.js.
13 years ago
Brian E. Granger
0d94e67a47
Making completer.js independent of IPython.notebook.
13 years ago
Brian E. Granger
e5d355dfd1
Fixing notebook.css to make more robust in embedding.
13 years ago
Brian E. Granger
7714f3d058
Removing IPython.notebook references from tooltip.js
13 years ago
MinRK
827c17a74f
change ol format order
...
from: I.A.1.a.i
to: 1.A.a.i
13 years ago
MinRK
fa989a99a1
ip/transport live in KernelManager now
...
remove them as configurables in the Application objects
13 years ago
Brian E. Granger
f7b78af056
Merge pull request #2789 from ellisonbg/celltoolbar-style
...
Fixing styling issues with CellToolbar.
13 years ago
Brian Granger
4c5cbb71ea
Removing unneeded ui-widget class.
13 years ago
MinRK
0fb7232c77
fix KeyError creating ZMQStreams in notebook
...
typo in PR #2775 prevented connections from being established
13 years ago
Min RK
40fb853bc7
Merge pull request #2775 from ellisonbg/kernelid
...
General cleanup of kernel manager code.
This does some general cleanup of MultiKernelManager to better reflect how it is actually being used.
Sometimes there is a need to create kernel_id's elsewhere in code. This minor change allows a kernel_id to be created outside of the MultiKernelManager and passed in as a kwarg. An exception is raised if the id is already used.
Tasks:
- [x] Fix cleanup of ipc files.
- [x] Allow kernel_id to be passed to MultiKernelManager.start_kernel.
- [x] Add ipc support to MultiKernelManager.
- [x] Add more tests for MultiKernelManager.
- [x] Rename sub channel to iopub channel everywhere.
- [x] Use consistent naming for all channel classes in zmq, inprocess and qt.
- [x] Move BlockingChannelMixin to zmq.blockingkernelmanager.
- [x] Create ABC for KernelManager.
- [x] Make the InProcessKernelManager a Configurable.
- [x] Cleanup docstrings in ABCs.
- [x] Add tests for KernelManager.
- [x] Check over MultiKernelManager.
- [x] Make KernelManager,kill_kernel private in ABC and implementations.
- [x] Find bug that is causing the kernel manager tests to hang unless the shell channel linger is set to 0.
- [x] Decide about critical logging in ipkernel.
- [x] Debug lack of stderr redirect in tests.
13 years ago
Brian Granger
fc7a20a8e1
Decoupling the celltoolbar select UI from CellToolbar.
...
The select menu for celltoolbar presets should live entirely in
the maintoolbar code - it was 1/2 in CellToolbar itself. This
fixes this issue using events and an additional method on
CellToolbar (list_presets).
13 years ago
Brian Granger
fd34f3d536
Minor tweaks to the css to enable single cell hide/show.
13 years ago
Brian Granger
b6c7d7965c
Further cleanup for celltoolbars.
13 years ago
Matthias BUSSONNIER
a27a0f4980
gshow
13 years ago
Brian E. Granger
dcf874e93f
Fixing styling issues with CellToolbar.
...
* Width of CellToolbar was off on Linux Chrome+Firefox.
* Minor styling cleanups.
13 years ago
Brian E. Granger
0fb34356a3
Fixing last few things with the test suite for kernel managers.
13 years ago
Brian E. Granger
deb05ec4a2
Make KernelManager.kill_kernel private.
...
* kill_kernel -> _kill_kernel.
* Removed it from the ABC and implementations where approp.
13 years ago
Min RK
def9d4c51e
Merge pull request #2796 from kmike/cookie-fix
...
py3k: fix unicode/bytes cookie parsing under Python 3.x
13 years ago
Brian Granger
b7dd63d720
Creating an ABC for kernel managers and channels.
13 years ago
Brian E. Granger
2900b67ff3
Adding calls to shell_channel.stop() to shutdown.
...
But this hangs the test suite for IPython.frontend.html.notebook.
13 years ago
Brian E. Granger
afaad23a57
Adding tested ipc support to MultiKernelManager.
13 years ago
Brian E. Granger
64bec56589
Refactoring kernel_died method to make subclass friendly.
13 years ago
Brian E. Granger
f37d707c08
Creating application.config attribute.
...
This creates less coupling between the handlers and the outer
IPython application.
13 years ago
Brian E. Granger
ac1a8b0458
Removing return value of restart_kernel.
...
The kernel_id is *always* the same under a restart and there
is no need to return it. The restart handler does pass
the original kernel_id back to the browser as it currently uses it.
13 years ago
Brian E. Granger
82f4cf5574
General cleanup of kernelmanger.MultiKernelManager.
13 years ago
Brian E. Granger
ea2dc2ecd5
Allow caller of MultiKernelManager.start_kernel to pass kernel_id.
13 years ago
Mikhail Korobov
57cecc70c2
P3K: fix cookie parsing under Python 3.x (+ duplicate import is removed)
13 years ago
Brian E. Granger
4fadfecbb7
Merge pull request #2724 from pberkes/embedded-ipython-v2
...
In-process kernel support (take 3)
13 years ago
Brian E. Granger
eff5fa878d
Merge pull request #2687 from Carreau/metaui-slideshow
...
[WIP] Metaui slideshow
13 years ago
Matthias BUSSONNIER
3e60977364
load slideshow by default
13 years ago
debjan
47466fb8ea
Chrome frame awareness
13 years ago
Matthias BUSSONNIER
7163dc717f
Uppercase and update path
13 years ago
Matthias BUSSONNIER
94279745b9
Change Slide denomination
...
> Slide
> Subslide
> Fragment
> Skip
> Notes
13 years ago
Matthias BUSSONNIER
705081cc04
add slideshow extension/preset for celltoolbar
13 years ago
Matthias BUSSONNIER
3e52d29b61
fix example.js
13 years ago
Matthias BUSSONNIER
7401054c94
Capitalize
13 years ago
Matthias BUSSONNIER
33b810fe53
fix celltoolbar select css
13 years ago
Matthias BUSSONNIER
4e20188968
Load default.js (for celltoolbar) by default
...
And change text.
13 years ago
Matthias BUSSONNIER
4e3f8edb88
add default celltoolbar UI
13 years ago
Matthias BUSSONNIER
69859c1057
change set_preset to activate_preset
...
update docs
13 years ago
Matthias BUSSONNIER
f76279d858
remove commented css
13 years ago
Matthias BUSSONNIER
28e90b40d2
fix lock cell button
...
'flase' is true while false is false
13 years ago
Matthias BUSSONNIER
c236253e80
change - to Hidden
13 years ago
Matthias BUSSONNIER
eb5911a3c1
create celltoolbar in cell.js and inherit
13 years ago
Matthias BUSSONNIER
08225b2ed4
slightly generalize utils generator
13 years ago
Matthias BUSSONNIER
8b7db8d6da
remove useless jquery selector
13 years ago
Matthias BUSSONNIER
f88001f481
fix css size
13 years ago
Matthias BUSSONNIER
1e4eb5c527
do not use alert on invalid json
13 years ago
Matthias BUSSONNIER
ffa1cf20a3
remove relative position
13 years ago
Matthias BUSSONNIER
4b957111ed
remove most of the duplicate example
13 years ago
Matthias BUSSONNIER
a16c361a4b
rename _button_list to _ui_controls_list
13 years ago
Matthias BUSSONNIER
c313127651
rename file metaui->celltoolbar
13 years ago
Matthias BUSSONNIER
f55a0a05b8
rename metaui -> celltoolbar
13 years ago
Matthias BUSSONNIER
3cc81dbb8f
convention, jQuery variable start with $
...
all this.xxxx = $(...) change to
this.$xxxx
I'm thinking of potentially doing it also in parameters that are
expected to be jQuery enabled.
13 years ago
Matthias BUSSONNIER
1c97a7232f
enable dropdown preset change
13 years ago
Matthias BUSSONNIER
040a27cacc
add a small default metaui-toolbar
...
just a question mark which pop-up a small text
13 years ago
Matthias BUSSONNIER
d18d975a50
create metadata-dropdowm-menu generator
13 years ago
Matthias BUSSONNIER
70f8001b14
Split metadataui into multiple file
...
Add example metadata UI into multiple categorized files.
And document how to load it using custom.js.
13 years ago
Matthias BUSSONNIER
1ae472cf1c
add utils and docs for metadata UI
...
add aconvenient utils to generate UI for checkboxes
and use it to generate 3 checkboxes for
new_section
new_subsection
new_fragment
13 years ago
Matthias BUSSONNIER
8022cff041
Add a per cell toolbar.
...
This add a per-cell globally toggleable toolbar
the main purpouse is to easily edit metadata.
this come with a few example like adding checkbox,
dropdown list, simple button, button with icon...
please see the js-doc of
IPython/frontend/html/notebook/static/js/MetaUI.js
for more info
13 years ago
Brian E. Granger
60d158af2a
Removing unused code in the notebook MappingKernelManager.
...
This cleans up the API for restarts in the notebook's kernel
manager classes.
13 years ago
Bussonnier Matthias
730eff0a1e
Merge pull request #2728 from Carreau/shifttab
...
also bind shift tab for tooltip + config
This does not change the curent behavior, only add the shift+tab shortcut.
Note that the shift tab shortcut has a slightly different behavior. You can select part of a line and pressing shift-tab will show you the tooltip only for the selection.
This is disabled for multiline selection to still allow to unindent block of code, Keep in mind that the real real shortcut for indent unindent is Ctrl+] or [ . Select/tab is not really supported by codemirror.
Finally the "tooltip_on_tab" behavior is globally configurable via IPython.config so that it could be easily switched to false.
It can be overridden via js console for test purpose.
IPython.config.tooltip_on_tab = true | false
Take effect immediately, only on current notebook.
or globally via custom.js
var user_conf = {tooltip_on_tab:false | true};
$.extend(IPython.config, user_conf)
13 years ago
Bussonnier Matthias
6c148e175a
Merge pull request #2723 from Carreau/fixes-2720
...
diverse fixes for project url
- Force leading and trailing slashes in base_project/kernel_url
- Add support for the prefix in template for static files
- Fix some forgotten quotes
- remove old make_static_url which is now a jinja2 macro
13 years ago
mr.Shu
5df5cc8035
added blockquote CSS
13 years ago
Bussonnier Matthias
5eb3850ae1
shift tqb for tooltip
13 years ago
Bussonnier Matthias
4e5b1eb41a
diverse fixes for project url
...
* Force leading and trailing slashes in base_project/kernel_url
* Add support for the prefix in template for static files
* Fix some forgotten quotes
* remove old make_static_url which is now a jinja2 macro
fixes-2720
13 years ago
Bussonnier Matthias
248eae08d6
remove unexisting headings level
13 years ago
Bussonnier Matthias
0904ff21fb
Merge pull request #2699 from crbates/jinja2
...
fix jinja2 rendering for password protected notebooks
13 years ago
Bradley M. Froehle
3493814467
Skip notebookapp testing if jinja2 is not available.
13 years ago
Cameron Bates
8d1d5fb37c
Use the correct tornado import as suggested by @ivanov
13 years ago
Cameron Bates
cbe76aaf9b
fix jinja2 rendering for password protected notebooks
13 years ago
Yoav Ram
2518649d6c
for downloads, replaced window.open with window.location.assign
...
This doesn't actually open a new windows, so it's a bit nicer.
Not very important, though.
Source: [StackOverflow](http://stackoverflow.com/questions/1066452/easiest-way-to-open-a-download-window-without-navigating-away-from-the-page )
13 years ago
Bussonnier Matthias
51fb9a38ef
Merge pull request #2659 from kmike/master
...
Fix small typos and errors in JS.
13 years ago
Bussonnier Matthias
f9f46750fe
Merge pull request #2363 from crbates/jinja2
...
Refactor notebook templates to use Jinja2
13 years ago
Cameron Bates
6de923fb95
Rename "nb" variable to "template" for clarity
13 years ago
Cameron Bates
7493794594
Move environment setting from handler to the notebook application
13 years ago
Mikhail Korobov
4bca5a19ea
Some bugs in js (mostly scoping bugs) are fixed
13 years ago
Brian E. Granger
edd27cf292
Merge pull request #2312 from adamgd/master
...
Add bracket matching to code cells in notebook
13 years ago
Bussonnier Matthias
459f816d54
Merge pull request #2571 from Carreau/jsdoc
...
Start to document Javascript
see IPython/frontend/html/notebook/static/js/readme on how to compile/see it.
13 years ago
Bradley M. Froehle
1549def846
Merge pull request #2641 from Carreau/thisthat
...
undefinied that -> this
13 years ago
Matthias BUSSONNIER
31b18e69ad
undefinied that -> this
13 years ago
Thomas Kluyver
e344f37ebd
Merge pull request #2301 from takluyver/ast-transfomers
...
Ast transfomers
13 years ago
Cameron Bates
3d08384741
Make template environment a property and fix notebook location
13 years ago
Cameron Bates
7b3c01c667
Merge upstream changes
13 years ago
Bussonnier Matthias
01a54bee69
Merge pull request #2572 from dwf/paste_above_as_default
...
Make 'Paste Below' the default paste behavior in notebook.
13 years ago
Matthias BUSSONNIER
a56ee187ff
past below by default
13 years ago
Matthias BUSSONNIER
43fb0ef6af
document base of toolbar
13 years ago
Matthias BUSSONNIER
f91c4f447d
start docummenting kernel
13 years ago
Matthias BUSSONNIER
a2306cff89
Fix layout and add note about custom.css
13 years ago
Matthias BUSSONNIER
9c33de9102
document custom.js
13 years ago
Matthias BUSSONNIER
c83cd14d28
more docs, organize in namespace
13 years ago
dkua
5993c3bf9f
Made changes as per discussion in PR thread.
13 years ago
dkua
da8c05414e
Made some changes to message and logic as advised by Fernando.
13 years ago
dkua
c8d3dbcc98
Refactored warning printout as per Issue #2244
13 years ago
David Warde-Farley
a9910aa408
"Paste Cell Replace" -> "Paste Cell & Replace"
13 years ago
David Warde-Farley
01f0332add
Make 'Paste Above' the default paste behavior.
...
Destructive paste mapped to Ctrl-M V is a surprising choice given that
there was no drag-to-select on the area being replaced (there is a
weaker notion of "selected cell" but this does not map to will-be-replaced-
by-paste in the minds of participants in an unscientific poll at
PyConCA).
Destructive paste is still available as the last paste option in the
Edit menu, qualified as "Paste Cell Replace".
13 years ago