Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
dc54db8
Fix for ui autocomplete
dennyverbeeck Nov 22, 2016
04e906f
version release 16.2
Dec 12, 2016
b66ea48
application version 16.2
Dec 13, 2016
ed40d77
updated browse delete study/program with children messages
Dec 14, 2016
39c15bb
include GWAS-plink plugin
Dec 14, 2016
9b481cc
simple version number
Dec 14, 2016
fbf6ab3
Escape collision of jq versions on the qurypanel.
Dec 15, 2016
872abac
Fix TRANSREL-153: ignore empty string variable values
Dec 22, 2016
d8533e6
updated SmartR version
sherzinger Jan 2, 2017
68c01cf
Merge pull request #207 from transmart/transmart-SmartR
sherzinger Jan 2, 2017
48fe62a
use standard email contact for uploadData
Jan 3, 2017
03c0a77
unique name for activateTab in datasetExplorer
Jan 3, 2017
b134ab8
browserDetect script in case of future version issues
Jan 3, 2017
b3012ee
Update BuildConfig.groovy
sherzinger Jan 4, 2017
ee542ce
Merge branch 'master' of github.com:transmart/transmartApp
Jan 23, 2017
e1645c3
rename activateTab to be unique
Jan 23, 2017
37359c7
Catch null and empty variable params
Jan 23, 2017
f9b2cb1
browser version detect code in case of need
Jan 23, 2017
8b3968c
Merge master branch
Jan 23, 2017
bba635f
Fixed restore comparison from workspace, for clinical and highdimensi…
dennyverbeeck Feb 2, 2017
2eed677
Fixing an issue linked with SmartR importation of another version of …
anthony-o Feb 1, 2017
ae1cdae
Merge pull request #208 from dennyverbeeck/fix/restore-comparison
Feb 3, 2017
acb4a7a
Hidome Ffature: when search term left empty, you get a 'no-value' typ…
dennyverbeeck Feb 3, 2017
42a4fbe
Merge pull request #210 from dennyverbeeck/feature/hidome-novalue
Feb 3, 2017
41fac62
Merge pull request #209 from anthony-o/fix-search-issues-involving-jq…
Feb 3, 2017
a362123
Catch empty search terms list
Feb 3, 2017
24b25da
name of xnat import enable parameter
Feb 3, 2017
3b95368
xnat import enable parameter
Feb 3, 2017
0f9a306
typo in error message
Feb 3, 2017
020a20d
jQuery Noconflict updates; variable name typo
Feb 5, 2017
9d69e32
Fix in repopulate filter window that caused not being able to create …
dennyverbeeck Feb 8, 2017
349727c
Add button for 'No filter' option in high dimensional data instead of…
dennyverbeeck Feb 8, 2017
d0d67b4
Cosmetic change to query display
dennyverbeeck Feb 8, 2017
a80f09e
Merge pull request #212 from dennyverbeeck/fix/TRANSREL-168
Feb 8, 2017
b70e5a6
Merge pull request #211 from dennyverbeeck/fix/TRANSREL-169
Feb 8, 2017
1bf36e0
Fix for using 'No filter' when dropping high dimensional concept into…
dennyverbeeck Feb 9, 2017
f6931c9
Fixes for HiDome
dennyverbeeck Mar 1, 2017
f7438f6
Merge branch 'fix/TRANSREL-168' into fix/hidome-fixes
dennyverbeeck Mar 1, 2017
960c02c
Merge pull request #214 from dennyverbeeck/fix/hidome-fixes
Mar 1, 2017
c69d19e
Fix an issue in Workspace (saved queries)
dennyverbeeck Mar 1, 2017
9302ccc
Merge pull request #215 from dennyverbeeck/fix/display-query-workspace
Mar 1, 2017
8659ebe
restore gene list functionality
Mar 9, 2017
e0c3636
fix for 1000 patient query in oracle from 17.1
Mar 9, 2017
0097380
Convert Oracle CLOB to parse XML
Mar 9, 2017
d0b2606
move AS to be accepted as SQL syntax on Oracle
Mar 9, 2017
4852fbb
Merge remote-tracking branch 'transmart/master' into release-16.2
Mar 13, 2017
38327be
GenePatternFiles class public
Mar 13, 2017
f39c141
Merge remote-tracking branch 'transmart/master' into release-16.2
Mar 13, 2017
365fb47
Added alias for subquery, since postgres requires this. Omitted the '…
dennyverbeeck Mar 16, 2017
66e7023
Add the gwas-plink plugin by default
dennyverbeeck Mar 16, 2017
ca2c689
Merge pull request #216 from dennyverbeeck/master
Mar 17, 2017
81bbab2
Merge remote-tracking branch 'transmart/master' into release-16.2
Mar 17, 2017
3ff36f4
correcting a few typos
Mar 17, 2017
d059b55
Add pretty names for probeId and transcriptId
dennyverbeeck Mar 22, 2017
383c7a7
release-16.1-TraIT fixes
Mar 31, 2017
2fb86ec
Browse fix for studies loaded below c_hlevel 1
Apr 7, 2017
6d1b8fc
Merge pull request #217 from dennyverbeeck/feature/hidome
Apr 7, 2017
17bfc70
Merge pull request #218 from transmart/release-16.1-TraIT-fixes
Apr 7, 2017
956244b
Merge branch 'master' of github.com:transmart/transmartApp
Apr 7, 2017
5ecc8e5
Merge remote-tracking branch 'transmart/master' into release-16.2
Apr 19, 2017
4b17ab1
Fix for probeid genesignatures
Apr 19, 2017
38c3188
redisplay programs after 'delete program'
Apr 19, 2017
8607434
Option ui.jirareport.hide to hide 'report a bug' button
Apr 19, 2017
889f243
fix for 'delete program'; fix function name spellings
Apr 19, 2017
14784c5
Merge remote-tracking branch 'transmart/master' into release-16.2
Apr 19, 2017
5916266
remove console.log message
Apr 19, 2017
75d78ca
Merge remote-tracking branch 'transmart/master' into release-16.2
Apr 19, 2017
843bcff
Fix typos in accessLog message
May 24, 2017
8953388
Make gridview column label unambiguous
May 24, 2017
3a25179
Merge remote-tracking branch 'transmart/master' into release-16.2
May 24, 2017
0c990b2
TM-152: Data attestion page
zwright Oct 27, 2017
e2992c8
TM-152: Data attestion page null checks
zwright Oct 27, 2017
0f01c51
TM-152: Quick start link
zwright Oct 30, 2017
d3a7ec3
TM-152: Page title reset after Genome Browser
zwright Oct 30, 2017
f5da6f4
TM-152: Fix jquery for closing utilities menu
Oct 30, 2017
8f6a08a
TM-152: MOTD and config customizations
zwright Oct 31, 2017
72daae3
TM-152: Logos
KingstonDuo Oct 31, 2017
be6d991
TM-152: Added emails to configs
Oct 31, 2017
5b3fb72
TM-152: Contact emails
KingstonDuo Oct 31, 2017
baf7c9e
TM-152: App titles
KingstonDuo Oct 31, 2017
aaee4ec
TM 152: Platform dropdown
KingstonDuo Nov 6, 2017
1ecdc43
TM-152: Don't return unauthorized studies
KingstonDuo Nov 7, 2017
5b383d6
TM 152: Across Trials security fixes
KingstonDuo Nov 17, 2017
2880ce9
TM 234: Move code from HTML to JS
KingstonDuo Nov 21, 2017
043ff56
TM-234: Check before clearing data grid element
KingstonDuo Nov 22, 2017
68cd925
TM 234: Remove test file
KingstonDuo Nov 30, 2017
cd3f0ba
Merge pull request #1 from Kretzler-Lab/TM_234_16_2_Bugs
KingstonDuo Nov 30, 2017
01a87ec
TM 152: Across Trials tooltips, search limit
KingstonDuo Dec 1, 2017
9e555b9
Merge pull request #2 from Kretzler-Lab/TM-152_16_2_Upgrade
rlreamy Dec 1, 2017
f7fbaee
TM-224: Thicken grid lines
KingstonDuo Dec 4, 2017
01a99d2
TM-229: Added axis labels
KingstonDuo Dec 4, 2017
a295de2
Merge pull request #3 from Kretzler-Lab/TM-224_Grid_Lines
rlreamy Dec 4, 2017
35f7693
Merge pull request #4 from Kretzler-Lab/TM-229_Axis_Labels
rlreamy Dec 4, 2017
d72584f
TM-226: Update Jfree chart library
KingstonDuo Dec 5, 2017
f35439d
TM-226: Add new jFree jars
KingstonDuo Dec 5, 2017
cfd7393
TM-226: Fixed missing user error
KingstonDuo Dec 5, 2017
5b101e3
Merge pull request #5 from Kretzler-Lab/TM-226_Chart_Tooltips
rlreamy Dec 5, 2017
7273c04
TM-229: Add labels to numeric concept charts
KingstonDuo Dec 5, 2017
8b8b9f5
Merge pull request #6 from Kretzler-Lab/TM-229_Axis_Labels
rlreamy Dec 5, 2017
f20fce6
Make tranSMART build on my machine
Dec 5, 2017
9e6ef8b
TM-245: Remove the em tag so that the user can click on the number an…
Dec 7, 2017
b8c86ba
TM-246: Adding changes so we can work on Zachs machine
Dec 12, 2017
ec011e5
TM 246: Sort by category
KingstonDuo Dec 12, 2017
32ba2fd
Merge pull request #8 from Kretzler-Lab/TM-246_RaceSummaryStatsSortOrder
rlreamy Dec 12, 2017
cf08b5c
Merge pull request #7 from Kretzler-Lab/TM_245_GrabTermsIssue
zwright Dec 12, 2017
e89f9df
TM 247: Put pvalues in scientific notation
KingstonDuo Dec 12, 2017
8ff202e
TM-247: Styling the stats
KingstonDuo Dec 13, 2017
22f59ec
TM-247: Vertical table
KingstonDuo Dec 13, 2017
bdee9c4
TM-225: Use concept name for subset
KingstonDuo Dec 13, 2017
a63722b
TM-225: Use full concept path
KingstonDuo Dec 14, 2017
6bbbc97
Update _conceptsAnalysis.gsp
rlreamy Dec 14, 2017
947d07e
Merge pull request #9 from Kretzler-Lab/TM-247_Summary_Stats_Pvalue
rlreamy Dec 14, 2017
98a9b70
TM-225: Remove extra Private Studies
KingstonDuo Dec 14, 2017
b99ccaa
Merge pull request #10 from Kretzler-Lab/TM-225_Long_Subset_Name
rlreamy Dec 15, 2017
638b5ef
TM-86: Add search icon
KingstonDuo Dec 15, 2017
421274e
TM-86: Placeholder text
KingstonDuo Dec 15, 2017
23d1fbb
Merge pull request #11 from Kretzler-Lab/TM-86_Label_Search_Box
rlreamy Dec 15, 2017
65db92e
TM-86: Use font-awesome instead
KingstonDuo Dec 19, 2017
7b9c092
Merge pull request #12 from Kretzler-Lab/TM-86_Label_Search_Box
rlreamy Dec 19, 2017
5867a96
TM-57: Make the labels on th pie chart readable
Dec 21, 2017
286e3b5
TM-57: Make labels easier to read in bar charts
Dec 22, 2017
6c52e45
TM-222: Modify config to use relative path
Dec 22, 2017
a63ec75
TM-242: Hide upload data link
Jan 2, 2018
3878744
Merge pull request #14 from Kretzler-Lab/TM-222_FixHelpLink
zwright Jan 2, 2018
f9ee76e
Merge pull request #13 from Kretzler-Lab/TM-57_FixVizLabels
zwright Jan 2, 2018
6e13169
TM-258: Formalize names
KingstonDuo Feb 1, 2018
cebfe93
TM-272: Remove autocomplete code
KingstonDuo Feb 2, 2018
a534a3d
TM-272: Tweaks to get rid of errors
KingstonDuo Feb 2, 2018
e469143
TM-272: More tweaks to get rid of errors
KingstonDuo Feb 2, 2018
2958d2e
Merge pull request #15 from Kretzler-Lab/TM-258_Formalize_Stat_Words
rlreamy Feb 2, 2018
7db405f
TM-271: Terms -> Concepts
KingstonDuo Feb 2, 2018
50a02fb
TM-285: Disable GWAS
KingstonDuo Feb 2, 2018
68b54ba
Merge pull request #16 from Kretzler-Lab/TM-272_Remove_Autocomplete
rlreamy Feb 2, 2018
8c9d9b9
Merge pull request #17 from Kretzler-Lab/TM-271_Drag_Terms_Label
rlreamy Feb 2, 2018
7ceb27e
Merge pull request #18 from Kretzler-Lab/TM-285_Disable_GWAS
rlreamy Feb 2, 2018
5382bcf
TM-284: Remove button
KingstonDuo Feb 5, 2018
12f1389
TM-257: Set outline and whisker color to black
KingstonDuo Feb 5, 2018
f7e64f9
Merge pull request #19 from Kretzler-Lab/TM-284_Remove_Filter_Button
rlreamy Feb 5, 2018
6b7c581
Merge pull request #20 from Kretzler-Lab/TM-257_Whisker_Color
rlreamy Feb 5, 2018
565b121
TM-217: Basic monitoring page
KingstonDuo Feb 6, 2018
e71f53e
TM-259: Added a couple of divs and moved all subset stats boxes into …
Feb 6, 2018
5b9cf05
TM-259: Make subset boxes closer on big screen
Feb 6, 2018
e0c1bb7
TM-214: Updated the version number to show that we have modified the app
Feb 6, 2018
ba06150
TM-217: More monitoring info
KingstonDuo Feb 6, 2018
c340524
Merge pull request #21 from Kretzler-Lab/TM-259_FixSubsetCharts
zwright Feb 7, 2018
03ff832
Merge pull request #22 from Kretzler-Lab/TM-214_ShowVersionNumber
zwright Feb 7, 2018
dd84be5
TM-217: Move things to service
KingstonDuo Feb 7, 2018
8633e43
Merge pull request #23 from Kretzler-Lab/TM-217_Database_Monitor_Page
rlreamy Feb 7, 2018
b77108f
TM-227: Removed the duplicated summary graph
May 21, 2018
6358ce4
Merge pull request #24 from Kretzler-Lab/TM-227_DuplicatedSummary
zwright May 22, 2018
42b31da
TM-299: Change the color of the box-plots to make the outliers more v…
May 24, 2018
65657e0
Merge pull request #25 from Kretzler-Lab/TM-299_BoxAndWhiskerPlotColors
zwright May 25, 2018
13e2315
TM-298: CPROBE config
KingstonDuo May 25, 2018
5c5aaef
TM-298: CPROBE logo
KingstonDuo May 25, 2018
23da234
TM 298: New email address
KingstonDuo May 29, 2018
a6e6228
Merge pull request #26 from Kretzler-Lab/TM-298_CPROBE_Config
rlreamy May 29, 2018
0a58cab
A couple of tweaks to the config
KingstonDuo Jun 1, 2018
de074ac
Merge pull request #27 from Kretzler-Lab/CPROBE_Config
rlreamy Jun 6, 2018
3e59272
TM 324: Updates to the Config
KingstonDuo Jun 8, 2018
351a12b
TM 327: Use the item!
KingstonDuo Jun 8, 2018
5e4ee7a
Merge pull request #28 from Kretzler-Lab/TM-324_Update_Quick_Start
rlreamy Jun 11, 2018
51f5e41
Merge pull request #29 from Kretzler-Lab/TM-327_Cohort_Detail
rlreamy Jun 11, 2018
3cab14a
TM-333: update help link
KingstonDuo Jul 24, 2018
6b838ac
Merge pull request #30 from Kretzler-Lab/TM-333_New_Help_Doc
rlreamy Jul 25, 2018
2af08fd
TM-708: Added new menu items with links
rlreamy May 22, 2019
001beda
Merge pull request #31 from Kretzler-Lab/TM-408_UpdateUtilitiesMenu
zwright May 24, 2019
e78a870
KPMP-409: Added logic to turn menu items on or off
rlreamy May 24, 2019
8f117ac
KPMP-409: Added new items for KPMP-413 as well
rlreamy May 24, 2019
a8dd1b9
Merge pull request #32 from Kretzler-Lab/KPMP-409_UpdateUtilitiesCure
zwright May 24, 2019
4adfe25
KPMP-384: Changed version number
rlreamy May 24, 2019
8a355b8
Merge pull request #33 from Kretzler-Lab/KPMP-384_RemovePathwayFromPopup
zwright May 24, 2019
1edef92
TM-409: fix typo
rlreamy May 28, 2019
2cc7b37
TM-409: fix typo
rlreamy May 28, 2019
4ff9b7b
TM-412: Initial stab at a fix
rlreamy May 29, 2019
5df19cd
TM-412: Changed the call to set the tooltip generator
rlreamy May 30, 2019
bfef9f6
TM-412: Fix version number
rlreamy May 30, 2019
554dd8e
Merge pull request #34 from Kretzler-Lab/TM-412_FixHistograms
zwright May 30, 2019
2b020d6
TM-421: Make points on box and points plot gray
rlreamy May 30, 2019
3aa8c58
Merge pull request #35 from Kretzler-Lab/TM-421_ChangeColorOfPoints
zwright May 31, 2019
9eb8f37
Update Config.rpc2.groovy
zwright May 31, 2019
1b8550d
KPMP-435: Change front page message
zwright Jul 10, 2019
cec78ec
Merge pull request #36 from Kretzler-Lab/TM-435_Update_Front_Text
rlreamy Jul 10, 2019
b75c163
TM-482: Add files to dropdown and config
zwright Jan 23, 2020
cdcf2e1
TM-483: Try just links
zwright Jan 24, 2020
5b3dd95
TM-483: Try just links with no separate tab
zwright Jan 24, 2020
53c54b4
Merge pull request #37 from Kretzler-Lab/TM-483_File_Links
zwright Feb 21, 2020
bdb16d8
TM-467: H3Africa config file and logo
zwright Feb 21, 2020
0130b81
Merge pull request #38 from Kretzler-Lab/TM-467_H3Africa_Config
rlreamy Feb 24, 2020
e08f680
TM-467: Fix email addres
zwright Feb 27, 2020
0748951
Merge pull request #39 from Kretzler-Lab/TM-467_Config_Fix
rlreamy Feb 27, 2020
5b8f0a3
TM-496: Remove unused guides
zwright Apr 6, 2020
4854a10
TM-496: Update data attestation
zwright Apr 7, 2020
afdce0d
Merge pull request #40 from Kretzler-Lab/TM-496_Update_Config
rlreamy Apr 8, 2020
670ccde
TM-501: Turn off exporting
zwright Apr 20, 2020
bee18c9
Merge pull request #41 from Kretzler-Lab/TM-501_No_Export
rlreamy Apr 20, 2020
e5af828
Update Config.curegn.groovy
rlreamy Apr 9, 2024
70041e6
Update Config.rpc2.groovy
rlreamy Apr 9, 2024
9e40db8
Update Config.neptune.groovy
rlreamy Apr 9, 2024
6235b3f
Update Config.cprobe.groovy
rlreamy Apr 9, 2024
b1ba69b
Update Config.h3africa.groovy
rlreamy Apr 9, 2024
78fed82
Update Config.groovy
rlreamy Apr 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
app.grails.version=2.3.11
app.name=transmart
app.servlet.version=2.5
app.version=tranSMART 16.2 CI
app.version=16.2.1.UMich.1
2 changes: 1 addition & 1 deletion grails-app/conf/BootStrap.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class BootStrap {
}

