Commit Graph

107 Commits

Author SHA1 Message Date
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.
2014-08-13 23:58:20 -07:00
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).
2014-08-13 22:55:53 -07:00
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.
2014-08-13 22:07:57 -07:00
Jeffrey Bush
5fff038965 Added ESC keep to upload textbox to cancel. 2014-08-13 20:57:35 -07:00
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.
2014-08-13 17:16:05 -07:00
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`
2014-07-31 11:57:38 -07:00
MinRK
fb89646a29 various upload fixes
- recognize 201 as success (dataType must not be 'json')
- support uploading non-notebook files (b64-encoded)
2014-07-31 11:57:38 -07:00
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!
2014-07-31 11:57:38 -07:00
MinRK
3674958b70 teach tree view about non-notebook files 2014-07-31 11:57:36 -07:00
MinRK
0c0eb43719 teach contents service about non-notebook files 2014-07-31 11:57:36 -07:00
MinRK
6cce477e07 rename notebooks service to contents service
minimal functional changes, committing because tests are passing.
2014-07-31 11:57:36 -07:00
Matthias BUSSONNIER
70eb95d04c remove call to jquery-ui useless button() 2014-07-28 21:43:58 +02:00
Matthias BUSSONNIER
36e3f20d5e fix some font-awesoem 4 icons 2014-07-27 15:33:09 +02:00
Thomas Spura
8a9dcd219d Port to fontawesome4 2014-07-27 14:52:03 +02:00
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.
2014-07-24 13:02:30 -07:00
MinRK
9ff7d264ab note loaded, unused dependencies in require 2014-07-23 11:06:01 -07:00
MinRK
4097da724b preserve backward-compatible $([IPython.events]) 2014-07-23 11:05:36 -07:00
Jason Grout
abf86d5324 Trigger app_initialized event *after* the 'global' IPython object is initialized 2014-07-23 11:05:34 -07:00
MinRK
b1291df14a return global events from require(['base/js/events']).
In master, it is impossible to load code on IPython events without setting timeouts.
2014-07-23 11:05:06 -07:00
Min RK
2fe0687097 Merge pull request #6149 from jasongrout/less-upgrade
Less upgrade
2014-07-23 10:06:42 -07:00
MinRK
d345546d15 add bootstrap shim for require
it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
2014-07-22 15:53:16 -07:00
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.
2014-07-22 14:46:59 +00:00
jon
70ffd96eb9 Added some nice comments,
so devs can easily figure out what options to pass
into the objects they want to construct.
2014-07-10 15:47:23 -05:00
jon
d9ab2d203a In person review with @ellisonbg 2014-07-10 15:47:23 -05:00
jon
1e098560b8 Revert "Google hangout review comments."
This reverts commit 4e120e76014b2630f957c01d17ba3926d4848872.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
eb2b1ab4a4 Google hangout review comments. 2014-07-10 15:47:22 -05:00
Jonathan Frederic
2ba8945cab Fix all the bugs! 2014-07-10 15:47:22 -05:00
Jonathan Frederic
c7961ae2db Fix imports of "modules",
required after converting everything into dictionary returns.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
0edfdbc703 Return dicts instead of classes,
this makes require.js more Python import like.
2014-07-10 15:47:22 -05:00
Jonathan Frederic
0e9e1dd5a3 MWE,
Fixed LOTS of bugs
2014-07-10 15:47:22 -05:00
Jonathan Frederic
516958ac07 Almost done!
Still need to check IPython uses in the widgets.
2014-07-10 15:26:25 -05:00
Jonathan Frederic
152e23dc76 Progress... 2014-07-10 15:25:09 -05:00
Jonathan Frederic
e6b7cc9ff9 Fixed events 2014-07-10 15:25:09 -05:00
Jonathan Frederic
9bfe5fc06c Use ipython namepsace for instances. 2014-07-10 15:25:09 -05:00
Jonathan Frederic
b1c8d2662c Finished making tree.html requirejs friendly 2014-07-10 15:25:08 -05:00
Jonathan Frederic
9f4a03ce79 Started work to make tree requirejs friendly. 2014-07-10 15:25:08 -05:00
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
2014-06-24 15:03:29 -04:00
Jonathan Frederic
83eee97e95 Review comments 2014-06-09 12:05:40 -07:00
Jonathan Frederic
616bdcee81 Make maintoolbar select dropdowns look nice 2014-06-09 12:05:39 -07:00
Jonathan Frederic
22c94ab404 Lots of small alignment tweaks to get Bootstrap3 looking better 2014-06-09 12:05:38 -07:00
Jonathan Frederic
697cc58655 Change the nav bar to nav-pills 2014-06-09 12:05:37 -07:00
Jonathan Frederic
0689830c4b Fixes to make spinners in cluster list display correctly. 2014-06-09 12:05:37 -07:00
Jonathan Frederic
0483bb2ed8 Fixed cluster list. 2014-06-09 12:05:37 -07:00
Jonathan Frederic
3635272119 Removed margin from row element 2014-06-09 12:05:37 -07:00
Jonathan Frederic
329a387f4f Fix automation errors. 2014-06-09 12:05:37 -07:00
Jonathan Frederic
d88daf1bb7 Ran jdfreder/bootstrap2to3 2014-06-09 12:05:37 -07:00
MinRK
0a143e716e dialog on New Notebook failure 2014-04-23 13:22:36 -07:00
MinRK
82964a09c2 log all failed ajax API requests 2014-04-23 13:17:50 -07:00
Paul Ivanov
ae8c7c8c6e Merge pull request #5584 from ivanov/more-semantic-icons
more semantic icons
2014-04-17 13:44:02 -07:00
Paul Ivanov
0c3e4acb75 use folder-close-alt without highlighting
discussion of this happened in #5584
2014-04-17 12:15:10 -07:00