Commit Graph

442 Commits

Author SHA1 Message Date
Nicholas Bollweg
6a372a4c66 squashing the whitespace changes 2015-01-31 00:02:20 -05:00
Jason Grout
d3bd5ac96a Fix error when overwriting a bad symbolic link installing an nbextension
The unit test fails before this fix and works after this fix.
Basically, if the already-installed symlink is a bad link, .exists()
returns False (so the existing link is not removed), while .lexists()
will return True (so the existing link is removed).
2015-01-28 23:54:24 +00:00
Jason Grout
c93a31ce70 Change install_nbextension to take install only a single nbextension (file, folder, archive, url), with an optional destination argument 2015-01-27 19:18:35 +00:00
Thomas Kluyver
c00eb5973f Merge pull request #7537 from jasongrout/nbextension-custom-dest
Configurable destinations for nbextensions.
2015-01-26 10:53:27 -08:00
Matthias Bussonnier
1ce46a8723 Merge pull request #7481 from minrk/toggle-buttons-indicate
don't set bootstrap toggle on ToggleButtonsWidget
2015-01-25 20:20:53 +01:00
Min RK
99faeddf36 wait for new-notebook button to arrive
before clicking it.

Race condition was causing intermittent test failures.
2015-01-23 15:07:25 -08:00
Jason Grout
009dcf43cf change filename to unicode string 2015-01-22 23:06:18 +00:00
Jason Grout
ad35813576 Make nbextension test a little clearer about the intent. 2015-01-22 22:33:45 +00:00
Jason Grout
9701ce1752 Add some unit tests for the new dictionary syntax for installing nbextensions 2015-01-22 21:49:33 +00:00
Min RK
0dc618102e fix stop-on-error test 2015-01-18 13:23:20 -08:00
Juergen Hasch
eb7d0b7e07 Use stop_on_error instead of skip_exceptions 2015-01-18 13:23:18 -08:00
Juergen Hasch
2f50bf9980 Skip exceptions 2015-01-18 13:22:04 -08:00
Min RK
9d78b0dae6 toggle-buttons test 2015-01-16 17:43:06 -08:00
Min RK
3228719b26 fix highlight test for failed highlighting
not sure how this ever succeeded, but it's failing now
2015-01-10 11:05:45 -08:00
Min RK
f3da69c38d allow system-wide paths for nbextensions
like kernel specs, default install is `/usr/local/share/jupyter/nbextensions`

add `--user` for .ipython/nbextensions path
2015-01-09 14:15:31 -08:00
Matthias Bussonnier
87b7f7599c Merge pull request #7278 from minrk/nb-file-ext
don't enforce .ipynb extension in URLs
2015-01-06 12:42:54 +01:00
Juergen Hasch
5e641876da fix insert_cell_at_index call in tests 2015-01-05 11:21:30 +01:00
Juergen Hasch
2fbf8835e1 fix insert_cell_at_index call in tests 2015-01-05 11:18:41 +01:00
Matthias Bussonnier
4e2dfe2527 Some code cleanup in javascript and python
change patern that are prone to error, like function redifinition
and other.
2014-12-27 21:39:07 +01:00
Jonathan Frederic
09b289d932 Merge pull request #7274 from Carreau/global-command
make global css change on command/edit mode
2014-12-23 18:20:19 -08:00
Matthias Bussonnier
b003b62de4 Actually test that the j-nth cell. 2014-12-23 22:29:51 +01:00
Jonathan Frederic
6e86c7645b Fix JS test new button selector 2014-12-23 12:15:06 -08:00
Min RK
979eb2d281 don't enforce .ipynb extension in URLs
let ContentsManager decide what's a notebook
2014-12-19 12:42:28 -08:00
Bussonnier Matthias
9c959ce6b1 correct variable name 2014-12-19 15:50:48 +01:00
Bussonnier Matthias
15ab64e884 make global css change on command/edit mode 2014-12-19 15:20:16 +01:00
Min RK
c166a05f5d abstract some methods in contents service tests
should allow re-use for ContentsManager subclasses
2014-12-17 11:38:44 -08:00
Matthias Bussonnier
031252d44f Merge pull request #7207 from takluyver/rm-nb-user-config
WIP: Remove js user_config module
2014-12-15 17:17:04 +01:00
Thomas Kluyver
95e60a544c Update test to modify class config for default_cell_type 2014-12-14 15:21:38 -08:00
Min RK
7c8f2fd0f5 fix widget-import-warning test
wasn't updated with warning changes
2014-12-13 16:03:03 -08:00
Min RK
982a742112 Merge pull request #6700 from Carreau/actions-2
Use notebook actions in toolbar
2014-12-12 12:39:46 -08:00
Min RK
cadd5a14fe Merge pull request #6747 from jdfreder/combofix
Make Selection widgets respect values order.
2014-12-12 10:59:01 -08:00
Bussonnier Matthias
8fc6d2ff1f saving notebook does not run cell.
Thus running cell instead of saving notebook
2014-12-12 16:14:21 +01:00
Bussonnier Matthias
7a3a61fe81 make pseudo action in their own dcit.
make test more reliable by adding data-attributes to buttons.
2014-12-11 09:58:04 +01:00
Matthias Bussonnier
2d51cec3c8 adresses Min comments x2 2014-12-10 20:58:01 +01:00
Bussonnier Matthias
e292a82dff Fix comments
move humanize-map out of function call to have only one instance
2014-12-10 20:51:01 +01:00
Matthias Bussonnier
f43d8585d1 Add notion of actions to celltoolbar
modify toolbar.js to be able to deal with actions.

modify maintoolbar to deal with the new action architecture

add a way to triger notification widget hiding
2014-12-10 20:51:01 +01:00
Min RK
f0181836b2 run test server in thread
instead of subprocess
2014-12-08 15:50:02 -08:00
Thomas Kluyver
8160308bb2 Merge pull request #7120 from Carreau/fix-widget-load
lazy load widgets
2014-12-08 11:52:53 -08:00
Bussonnier Matthias
affdb6a8ff fix test 2014-12-06 22:13:04 +01:00
Nicholas Bollweg (Nick)
eef949eda9 fixing tests 2014-12-06 14:18:05 -05:00
Nicholas Bollweg (Nick)
8f5b447eaf removing monkeypatch, importing rest of codemirror default theme 2014-12-06 14:18:05 -05:00
Nicholas Bollweg (Nick)
68c4714338 using codemirror mode/meta for detection 2014-12-06 14:18:04 -05:00
Jonathan Frederic
2969de609d Selection test fix 2014-12-03 10:52:25 -08:00
Matthias Bussonnier
5db4b7a8ee Merge pull request #6668 from Carreau/actions
Add notion of action to keyboard manager.
2014-11-22 12:23:16 +01:00
Jonathan Frederic
907bde3b25 Address review comments 2014-11-15 08:49:45 -08:00
Jonathan Frederic
eb319c8aab Promise logic is infectious like a disease 2014-11-15 08:49:44 -08:00
Jonathan Frederic
0d591619c6 Make all tests async display safe 2014-11-15 08:49:44 -08:00
Jonathan Frederic
56c5020a84 bool_test passing with slimerjs 2014-11-15 08:49:44 -08:00
Jonathan Frederic
8c149c9112 Current state with lots and lots of debugging junk 2014-11-15 08:48:35 -08:00
Jonathan Frederic
6ee932f298 Add rsvp to setupbase 2014-11-15 08:48:35 -08:00