KesterTong
077ba397c1
Removes unnecessary parameter from 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
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
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
Thomas Kluyver
65e664b143
Add list of available terminals in the dashboard
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.
11 years ago
Jeffrey Bush
f141a6926a
File list refreshes no longer move the upload filename boxes.
...
The new file list is always placed after the upload filename boxes. I also removed the autorefresh guards against refreshing while having an upload box since this is no longer a problem.
12 years ago
Jeffrey Bush
1f68e22486
Fixed many edge cases in file uploads.
...
When there is an error reading a file, a message is shown (I could reproduce this easily by dragging a folder onto the list), added a missing "return false;" after an illegal notebook was detected, and we prevent no-name files and files starting with dots (which will not be visible in dashboard and automatically overwritten).
12 years ago
Jeffrey Bush
305c734830
Uploading a file with a name that already exists asks the user if they want to overwrite.
...
This is not perfect (it doesn't check against the real filesystem but the current list in the browser which may be stale) but it is better than nothing.
12 years ago
Jeffrey Bush
5fff038965
Added ESC keep to upload textbox to cancel.
12 years ago
Jeffrey Bush
defabcc772
Minor improvements to file upload.
...
Updated file upload so that the icon of the new upload item reflects if it is a file or notebook, added the ability to use the "Enter" key in the filename text box to cause the upload to happen, and make it so that the list of files refreshes immediately upon successful upload.
12 years ago
MinRK
3e79eea46b
update contents per further review
...
- fix is_hidden always returning True on nonexistent files
- create hidden dir fails with 400
- don't read binary files twice
- logging improvements
- dialog on invalid notebook upload
- warn about disabled `--save`
12 years ago
MinRK
fb89646a29
various upload fixes
...
- recognize 201 as success (dataType must not be 'json')
- support uploading non-notebook files (b64-encoded)
12 years ago
MinRK
3c26b079f0
updates per review
...
- clarified docstrings and errors
- still more notebook/file renames
- configurable untitled names
- copy_from can be full path
- fix running, upload, new-tab behaviors in dashboard
Yay, review!
12 years ago
MinRK
3674958b70
teach tree view about non-notebook files
12 years ago
MinRK
0c0eb43719
teach contents service about non-notebook files
12 years ago
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
12 years ago
Matthias BUSSONNIER
70eb95d04c
remove call to jquery-ui useless button()
12 years ago
Matthias BUSSONNIER
36e3f20d5e
fix some font-awesoem 4 icons
12 years ago
Thomas Spura
8a9dcd219d
Port to fontawesome4
12 years ago
MinRK
11193d4790
move some responsive bootstrap transitions
...
- `-md-` puts the transition at 970px
- `-sm-` puts the transition at 768px
I moved most of the `md` transitions to `sm`,
which seems more reasonable.
I also moved the cluster list to `xs` because
the columns will never be wider than a dozen or so characters.
12 years ago
MinRK
9ff7d264ab
note loaded, unused dependencies in require
12 years ago
MinRK
4097da724b
preserve backward-compatible $([IPython.events])
12 years ago
Jason Grout
abf86d5324
Trigger app_initialized event *after* the 'global' IPython object is initialized
12 years ago
MinRK
b1291df14a
return global events from require(['base/js/events']).
...
In master, it is impossible to load code on IPython events without setting timeouts.
12 years ago
Min RK
2fe0687097
Merge pull request #6149 from jasongrout/less-upgrade
...
Less upgrade
12 years ago
MinRK
d345546d15
add bootstrap shim for require
...
it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
12 years ago
MinRK
112c4083e9
add comments for style blocks in less
...
separates each component into individual line in compiled css,
reducing some churn in minified css files.
12 years ago
jon
70ffd96eb9
Added some nice comments,
...
so devs can easily figure out what options to pass
into the objects they want to construct.
12 years ago
jon
d9ab2d203a
In person review with @ellisonbg
12 years ago
jon
1e098560b8
Revert "Google hangout review comments."
...
This reverts commit 4e120e76014b2630f957c01d17ba3926d4848872.
12 years ago
Jonathan Frederic
eb2b1ab4a4
Google hangout review comments.
12 years ago
Jonathan Frederic
2ba8945cab
Fix all the bugs!
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0edfdbc703
Return dicts instead of classes,
...
this makes require.js more Python import like.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
152e23dc76
Progress...
12 years ago
Jonathan Frederic
e6b7cc9ff9
Fixed events
12 years ago
Jonathan Frederic
9bfe5fc06c
Use ipython namepsace for instances.
12 years ago
Jonathan Frederic
b1c8d2662c
Finished making tree.html requirejs friendly
12 years ago
Jonathan Frederic
9f4a03ce79
Started work to make tree requirejs friendly.
12 years ago
Jean-Christophe Jaskula
9c2c680e8f
Creating an entry point for notebook manager extensions
...
- Firing app_initialized.DashboardApp event when loaded the notebook manager
- Updating tree.html template to load nbextensions through custom.js
12 years ago
Jonathan Frederic
83eee97e95
Review comments
12 years ago
Jonathan Frederic
616bdcee81
Make maintoolbar select dropdowns look nice
12 years ago
Jonathan Frederic
22c94ab404
Lots of small alignment tweaks to get Bootstrap3 looking better
12 years ago
Jonathan Frederic
697cc58655
Change the nav bar to nav-pills
12 years ago
Jonathan Frederic
0689830c4b
Fixes to make spinners in cluster list display correctly.
12 years ago
Jonathan Frederic
0483bb2ed8
Fixed cluster list.
12 years ago
Jonathan Frederic
3635272119
Removed margin from row element
12 years ago
Jonathan Frederic
329a387f4f
Fix automation errors.
12 years ago
Jonathan Frederic
d88daf1bb7
Ran jdfreder/bootstrap2to3
12 years ago
MinRK
0a143e716e
dialog on New Notebook failure
12 years ago
MinRK
82964a09c2
log all failed ajax API requests
12 years ago
Paul Ivanov
ae8c7c8c6e
Merge pull request #5584 from ivanov/more-semantic-icons
...
more semantic icons
12 years ago
Paul Ivanov
0c3e4acb75
use folder-close-alt without highlighting
...
discussion of this happened in #5584
12 years ago
Paul Ivanov
0a4473a2fa
book icon for notebooks, color folders differently
...
This allows us to use the generic file icon for text files, etc, down
the line.
12 years ago
Paul Ivanov
3e6492dafd
use fixed-width icons, closes #5555
12 years ago
Paul Ivanov
39c1346805
more semantic icons
12 years ago
Jonathan Frederic
6ed0bf975b
Don't remove upload items unless explicitly requested.
12 years ago
Paul Ivanov
938f4bdfc4
small whitespace cleanup, renamed drag_info
...
in the dashboard, I've renamed drag_info to notebook_list_info, so
applying style to notebook_list_info and running_list_info can be done
in one place.
12 years ago
Paul Ivanov
eb4e674598
remove redundant checks in code
12 years ago
Paul Ivanov
14239c01e4
use explicit running header name + jquery's toggle
12 years ago
Paul Ivanov
b74b10e308
added IPython.session_list
...
before this, kernel_list and notebook_list each fetched and held onto
their own copy of the sessions.
12 years ago
Paul Ivanov
a2b9c75e93
don't double-join the notebook path
12 years ago
Paul Ivanov
a27168ae3b
refresh of Notebook list should reload sessions
12 years ago
Paul Ivanov
af90cd8c62
fix typo in method name
12 years ago
Paul Ivanov
cb1bb62272
ok, Running tab is working now
12 years ago
Paul Ivanov
3b109de563
minimal KernelList
12 years ago
MinRK
a93040e810
s/get_data/get_body_data/
12 years ago
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
12 years ago
MinRK
13fc9022d9
various unicode fixes
...
- remove notebookPath, notebookName, and baseProjectUrl methods everywhere
- use base_project_url *attributes* instead
- we should never use escaped URLs except when making an actual request
Should fix issues with double-escaping
12 years ago
Brian E. Granger
7ab69652ea
Breadcrumb home icon.
12 years ago
MinRK
e0a7793226
don't strip '.ipynb' from notebook names in nblist
...
The only place the extension is not wanted is editing a name during upload.
Everywhere else, it's actually wanted.
12 years ago
Brian E. Granger
9f9fe08f0f
Cleaning up the dashboard CSS and fixing small visual problems.
12 years ago
Brian E. Granger
dd126fce6d
Tighten spacing of dashboard.
12 years ago
Brian E. Granger
e6c0e462ac
Taking it down to 3px.
12 years ago
Brian E. Granger
2df5c0b7d1
Adding btn-danger to Shutdown button.
12 years ago
Brian E. Granger
58a3daba5c
Tighten up vertical spacing of notebook list.
12 years ago
Brian E. Granger
775ebc72e0
Update styling of dashboard.
12 years ago
Brian E. Granger
86ba08213f
Add directory browsing to the dashboard.
12 years ago
Brian E. Granger
a3ef3109db
Server side logic for directories.
12 years ago
Brian E. Granger
d21258bbcc
Reset file upload form after an upload.
12 years ago
Brian E. Granger
9fbeaa1e37
Properly set uploaded notebook path.
12 years ago
Matthias BUSSONNIER
149867e74c
some $.html( -> $.text(
...
Thoses that are obvious and easy to fix.
we shoudl have I think a travis test that grep for .html( and return
less than 20 lines :-)
12 years ago
MinRK
3ad0072c9e
make sure to encode URL components for API requests
...
notebook names can have spaces, hashes, other special characters.
12 years ago
Matthias BUSSONNIER
79f1edc5e9
fix notebook upload
...
pythonnism + PUT instead of POST
12 years ago
MinRK
5a60141bed
use splitext in notebook_list
...
fixes case where notebooks with '.' in name were misrendered
12 years ago
Brian E. Granger
9c42ca8a72
Fully removing .py file upload.
...
In the future all uploads should just use the contents web service
and we should support any type of file.
12 years ago
MinRK
8b94ee2b47
use `async : false` to avoid pop-up blocker on New / Copy notebook
12 years ago
MinRK
b33ffa7068
update upload and copy
...
adds 'notebook.ipynb/copy' url handler
because we were putting too many things in a single POST handler.
12 years ago
MinRK
4e12521082
fix dashboard upload
12 years ago
MinRK
d1e0aded7d
mixup notebook_list
12 years ago
MinRK
40f577b538
add utils.url_path_join
...
javascript equivalent of Python-side function.
12 years ago
Zachary Sailer
da58c8c470
Fixed session js ajax request.
...
Session was not creating a kernel object on the client side,
after the server created successfully created a session.
12 years ago
Zachary Sailer
04c6a3cfac
refactoring of nbmanager and filenbmanager
...
major clean up of the two managers. We make sure to follow
the standard models described in IPEP 16
12 years ago
Zachary Sailer
34b9840786
fixing broken links from recent changes.
...
After fixing operating system path changes in previous commits,
many links needed to be adjusted to direct to the correct URL.
12 years ago
Zachary Sailer
f3af343f4f
Change new/copy URLS to POST requests
12 years ago
Zachary Sailer
a74b9a018b
removed '/new' URL and added POST notebook request
12 years ago
Zachary Sailer
8261ac2cb9
change standard money keys
12 years ago
Zachary Sailer
1b2e41eea4
path with spaces completely fixed
12 years ago
Zachary Sailer
eb1690255d
allow spaces in notebook path
12 years ago
Zachary Sailer
ece92127d3
Add 'patch' to session & notebook, rename working
12 years ago
Zachary Sailer
e4a7b724a6
fixed shutdown button refresh on dashboard
12 years ago
Zachary Sailer
d41544865a
fix kill_and_exit button in notebook
12 years ago
Zachary Sailer
324370de53
delete debug comment
12 years ago
Zachary Sailer
11cef9ab45
fixing some bugs after rebase
12 years ago
Zachary Sailer
afb0d571f4
manual rebase static/tree/
12 years ago
Brian E. Granger
7ccb1bbc8a
Merge pull request #4154 from ellisonbg/mathstyle
...
Center LaTeX and figures in markdown
12 years ago
Brian E. Granger
3edfec77c3
Fixing line-height of list items in tree view.
13 years ago
Brian E. Granger
b78b79c7cc
Fixing less @import paths in auth/base/tree.
...
These paths were problematic for --NotebookApp.use_less=True mode.
13 years ago
MinRK
f9dd129e1c
remove notebook read-only view
...
it is largely broken, and had problematic security issues.
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago