10043 Commits

Author SHA1 Message Date
Grant Nestor
532a66b99a Display "move" cursor within modal header 2017-01-26 13:44:19 -08:00
Grant Nestor
1088371e14 Merge pull request #5 from ivanov/draggable-dialog
drag modal dialogs by the header only
2017-01-26 13:30:56 -08:00
Paul Ivanov
74ac1c04e6 drag modal dialogs by the header only
without this, it is not possible to select any text using the mouse in
the contents of the modal. For example: editing the notebook metadata
JSON you end up just moving the whole box around instead of being able
to select a portion of the JSON using the mouse.
2017-01-26 12:31:56 -08:00
Matthias Bussonnier
12688f2a8d show message only on dev 2017-01-26 11:59:26 -08:00
Grant Nestor
3d7f0f2aca Make dialogs draggable 2017-01-25 16:24:17 -08:00
Grant Nestor
acf4fa8ce5 Clean up 2017-01-25 13:47:00 -08:00
Grant Nestor
3cbb5700cc Add test_view_html 2017-01-25 13:47:00 -08:00
Grant Nestor
224294c274 Use /view route for HTML files 2017-01-25 13:46:59 -08:00
Grant Nestor
0034f2a251 Create /view route, handler, and template 2017-01-25 13:46:59 -08:00
Grant Nestor
b7dcae6a56 Update View and Edit conditions
* Edit notebook opens a notebook, Edit any other file type open it in a
text editor
* View only available for HTML files to disambiguate between “viewing”
a notebook or text file (which is the same as editing it) and viewing
an HTML file
2017-01-25 13:46:59 -08:00
Grant Nestor
a7387b8633 Revise https://github.com/jupyter/notebook/pull/1755 2017-01-25 13:46:59 -08:00
Doug Blank
482ea4bb67 Adds edit and view buttons, #1752 2017-01-25 13:46:59 -08:00
Min RK
393a04d1b0 Merge pull request #2066 from jupyter/cm-up
Patch CodeMirror 5.22
2017-01-25 22:39:54 +01:00
Min RK
5721d7cc5b Merge pull request #2073 from minrk/var-contents
declare contents variable
2017-01-25 22:39:32 +01:00
Min RK
83a2e83cf9 declare contents variable
typo introduced in unwebpackification
2017-01-25 20:23:41 +01:00
Grant Nestor
0e38b009f5 Patch CodeMirror after bower install 2017-01-25 19:45:00 +01:00
Min RK
cd47dac0ff Merge pull request #2061 from dkrenn/dkrenn/event-finished-exec
add event for finished execution of cell
2017-01-25 11:01:19 +01:00
Min RK
eb73920cbf Merge pull request #2070 from ivanov/halt-kernel
Add "Shutdown" item to Kernel menu
2017-01-25 11:00:50 +01:00
Paul Ivanov
051e430f98 fix tests
along with a minor whitespace inconsistency introduced in an earlier
commit.
2017-01-24 18:00:38 -08:00
Paul Ivanov
03e410ba61 rename Halt to Shutdown 2017-01-24 17:02:22 -08:00
Paul Ivanov
95790be956 kernel halt confirmation dialog 2017-01-24 16:50:22 -08:00
Daniel Krenn
e3bdb1586c cleanup 2017-01-24 13:17:36 +01:00
Daniel Krenn
540b51e7d0 trigger an event finished_execute.CodeCell 2017-01-24 12:59:34 +01:00
Daniel Krenn
d689ac1a38 trigger an event finished_iopub.Kernel 2017-01-24 12:59:22 +01:00
Thomas Kluyver
f5072cf434 Merge pull request #1827 from minrk/kernel-activity
add activity watching to kernels
2017-01-24 10:54:00 +00:00
Min RK
9cc55801ed codemirror 5.22 2017-01-24 11:42:39 +01:00
Jinesh Mehta
f1a03a7ce3 added welcome message to terminal output on Notebook server app start 2017-01-24 00:54:38 -05:00
Jinesh Mehta
00952c45a7 added welcome message to display in console 2017-01-24 00:27:39 -05:00
Kyle Kelley
f8c41bec1a Merge pull request #2055 from ivanov/faster-testing
speed up casperjs tests
2017-01-21 17:10:35 -06:00
Paul Ivanov
f28382da75 run the slowest tests first on Travis
This should further help with the total elapsed time for running the
test suite on Travis CI.
2017-01-20 18:49:56 -08:00
Paul Ivanov
eb3377cc45 speed up casperjs tests
This code claimed to be required for SlimerJS, but our test suite does
not currently pass on SlimerJS (and does no better or worse without this
code).

