Joe Cheng
99013f7998
Launch reactlog from Shiny app with F3
2013-07-03 12:17:36 -07:00
Joe Cheng
6ee7dcdd51
Fix several bugs relating to suspendWhenHidden
...
- If an output is bound in the UI before it exists on the server, the
server will suspend the new output until something else causes
manageHiddenOutputs to be triggered. The refactor in shiny.R sets
the suspended flag to .shouldSuspend.
- As part of the previous refactor, we don't set suspendOnHidden in
defineOutput; instead we leave it empty and .shouldSuspend knows
what the default should be.
- In shiny.js, unbound controls were not being suspended. This was
fixed by having sendOutputHiddenState be stateful; anything in
a visible state that disappears on the next iteration is marked
as hidden. Also unbindAll now calls sendOutputHiddenState.
2013-05-27 12:52:33 -07:00
Winston Chang
4a92bb91df
Initialize slider at correct time
2013-05-24 18:58:47 -05:00
Joe Cheng
dd54740d36
Fix submit button interactions with tabs, plot sizes
2013-04-29 13:08:04 -07:00
Winston Chang
0c19105fbf
Add dateInput and dateRangeInput
...
Also:
* add initialize() method for input bindings
* cleanups for JShint
2013-04-24 12:18:20 -05:00
Joe Cheng
10d2432df5
Merge pull request #148 from wch/sendmessage
...
Add support for sending arbitrary messages to client
2013-04-22 16:40:01 -07:00
Winston Chang
b6795e5c63
Move actionbutton into Shiny proper
2013-04-18 15:11:13 -05:00
Winston Chang
ef85d063c2
Make external message handlers use 'custom'
2013-04-18 13:40:32 -05:00
Winston Chang
59755971e5
Add message handlers
2013-04-18 12:40:19 -05:00
Winston Chang
c5ab831a87
Fixes for jshint
...
Conflicts:
inst/www/shared/shiny.js
2013-04-18 11:41:52 -05:00
Winston Chang
2897059503
Allow setting labels for all input objects
2013-04-08 18:09:40 -05:00
Winston Chang
d491f9df5a
updateCheckboxGroupInput: clean up and allow setting labels
2013-04-08 17:01:00 -05:00
Winston Chang
bc52bafa8d
Add methods for setting bootstrapTabInputBinding
2013-04-06 01:00:18 -05:00
Winston Chang
5857e3f75e
Allow setting value of sliders when they have range
2013-04-05 22:56:12 -05:00
Winston Chang
4cbbfccb6d
Make sure not to bind new-style multi-inputs
2013-04-05 21:57:45 -05:00
Winston Chang
21f3b1cf34
Add checkboxGroupInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
f7b384e9b6
Add radioInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
78341ea2f1
Trigger change when message sent to input bindings
2013-04-05 21:57:45 -05:00
Winston Chang
3f8a4d4273
Add getState and receiveMessage support to selectInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
c88ccbf9bc
Put inputMessage in a queue
2013-04-05 21:57:45 -05:00
Winston Chang
46389131bc
Add functions for sending messages to client
2013-03-30 21:07:22 -05:00
Winston Chang
bcc2c377a0
Add messenge-sending support
2013-03-29 14:32:34 -05:00
Winston Chang
e0193151db
shiny.js: allow setting inputs and getting input state
2013-03-28 16:15:24 -05:00
Winston Chang
1c0279f17c
Undo commit 'Remove redundant code in shiny.js'
...
The code wasn't actually redundant.
2013-03-22 12:51:29 -05:00
Winston Chang
8866eb292b
Add section breaks in shiny.js
2013-03-21 21:09:16 -05:00
Winston Chang
6fdda3391e
Send initial value of URL hash
2013-03-20 16:53:40 -05:00
Winston Chang
fdb8dd4e5b
Remove redundant code in shiny.js
2013-03-20 13:22:21 -05:00
Joe Cheng
9a1d3783ee
Unbind controls in htmlOutput before displaying error
2013-03-19 13:32:14 -07:00
Winston Chang
f743d5d0b5
New method for detecting hidden outputs
2013-03-17 11:08:28 -07:00
Winston Chang
d511b82264
Add imageOutput function
2013-03-15 16:44:18 -05:00
Joe Cheng
dd046f3442
Merge remote-tracking branch 'jcheng5/master'
...
Conflicts:
R/shiny.R
2013-03-13 10:47:06 -07:00
Winston Chang
6c47517684
Move allowDataUriScheme into .clientdata
2013-03-12 14:24:48 -05:00
Joe Cheng
f489d9131b
File uploads failed when no content type was provided
...
The simple fix for this would've been to just guess the content
type on the server (or use empty string or something), but by
doing the fix this way we're also set up to handle uploads by
servers that don't allow custom headers on AJAX calls.
2013-03-12 09:50:01 -07:00
Winston Chang
f0109c5588
Send URL in clientdata
2013-03-11 18:44:58 -05:00
Winston Chang
4605788696
Add informative comments
2013-03-11 18:43:03 -05:00
Joe Cheng
87908313cc
Merge remote-tracking branch 'jcheng5/httpuv'
...
Conflicts:
R/shiny.R
2013-03-11 09:36:47 -07:00
Winston Chang
0bf6ce57ed
renderPlot: send height and width along with image
2013-03-11 09:39:38 -05:00
Winston Chang
1b692b6c37
Rename shinyapp to shinysession, and .shinyout_xx to .clientdata_output_xx
2013-03-05 19:07:36 -06:00
Winston Chang
40d8cef1a2
Rename .metadata to clientData
2013-03-05 16:21:02 -06:00
Winston Chang
79bdb9eed5
Add shiny metadata channel and send pixel ratio
...
This adds support for retina-resolution displays
2013-03-04 20:33:29 -06:00
Joe Cheng
0e5af2b16c
Check for excessively large uploads before they begin
...
The onHeaders callback is supposed to be able to stop large uploads before
they begin, but do not appear to be having the desired effect. The browsers
continue uploading until completion, before noticing the response. To work
around this for now, upload the sizes explicitly when the job begins and
let Shiny pre-emptively reject the whole thing. This is also beneficial
in cases where multiple files are being uploaded and not all of them
exceed the maximum upload size.
2013-03-01 19:31:18 -08:00
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