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
0904ff21fb
Merge pull request #2699 from crbates/jinja2
...
fix jinja2 rendering for password protected notebooks
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
Matthias BUSSONNIER
31b18e69ad
undefinied that -> this
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
Matthias BUSSONNIER
22c477eecf
add doc to base Cell
13 years ago
Matthias BUSSONNIER
42737b6e4b
more docs in cell
13 years ago
Matthias BUSSONNIER
98738e8bc4
Document more function.
...
Change construcs to constructor to be recognized
13 years ago
Matthias BUSSONNIER
9c5516b356
start to document js
13 years ago
Bussonnier Matthias
a0544ec066
Merge pull request #2561 from takluyver/notebook-carriage-return
...
Fix display of plain text containing multiple carriage returns before line feed
13 years ago
Bussonnier Matthias
1f79f5b89e
Merge pull request #2549 from dwf/delete_undo
...
Add a simple 'undo' for cell deletion.
13 years ago
Bussonnier Matthias
56f1f39fbe
Merge pull request #2525 from Carreau/execute_hooks
...
Add event to kernel execution/shell reply.
13 years ago
Thomas Kluyver
015e8e73f4
Fix display of plain text containing multiple carriage returns before line feed.
...
Closes gh-2560
13 years ago
David Warde-Farley
8ecb8cd8fe
Make undelete respect order after insertions/deletions.
13 years ago
David Warde-Farley
bb8249864d
Add comment re: quickhelp key.
13 years ago
David Warde-Farley
f4d471c70e
Move undo quickhelp to more appropriate spot.
13 years ago
David Warde-Farley
33c1f78d33
Add a simple 'undo' for cell deletion.
...
I've accidentally deleted the wrong cell quite a few times and
it has been quite frustrating. This enables a very hacky backup of
the last cell deletion.
I'm sure the core devs will have some opinions on both the feature
and its implementation, I consider this very much a first pass.
13 years ago
Matthias BUSSONNIER
4aea2b495a
add status_started event to Kernel
13 years ago
Matthias BUSSONNIER
68fd917bfb
change all trigger parameter to (event,data)
13 years ago
Matthias BUSSONNIER
afa18913b9
invert event name
13 years ago
Aron Ahmadia
cf0254bc31
Finalizing fixes to MathJax enhancements
...
* Cell.prototype.typeset functionality restored
* MathJax configuration files back in .js, delayedStartup
* Renamed HUB to hub
* Removed vestigial comment
* Restored Markdown Cell placeholder render functionality
13 years ago
Aron Ahmadia
5863b6fd7f
undid unique ids, used jQuery
13 years ago
Aron Ahmadia
4620ce8348
Remove Equation References/Numbering, Fix Bugs
...
Equation References and Numbering are not going to be trivial to add,
so the code has been removed for now. Important fixes include
no-MathJax support (previously, the code was failing), and the
generation of unique ids for the rendering content in each cell,
tremendously speeding up MathJax rendering.
I am still not rendering placeholder text.
13 years ago
Aron Ahmadia
12c661f761
Improved MathJax, missing callback workaround
...
MathJax.InputJax.TeX.resetEquationNumbers is supposed to be available,
but isn't consistently loaded before the notebook fires off its first
re-render request. The code edits in mathjaxutils.js fix this issue.
Additionally, there was some init code in mathjaxutils.js that has been
properly excised to the html templates.
Removed some orphan rendering code so that all typesetting now goes
through mathjaxutils.js
Finally, removed an extra cell in the demo notebook.
13 years ago
Bussonnier Matthias
eba9044f2e
Merge pull request #2464 from iguananaut/nb-out-links
...
Locate URLs in notebook text output and convert them to hyperlinks.
13 years ago
Bussonnier Matthias
fcad4a3f2c
Merge pull request #2498 from Carreau/fixes2487
...
Don't catch tab press when something selected
allow to indent with 'tab' in some cases.
13 years ago
Paul Ivanov
b96b4689ed
added on-hover descriptions of the new menu items
13 years ago
Paul Ivanov
2949cd5787
fine-grained notebook 'run' controls, closes #2521
...
This adds "Run All Above" and "Run All Below" menu items to Cell thanks
to @Carreau for the implementation suggestion
13 years ago