With PhantomJS, however, this eliminates a ~10s startup cost for each
file which uses notebook_test, and all of the tests continue to pass.
There are ~40 files using this, the bult of them in the js/notebook
section, which should now run 5-6 minutes faster as a result.
2017-01-20 17:32:53 -08:00
Min RK
dc873f1290 use self.request in status test 2017-01-20 13:08:57 -10:00
Min RK
2a5f8d2e17 add token auth to kernel websocket test 2017-01-20 13:02:49 -10:00
Min RK
75a0d71c28 give the server a second to notice that the websocket closed
because travis is slow
2017-01-20 12:48:05 -10:00
Min RK
32a353378a track REST API activity
add /api/status endpoint for retrieving current status

includes

- started: start time of the server
- last_activity: latest activity across all endpoints
- connections: number of current connections
- kernels: number of current kernels
2017-01-20 12:48:05 -10:00
Min RK
8b76de80be move tz utils to top-level private module ._tz 2017-01-20 12:48:04 -10:00
Min RK
bec396304b add connections to sessions API tests 2017-01-20 12:48:04 -10:00
Min RK
9f55a857f3 use Z isoformat in UTC timestamps
instead of +00:00
2017-01-20 12:48:04 -10:00
Min RK
d45cb2ad80 track active kernel connections 2017-01-20 12:48:04 -10:00
Min RK
b472c55d9b add activity watching to kernels
adds to kernel REST model:

- last_activity: datetime-aware timestamp
- execution_state: from last recorded status message
2017-01-20 12:48:04 -10:00
Vidar Tonaas Fauske
946a4ac0a1 Add fade-out on overflowing tags
The size of the cell toolbar header is fixed, meaning that overflow
needed to be handled. This also styles a fade out, to help indicate to
the user that the content is overflowing.
2017-01-20 15:46:23 +00:00
Vidar Tonaas Fauske
8072084111 Add dialog for managing tags
This also meant some tags functionality needed to be refactored to avoid
multiple entry points for adding and removing tags.
2017-01-20 15:45:20 +00:00
Thomas Kluyver
58c66ef453 Merge pull request #1984 from jasongrout/resize
Rename 'resize' event to 'resizeOutput'
2017-01-20 14:43:44 +00:00
Jason Grout
b4928d481a Change ‘resize’ cell event to ‘resizeOutput’
This addresses the ‘resize’ event bubbling issue mentioned in https://bugs.jquery.com/ticket/9841#comment:8 by not triggering an event that will bubble up to something unrelated.
2017-01-20 09:15:26 -05:00
Vidar Tonaas Fauske
c0abae90fb Split input on whitespace
Don't allow whitespace in tags. Instead split on whitespace, such that
several tags can be added in one go.
2017-01-20 12:50:40 +00:00
Vidar Tonaas Fauske
c49c8ea72a Set dirty flag when changing tags 2017-01-20 12:39:15 +00:00
Vidar Tonaas Fauske
457d86b8b2 Add initial version of tags celltoolbar 2017-01-19 18:28:49 +00:00
Thomas Kluyver
666ecbf35c Merge pull request #2011 from minrk/unwebpack
unwebpackify
2017-01-19 11:17:22 +00:00
Thomas Kluyver
4917ba4d44 Merge pull request #1991 from minrk/template-log-message
remove debug statement about no custom error page template
2017-01-19 11:16:57 +00:00
Min RK
68a514a29d Merge pull request #2033 from vlimant/master
simple overload of passwd_check
2017-01-17 12:36:42 +01:00