Joe Cheng
417f7f7236
Clean up correctly after API caller leaves
2017-01-12 23:56:10 -05:00
Joe Cheng
c1d92c2767
API: Log errors; automatically print() ggplot2
2017-01-12 23:56:10 -05:00
Joe Cheng
3d2f677e2f
Accept input via JSON POST
2017-01-12 23:56:10 -05:00
Joe Cheng
b15cc6cbc0
API parameters get parsed using JSON semantics
...
This gives us more accurate data types (numbers as ints/reals instead of strings)
Also adds serveRaw (raw vectors)
2017-01-12 23:56:10 -05:00
Joe Cheng
4fbb8a436c
Import utils::write.csv
2017-01-12 23:56:10 -05:00
Joe Cheng
308b41b8e8
Improve result handling
...
- Arbitrary httpResponse can now be returned
- WebSocket API conn doesn't force everything to JSON
2017-01-12 23:56:10 -05:00
Joe Cheng
516d0cd2ca
Squelch messages
2017-01-12 23:56:10 -05:00
Joe Cheng
f9d8217f90
Better API API :)
2017-01-12 23:56:10 -05:00
Joe Cheng
58ad213a6f
Support plots
2017-01-12 23:56:10 -05:00
Joe Cheng
6ef5c7728e
Fix shared secret check
2017-01-12 23:56:10 -05:00
Joe Cheng
58a5fe9a84
API prototype
2017-01-12 23:56:10 -05:00
JJ Allaire
76aeda4436
refine regex
2017-01-09 12:32:12 -05:00
JJ Allaire
fa791cd28c
Relax naming requirements for addResourcePath()
...
First character no longer needs to be a letter. See https://github.com/rstudio/tutor/issues/4 for discussion.
2017-01-09 11:04:51 -05:00
Winston Chang
174a1fe834
Update to font-awesome 4.7.0
2017-01-03 12:47:23 -06:00
Winston Chang
1e0f3f40a9
Replace structure(NULL) with structure(list())
...
In R-devel 71841, structure(NULL) was deprecated.
2016-12-28 16:43:29 -06:00
Barbara Borges Ribeiro
19623694f5
Added skipFirst arg to observeEvent ( #1494 )
...
* added skipFirs arg to observeEvent
* create getCurrentObserver() function
* better NEWS entry
* made code more consistent
* implemented `once` param to `observeEvent`; extensive documentation for `getCurrentObserver`
* implement dig param to `getCurrentObserver`
* fix bug that was causing unit tests to fail
* take two
* git commit
* removed function getCurrentObserver
* delete .globals$currentObserver variable
* update docs
* typo
* remove dupes in index.r (bah humbug)
* rerun devtools::document
2016-12-19 15:51:19 -08:00
Winston Chang
55a16043e1
Merge pull request #1510 from rstudio/joe/feature/debounce
...
Add reactive debounce and throttle functions
2016-12-16 11:10:02 -06:00
Winston Chang
29943b7edd
Merge pull request #1482 from rstudio/barbara/runapp
...
Fixes #1358 : more informative error message when calling runApp inside of an app's app.R
2016-12-16 10:15:35 -06:00
Joe Cheng
a1e2af9533
Add debounce/throttle tests, priority arg
2016-12-15 14:52:07 -08:00
Barbara Borges Ribeiro
c350e2a668
Fixes #1358 : more informative error message when calling runApp inside of an app's app.R (or inside ui.R or server.R).
2016-12-15 21:50:39 +00:00
Joe Cheng
e0868ba2ab
Fix #1013 : flushReact should be called after app loads ( #1503 )
...
* Fix #1013 : flushReact should be called after app loads
* Add link to pull request
2016-12-15 13:16:18 -06:00
Joe Cheng
bcefd1fbd8
Fix #117 : Reactive expressions hold on to memory for longer than necessary ( #1504 )
...
* Fix #117 : Reactive expressions hold on to memory for longer than necessary
* Fix broken link
* Add link to pull request
2016-12-15 13:15:00 -06:00
Joe Cheng
95b1a197be
Remove unnecessary namespace
2016-12-15 11:11:29 -08:00
Joe Cheng
39169a36f5
Wording tweaks
2016-12-15 11:10:28 -08:00
Joe Cheng
3b1a409f07
Remove unnecessary link qualifier
2016-12-15 11:01:35 -08:00
Joe Cheng
accd70d4b4
Add session$userData feature ( #1513 )
...
* Add session$userData
* Tweak wording of NEWS
* Fix broken links
2016-12-15 12:50:20 -06:00
Joe Cheng
f7d7ccfd2c
Fix unqualified links to other packages
...
R-devel warns on this now, causes Travis to fail
2016-12-15 10:35:46 -08:00
Joe Cheng
de98a03887
Add limitations section to debounce/throttle docs
2016-12-13 17:48:36 -08:00
Joe Cheng
c0a298e484
Add reactive debounce and throttle functions
2016-12-13 17:22:12 -08:00
Winston Chang
907b9a9862
Merge pull request #1480 from rstudio/barbara/verbatim
...
Closes #1357 : verbatimTextOutput should optionally be hidden if no content
2016-12-07 10:13:04 -06:00
Barbara Borges Ribeiro
fe733b319f
Fixes #969 : allow navbarPage's fluid param to control both containers
2016-12-07 00:22:33 +00:00
Barbara Borges Ribeiro
08b58f3055
allow navbarPage's fluid param to control both the content *and* the header containers
2016-12-07 00:21:49 +00:00
Barbara Borges Ribeiro
9f6659f526
added a new arg (placeholder = FALSE) to verbatimTextOutput() so that by default it doesn't show up when it is empty; improved the documentation example
2016-12-07 00:02:40 +00:00
Barbara Borges Ribeiro
d28397df93
Fix #1359 : shinyApp options argument ignored when passed to runApp ( #1483 )
2016-12-06 20:52:19 +00:00
Barbara Borges Ribeiro
903adc8f97
Added ability to pass arguments to the a tag function called inside downloadButton() and downloadLink(). Closes #986 .
2016-12-05 15:35:31 +00:00
Winston Chang
cfc0194c00
Sort input, output, export by name
2016-12-01 10:46:46 -06:00
Winston Chang
dd28f52301
Add sortByName function
2016-12-01 10:46:46 -06:00
Winston Chang
16b4a2cad2
Rename testEndpointUrl to testSnapshotUrl
2016-12-01 10:46:46 -06:00
Winston Chang
d55ffb0212
Change default snapshot format to JSON
2016-12-01 10:46:46 -06:00
Winston Chang
e76ddfd005
Emit message when running in test mode
2016-12-01 10:46:46 -06:00
Winston Chang
59145a3b40
Add testmode as an option to runApp
2016-12-01 10:46:46 -06:00
Winston Chang
b62acec5ee
Use singular form of input, export, and output
2016-12-01 10:46:46 -06:00
Winston Chang
661e21d25b
Safer method for injecting code in test mode
2016-12-01 10:46:46 -06:00
Winston Chang
dc69a2bc94
Make sure test values are named vectors
2016-12-01 10:46:46 -06:00
Winston Chang
e6fec6b27d
Rename variable
2016-12-01 10:46:46 -06:00
Barbara Borges Ribeiro
2700206715
Improve documentation for submitButton and change 07_widgets example to use an action button ( #1475 )
...
* update 07_widgets example
* improved documentation for submitButton (including a warnign section and an full-app example)
* typo
* update documentation based on Winton's feedback
2016-11-28 13:19:40 -06:00
Barbara Borges Ribeiro
3121d2c23e
mention support for the optgroup tag in the documention for selectInput (specifically in the choices arg). Added example app too.
2016-11-22 11:28:35 -06:00
Barbara Borges Ribeiro
7cd3bb524c
add download attribute to the a tag that generates downloadButoon and downloadLink
2016-11-18 21:00:28 -08:00
Dean Attali
bd3aa28416
fix typo in dateInput documentation ( #1454 )
2016-11-02 09:53:40 -05:00
Winston Chang
a7a2c6d7ff
Add list2env wrapper, for R <3.2.0 ( #1446 )
...
* Add list2env wrapper, for R <3.2.0
* Update NEWS
2016-10-28 13:56:52 -05:00