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