Philipp A
7532ca53d9
Load scripts synchronously
2017-10-20 08:31:22 +02:00
Philipp A
80f8bf440e
Avoid jQuery using eval() for dependency JS
...
This allows to use debuggers for dependency code.
2017-10-17 10:39:22 +00:00
Winston Chang
16b7ee3985
Add Shiny.compareVersion() function
2017-08-25 14:46:06 -05:00
Winston Chang
4f3d26c31b
Add Shiny.version to Javascript ( #1826 )
...
* Add Shiny.version to Javascript
* Grunt
2017-08-23 15:52:16 -05:00
Winston Chang
e74592a654
Escape a few more characters for conditionalPanel expressions
2017-08-21 14:25:20 -05:00
Winston Chang
1f864a846f
Escape newline chars in conditionalPanel expr. Fixes #1818
2017-08-18 17:24:06 -05:00
Barbara Borges Ribeiro
650075a9ab
Fix appendTab for empty tabsetPanels ( #1813 )
...
* fix appendTab for empty tabsetPanels; use spread operator to avoid having to resort to apply; upgrade grunt.
* revert back to `Math.max.apply(null, existingTabIds) + 1;` there's no browser compatibility issues there
2017-08-09 18:45:25 -05:00
Alan Dipert
c456ec2c4c
drag/drop-able fileInputs ( #1782 )
...
* fileInput WIP: Show dropzones when file dragged over window
- Still need to validate dataTransfer contents
* WIP: Basic functionality working
* wip
* Grunt
* WIP state machine
* WIP generalize FSM to data+multimethod
* WIP multimethod
* WIP draghover
* wip multimethod
* WIP, such refactor
* WIP: rm multimethod
* WIP
* WIP resurrect multimethod
* WIP move draghover functions into input object
* WIP colors: use more muted, bootstrap-esque glows
* Grunt
* WIP: use whenAny, more descriptive args in default test/dispatch fns
* WIP more whenAny
* Grunt
* WIP dont use for...of, requires polyfill
* Grunt
* multimethod improvements, documentation. `equal` function.
* multimethod: simplified equal, removed need for forward decl. docs.
* dox
* multimethod improvements, docs
* minor
* IE 10+ drag/drop, first cut
* Grunt
* use functions not arrows for faux instance methods
* Grunt
* fix uploadDropped call
* Grunt
* cleanup drop handler, fix entry to invalid state via doc drop handler
* Grunt
* IE workaround #293932
* Grunt
* yeeeeeeeeeeessss IE WORKSSSSS
* Cleanup; support activeClass/overClass
* everything basically works everywhere \o/
* revert ability to specify classes, hardcode in JS
* MM fixes
* minor fixes
* Grunt
* DnD: Support dragging directly over zones
- Happens when source window occludes browser window
* woo
* Note Safari bug, use draghover for zones
* merge
* Grunt
* news
* include CSS
2017-08-08 11:12:21 -05:00
Barbara Borges Ribeiro
ee5da1410e
make hide and remove work well when we want to hide/remove a tab inside a navbarMenu (or the whole menu) and it is selected (before this commit, it wasn't navigating to the first tab like it is supposed to)
2017-08-04 15:10:08 +01:00
Joe Cheng
c1c5873912
Abandon nearest neighbor tab-showing logic. Just grab the first tab.
2017-08-04 15:10:08 +01:00
Joe Cheng
c090efd562
Fix bug where last tab being removed, didn't update tabset input value
2017-08-04 15:10:08 +01:00
Joe Cheng
91dbb0e77b
htmlDependencies are properly loaded with dynamic tabs
2017-08-04 15:10:08 +01:00
Joe Cheng
dde7b144f0
Add select=FALSE argument to insert/append/prependTab
2017-08-04 15:10:08 +01:00
Joe Cheng
f1873a014c
Make tab prepend/append just edge cases of insert
2017-08-04 15:10:08 +01:00
Joe Cheng
48b8923b67
Properly escape jQuery selector strings
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
6f9f3fea83
implement navigation after hiding/removing selected tab
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
10f3320165
more JS code refactoring; improved documentation
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
d57aa33b40
insertion fully implemented
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
0e7c78bae3
refactored code and made insertion of navbarMenus possible
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
1ecc9b9d0e
Fixed documentation problems and JS code logic
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
3adbebc3d9
document similar things together; add prependTab and appendTab
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
a4c086f51b
now working for navbarPage and navlistPanel
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
0ecdcec698
clean up JS code (1 line only)
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
ae7f026d46
added NEWS and fixed typo
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
a409562d00
delete extra brackets
2017-08-04 15:09:00 +01:00
Barbara Borges Ribeiro
b6b6661ea1
implement showTab and removeTab
2017-08-04 15:09:00 +01:00
Barbara Borges Ribeiro
fb7b6f667c
implement removeTab
2017-08-04 15:09:00 +01:00
Barbara Borges Ribeiro
b94efe81e4
finish insertTab
2017-08-04 15:09:00 +01:00
Barbara Borges Ribeiro
20bff18bd4
changes
2017-08-04 15:09:00 +01:00
Joe Cheng
2d40e7b51a
Use a more suitable content type for file uploads
...
application/x-www-form-urlencoded;charset=UTF-8 is the default, which shinyapps.io
cares about for some reason and tries to parse the data as such. By setting the
content type to the more accurate application/octet-stream, no middleware should
be tempted to futz with the contents.
2017-07-10 15:33:42 -07:00
Alan Dipert
10db7ad89c
Support modules in conditionalPanel ( #1735 )
2017-06-23 10:12:15 -05:00
Barbara Borges Ribeiro
9fc5758ae0
Triggers a new shiny:outputinvalidated event ( #1758 )
...
* trigger a new `shiny:invalidated` event when an output gets invalidated, at the same time that the `recalculating` CSS class is added (fixes #1688 )
* add attribution to @andrewsali
* change event name from 'shiny:invalidated' to 'shiny:outputinvalidated'
* add binding and name to the new event 'shiny:outputinvalidated'
2017-06-21 12:28:51 -05:00
Carl Ganz
8b5d12b958
Add placeholder parameter to updateTextInput ( #1742 )
...
* add placeholder parameter
* add js placeholder code
* roxygenize
* grunt
* fix updateCheckBoxInput not to use placeholder
* simply roxygen
* add NEWS
* revert grunt
2017-06-15 22:00:39 -05:00
Alan Dipert
3817370d4e
fileInput JS: Allow uploading the same file. ( #1719 )
...
* tools README: notes about entr + grunt
* fileInput JS: Allow uploading the same file. Fixes #1508
* Grunt
* Added note to NEWS.
* tools README: add Linux section, fix formatting
2017-06-15 15:09:37 -05:00
Winston Chang
fb99db011c
Fix condition for calling exports.unbindAll(). (Correction to #1449 )
2017-06-08 17:02:56 -07:00
Winston Chang
379d523ac5
Add better error messages for errors parsing and evaluating JS code ( #1727 )
...
* Add better error messages for errors parsing and evaluating JS code
* Grunt
2017-06-02 14:31:06 -05:00
Winston Chang
eed869d321
Make fileInput progress bar change color on error ( #1673 )
...
* Make fileInput progress bar change color on error. Fixes #1672
* Grunt
* Update NEWS
2017-04-21 11:33:14 -05:00
Barbara Borges Ribeiro
cf21e987f2
Add shiny:sessionInit event ( #1568 )
...
* added a shiny:sessionInit JS event that is triggered at the end of the session's initialize method
* new entry
* update NEWS
* correct version number in NEWS.md
* fix typo
2017-04-05 10:50:42 -05:00
Winston Chang
7492db592b
Round brush coordinates to 14 digits. Fixes #1634
2017-03-31 10:42:43 -05:00
Winston Chang
f78fcd6b5f
Remove need for babel-polyfill
2017-03-27 15:02:03 -05:00
Winston Chang
7a833456d9
Use consistent value caching format
2017-03-10 12:03:24 -06:00
Winston Chang
306f33dfc4
Fix value access
2017-03-09 16:16:16 -06:00
Winston Chang
4264760113
Add binding and el fields to shiny:inputchanged event ( #1596 )
...
* Remove unused 'immediate' arguments
* Add opts argument to setInput methods
* Extract input values without opts
* Consistent interface for setting initial values
* Update NEWS
* Add binding and el when fileInputBinding triggers shiny:inputchanged
* Revert "Consistent interface for setting initial values"
This reverts commit 12c0b6e72a .
* Move InputDeferDecorater function
The new placement properly reflects the decorator stack
* Fix indentation
* bindInputs: make sure value is set immediately
* Only use opts where necessary in input decorators
* Properly send initial values
* Move initial value of .clientdata_allowDataUriScheme to better place
* Fix indentation
* Add InputValidateDecorator
* Better variable name
* Add function for default input options
* Simplify code
2017-03-03 15:27:32 -06:00
Winston Chang
42dedbbd9a
Simplify user value check
2017-03-02 13:30:47 -06:00
Winston Chang
367027cfbc
Merge branch 'wch/redundant-setinput'
2017-02-28 09:23:17 -06:00
Winston Chang
0ef15fa662
Remove redundant calls to setInput
2017-02-24 19:43:55 -06:00
Winston Chang
4c8bafcf9a
Make sure input deduplication respects inputType. Closes #162
2017-02-24 15:11:18 -06:00
Alberto Santini
0a4ca56da9
Improve escapeHTML
...
Replacing one char after another is not a best practice, due to the order dependency of replacing, xss risk and performance.
Fix #1577
2017-02-10 18:15:07 +01:00
Winston Chang
3e25c9f3f4
Remove shiny:fileuploaded event
2017-02-01 11:17:08 -06:00
Winston Chang
4feee00d34
NULL value no longer makes progress bar go to 100%. Closes #1472
...
This also removes the documentation which said that using NULL would cause the
progress bar to be hidden.
2017-01-31 20:36:28 -06:00