Joe Cheng
8c5a542c15
oauth sketch
2019-05-23 12:04:11 -04:00
Carson Sievert
57cc44f662
Coordmap info should retain discrete limits ( #2410 )
...
* ggplot2 input brushes should retain discrete range mapping, and be imposed in brushedPoints(), closes #1433
* simplify logic and reduce required storage
* get nearPoints() working as well, cleanup
* only remember scale range if ggplot is facet with a free discrete axis
* Use the scale limits (before the range) since the former is specified, that's what is actually shown on the plot
also, introduce within_brush() helper to consistently handle missing values produced by asNumber()
* also use scale limits in older versions of ggplot2
* DRY
* discrete_mapping -> discrete_limits; better comments
* update test expectation
* a couple unit tests
* update comment to reflect new coordmap data structure
* use unlink() not rm()
* add some tests for specifying scale limits and labels
* Use get_limits() if available
* update news
* better name and comment for new asNumber() argument
2019-05-14 16:34:00 -05:00
Carson Sievert
68eeb338da
Have input labels always include 'control-label' class
2019-05-08 15:15:09 -05:00
Carson Sievert
ea54c17902
merge with master
2019-05-08 15:10:22 -05:00
Joe Cheng
8a0731493f
Fix rstudio/reactlog#36 : Changes to reactive values not displaying accurately
2019-05-07 09:30:59 -07:00
Carson Sievert
07e2b80b5d
merge with master; fix NEWS conflicts
2019-05-03 17:21:06 -05:00
Carson Sievert
1311e1fca2
have class come before the for attribute
2019-05-03 17:16:17 -05:00
Winston Chang
e6c2133520
Merge pull request #2416 from rstudio/updateSliderInput
...
getSliderType() should be able to handle NULL min/max/value, fixes #2250
2019-05-03 16:54:57 -05:00
Carson Sievert
3d6f734ff2
update comment
2019-05-03 15:58:45 -05:00
Carson Sievert
ced6622b25
Have getSliderType() return '' early if min, max, and value are NULL
2019-05-03 15:54:48 -05:00
Carson Sievert
370f1b51ee
Inputs now always supply a <label> tag with a special CSS class for hiding NULL labels
...
This helps to simplify the updating logic on the client
2019-05-03 15:38:57 -05:00
Carson Sievert
c61a585e79
getSliderType() should be able to handle NULL min/max/value, fixes #2250
2019-05-01 19:41:26 -05:00
Carson Sievert
4c50c064d3
make return value of dateYMD() slightly more clear
2019-04-30 17:08:13 -05:00
Carson Sievert
b04133bf65
Include argName with warning when length > 1
2019-04-30 17:00:34 -05:00
Carson Sievert
3602358d2c
fix typo in warning message
2019-04-30 17:00:34 -05:00
Carson Sievert
67b0416eba
Throw informative warning if date coercion fails and original input
2019-04-30 17:00:34 -05:00
Carson Sievert
f8d69ecb1f
Consistent approach to coercing and formatting date strings, closes #2402
2019-04-30 17:00:34 -05:00
Joe Cheng
1415b57181
Add sys.www.root to createAppHandlers, so that subapps can access /shared/*
2019-04-16 18:40:29 -07:00
Joe Cheng
65d4a4e906
Add comments
2019-04-16 18:12:09 -07:00
Joe Cheng
1b8d822226
Fix #2385 : R Markdown documents containing subapps not rendering properly
2019-04-14 17:19:17 -07:00
Winston Chang
1e88990a0b
Fix serving of www/index.html. Closes #2380
2019-04-11 11:57:48 -05:00
Barret Schloerke
a287ebe324
Minimize str usage in rlog$valueStr ( #2377 )
...
* return early if loggin is disabled
* do not allow str to recurse
* add news item for #2377
* change " " to " "
* Not a "world-ending performance issue"
2019-04-10 11:27:29 -07:00
Alan Dipert
9afc06028d
Restore intuitive bookmarking behavior ( #2360 )
...
* Adding flushPending() to ShinySession's flushOutput() restores intuitive bookmarking behavior
* Check that restoreContext is present
* Update NEWS
2019-03-26 15:08:34 -05:00
Barret Schloerke
7b6cc50238
Merge branch 'master' into rc-v1.3.0
...
* master:
fix shortString is NA or NULL logic
add coverage for situation where label might be na or NULL
increase default length of label to 250chars from 100chars
make sure labels are short for reactlog
2019-03-01 15:45:19 -05:00
Barret Schloerke
93d3b78ac1
fix shortString is NA or NULL logic
2019-03-01 15:22:40 -05:00
Barret Schloerke
69e82f6e0e
add coverage for situation where label might be na or NULL
2019-03-01 14:57:05 -05:00
Barret Schloerke
1f83a6db7b
increase default length of label to 250chars from 100chars
2019-03-01 14:34:21 -05:00
Barret Schloerke
8f37951e14
make sure labels are short for reactlog
2019-03-01 14:30:23 -05:00
Joe Cheng
e1f4d43926
Merge pull request #2342 from rstudio/reactlog-cran
...
Reactlog github location removed
2019-02-27 10:31:08 -08:00
Winston Chang
f18c426151
addResourcePath: create staticPath object immediately. Fixes #2339
2019-02-27 11:12:55 -06:00
Barret Schloerke
e46debb6d1
remove github location for reactlog and clean up flow of check_suggested
2019-02-27 09:19:46 -05:00
Winston Chang
d7d8e78e42
Make sure the is.na() check in %AND% looks for length-1 input
...
This is to avoid errors with R CMD check on R-devel like this:
https://travis-ci.org/rstudio/shiny/jobs/498880293
2019-02-26 14:32:41 -06:00
Joe Cheng
9755f86f53
Merge pull request #2327 from rstudio/staticpath-exclude
...
Exclude "session" from static path serving
2019-02-26 12:17:30 -08:00
Winston Chang
599a3ee82f
Simplify session placement
2019-02-26 13:02:23 -06:00
Winston Chang
c790346490
Merge pull request #2284 from chasemc/patch-1
...
Fix typo
2019-02-21 14:04:40 -06:00
Joe Cheng
68cf3a9111
Merge pull request #2311 from rstudio/bookmark-dot
...
Bookmarking: restore inputs that have a leading dot
2019-02-21 11:56:40 -08:00
Barret Schloerke
59221dfcf2
bump dev version of reactlog. remove reactlog::reactlog_add_shiny_resource_paths()
2019-02-15 15:52:05 -06:00
Winston Chang
020413a206
Always exclude /session from static paths
2019-02-15 15:08:26 -06:00
Winston Chang
a343e9ebdf
Use excludeStaticPath() function
2019-02-14 21:15:20 -06:00
Winston Chang
c304efee36
Exclude "session" from static path serving. Fixes #2325
2019-02-12 20:28:47 -06:00
Winston Chang
95173f676d
Merge pull request #2319 from rstudio/joe/misc/constant-time-check
...
Add constant time check for shared secret
2019-02-11 15:22:54 -06:00
Joe Cheng
59dd4b0721
Code review feedback
...
- Rename sharedSecret variables to checkSharedSecret
- Don't perform the digest::digest(). This just means the timing could
give away the length of the secret, but that's OK, there's enough
entropy in the secret even if you know its length.
2019-02-05 14:33:04 -08:00
Joe Cheng
665a66522e
Add constant time check for shared secret
2019-02-04 13:19:47 -08:00
Barret Schloerke
64a74692b9
document time for reactlogShow
2019-02-01 16:05:33 -05:00
Barret Schloerke
46cd285dd0
update docs by removing showReactLog/reactlogShow (to reactlog) as much as possible
2019-01-30 16:01:22 -05:00
Barret Schloerke
bcac115c3d
Add methods: reactlog, reactlogShow, and reactlogReset. Depricate showReactLog
...
Update links to help file to not use `showReactLog`, but `reactlogShow`
Use updated reactlog pkg function api of reactlog_*. This may fail right now, but rerun travis when the reactlog code is merged into master.
2019-01-30 12:20:22 -05:00
Winston Chang
77ddb2c8c2
Bookmarking: restore inputs that have a leading dot. Fixes #2308
2019-01-23 12:05:24 -06:00
Barret Schloerke
7551a6ae1d
add stats:: to setNames function calls
...
helps pass R CMD check
2019-01-11 13:04:39 -05:00
Barret Schloerke
3327878fc2
merged from master
2019-01-11 12:33:31 -05:00
Chase Clark
0269bc810c
Fix typo
...
"...use the JavaScript library selectize.js (https://github.com/selectize/selectize.js ) ~~ to~~ instead of the basic select..."
2018-12-17 12:59:57 -06:00