if (!tsAppRScriptsDir || !tsAppRScriptsDir.isDirectory()) {
throw new RuntimeException('Could not determine proper for ' +
throw new RuntimeException('Could not determine proper value for ' +
'com.recomdata.transmart.data.export.rScriptDirectory')
}
c.com.recomdata.transmart.data.export.rScriptDirectory = tsAppRScriptsDir.canonicalPath
Expand Down
53 changes: 31 additions & 22 deletions grails-app/conf/BuildConfig.groovy
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ grails.project.fork = [
console: forkSettingsOther]

grails.project.war.file = "target/${appName}.war"
grails.plugin.location.'rdc-rmodules' = '../Rmodules-kretzlerLab'
grails.plugin.location.'transmart-core' = '../transmart-core-db-kretzlerLab'

/* we need at least servlet-api 2.4 because of HttpServletResponse::setCharacterEncoding */
grails.servlet.version = "2.5"
Expand Down Expand Up @@ -58,7 +60,7 @@ grails.project.dependency.resolution = {

runtime 'org.javassist:javassist:3.16.1-GA'

compile 'org.transmartproject:transmart-core-api:16.2-SNAPSHOT'
compile 'org.transmartproject:transmart-core-api:16.2'

compile 'antlr:antlr:2.7.7'
compile 'net.sf.opencsv:opencsv:2.3'
Expand All @@ -71,6 +73,7 @@ grails.project.dependency.resolution = {
excludes 'groovy', 'nekohtml', 'httpclient', 'httpcore'
}
compile 'org.rosuda:Rserve:1.7.3'
compile 'org.rosuda:REngine:1.7.3'
compile 'com.google.guava:guava:18.0'
compile 'net.sf.ehcache:ehcache:2.9.0'
compile 'org.apache.httpcomponents:httpclient:4.4.1'
Expand Down Expand Up @@ -134,30 +137,33 @@ grails.project.dependency.resolution = {
compile ":codenarc:0.21"

if (!dm) {
runtime ':smart-r:1.1-STABLE-SNAPSHOT'
compile ':rdc-rmodules:16.2-SNAPSHOT'
runtime ':transmart-core:16.2-SNAPSHOT'
compile ':transmart-gwas:16.2-SNAPSHOT'
runtime ':smart-r:16.2-STABLE'
compile ':rdc-rmodules:16.2'
runtime ':transmart-core:16.2'
compile ':transmart-gwas:16.2'
compile ':transmart-gwas-plink:16.2'
//// already included in transmart-gwas
//compile ':transmart-legacy-db:16.2-SNAPSHOT'
//compile ':transmart-legacy-db:16.2'
//// already included in transmart-gwas
//compile ':folder-management:16.2-SNAPSHOT'
//compile ':folder-management:16.2'
//// already included in transmart-gwas, folder-management
//compile ':search-domain:16.2-SNAPSHOT'
//compile ':search-domain:16.2'
//// already included in search-domain, transmart-gwas,
// folder-management
//compile ':biomart-domain:16.2-SNAPSHOT'
//compile ':biomart-domain:16.2'
//// already included in biomart-domain
//compile ':transmart-java:16.2-SNAPSHOT'
runtime ':dalliance-plugin:16.2-SNAPSHOT'
runtime ':transmart-mydas:16.2-SNAPSHOT'
runtime ':transmart-rest-api:16.2-SNAPSHOT'
runtime ':blend4j-plugin:16.2-SNAPSHOT'
runtime ':transmart-metacore-plugin:16.2-SNAPSHOT'
runtime ':transmart-xnat-importer:16.2-SNAPSHOT'
runtime ':xnat-viewer:16.2-SNAPSHOT'

test ':transmart-core-db-tests:16.2-SNAPSHOT'
//compile ':transmart-java:16.2'
// -- Genome Browser plugin --
// to include the plugin, uncomment the following two lines
//runtime ':dalliance-plugin:16.2'
//runtime ':transmart-mydas:16.2'
runtime ':transmart-rest-api:16.2'
runtime ':blend4j-plugin:16.2'
runtime ':transmart-metacore-plugin:16.2'
runtime ':transmart-xnat-importer:16.2'
runtime ':xnat-viewer:16.2'

//test ':transmart-core-db-tests:16.2'
} else {
dm.internalDependencies delegate
}
Expand All @@ -170,15 +176,18 @@ grails.project.dependency.resolution = {
dm?.with {
configureInternalPlugin 'compile', 'rdc-rmodules'
configureInternalPlugin 'runtime', 'transmart-core'
configureInternalPlugin 'test', 'transmart-core-db-tests'
//configureInternalPlugin 'test', 'transmart-core-db-tests'
configureInternalPlugin 'compile', 'transmart-gwas'
configureInternalPlugin 'compile', 'transmart-gwas-plink'
configureInternalPlugin 'compile', 'transmart-java'
configureInternalPlugin 'compile', 'biomart-domain'
configureInternalPlugin 'compile', 'search-domain'
configureInternalPlugin 'compile', 'folder-management'
configureInternalPlugin 'compile', 'transmart-legacy-db'
configureInternalPlugin 'runtime', 'dalliance-plugin'
configureInternalPlugin 'runtime', 'transmart-mydas'
// -- Genome Browser plugin --
// to include the plugin, uncomment the following two lines
//configureInternalPlugin 'runtime', 'dalliance-plugin'
//configureInternalPlugin 'runtime', 'transmart-mydas'
configureInternalPlugin 'runtime', 'transmart-rest-api'
configureInternalPlugin 'runtime', 'blend4j-plugin'
configureInternalPlugin 'runtime', 'transmart-metacore-plugin'
Expand Down
Empty file modified grails-app/conf/Config.groovy
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions grails-app/conf/GlobalResources.groovy
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ modules = {
resource url: 'css/datasetExplorer.css'
resource url: 'css/querypanels.css'
resource url: 'css/sanofi.css'
resource url: 'css/font-awesome-4.7.0/css/font-awesome.min.css'
}

uploadDataTab {
Expand Down
Empty file modified grails-app/conf/UrlMappings.groovy
100644 → 100755
Empty file.
24 changes: 11 additions & 13 deletions grails-app/controllers/ChartController.groovy
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class ChartController {
log.trace(user.toString());
def concept_key = params.concept_key;
log.trace("Requested counts for parent_concept_path=" + concept_key);
def counts = i2b2HelperService.getChildrenWithPatientCountsForConcept(concept_key)
def counts = i2b2HelperService.getChildrenWithPatientCountsForConcept(concept_key,user)
def access = i2b2HelperService.getChildrenWithAccessForUserNew(concept_key, user)
log.trace("access:" + (access as JSON));
log.trace("counts = " + (counts as JSON))
Expand Down Expand Up @@ -222,7 +222,6 @@ class ChartController {
def subsets = chartService.computeChartsForSubsets(chartService.getSubsetsFromRequest(params))
def concepts = chartService.getConceptsForSubsets(subsets)
concepts.putAll(chartService.getHighDimensionalConceptsForSubsets(subsets))

// Time to delivery !
render(template: "summaryStatistics", model: [subsets: subsets, concepts: concepts])
}
Expand All @@ -232,6 +231,7 @@ class ChartController {
String concept_key = params.concept_key;
def result_instance_id1 = params.result_instance_id1;
def result_instance_id2 = params.result_instance_id2;
def user = AuthUser.findByUsername(springSecurityService.getPrincipal().username)

/*which subsets are present? */
boolean s1 = (result_instance_id1 == "" || result_instance_id1 == null) ? false : true;
Expand All @@ -245,8 +245,8 @@ class ChartController {
if (table == null) {

table = new ExportTableNew();
if (s1) i2b2HelperService.addAllPatientDemographicDataForSubsetToTable(table, result_instance_id1, "subset1");
if (s2) i2b2HelperService.addAllPatientDemographicDataForSubsetToTable(table, result_instance_id2, "subset2");
if (s1) i2b2HelperService.addAllPatientDemographicDataForSubsetToTable(table, result_instance_id1, "subset1", user);
if (s2) i2b2HelperService.addAllPatientDemographicDataForSubsetToTable(table, result_instance_id2, "subset2", user);

List<String> keys = i2b2HelperService.getConceptKeysInSubsets(result_instance_id1, result_instance_id2);
Set<String> uniqueConcepts = i2b2HelperService.getDistinctConceptSet(result_instance_id1, result_instance_id2);
Expand All @@ -258,8 +258,8 @@ class ChartController {

if (!i2b2HelperService.isHighDimensionalConceptKey(keys.get(i))) {
log.trace("adding concept data for " + keys.get(i));
if (s1) i2b2HelperService.addConceptDataToTable(table, keys.get(i), result_instance_id1);
if (s2) i2b2HelperService.addConceptDataToTable(table, keys.get(i), result_instance_id2);
if (s1) i2b2HelperService.addConceptDataToTable(table, keys.get(i), result_instance_id1, user);
if (s2) i2b2HelperService.addConceptDataToTable(table, keys.get(i), result_instance_id2, user);
}
}

Expand All @@ -272,16 +272,14 @@ class ChartController {
PrintWriter pw = new PrintWriter(response.getOutputStream());

if (concept_key && !concept_key.isEmpty()) {


// We retrieve the highdimension parameters from the client, if they were passed
def omics_params = [:]
params.findAll { k, v ->
k.startsWith("omics_")
}.each { k, v ->
omics_params[k] = v
}
if (omics_params) { // empty maps are coerced to false by groovy
if (omics_params) {
omics_params.concept_key = concept_key
if (s1) highDimensionQueryService.addHighDimConceptDataToTable(table, omics_params, result_instance_id1)
if (s2) highDimensionQueryService.addHighDimConceptDataToTable(table, omics_params, result_instance_id2)
Expand All @@ -302,8 +300,8 @@ class ChartController {
conceptKeys.add(concept_key);

for (ck in conceptKeys) {
if (s1) i2b2HelperService.addConceptDataToTable(table, ck, result_instance_id1);
if (s2) i2b2HelperService.addConceptDataToTable(table, ck, result_instance_id2);
if (s1) i2b2HelperService.addConceptDataToTable(table, ck, result_instance_id1, user);
if (s2) i2b2HelperService.addConceptDataToTable(table, ck, result_instance_id2, user);
}
}

Expand All @@ -326,8 +324,8 @@ class ChartController {

accessLogService.report(currentUserBean, 'Grid View Data Export',
eventMessage: "User (IP: ${request.getHeader('X-FORWARDED-FOR') ?: request.remoteAddr}) just exported" +
" data for tieal(s) (${trialsCsv}): variables (${exportedVariablesCsv}) measurements for the" +
" folowing patients set(s): " +
" data for trial(s) (${trialsCsv}): variables (${exportedVariablesCsv}) measurements for the" +
" following patient set(s): " +
[params.result_instance_id1, params.result_instance_id2].findAll().join(', '),
requestURL: request.forwardURI)

Expand Down
45 changes: 45 additions & 0 deletions grails-app/controllers/DataAttestationController.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import DataAttestation
import org.springframework.web.servlet.support.RequestContextUtils
import org.transmart.searchapp.AuthUser

class DataAttestationController {

def springSecurityService
def messageSource

def index = {
def user = AuthUser.findByUsername(springSecurityService.getPrincipal().username)
if (DataAttestation.needsDataAttestation(user))
render(view:"attestation")
else
redirect(uri:'/datasetExplorer/index');
}
def agree = {
def user = AuthUser.findByUsername(springSecurityService.getPrincipal().username)
DataAttestation.updateOrAddNewAgreementDate(user)
if (springSecurityService.currentUser.changePassword) {
flash.message = messageSource.getMessage('changePassword', new Objects[0], RequestContextUtils.getLocale(request))
redirect(controller: 'changeMyPassword')
} else {
redirect(uri: '/datasetExplorer/index')
}
}

def disagree = {
redirect(uri: '/logout')
}

def clear = {
def user = AuthUser.findByUsername(springSecurityService.getPrincipal().username)
def da = DataAttestation.findByAuthUserId(user.id)
if (da != null) {
try {
da.delete(flush: true)
}
catch (org.springframework.dao.DataIntegrityViolationException e) {
flash.message = "Could not delete user ${user}"
}
}
redirect(uri: '/logout')
}
}
Loading