Joe Cheng
fc5f5f3b6c
Don't initiate file upload if no files were chosen
2013-02-28 21:14:06 -08:00
Joe Cheng
716fd8c0b9
File upload improvements
...
- Add "shiny.maxRequestSize" option
- Show upload progress
2013-02-28 21:06:06 -08:00
Joe Cheng
c2311faffe
httpuv-style file uploading
...
Use HTTP POST to upload files rather than sending 4K chunks
one at a time over the websocket. This is massively faster and
also means no binary websocket support is needed. In theory
this approach should be compatible with Shiny Server.
Currently the client side code still uses File API which means
IE8 and 9 users are out of luck.
2013-02-27 16:47:18 -08:00
Winston Chang
308c583254
setRatePolicy based on effectiveId. Fixes #110
...
Previously when getType() was defined for a type of object, shiny.js would
send updates immediately instead of applying the rate policy.
2013-02-20 11:39:22 -06:00
Winston Chang
3ea88a07d9
sliderInputBinding inherits from text instead of number. Fixes #110
2013-02-18 22:25:38 -06:00
Winston Chang
db60ac5c17
Empty numericInput gets converted to NA
2013-02-18 15:11:41 -06:00
Winston Chang
952b342859
Better checks for hidden output objects
2013-02-11 18:31:44 -06:00
Joe Cheng
63c5b05584
Stop extra update message from occurring on startup
2013-02-08 16:37:55 -08:00
Winston Chang
4b235e5b87
Send output hidden state on init
2013-02-07 14:29:03 -06:00
Winston Chang
eb5428c971
Suspend hidden outputs
2013-02-07 14:29:03 -06:00
Joe Cheng
ff99fbfbc9
Fix #64 : Hitting Enter in textbox causes form submit
2013-01-23 11:54:06 -08:00
Joe Cheng
6eec570828
Add CSS hooks for app-wide busy indicators
2012-11-21 00:04:16 -08:00
Joe Cheng
ae9bd868f1
Implement arbitrary file downloads
2012-11-20 17:42:34 -08:00
Joe Cheng
bc73048ab9
Fix IE8 slice bug
...
IE8 doesn't like slice(0, undefined)--rather than interpreting it as slice(0),
it returns an array of length 0.
2012-11-19 17:19:51 -08:00
Joe Cheng
b6723a6219
Add per-session GET infrastructure. Allow IE8/9 to avoid data URIs.
2012-11-19 13:08:09 -08:00
Joe Cheng
66eaaff598
More customizable error display
2012-11-02 09:49:17 -07:00
Joe Cheng
478c6c134f
Much less flicker when updating plots
2012-11-02 09:48:36 -07:00
Joe Cheng
dc4eb720ae
Introduce input type hints
...
These allow the server to use custom deserialization code on a per-type basis.
2012-10-26 10:28:40 -07:00
Joe Cheng
7dfa7d7426
Fix issue #26 : Shiny.OutputBindings not correctly exported
2012-10-24 14:41:32 -07:00
Joe Cheng
b8b1a891cf
Add custom message handler support, console logging
...
If the server sends a message with a "custom" field, that field's value will
be passed to a custom window.Shiny.oncustommessage function, if it is defined.
Also add support for messages like so:
{
console: [
'line one',
'line two'
]
}
This will cause "line one" and "line two" to be printed at the browser console.
2012-10-04 17:45:20 -07:00
Joe Cheng
ff072ae9d9
bindAll should send initial values to server
2012-09-25 01:29:52 -07:00
Joe Cheng
3db1f2a98c
Don't animate showing/hiding of conditionalPanel
2012-09-21 19:51:24 -07:00
Joe Cheng
d01149620f
Fix issue #19 : Checkboxes and radios can't be added dynamically
2012-09-19 11:48:28 -05:00
Joe Cheng
1a591cd9f1
conditionalPanel now triggers show/shown/hide/hidden event
2012-09-07 00:44:20 -07:00
Joe Cheng
e9b81b2033
[BREAKING] Simplify input binding callbacks
...
InputBinding.subscribe used to have to call callbacks with at least two arguments,
now there is only one optional argument (allowDeferred). The binding argument in
particular was problematic because it required "var self=this;".
2012-09-06 12:06:15 -07:00
Joe Cheng
cb63338805
Allow htmlOutput to contain inputs/outputs
2012-09-05 11:17:39 -07:00
Joe Cheng
bcdc82ccee
Add conditionalPanel; JS API changes
...
- bindAll/unbindAll added
- bindInput/bindOutput/unbindInput/unbindOutput removed
2012-09-05 09:40:40 -07:00
Joe Cheng
872f23b0f0
Improvements for output binding/unbinding
...
- When bound, outputs receive cached error/value
- On binding, (potentially all) output plot sizes are resent
2012-08-31 23:12:20 -07:00
Joe Cheng
0714871b56
Improve blob handling browser compatibility
2012-08-31 22:39:26 -07:00
Joe Cheng
8a89fb2a1a
Expose and fix Shiny.unbindOutputs
2012-08-31 18:29:42 -07:00
Joe Cheng
7a6784d809
Add missing param to prototype method
2012-08-31 11:48:21 -07:00
Joe Cheng
ed9301705b
Refactor JS to use more consistent OOP style
...
(function() { }).call(Foo.prototype) for extending prototypes manually, and
$.extend for extending objects manually or prototypes inheriting from each
other.
2012-08-31 10:00:20 -07:00
Joe Cheng
3a0b11b89d
Add file upload feature
...
This feature is currently pretty rough. It only works in the most modern
browsers (depends on HTML5 File API, including Blob.slice) and doesn't
show upload progress.
2012-08-30 22:07:00 -07:00
Joe Cheng
5f775db40a
Enhancements to Shiny transport
...
- JS can now do remote procedure calls (with return value or exception), not just message passing
- RPC calls can include non-JSON-compatible binary data (not compatible with IE)
2012-08-30 12:16:12 -07:00
Joe Cheng
9b84b83627
Allow binding and unbinding of Shiny input/output
2012-08-30 12:04:17 -07:00
Joe Cheng
b0d9b5762a
Don't use WebSocket constant, it's not on IE8
2012-08-24 11:28:46 -07:00
Joe Cheng
42fac871fb
Extensible websocket creation
2012-08-22 12:32:33 -07:00
Joe Cheng
2782bf6735
Execute sendPlotSize when anything is shown/hidden
2012-08-21 14:18:00 -07:00
Joe Cheng
c8969c4cc0
Upgrade to Bootstrap 2.1
2012-08-21 11:35:37 -07:00
Joe Cheng
653509368b
Let Bootstrap tabset send its selected tab as input
2012-08-20 17:01:41 -07:00
Joe Cheng
363633b01f
Fix issue #10 : Plots in tabsets not rendered
2012-08-20 09:54:50 -07:00
Joe Cheng
575350842a
Fix broken progress indication
2012-08-18 00:01:38 -07:00
Joe Cheng
642d153202
Dynamic output bindings
2012-08-14 01:21:25 -07:00
Joe Cheng
8cf7d8b4cb
Input binding enhancements
...
- Add textarea binding
- Deterministic priority ordering
- Allow getting/setting priorities for existing bindings
2012-08-14 00:58:56 -07:00
Joe Cheng
b0b7cfa3a5
Remove comment cruft
2012-08-13 14:45:49 -07:00
Joe Cheng
3692d5f008
Delay Shiny init to after document-ready
...
Also remove some dead code
2012-08-13 11:51:53 -07:00
Joe Cheng
2344dc04a5
Fix bug in deferred submission
2012-08-13 10:09:44 -07:00
Joe Cheng
cf37072bed
Don't debounce when animating
2012-08-13 10:04:06 -07:00
Joe Cheng
cc5c933e7d
Use InputBinding for sliders
2012-08-09 17:13:14 -07:00
Joe Cheng
ad1737f16b
Infrastructure for extensible inputs
2012-08-09 16:38:21 -07:00