Code Monkey home page Code Monkey logo

shiny's People

Contributors

barnzilla avatar blairdrummond avatar ca-scribner avatar jessicabarh avatar parlerbinou avatar sylus avatar wg102 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shiny's Issues

This image runs as root

I'm assuming we don't want this running as root, if that can be avoided?

CC @zachomedia , I think this image mounts and Azure file share, does mounting that force us to use root or anything? (If so, can we get around this by maybe having an init-container with root which mounts the file-share and copies into a volume? Or something?)

CD doesn't update the deployment image?

I updated the image but noticed that the shiny deployment doesn't switch to the new image. Even when I manually restarted the deployment it didn't switch (still using the old sha).

How would I do this manually (until such a time as we integrate it into the CD) ?

Dark release for testing?

What if we created a second branch that pushed to a development version of the shiny server, this would let me create a more autonomous testing system. I'd be able to merge into a dev branch, port-forward to test the server out and confirm that everything works, then I can send a PR to master afterwards. How does that sound?

Revert change to Shiny server TLS settings

This issue is to revert the changes applied in #14.

#14 applied a temporary hack to allow shiny dashboards to download files from cansim. This adjusted TLS settings to use an older version as required by the STC/cansim site.

A real fix to this issue requires changes by STC/cansim - this has been requested by @zachomedia . When the upstream issue is resolved, we can revert changes from #14

vulnerabilities found in shiny

When creating a PR to update packages in shiny for PR 26 StatCan/R-dashboards#26 the container scan showed the following vulnerabilities:

Scanning for vulnerabilties...

║ VULNERABILITY ID │ PACKAGE NAME │ SEVERITY │ DESCRIPTION

CVE-2019-20367 │ libbsd0 │ CRITICAL │ nlist.c in libbsd before 0.10.0 has an out-of-bounds read
║ │ │ │ during a comparison for a symbol name from the string table
║ │ │ │ (strtab).

CVE-2020-25696 │ libpq-dev │ CRITICAL │ A flaw was found in the psql interactive terminal of
║ │ │ │ PostgreSQL in versions before 13.1, before 12.5, before
║ │ │ │ 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an
║ │ │ │ interactive psql session uses \gset when querying a
║ │ │ │ compromised server, the attacker can execute arbitrary code
║ │ │ │ as the operating system account running psql. The highest
║ │ │ │ threat from this vulnerability is to data confidentiality
║ │ │ │ and integrity as well as system availability.

CVE-2020-25696 │ libpq5 │ CRITICAL │ A flaw was found in the psql interactive terminal of
║ │ │ │ PostgreSQL in versions before 13.1, before 12.5, before
║ │ │ │ 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an
║ │ │ │ interactive psql session uses \gset when querying a
║ │ │ │ compromised server, the attacker can execute arbitrary code
║ │ │ │ as the operating system account running psql. The highest
║ │ │ │ threat from this vulnerability is to data confidentiality
║ │ │ │ and integrity as well as system availability.

CVE-2019-18814 │ linux-libc-dev │ CRITICAL │ An issue was discovered in the Linux kernel through 5.3.9.
║ │ │ │ There is a use-after-free when aa_label_parse() fails in
║ │ │ │ aa_audit_rule_init() in security/apparmor/audit.c.
║ CVE-2020-15180 │ mariadb-common │ CRITICAL │ No description is available for this CVE.

Missing packages

Our shiny report under visualize-team/example2 uses two packages that aren't installed on the shiny server.

Can you add them to your packages file?

sqldf
shinythemes

Thanks!

Issues with TLSv1.3 and the STC website

I think there was an update over the weekend in the STC website that allows only TLSv1.2 and not TLSv1.3.

This is an issue in some of the latest linux OSs (Debian, Ubuntu 20.04 LTS) when downloading a CODR table from R with thelibrary(cansim) (or file.download()). The cansim R library is used in the EV shiny application.

Some potential solutions are to modify the openssl.cnf or to allow both versions of TLS.

@ca-scribner @blairdrummond

Add invalidateLater to the docs on Shiny

A few people asking how to keep their datasources up-to-date in their dashboards. This is a development question not a platform question, but we can still provide a tiny bit of guidance in the docs. I recommended that someone use this:

https://shiny.rstudio.com/reference/shiny/latest/invalidateLater.html

The refresh logic is built into the app this way, rather than with a cronjob or something crazy. Then I think we can recommend that they pull from an API or from their shared MinIO storage.

Question for @justbert; can the Shiny server access Minio? Do we need to create a faux-user with read-only access to the shared buckets?

CC @ca-scribner

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.