-
Notifications
You must be signed in to change notification settings - Fork 32
demo-shinyapps.io-v310 diff with dev
#826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
105f304
small change to run_dev.R
AARON-CLARK a99823b
Adjust initial auto-decision values
AARON-CLARK a30658b
Add the default login note, because we want to deploy with a demo use…
AARON-CLARK fe147ec
updated app.R
0f25cf7
update renv.lock and add demo credentials to credentials.sqlite on st…
AARON-CLARK d1841af
updated login note in app.R
AARON-CLARK f013e7e
fix merge conflicts in run_app()
AARON-CLARK 8b943f1
fixed merge conflicts
AARON-CLARK 219863b
get rid of url checker
AARON-CLARK 4d052ad
uncomment upload_pkgs00(NULL)
AARON-CLARK 335f29e
attempted fix for known riskmetric weighting bug #293
AARON-CLARK fa4a93e
remove print statements
AARON-CLARK 7f26c90
get rid of database.sql... what is that?
AARON-CLARK 6fbc9d4
Merge pull request #566 from pharmaR/dev-demo-shiniyapp.io-v100
AARON-CLARK f58dc8d
update config with new decision rules
AARON-CLARK db06cef
track database.sqlite
AARON-CLARK 3dedbb5
track credentials temporarily
AARON-CLARK 8ce5bcb
Use configuration file for demo databases
Jeff-Thompson12 e537989
Correctly specify demo configuration
Jeff-Thompson12 3c0c8a8
fix bug with re-scoring
AARON-CLARK ffbb826
fixed merge conflict with credentials_demo.sqlite
AARON-CLARK a78d15e
Resolve v2.0.0 merge conflicts
Jeff-Thompson12 dbc7134
Update databases
Jeff-Thompson12 fecdafc
Add an RSConnect ignore file
Jeff-Thompson12 966d461
Merge branch 'master' into dev-demo-shinyapp.io-v2.0.0
Jeff-Thompson12 e30dc9e
Merge branch 'master' into dev-demo-shinyapp.io-v2.0.0
AARON-CLARK 7ab635d
fix broken package dependency table
AARON-CLARK 266a00d
Merge branch 'master' into dev-demo-shinyapp.io-v2.0.0
AARON-CLARK a7a76a5
update database and config with some extra content
AARON-CLARK 3871b84
Merge pull request #610 from pharmaR/dev-demo-shinyapp.io-v2.0.0
AARON-CLARK 30452dd
fix merge conflicts in mod_uploadPackage regarding URL checker
AARON-CLARK 55e9a24
initialize new creds and assessment db for demo
AARON-CLARK cfeaf35
update default demo crednetials and login notes
AARON-CLARK 3958ee1
Initialize roles as well
Jeff-Thompson12 263bf9b
Move rules to demo configuration
Jeff-Thompson12 ff10aa7
fix typo in credentials initiatlization for demo branch and turn on f…
AARON-CLARK 590f147
Add base:: prefix onto parse()
AARON-CLARK dd6689c
Verify app will not crash if `get_parse_data()` never runs
Jeff-Thompson12 c1fccdf
Verify app fails at first parsing
Jeff-Thompson12 9ae5731
Make sure value isn't being overwritten with global option
Jeff-Thompson12 86b7257
Merge branch 'dev' into demo-shinyapps.io
AARON-CLARK 5f5d260
add placeholder file into source/ folder
AARON-CLARK 83c6ed7
testing dummy pkg in source file with new unlink() call, exluding dum…
AARON-CLARK 7fa9fe7
create demo database of 10 pkgs
AARON-CLARK 0fccec3
revert back to original unlink
AARON-CLARK 5ef937a
update database with other half of 300 pkgs, and rewrite login_note
AARON-CLARK c36a06d
Add the dummy file back again
AARON-CLARK f665c4c
ignore sources again
AARON-CLARK 845143d
remove demo database and reset config file
AARON-CLARK adb1fb1
update databases
AARON-CLARK 3ce522a
resolve merge conflicts
aclark02-arcus e000f04
Merge pull request #801 from pharmaR/master
aclark02-arcus 0735bba
Merge pull request #809 from pharmaR/dev
aclark02-arcus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,12 +79,12 @@ create_credentials_db <- function(db_name, admin_role = ""){ | |
|
|
||
| # Init the credentials table for credentials database | ||
| credentials <- data.frame( | ||
| user = "ADMIN", | ||
| password = "QWERTY1", | ||
| user = c("demo_admin", "demo_lead", "demo_reviewer", "demo_viewer"), | ||
| password = c("Admin@1", "Lead@1", "Reviewer@1", "Viewer@1"), | ||
| # password will automatically be hashed | ||
| admin = TRUE, | ||
| expire = as.character(get_Date()), | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can this be set to |
||
| role = admin_role, | ||
| role = c("admin", "lead", "reviewer", "viewer"), | ||
| stringsAsFactors = FALSE | ||
| ) | ||
|
|
||
|
|
@@ -101,7 +101,8 @@ create_credentials_db <- function(db_name, admin_role = ""){ | |
| con, name = "pwd_mngt", | ||
| passphrase = passphrase) %>% | ||
| dplyr::mutate(must_change = ifelse( | ||
| have_changed == "TRUE", must_change, as.character(TRUE))) | ||
| user == "ADMIN" & have_changed == "FALSE", | ||
| as.character(TRUE), must_change)) | ||
|
|
||
| shinymanager::write_db_encrypt( | ||
| con, | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| DO NOT DELETE THIS FILE | ||
|
|
||
| It's here for convenience so that this demo branch is easier to deploy to | ||
| shinyapps.io. When deploying, having any file in the source/ directory | ||
| will ensure that this folder persistents when deployed. Thus, it aptly | ||
| facilitates storage of untarred pkg sources much more consistently. Without it, | ||
| shinyapps.io will frequenly (and successfully) remove the source/ dir, which is | ||
| not ideal. | ||
|
|
||
| Thank you! | ||
| {riskassessment} dev team |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -403,4 +403,4 @@ Check out some of the `riskmetric` or `riskassessment` presentations in [www.pha | |
| <br> | ||
| <br> | ||
| <br> | ||
| <br> | ||
| <br> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.