Brian Granger
ccc5aa04b2
Added cell level cut/copy/paste.
15 years ago
Brian Granger
eef6d192e4
Created new print view for notebook printing.
15 years ago
Brian Granger
76f500b3c3
Improving the save notification.
...
* Added last saved with time/date display.
* Reimplemented save widget status updates.
15 years ago
Brian Granger
10a76e8537
Solid first go at jquery-ui based menus.
15 years ago
Brian Granger
b3de72087c
Minor fixes to the menu shortcuts.
15 years ago
Brian Granger
be8f252e78
Finishing work on "Make a Copy" functionality.
15 years ago
Brian Granger
8cd495c38f
Beginning work on notebook duplication.
15 years ago
Brian Granger
52a2600c87
Improved notebook renaming.
...
There is not a rename dialog that is available in the File menu and
when you click on the notebook name.
15 years ago
Brian Granger
b010d14f58
Cleaning up menu code.
...
* QuickHelp button has been removed in favor of a Help menu item.
* Keyboard shortcuts are now in the menus.
* Numerous fixes to subtle aspects of the wijmenu implementation.
15 years ago
Brian Granger
33f5cea94b
Implemented menu based UI using Wijmo.
15 years ago
Brian Granger
e4489da763
Initial work to add Wijmo based menu.
15 years ago
MinRK
ba5e2538b5
use absolute URLs for static files
15 years ago
Stefan van der Walt
6a8a66fa8b
Correctly set read_only meta name for use in javascript. Note that this has a different meaning than in the Python code: not whether the read-only flag was specified upon launch, but whether the notebook is in read-only mode and input should be disabled.
15 years ago
Stefan van der Walt
4476c69984
Hide top login/logout buttons on login/logout pages.
15 years ago
Stefan van der Walt
52a2f081fe
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
15 years ago
Stefan van der Walt
3bf57a7f5d
Improve three-state read-only logic.
15 years ago
Stefan van der Walt
23ff0c2f88
On the login page, focus on the password field.
15 years ago
Stefan van der Walt
06d34fea72
Redirect to front page upon read-only logout.
15 years ago
Stefan van der Walt
ec89b7c98b
Display login button in read-only mode.
15 years ago
MinRK
6947e47822
Merge PR #1132
...
Improve read-only style
closes #1132
15 years ago
Matthias BUSSONNIER
c6457428c8
notebook : update logo
...
Change Notebook logo to IP[y]:Notebook
Make it clickable to return to the dashboard
Thanks to @MinRK for the css.
closes #607
png logo is 48px high (2x display), for balance of
browser display / zoomed appearance.
15 years ago
Matthias BUSSONNIER
16946ef7bb
unhide on not read-only instead of inverse
15 years ago
Min RK
b6bb3c8c7a
Merge pull request #1077 from minrk/nb
...
allow the notebook to run without MathJax
adds --no-mathjax flag for disabling mathjax, and moves the mathjax URL decision to the server from the browser.
closes #1071
15 years ago
MinRK
26416b6d2d
make 'time before tooltip' style more consistent
15 years ago
Matthias BUSSONNIER
057c304162
notebook: config section UI
...
Polish config section appearence in left pannel, elements alignement, time units...
15 years ago
MinRK
72fb49b7c7
adjust missing mathjax handling per review
...
* use jQuery syntax to construct dialog
* server determines where MathJax comes from via mathjax_url configurable (default local/CDN priority unchanged)
15 years ago
MinRK
36024bcf83
allow the notebook to run without MathJax
...
* add `--no-mathjax` flag for disabling mathjax in the notebook server
* A jQuery dialog with our 'no mathjax' message will appear if mathjax is unavailable, but the notebook will be fully functional after dismissal.
* Various calls to MathJax.Hub.typeset moved to Cell.typeset, which checks for MathJax existence and is a no-op without it.
closes #1071
15 years ago
Matthias BUSSONNIER
558c4cab8e
fix timebeforetooltip span and css
15 years ago
Matthias BUSSONNIER
7600221d1c
smart kwarg completion
...
change order of completion element so that the ones ending with '='
will be at the beginning of the list. When you complete inside a
fonction call, you then have kwargs first add configuration in the left
pannel
15 years ago
Matthias BUSSONNIER
2637d3c0e4
Make the time before activating a tooltip configurable
...
add a section in the left pannel of the notebook to make the time before
triggering a tooltip when pressign "(" configurable. Negative values will
disable the tooltip (comparaison at each keypress for now, but can be
improved) The syle of the <input> field should be a little improve, why not
a slider with jquerry
15 years ago
Matthias BUSSONNIER
6c86474bdb
Improve tooltip tringgering,make it configurable
...
As until now, when pressing tab and a white space was preceding the cursor
The completion was triggerd with the whole namespace in it. Now if a
whitespace or an opening bracket is just befor the cursor it will try to
display a tooltip. The logic to find what object_info_request is send have
been sightly changed to try to match the expression just before the last
unmached openig bracket before the cursor (without considering what is
after the cursor).
example (_|_ represent the cursor):
>>> his_|_<tab> # completion
>>> hist(_|_<tab> # tooltip on hist
>>> hist(rand(20),bins=range(_|_ <tab> #tooltip on range
>>> hist(rand(20),bins=range(10), _|_ <tab> # tooltip on hist (whitespace before cursor)
>>> hist(rand(20),bins=range(10),_|_ <tab> # completion
as we dont care of what is after the cursor:
>>> hist(rand(5000), bins=50, _|_orientaion='horizontal') # and tab, equivalent to
>>> hist(rand(5000), bins=50, _|_<tab> # onte the space again
>>> hist(_|_rand(5000), bins=50, orientaion='horizontal') # and tab, equivalent to
>>> hist(_|_
the 4 give tooltip on hist
note that you can get tooltip on things that aren't function by appending a
'(' like
>>> matplotlib(<tab>
Which is kinda weird... so we might want to bound another shortcut for
tooltip, but which matches without bracket...
additionnaly I have added a "Config" pannel in the left pannel with a checkbox
bind to wether or not activate this functionnality
Note, (rebase and edited commit, might not work perfetly xwithout the following ones)
15 years ago
Stefan van der Walt
9488b364fc
Hide logout button on unauthenticated notebook.
15 years ago
Stefan van der Walt
d031f2b359
Only show logout button if logged in.
15 years ago
Stefan van der Walt
0a41777a8d
Add info, error and warning message boxes.
15 years ago
Stefan van der Walt
3b6c151b72
Add logout button.
15 years ago
Stefan van der Walt
c4b7ee1a75
Use template inheritance.
15 years ago
Stefan van der Walt
15520ba820
Notify user about invalid password.
15 years ago
MinRK
65a6cb3b1c
move read_only flag to page-level
...
contents of LPanel are not drawn until after collapse
read_only is in a <meta> tag
15 years ago
MinRK
a6de5947de
add read-only view for notebooks
...
When using a password, read-only mode allows unauthenticated users
read-only access to notebooks. Editing, execution, etc. are not
allowed in read-only mode, but save/print functions are available.
No kernels are started until an authenticated user opens a notebook.
15 years ago
MinRK
89f11475da
dashboard page title -> IPython Dashboard
15 years ago
MinRK
76650e316d
Restore kernel status to header
15 years ago
MinRK
30c45c517d
fix Cell->Help header typo
15 years ago
MinRK
9be2911296
style Sign In button with jQuery
15 years ago
Brian E. Granger
9b945e7bc2
Added kill_kernel to notebook template.
15 years ago
MinRK
6c5f69e97a
Moving status widget to Kernel section of L panel.
15 years ago
Brian E. Granger
05729f7c0c
Further cleanup and renaming of notebook.
15 years ago
Brian E. Granger
2318fe4ef5
Renaming things in the notebook.
...
* nbbrowser -> projectdashboard.
* Getting rid of underscores on .js filenames.
15 years ago
Brian E. Granger
ae37e2fe2c
Simplifying logic on login page.
15 years ago
Brian E. Granger
1f699c8c23
Further work updating JS URL scheme to use data-base-project-url.
15 years ago
Brian E. Granger
36e15cb5c2
Adding data-project to the body data attribs.
15 years ago
Brian E. Granger
c900979a80
Misc changes to the notebook.
...
* IPythonNotebookApp->NotebookApp.
* Cleaned up html templates of unused stylesheets.
15 years ago
MinRK
4f26dae311
don't present meaningless username option in notebook
...
username isn't used for anything other than hash input
for authentication, so remove the field in the login form
and just use a uuid.
15 years ago
Brian E. Granger
66d5c9f8a6
Adding base_project_url and base_kernel_url as HTML data attribs.
...
* Also saving the notebook_id using that as well.
15 years ago
MinRK
033c9d9848
Add tooltips to the notebook via 'title' attr.
...
All buttons, show/hide clickable areas, etc. should have some tooltip describing
what they do. There are jQuery plugins for enhanced tooltips, but this gets
the lightest version working.
closes #436
15 years ago
Fernando Perez
781c5ad281
Underline quick help button key accelerator (h).
15 years ago
MinRK
53d10a61ab
fix quickhelp widget
...
Move header.js -> quickhelp.js, as it not longer acts on whole header.
15 years ago
Fernando Perez
1a109765b8
Clean up accidentally introduced hard tabs in JS code.
15 years ago
Fernando Perez
e9d744f06c
Add quick help button: broken ATM, style and binding aren't working.
...
Help needed here, will discuss during pull request before merging.
15 years ago
Fernando Perez
e41ba5a75c
Refactor line num. toggle into proper function, access via C-m-l.
...
This makes the keybinding consistent with the rest, updated help dialog.
15 years ago
Fernando Perez
13377a2d23
Merge branch 'carreau-mathjax-warning'
...
Warn user if MathJax can't be fetched from notebook
Closes #744 .
15 years ago
Fernando Perez
87462b4259
Minor fixes to text and formatting of error message.
15 years ago
Matthias BUSSONNIER
85ea4222fb
Hide warning message about matjax when page load
...
also fix Matjax->MathJax
15 years ago
Matthias BUSSONNIER
b05d2c21a9
Matjax Warning message improvement.
...
merge '<script>' balises.
Improve message text and style.
Remove instead of hide
15 years ago
Matthias BUSSONNIER
4d5e605082
Warn user if MathJax can't be fetched from notebook
...
closes #744
15 years ago
Fernando Perez
b8bab4a051
Update templates to new directory name for codemirror.
15 years ago
MinRK
152fe1b6f1
Authenticate all notebook requests (except websockets)
...
* BaseHandler renamed AuthenticatedHandler
* also clears cookies if invalid, to prevent repeated 'Invalid cookie signature' warning messages.
15 years ago
MinRK
dbfe19f6e2
notebook auth adjustments
...
* keyword -> password
* removed password alias
* add login.html as template
* new cookie key for each Server instance
15 years ago
Brian E. Granger
c2df8a9005
Merge branch 'mathjax' of https://github.com/minrk/ipython into minrk-mathjax
15 years ago
MinRK
ba1df9be55
underline keyboard shortcut letter on buttons
15 years ago
Stefan van der Walt
3a8811e115
Add code highlighting to markdown cells.
15 years ago
MinRK
638bc02a8f
update notebook template to prefer offline mathjax
15 years ago
Brian E. Granger
cf0c66fe4e
Adding keyboard shortcut help dialog.
15 years ago
Brian E. Granger
5cb8bb1f27
Reorganize the L panel buttons.
15 years ago
Brian E. Granger
ab384fc787
Cell collapse/expand is not called "Toggle".
15 years ago
Brian E. Granger
133b96d086
Changing CodeMirror-scroll to overflow-y: hidden.
...
* It seems that our old setting of visible was causing scroll bars
to appear if font sizes change in Chrome.
* Also changed json -> xml in Download UI.
15 years ago
Brian E. Granger
0784df1b9d
Making JSON the default .ipynb format.
15 years ago
Brian E. Granger
8f149a2623
Help links work on Firefox.
15 years ago
Brian E. Granger
1d43249604
Adding page break logic to the print css.
...
* I have added page-break-inside logic to div.input and
div.output_area.
* Fixed a bug in CodeCell that was putting the output_area class
on the wrong div.
15 years ago
Brian E. Granger
69d2e18f7a
Merge branch 'htmlnotebook_publish' of https://github.com/stefanv/ipython into stefanv-htmlnotebook_publish
15 years ago
Stefan van der Walt
823124215c
Refactor static printing.
15 years ago
Brian E. Granger
cff986a539
Removed HTMLCell from UI and added better placeholder logic.
15 years ago
Stefan van der Walt
201999642f
Implement static publishing of HTML notebook.
15 years ago
Brian E. Granger
a086fc6d83
I like ClearAll better than Clr All.
15 years ago
Brian E. Granger
c7a12effa1
Export works with filenames having spaces.
...
* The fix was to put the filename in double quotes in the
Content-Disposition header.
* Export As/Clear All have been renamed to Export and Clr All
15 years ago
Brian E. Granger
b264e21a6d
Clear all output is implemented.
15 years ago
Brian E. Granger
3db421fb73
Autoindentation fixed and enabled by default.
15 years ago
Brian E. Granger
8a55d6bf22
Adding minor help strings for keyboard shortcuts.
15 years ago
Brian E. Granger
a70cbfc382
Implemented smart autoindenting.
15 years ago
Brian Granger
c56f76980e
Reordering Export button and renaming Export->Export As
15 years ago
Brian Granger
f90b5761a2
Refactoring of text/markdown/rst/html cells.
15 years ago
Brian E. Granger
81a1099f87
Starting work on a Markdown cell.
15 years ago
Brian E. Granger
b62857f151
Fixing HTML cell syntax highlighting.
15 years ago
Brian E. Granger
b7bcdabc9a
Updating CodeMirror to v 2.12.
...
For now I am keeping the old codemirror2 directory in here until
we finish debugging the new version.
15 years ago
Brian E. Granger
9964704b73
New HTMl cell working with CodeMirror editing.
15 years ago
Brian E. Granger
188e6271e1
Using beforeunload to save at exit and kill the kernel.
15 years ago
Brian E. Granger
458c48b229
File upload/import working from notebook browser.
15 years ago
Brian E. Granger
c106630a2f
Implemented basic notebook browser and fixed numerous bugs.
15 years ago
Brian E. Granger
b11824ef1b
Massive work on the notebook document format.
...
* Finished nbformat work and debugged the versioning API.
* Integrated the nbformat with the notebook. Save/New/Open/Export
are all now working.
15 years ago
Brian E. Granger
5fb6787570
Work on save widget, kernel status widget and notebook section.
15 years ago
Brian E. Granger
41e20d3f3e
Minors fixes and initial work on save widget.
...
* Fixed width of buttons in left panel.
* Started to create a save widget for the header.
15 years ago
Brian E. Granger
60a89580ea
Help section implemented and working.
15 years ago
Brian E. Granger
3db8ae6073
Initial draft of panel section and the cell section working.
15 years ago
Brian E. Granger
c538958f71
Left panel is now working.
15 years ago
Brian E. Granger
4e0dd9ddbb
Pager is working again.
15 years ago
Brian E. Granger
9efad482a9
More work updating the notebook to use dynamics resizing.
15 years ago
Brian Granger
122b449011
Updating jQuery to 1.6.2 and jQuery UI to 1.8.14.
...
I have also added a focus.html files for testing focus related
events.
15 years ago
Brian E. Granger
b46517689b
Refactoring pager into its own class.
15 years ago
Brian E. Granger
68091df3f1
Initial payload handling.
...
* Syntax highlighting fixed for things like "math?".
* Basic pager is working.
15 years ago
Brian E. Granger
d99e820c94
Starting to refactor the notebook layout
15 years ago
Brian E. Granger
d9cf4fa390
Updating main notebook template to use split scripts.
15 years ago
Brian Granger
6a8c7da009
CodeMirror code editing added.
...
* codemirror2 repo has been added to IPython.
* Custom coloring used to match the qtconsole.
15 years ago
Brian Granger
2f9f482a6c
General CSS cleanup.
...
* Created layout.css for common layout related mixins.
* monospace is the default font for now.
15 years ago
Brian Granger
c7dbb124f2
Updating notebook examples, and notebook js/html.
15 years ago
Brian Granger
a24e75c2a2
Adding logic to look for CDN version of MathJax and fallback to local.
15 years ago
Brian Granger
3b5f4b3dbe
Fixes to the latex rendering by adjusting the MathJax config.
15 years ago
Brian Granger
6e36522cdf
Initial latex printing for sympy and fixes to autogrow.
15 years ago
Brian Granger
005820c005
Basic notebook saving and loading.
...
* The logic in the server and javascript frontend is there for
a basic JSON notebook format with a .ipynb extension.
* To save a new notebook: "%notebook save filename.ipynb"
* To save a notebook that is already saved: "%notebook save"
* To load a notebook from the cwd: "notebook load filename.ipynb"
15 years ago
Brian Granger
ffc2dffeca
Tweaking and cleanup of notebook.css.
...
* Adjusted font sizes for improved readability.
* Got rid of unused css attributes and styles.
* Changed font of Title to Verdana.
15 years ago
Brian Granger
d8ca0d5d5b
Fixes to notebook scrolling and layout.
...
We are now using the flexible box model, so the layout won't work
on IE9, but it already doesn't work on IE9 because of WS support.
15 years ago
Brian Granger
a5c3132665
Status monitoring added to notebook.
...
* Busy == red
* Idle == gray
* Restarting == black
15 years ago
Brian Granger
a589310431
Interrupt and restart work for kernels.
15 years ago
Brian Granger
00b857165e
Fixing main toolbar area and cleaning up jquery themes.
15 years ago
Brian Granger
d0f883af9d
Initial template for notebook browser.
15 years ago
Brian Granger
910d129f14
Server side of file based notebook store implemented.
15 years ago
Brian Granger
96cb3a8982
Initial reply handling implemented along with css fixes.
15 years ago
Brian Granger
360b6bf6ab
Initial draft of HTML5/JS/CSS3 notebook.
15 years ago