Barbara Borges Ribeiro
53e47484e2
reverted the relative positioning of the icon and the title text in navbarMenus and tabPanels back to what it was before Shiny 1.0.5 ( fixes #1840 )
2017-09-12 12:16:06 +01:00
Winston Chang
dc18b20e5a
Don't copy httpuv::decodeURIComponent at build time
2017-09-07 21:31:32 -05:00
Winston Chang
4fa2af72cc
Avoid port 6697. Closes #1784
2017-08-28 16:40:51 -05:00
Joe Cheng
c2b3c3379d
Fix #1824 : HEAD request on static files causes app to stop ( #1825 )
...
* Fix #1824 : HEAD request on static files causes app to stop
The problem was that for HEAD requests specifically, we implement
an explicit Content-Length header (normally we let httpuv figure
out the Content-Length based on the content, but for HEAD we don't
return any content but still want to include the Content-Length).
The Content-Length header was only implemented correctly for string
values, not for raw vectors or file-by-path. This change implements
the value correctly for all currently valid httpuv content.
* Update NEWS
* Code review feedback
2017-08-23 13:01:22 -05:00
Winston Chang
e30fac02ed
Add safe wrapper for fromJSON
2017-08-21 19:55:48 -05:00
Winston Chang
fc32c2c944
Clarify that choices must be strings
2017-08-18 11:48:41 -05:00
Barbara Borges Ribeiro
b02eb11345
do inputId <- session$ns(inputId) in user facing functions for module functionality (rather than overriding the same functions in makeScope)
2017-08-04 18:02:43 +01:00
Barbara Borges Ribeiro
ed3ba303bc
Joe's feedback
2017-08-04 17:56:58 +01:00
Barbara Borges Ribeiro
494627c6e1
make this PR work for modules
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
82ac112dec
added select argument to showTab function
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
40cfff33ff
for dynamic tabs, send message on session$onFlush (instead of session$onFlushed)
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
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
e6602786ec
updated docs
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
31bbb3894c
remove extra line
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
8bbf576807
typo: tag -> tab (makes a big difference!)
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
2813e0b706
update examples
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
Winston Chang
ba5c5ef4fb
Move isRunning function to better location
2017-07-27 14:56:01 -05:00
Barbara Borges Ribeiro
aff3ac0bb3
Add onStop function ( #1770 )
...
* NEWS item
* added `onStop` arg to `shinyApp()` (and renamed our internal `onEnd` - which is what was calling `on.exit()` already - to `onStop` as well)
* added onStop() function
* add entry for documentation
* make it work for all possible app structures (interactive, saved as app.R, saved as ui.R and server.R)
* fix #1772 : make sure `onStart` works in all scenarios
* update NEWS
* improved wording
* more wording
* and more wording
* don't stop execution if a `onStop` callback function results in an error
* remove "(all sessions have been disconnected)" because it's misleading
* add @seealso documentation
* shamefully forgot to Cmd Shift D
* change code place
* Code review feedback
* onStop: use session argument instead of scope
2017-07-27 14:54:55 -05:00
Winston Chang
cb7627c736
Update NEWS and add comment
2017-07-27 13:13:31 -05:00
Kevin Ushey
f731a5cae4
work around RStudio debugger issue ( closes #1474 )
2017-07-27 10:37:56 -07:00
Winston Chang
07cb7c9305
Add 'setSerializer' function ( #1792 )
2017-07-18 17:01:06 -05:00
Winston Chang
86e9cc4896
Add preprocessor for fileInputs that strips local path ( #1789 )
...
* Add preprocessor for fileInputs that strips local path
* Update NEWS
* Rename snapshotPreprocess to snapshotPreprocessOutput
* Add snapshotPreprocessInput function
* Remove unnecessary NEWS item
* Update NEWS
* Add getSnapshotPreprocessInput
* Add staticdocs entry for snapshotPreprocessInput
* Add private methods to get snapshotPreprocess functions
* Bump version to 1.0.3.9002
2017-07-13 16:07:16 -05:00
Winston Chang
4708b44c59
Don't reduce warn level when running app. Fixes #1680
2017-07-12 19:29:49 -05:00
Winston Chang
4cb428bb92
Add a function to test if an app is running ( #1785 )
...
Squashed commit of the following:
commit 8667bed8962069a5cab8691f981e2b7ba9d449c3
Author: Winston Chang <winston@stdout.org >
Date: Tue Jul 11 14:36:11 2017 -0500
Edits
commit c4e8549ca5
Author: Konrad Rudolph <konrad.rudolph@gmail.com >
Date: Fri Jul 7 17:57:33 2017 +0100
Describe changes
commit 7b05c2e60f
Author: Konrad Rudolph <konrad.rudolph@gmail.com >
Date: Fri Jul 7 17:54:40 2017 +0100
Add new function to doc index
commit eb93ebfad8
Author: Konrad Rudolph <konrad.rudolph@gmail.com >
Date: Fri Jul 7 17:54:30 2017 +0100
Add documentatio for new function
commit 1a6c8a4d72
Author: Konrad Rudolph <konrad.rudolph@gmail.com >
Date: Fri Jul 7 17:53:13 2017 +0100
Add a function to test whether the app is running
2017-07-11 14:36:59 -05:00
Joe Cheng
db9e56d1ca
Merge pull request #1768 from rstudio/wch-fix-with-private-seed
...
Fix withPrivateSeed
2017-07-11 12:17:02 -07:00
Winston Chang
ea407fb2ea
Don't include xtable comment in renderTable by default
2017-06-27 15:05:31 -05:00
Winston Chang
fca5b0529a
Remove reinitalizeSeed
...
This function is no longer needed because the minimum R vesion supported by Shiny is 3.0.2.
2017-06-27 10:30:50 -05:00
Winston Chang
24e84f3866
Prevent private random stream from leaking out. Fixes #1763
2017-06-26 21:59:51 -05:00
Winston Chang
c1c8e46c09
Refactor withPrivateSeed
2017-06-26 21:59:51 -05:00
Winston Chang
8591e4f301
Add working app for conditionalPanel example
2017-06-23 10:14:32 -05:00
Alan Dipert
10db7ad89c
Support modules in conditionalPanel ( #1735 )
2017-06-23 10:12:15 -05:00
Winston Chang
6d5ecbc9c4
Fix indentation
2017-06-22 13:18:05 -05:00
Winston Chang
ea685a5686
Don't send local package path to client when using htmlwidgets ( #1756 )
...
* Don't send local package path to client when using htmlwidgets. Fixes #1755
* Add scrubFile option
2017-06-22 13:16:19 -05:00
Winston Chang
9ba9345b04
Add snapshotPreprocess function
2017-06-21 14:27:03 -05:00
Winston Chang
25298a6182
In test mode, send message to client even when no outputs change ( #1747 )
...
* In test mode, send message to client even when no outputs change
* Update NEWS.md
2017-06-20 13:50:28 -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
c29846a9da
fileInput: Preserve extension of files uploaded from IE9 ( #1717 )
...
* fileInput: IE addendum to #1706
- Attempt to preserve the extension of files uploaded from IE9.
* maybeMoveIEUpload: Fix if spacing
2017-06-15 13:47:21 -05:00
Barbara Borges Ribeiro
fb79b18002
More descriptive NEWS item and added an explanatory comment to the code
2017-06-07 13:28:51 -07:00
Barbara Borges Ribeiro
3841f22108
Fixed #1546 : make it possible (without any hacks) to write arbitrary data into a module's session$userData
2017-06-07 12:11:05 -07:00
Alan Dipert
d0f29cc7a2
fileInput: If possible, retain uploaded file extensions on the server. ( #1706 )
2017-05-26 11:16:02 -05:00
Winston Chang
66a6097a49
Give each ReactiveVal separate dependents. Fixes #1710
2017-05-22 10:34:27 -05:00