* Add onTestSnapshot function
* Add shiny.testing option
* Add entry to staticdocs index
* Bump version to 0.14.1.9002 and update NEWS
* Document params for onTestSnapshot
* Add session$enableTestEndpoint() method
* Un-export applyInputHandlers
* Grunt
* Provide inputs, outputs, and snapshot at test endpoint
* Remove non-working example
* Fix var name in documentation
* Rename shiny.testing to shiny.testmode
* Rename onTestSnapshot to exportTestValues and add example
* Add session$getTestEndpointUrl
* Grunt
* Add module support to exportTestValues
* Test endpoint allows specifying specific values
* session$getTestEndpointUrl: add arguments for choosing which values to return
- Need to carefully review ShinySession, think about
each and every public method and whether it should
be passthrough or do something different for a
namespaced session.
- It would be nice if we do the namespace splitting
at the server.R level and actually have numerous
reactivevalues objects for inputs, one for each
namespace. This will make the reactive hooks for
names() and reactiveValuesToList() correct, as
right now they will oversubscribe if you're in a
namespaced session. Also it would prevent outer
sessions from seeing the values of their child
namespaces. (Though is that good or bad...?)
These functions were temporarily ripped out of Shiny and moved
to the htmltools package. We've discovered that it's safe to
keep including them in shiny; as long as the functions in shiny
and the functions in htmltools are identical, the user won't
receive a conflict warning.
- validateInput renamed to validate
- validateCondition renamed to need
- Removed ability to provide "bare" conditions. It is
still possible to fail validation silently by passing
FALSE as the second argument to need()
- Rather than using a two-element list to convey results,
use a single result protocol; NULL is success, FALSE is
silent failure, string is failure with message
- Tweak "missing input" semantics, add tests