Skip to content
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

2018 01 17 tara perm roles #60

Open
wants to merge 227 commits into
base: permission_roles
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
215d69f
[Core] Fixing Instrument setup function call definitions (#2916)
Jkat Oct 5, 2017
198a259
allow post data to be resent instead of discarded after redirect (#2941)
xlecours Oct 5, 2017
f7f324c
[Core] update Utility::nullifyEmpty to use return value (#2952)
kongtiaowang Oct 5, 2017
d527300
[Reset Password] UI should say username, not email (#3042)
Oct 5, 2017
6b1168b
Improve entropy in temporary password generation (#3045)
Oct 5, 2017
0b47680
Fix MRI Protocol Show/Hide links (#3057)
davidblader Oct 6, 2017
8afb203
Fixing Excel Dumps URL rewrites (#2978)
Jkat Oct 6, 2017
178d9be
Fix empty result in getMaxThreadStatus for NDB_BVL_Feedback (#3141)
driusan Oct 6, 2017
dc5d005
[tools] Properly escape table and column names in upgrade script (#3168)
ridz1208 Oct 10, 2017
beef99d
[Data Dictionary] Update TestPlan to include testing of data_dictiona…
davidblader Oct 11, 2017
c3328cd
[Imaging Uploader] Fix "Please click here to go back" link RM13189 (#…
davidblader Oct 11, 2017
63a7e76
Declare User::isPasswordStrong to be a static function (#3169)
driusan Oct 11, 2017
f1a5add
[login] added slashes at the end of account links (#3176)
ridz1208 Oct 11, 2017
87c7fa4
[Install] Updating Heroku postdeploy password generation (#3171)
Jkat Oct 12, 2017
89ddc81
Ensure that UserID matches database when logging in (#3178)
driusan Oct 17, 2017
29652a1
Fix mangling of numeric column names in instruments (#3179)
driusan Oct 17, 2017
355eb67
Make Travis immediately exit if it fails linting (#3186)
driusan Oct 18, 2017
d377b02
Instrument List: hasAccess() should have the timePoint variable with …
MounaSafiHarab Oct 18, 2017
b54e555
Allow "0" to be saved in required fields (#3180)
driusan Oct 18, 2017
4b1d256
Fix convert array to string error in dashboard (#3149)
driusan Oct 18, 2017
1bc6e5b
[DQT] Fixing getScanTypes query in CouchDB MRI Importer (#3131)
Jkat Oct 18, 2017
4d587ea
[Imaging Uploader] Prevent upload duplication and handle other mriFil…
davidblader Oct 18, 2017
283bbca
[Data Release] Remove superfluous session checks generating PHP Notic…
Oct 19, 2017
f4d2136
[next_stage] Convert module to proper LORIS module structure (#3184)
driusan Oct 19, 2017
aea9470
Update VERSION to 18.0.2
driusan Oct 20, 2017
7223731
[Help Editor] Correct function comment that was copy pasted from else…
Oct 20, 2017
2f9826e
[Candidate] Functions moved to candidate class (#3023)
ridz1208 Oct 23, 2017
36d0976
[Doc Repo] Remove superfluous session checks generating PHP Notices (…
Oct 23, 2017
3c82b37
[Help Editor] Fix array issues caused by super confusing code (#2969)
Oct 23, 2017
612e476
[tools] fixing PHP concatenation in DB_date_zeros_removal.php script …
ridz1208 Oct 23, 2017
1736e4f
Imaging Browser: use getStudySites() from the User class for cleanup …
MounaSafiHarab Oct 24, 2017
0a19489
[Genomics] README formatting and phrasing changes (#3038)
Oct 24, 2017
9197a0b
[Imaging browser] adding key props in Dynamictable links column (#3199)
xlecours Oct 24, 2017
2b79b88
Convert timepoint list page to a module (#3147)
driusan Oct 24, 2017
2107481
[candidate_list] Reactify Open Profile box (#3070)
driusan Oct 24, 2017
4b4d469
[Automation Test] test with RaisinBread data (#3139)
kongtiaowang Oct 25, 2017
26bf882
[instrument_builder] Modularize instrument builder (#3183)
xlecours Oct 27, 2017
5c01766
Candidate list: use getStudySites() from the User class for cleanup (…
MounaSafiHarab Oct 27, 2017
c0ee8a9
Modularize brainbriowser (#3203)
MounaSafiHarab Oct 27, 2017
2d7dd5e
Issue tracker: use getStudySites() from the User class for cleanup (#…
MounaSafiHarab Oct 27, 2017
65be641
[New_Profile] remove skip test function #3221
kongtiaowang Oct 27, 2017
db6e57a
Conflict resolver: use getStudySites() from the User class for cleanu…
MounaSafiHarab Oct 27, 2017
b71ae2e
[dataquery] Convert dataquery module to LORIS module (#3208)
driusan Oct 27, 2017
18aab3a
[configuration] Convert module to modern module structure (#3205)
driusan Oct 27, 2017
63f828b
[create_timepoint,new_profile] Added site validation toform (#3210)
ridz1208 Oct 27, 2017
6bde669
[Core] Fixing NDB_Client command line user instantiation (#3212)
Jkat Oct 27, 2017
740bde4
[candidate_list] Convert candidate list module to a "real" LORIS modu…
driusan Oct 27, 2017
f18479e
[Datadict] Modularize Module (#3202)
driusan Oct 27, 2017
95e0ebc
[Core] Show build status of all branches in README
Jkat Oct 27, 2017
7625337
[MRI Violations] Fix Site Filter (#3222)
davidblader Oct 27, 2017
cd62148
Update VERSION to 18.0.3
driusan Oct 27, 2017
5a80a0a
Merge branch 'bugfix' into minor
driusan Oct 27, 2017
3552646
Merge branch 'minor' of github.com:aces/Loris into minor
driusan Oct 27, 2017
d9c8921
Merge remote-tracking branch 'aces/minor' into major
driusan Oct 27, 2017
222de15
MRI Violated scans: use getStudySites() from the User class for clean…
MounaSafiHarab Oct 27, 2017
7a84206
[Conflict Resolver] Convert module to LORIS module (#3214)
driusan Oct 30, 2017
6672cd5
[instrument_manager] Modularize instrument manager (#3185)
xlecours Oct 30, 2017
193b85b
[candidate_list] fix merge conflict #3230
kongtiaowang Oct 30, 2017
fcd664a
[ImgUploader] Fixing Readme typos and markdown (#3236)
christinerogers Oct 31, 2017
8dc8716
[Genomic Browser] Convert module to modern module structure (#3229)
xlecours Oct 31, 2017
cdb00b8
[Documentation] adding help directory comment (#3207)
xlecours Nov 1, 2017
f018535
[Dashboard] Convert dashboard into a "real" LORIS module (#3148)
driusan Nov 1, 2017
666da71
Genomic browser: us getStudySites() from the User class for cleanup (…
MounaSafiHarab Nov 1, 2017
257cfe1
Document Repository: use getStudySites() from the User class for clea…
MounaSafiHarab Nov 1, 2017
26e3977
Examiner: use getStudySites() from the User class for cleanup (#3244)
MounaSafiHarab Nov 1, 2017
32c2344
Remove unused variable declarations and fix problems identified by PH…
driusan Nov 1, 2017
c5e2789
[user_accounts] Examiner validation missing 0 bug (#3242)
ridz1208 Nov 1, 2017
e493d46
[Issue Tracker] Fix issue creation (#3241)
driusan Nov 1, 2017
b6704b2
[Issue_Tracker] Convert module to modern module structure (#3226)
xlecours Nov 2, 2017
d8c160b
[Media&Imaging Uploader] Show max upload size on upload forms (#3234)
davidblader Nov 2, 2017
7ad2b7a
[Acknowledgement] Convert module to module. (#3247)
xlecours Nov 2, 2017
cd49af8
[Statistics] Convert module to module. (#3240)
driusan Nov 3, 2017
0d59904
Modularize Data Team Helper (#3255)
sruthymathew123 Nov 3, 2017
4409cbe
[Installation] Updating Mac README with markdown updates (#3173)
Jkat Nov 3, 2017
3367fe2
[Reliability] Module now a module (#3256)
xlecours Nov 6, 2017
ada7377
[instrument_list] Fix instrument list tests (#3260)
kongtiaowang Nov 6, 2017
a34bd80
[Issue Tracker] Fix control panels which are loaded from modules (#3259)
xlecours Nov 6, 2017
b1513e9
[Data_Release] Convert module to modern module structure (#3224)
xlecours Nov 6, 2017
cf1d6c8
[instrument_list] Modularize instrument_list page (#3142)
driusan Nov 6, 2017
d158681
[Help Editor] Module now a module (#3253)
xlecours Nov 8, 2017
a6d956e
[Document_Repo] Convert document repository to module (#3248)
driusan Nov 8, 2017
ee38dfe
[Mri_Violations] Convert module to modern module (#3217)
kongtiaowang Nov 8, 2017
e61ca16
[Server Process Manager] Convert to module (#3251)
xlecours Nov 8, 2017
6361159
[Media] Convert to modern module structure (#3228)
driusan Nov 8, 2017
0824d6c
Modularize Imaging Uploader (#3252)
MounaSafiHarab Nov 8, 2017
875bc46
Modularize examiner (#3257)
MounaSafiHarab Nov 9, 2017
bae3f41
[New Profile] Convert module to modern module structure (#3206)
xlecours Nov 9, 2017
c2b3b98
[survey_accounts] Convert to "real" LORIS module (#3271)
xlecours Nov 9, 2017
1f85580
[imaging_browser] Convert to "real" LORIS module (#3227)
driusan Nov 9, 2017
528ed08
[Utility] return a consistently sorted list of sites (#3262)
ridz1208 Nov 9, 2017
0c37e75
[Candidate_Parameters] Convert module to modern module structure (#3225)
kongtiaowang Nov 13, 2017
04bee21
Merge remote-tracking branch 'aces/bugfix' into HEAD
driusan Nov 13, 2017
d99701d
Merge remote-tracking branch 'aces/minor' into HEAD
driusan Nov 13, 2017
a20e2c6
Remove support for ancient module format, deprecate old one (#3174)
driusan Nov 13, 2017
dba3ea6
Fix the major branch (#3276)
driusan Nov 13, 2017
3347db7
Fix the Minor branch (#3279)
kongtiaowang Nov 14, 2017
18758cf
Module user accounts (#3282)
xlecours Nov 14, 2017
988e2b6
Merge remote-tracking branch 'aces/minor' into HEAD
driusan Nov 14, 2017
cb42218
[LorisForm] GroupMapping php notice cleanup (#3283)
xlecours Nov 15, 2017
b3fe180
[Training] Convert module to modern module structure (#3193)
kongtiaowang Nov 15, 2017
7e7556c
[Core] Remove _setupPage function (#3280)
driusan Nov 15, 2017
1430205
[Media] fix namespacing issue (#3287)
xlecours Nov 15, 2017
29c5377
[Install/Vagrant] Add zip + unzip to vagrant install so that composer…
Nov 16, 2017
5cdf4b1
Publicly accessible module support (#2608)
driusan Nov 20, 2017
3f3b34f
[Login] Password reset fix #3298
xlecours Nov 20, 2017
e0a0888
Cleanup multiple modules: if user is in one study site and/or in "DCC…
MounaSafiHarab Nov 22, 2017
0b01b8d
Merge remote-tracking branch 'aces/minor' into HEAD
driusan Nov 22, 2017
04944aa
[Core] Remove assignment by reference NDB_Caller (#3290)
ridz1208 Nov 22, 2017
f62f35b
Merge remote-tracking branch 'aces/minor' into HEAD
driusan Nov 22, 2017
8f59cdd
[User] avoid warning for undeclared variable (#3268)
ridz1208 Nov 22, 2017
967e6e7
[Core] Added module override support to webpack (#3006)
ridz1208 Nov 22, 2017
828b48a
[User Accounts] Test plan update and markdownify (#2984)
Nov 23, 2017
21d2d13
[Database] add function to flatten select result when only one column…
ridz1208 Nov 23, 2017
b4b77a5
Remove unused variable in main.php (#3303)
driusan Nov 23, 2017
5c16e61
Fix router errors in Travis (#3321)
driusan Nov 28, 2017
9a2e6a9
Fix router errors in Travis (#3321)
driusan Nov 28, 2017
67d784b
[Dashboard] fixing count of "pending" users (#3332)
ridz1208 Dec 1, 2017
8b01fa3
[create_timepoint] Clarification of the create_timepoint test plan (…
cmadjar Dec 4, 2017
bcbc913
[server_processes_manager] Add tests (#3324)
kongtiaowang Dec 4, 2017
61e1e6c
[Login] Replace incorrect placeholder on login page (#3336)
driusan Dec 5, 2017
6a31341
[SQL Schema] psc table hard limit increase (#3074)
xlecours Dec 6, 2017
c82e3d0
[Help Text] fix mri violations help text (markdown version) (#3266)
llevitis Dec 6, 2017
6a8d767
[Instrument manager] Bug fix & cleanup (#3342)
xlecours Dec 14, 2017
4982d48
Fixing travis on bugfix branch (#3351)
kongtiaowang Dec 14, 2017
1931a7d
[SQL] changes for the MRI side. (#3327)
cmadjar Dec 14, 2017
4da2aef
[Help Editor] Add null coalesce to prevent PHP Notices on unset reque…
Dec 19, 2017
ab870be
[Core] FileUpload class - removing pass by reference #3265
xlecours Dec 19, 2017
50b4ea5
[JSX] transpiling files not done properly (#3281)
ridz1208 Dec 19, 2017
31ca0f7
[Candidate Parameters] Removing unused function #3305
xlecours Dec 20, 2017
f44f21a
[BVL Feedback] add new test (#3346)
kongtiaowang Dec 20, 2017
cd120c3
[User] Language preference base functionality (#2875)
taracampbell Dec 20, 2017
aa743cb
Modified patches to add TarchiveID column in mri_protocol_violated_sc…
cmadjar Dec 20, 2017
07fd7b9
[Brainbrowser] Cleanup (#3306)
xlecours Dec 20, 2017
8b09f59
[CouchDB] Using multiple databases (#2795)
xlecours Dec 20, 2017
8ffba39
Brainbrowser 2.5.5: More bug fix for HDF5 reader error: Redmine 13333…
MounaSafiHarab Dec 20, 2017
e7fcfb1
[Media] Fix SQL injection vulnerability (#3349)
davidblader Dec 20, 2017
a4f02d6
Merge tag 'v18.0.5' into HEAD
driusan Dec 20, 2017
7a8d9f8
Merge remote-tracking branch 'aces/bugfix' into HEAD
driusan Dec 20, 2017
c290a39
[Database] Deleting empty queries (#3274)
xlecours Dec 20, 2017
8283786
[Instrument] Fix "Delete Instrument Data" feature (#3337)
driusan Dec 20, 2017
c2bea1b
[RestAPI] - Initial copy of v0.0.2 (#3296)
xlecours Dec 20, 2017
2340c8b
[.htaccess] removing rewrite rule (#3288)
xlecours Dec 21, 2017
9d77b70
[datadict] adding edit permission for Loris menu (#3357)
kongtiaowang Dec 21, 2017
c0d6080
[Issue Tracker] History actions grouped by time (#3194)
xlecours Dec 21, 2017
f13d4bc
[Core] Smarty cleanup (#3172)
Jkat Dec 21, 2017
9e5ff0e
[Acknowledgements] update UI to react table (#3322)
kongtiaowang Dec 21, 2017
f8caf2b
[survey_accounts] Add design specification for survey_accounts (#3309)
driusan Dec 21, 2017
a92e2ca
[Imaging Browser] Add specification (#3286)
driusan Dec 21, 2017
1050244
[LorisForm] Fix PHP warning (#3326)
xlecours Dec 22, 2017
6da917a
[JSX] Added a LinkElement to jsx library (#3347)
Jan 3, 2018
594f46a
[Genomics] Migrating genome loc and gene (#2652)
xlecours Jan 3, 2018
82399d4
[UI] Remove LORIS version info (#3037)
Jan 3, 2018
2225c43
[Database] replace deprecated each (#3365)
PapillonMcGill Jan 3, 2018
536e9c7
[Final_Radiological_Review] Remove this module from Loris core (#3363)
kongtiaowang Jan 3, 2018
0d7fc2a
[Core] Readd password expiry functionality (#3329)
driusan Jan 4, 2018
e542619
Remove null argument and invalid comment (#3371)
zaliqarosli Jan 4, 2018
132689f
[Datadict] bug fix on filtering and modifiing unmodified items (#3269)
xlecours Jan 4, 2018
bc143f6
Added spec for login module (#3373)
driusan Jan 4, 2018
f1ffb77
[Sample Instrument] Replace "Standard" with "Imperial" in BMI instrum…
driusan Jan 5, 2018
ae4306f
[Data dictionary] Improve filter results (#3380)
zaliqarosli Jan 8, 2018
098195f
Add README for create_timepoint module (#3376)
driusan Jan 8, 2018
f18a26c
[SinglePointLogin] Adding error message for non-redirect usage (#3370)
xlecours Jan 8, 2018
711aa3e
[Datadict] Update help file (#3385)
zaliqarosli Jan 10, 2018
5dc2f7d
[document_repository] bug fix - can't show uploaded files (#3387)
kongtiaowang Jan 10, 2018
d3f299d
[Data Release] Fix README formatting (#3395)
Jkat Jan 11, 2018
33073c9
Compile all JSX files (#3396)
ridz1208 Jan 11, 2018
300dc47
[Statistics] Fix DD Entry statistics links / Load statistics dd site …
zaliqarosli Jan 15, 2018
a20fbee
[login] restore lost code for password reset and request account (#3394)
ridz1208 Jan 15, 2018
dffbd4b
[Conflict Detector] Making some functions static in Conflict Detector…
Jkat Jan 15, 2018
e5c022e
[help editor] bug fixing for filter and column type (#3345)
kongtiaowang Jan 15, 2018
5473a81
Add README/spec for instrument_list page (#3408)
driusan Jan 16, 2018
e91e9df
Add DICOM Archive README/Spec (#3403)
driusan Jan 16, 2018
28c2bcc
[candidate_parameters] restore missing config (#3417)
ridz1208 Jan 18, 2018
010c038
[Core] Fixed public module bugs (#3360)
ZainVirani Jan 18, 2018
9489228
Brainbrowser: Added Spec/Readme (#3382)
MounaSafiHarab Jan 22, 2018
7bcd4ec
Added README for the user account module (#3431)
nicolasbrossard Jan 22, 2018
e0555ac
updated markdown help content for 19.0 (#3437)
llevitis Jan 22, 2018
e41f7a7
Imaging Uploader Spec/Readme (#3381)
MounaSafiHarab Jan 23, 2018
42101dd
Add README for statistics (#3410)
driusan Jan 24, 2018
f1c5fb9
[SQL] Remove Radiological Review from Menu #3424
ZainVirani Jan 24, 2018
8c461af
Data release module test plan (#3440)
cmadjar Jan 24, 2018
e30a0c6
[login] Moved testplan files (#3448)
ridz1208 Jan 24, 2018
697211e
[new_profile] Add design spec (#3304)
driusan Jan 24, 2018
639a786
[media] removed test step that is not valid (#3447)
ridz1208 Jan 25, 2018
14c21df
Update training README/spec (#3433)
ZainVirani Jan 25, 2018
93eb1bc
Fix genomic browser links #3441
xlecours Jan 25, 2018
ebcb6e2
[Survey Accounts] Change empty array output to empty string for subte…
llevitis Jan 25, 2018
3768642
Fix redirector (#3442)
xlecours Jan 25, 2018
573161f
[SQL] Patch moved to correct directory (#3427)
ridz1208 Jan 25, 2018
2950b21
Default config phantom regex (#3443)
cmadjar Jan 25, 2018
4865239
[candidate_list] Minor test plan change (#3446)
ridz1208 Jan 25, 2018
c870f41
Update DQT README to follow standard README/design format (#3402)
driusan Jan 25, 2018
19dae0c
[request_account] Remove First Name & Last Name fields more than 3 ch…
kongtiaowang Jan 26, 2018
65606ce
[Docs] SQL modeling standard (#3436)
PapillonMcGill Jan 26, 2018
98e0495
Tool script to run before running MRI patch from PR #3327 (#3438)
cmadjar Jan 26, 2018
0210fcc
[training] fix loading problem (#3455)
kongtiaowang Jan 30, 2018
c0e2491
[SQL] Change default value of Inserting in table mri_upload to NULL. …
nicolasbrossard Jan 30, 2018
5323496
[dashboard] Incomplete forms link doesn't work. (#3461)
kongtiaowang Jan 30, 2018
7a76a6e
[SQL] Creating 18.0 to 19.0 upgrade patch (#3465)
ridz1208 Jan 30, 2018
28a670c
Add README for server processes manager module (#3426)
nicolasbrossard Jan 31, 2018
363230d
Added README for help_editor module. (#3404)
driusan Jan 31, 2018
ea96985
Add README/spec for instrument_builder module (#3405)
driusan Jan 31, 2018
34ea53b
[tools] added absolute path (#3466)
ridz1208 Jan 31, 2018
964bf9a
[dashboard] truncated names in dashboard "incomplete tests" section (…
kongtiaowang Jan 31, 2018
d1f1a86
[Genomic_Browser] select to pselect (#3454)
xlecours Jan 31, 2018
4265c70
Update configuration module README to follow imaging_browser template…
driusan Jan 31, 2018
a85087f
Add next_stage spec (#3409)
driusan Jan 31, 2018
48ac291
Add README for examiner module (#3420)
ridz1208 Jan 31, 2018
629d3df
[media] Add language selector field for upload (#3356)
PapillonMcGill Feb 5, 2018
5c330e6
[survey] added check for Active flag on candidate in query (#3384)
PapillonMcGill Feb 5, 2018
a6fe03e
Merge remote-tracking branch 'aces/bugfix' into HEAD
driusan Feb 5, 2018
d884357
[Upgrade Script] Prompt for MySQL username and password (#3473)
cmadjar Feb 7, 2018
b6ae02f
Added README for data team helper module (#3400)
driusan Feb 12, 2018
75c2152
[Travis] run docker test on php 7.1 for minor branch (#3490)
kongtiaowang Feb 15, 2018
f90cafe
Fix Travis build (#3494)
driusan Feb 15, 2018
2e86a0b
[Survey accounts] Fix surveys datepicker (#3497)
xlecours Feb 16, 2018
49b6261
Back up SQL from cleanup_mri_tables_for_19-0_release.php saved in pro…
cmadjar Feb 19, 2018
cb54fda
[CouchDB] Fix database name in libraries (#3489)
ridz1208 Feb 19, 2018
5d6b9ea
Fix minor branch Travis (#3495)
driusan Feb 19, 2018
7bda632
[travis-ci] test php 7.0 and 7.1 on minor branch (#3499)
kongtiaowang Feb 19, 2018
3861355
[API] Adding endpoint for project's images (#3369)
xlecours Feb 19, 2018
073778a
[Version] Version 19.0.0 (#3445)
ridz1208 Feb 20, 2018
903e0c9
Merge tag 'v19.0.0' into 2018_02_22_upgrading_minor_to_19
ridz1208 Feb 22, 2018
efeb72a
[Core-Database] added new function to avoid code duplication
ridz1208 Jan 19, 2018
1693592
full rebase
taracampbell Aug 9, 2017
921a184
make the front end work
ridz1208 Feb 23, 2018
364e80d
changed to role
ridz1208 Mar 1, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 12 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
language: php


cache:
directories:
- vendor

php:
- "7"
- "7.0"
- "7.1"

sudo: false

addons:
firefox: "44.0"

Expand All @@ -24,20 +22,21 @@ before_install:
- nvm install node
- mkdir -p project project/libraries
- phpenv config-rm xdebug.ini

- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then Dir="router.php" ; fi
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then Dir="htdocs/router.php" ; fi
- php -S localhost:8000 -t htdocs $Dir 2>1 > /dev/null &
install:
# Install composer modules
- composer install
- composer require --dev
- phpenv rehash


# Install node modules specified in package.json
- npm install

# Download a Selenium Web Driver release
- wget "http://selenium-release.storage.googleapis.com/2.52/selenium-server-standalone-2.52.0.jar"

- php -S localhost:8000 -t htdocs htdocs/router.php 2>1 > /dev/null &

# Extracting firefox and setting PATH variable...
- tar -xjf /tmp/firefox-44.0.tar.bz2 --directory /tmp
- export PATH="/tmp/firefox:$PATH"
Expand All @@ -49,6 +48,8 @@ install:
- DISPLAY=:99.0 java -jar selenium-server-standalone-2.52.0.jar 2>1 > /dev/null &

before_script:


# Set up the Loris environment
- mkdir -p project smarty/templates_c project/instruments project/tables_sql
- chmod 777 smarty/templates_c project/instruments project/tables_sql
Expand All @@ -62,6 +63,8 @@ before_script:
- mysql LorisTest < SQL/0000-00-03-ConfigTables.sql
- mysql LorisTest < SQL/0000-00-04-Help.sql
- mysql LorisTest < docs/instruments/radiology_review.sql
- mysql LorisTest < test/RBdata.sql
- mysql LorisTest < test/test_instrument/medical_history.sql
- mysql LorisTest -u root -e "GRANT UPDATE,INSERT,SELECT,DELETE,DROP,CREATE TEMPORARY TABLES ON LorisTest.* TO 'SQLTestUser'@'localhost' IDENTIFIED BY 'TestPassword' WITH GRANT OPTION"
- cp docs/config/config.xml project/config.xml
- cp docs/config/config.xml test/config.xml
Expand Down Expand Up @@ -91,10 +94,6 @@ before_script:
# - "LORIS_DB_CONFIG=test/config.xml"

script:
- npm run lint:php
- npm run lint:javascript

# Run unit tests to make sure functions still do what they should.
- vendor/bin/phpunit --configuration test/phpunit.xml
- npm run lint:php && npm run lint:javascript && vendor/bin/phpunit --configuration test/phpunit.xml

dist: precise
3 changes: 3 additions & 0 deletions Dockerfile.MySQL
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ COPY SQL/0000-00-01-Permission.sql /0000-00-01-Permission.sql
COPY SQL/0000-00-02-Menus.sql /0000-00-02-Menus.sql
COPY SQL/0000-00-03-ConfigTables.sql /0000-00-03-ConfigTables.sql
COPY SQL/0000-00-04-Help.sql /0000-00-04-Help.sql
COPY test/RBdata.sql /RBdata.sql
COPY test/test_instrument/testtest.sql /test_instrument.sql
COPY test/test_instrument/medical_history.sql /medical_history.sql

ADD docs/Docker/LorisDB-EntryPoint.sh /entrypoint.sh

Expand Down
7 changes: 5 additions & 2 deletions Dockerfile.test.db
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ COPY SQL/0000-00-02-Menus.sql /0000-00-02-Menus.sql
COPY SQL/0000-00-03-ConfigTables.sql /0000-00-03-ConfigTables.sql
COPY SQL/0000-00-04-Help.sql /0000-00-04-Help.sql
COPY test/test_instrument/testtest.sql /test_instrument.sql

COPY test/RBdata.sql /RBdata.sql
COPY test/test_instrument/medical_history.sql /medical_history.sql
COPY docs/instruments/radiology_review.sql /radiology_review.sql

RUN echo "Use LorisTest;" | cat - \
Expand All @@ -18,7 +19,9 @@ RUN echo "Use LorisTest;" | cat - \
0000-00-03-ConfigTables.sql \
0000-00-04-Help.sql \
test_instrument.sql \
radiology_review.sql > /docker-entrypoint-initdb.d/0000-compiled.sql
RBdata.sql \
medical_history.sql \
radiology_review.sql > /docker-entrypoint-initdb.d/0000-compiled.sql

RUN echo "Use LorisTest;" >> /docker-entrypoint-initdb.d/0001-paths.sql
RUN echo "UPDATE Config SET Value='${BASE_DIR}/' WHERE ConfigID=(SELECT ID FROM ConfigSettings WHERE Name='base');" >> /docker-entrypoint-initdb.d/0001-paths.sql
Expand Down
14 changes: 7 additions & 7 deletions README.Mac.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#LORIS Mac Install Guide
# LORIS Mac Install Guide
### Mac is no longer supported as of 15.10.

This is a guide on how to get a LORIS instance Running on your Mac computer. It is designed for installation in a sandbox environment.
Expand Down Expand Up @@ -87,11 +87,11 @@ SET PASSWORD FOR 'root'@'localhost' = PASSWORD('$newpwd');

## 1.5 Smarty 3

###1.5.1 Obtaining Smarty 3
### 1.5.1 Obtaining Smarty 3

Go to [http://www.smarty.net/download](http://www.smarty.net/download) and download the latest stable release of Smarty 3.x.x

###1.5.2 Setting up Smarty 3
### 1.5.2 Setting up Smarty 3

Create the following directories if they do not already exist:

Expand All @@ -108,18 +108,18 @@ sudo mv /path/to/Smarty-3.x.x/libs/ /usr/local/lib/php/Smarty/smarty3

After you have moved the directory ensure to add the path ```/usr/local/lib/php/Smarty``` to the ```include_path``` in the php.ini file (see [section 1.3.4](#include_path) part 3).

#2. Installing LORIS Code Base
# 2. Installing LORIS Code Base

This section goes over how to obtain the LORIS code base and setup the database on your local machine.

##2.1 Obtaining the LORIS code
## 2.1 Obtaining the LORIS code

Download the latest release from the [releases page](https://github.com/aces/Loris/releases) and
extract it to `~/Sites/$projectname`

<i>$projectname ⇾ “loris” or one-word project name</i>

##2.2 Installing LORIS
## 2.2 Installing LORIS

Run installer script to install core code, libraries, and MySQL schema (see Loris Installation Schematic).
The script will prompt for information, including usernames and folders which it will create automatically.
Expand All @@ -131,7 +131,7 @@ cd ~/Sites/$projectname/tools
The install script may not fully execute on Mac OS systems. It is recommended to carefully review and execute manually the steps in the install.sh script on your system. A few MySQL statement examples are provided in section 2.3.
Since the install script was created for LINUX OS, its apache2 setup steps won’t work. Section 3 describes how to set up the apache2 server for Mac.

##2.3 Manually running install script steps
## 2.3 Manually running install script steps

Since you may not be able to fully execute the install.sh script at step 2.2, the following examples may help in manually executing the sequence of commands found in the install script.

Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LORIS Neuroimaging Platform [![Build Status](https://travis-ci.org/aces/Loris.svg?branch=17.1-dev)](https://travis-ci.org/aces/Loris)
# LORIS Neuroimaging Platform

LORIS (Longitudinal Online Research and Imaging System) is a web-based data and project management software for neuroimaging research. LORIS makes it easy to manage large datasets including behavioural, clinical, neuroimaging and genetic data acquired over time or at different sites.

Expand All @@ -7,10 +7,17 @@ NEW <b>⇾ Try LORIS on Heroku</b> before installing it on your system<br>
Test out the project management and clinical data management side of LORIS (complete Imaging features not yet available)<br>
Deploy and log in with username <i>admin</i> and the password that's set up during deployment via ClearDB.

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/aces/Loris/tree/17.1-dev)
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/aces/Loris/tree/master)
<hr>

This Readme covers installation of the <b>18.0</b> LORIS release on <b>Ubuntu</b>.
| Branch | Status |
| ------ | ------ |
| master | [![Build Status](https://travis-ci.org/aces/Loris.svg?branch=master)](https://travis-ci.org/aces/Loris)
| major | [![Build Status](https://travis-ci.org/aces/Loris.svg?branch=major)](https://travis-ci.org/aces/Loris)
| minor | [![Build Status](https://travis-ci.org/aces/Loris.svg?branch=minor)](https://travis-ci.org/aces/Loris)
| bugfix | [![Build Status](https://travis-ci.org/aces/Loris.svg?branch=bugfix)](https://travis-ci.org/aces/Loris)

This Readme covers installation of the LORIS <b>v18.0.0</b> release on <b>Ubuntu</b>.
([CentOS Readme also available](https://github.com/aces/Loris/blob/master/README.CentOS6.md)).

Please consult the [LORIS Wiki Setup Guide](https://github.com/aces/Loris/wiki/Setup) notes on this [Install process](https://github.com/aces/Loris/wiki/Installing-Loris) for more information not included in this Readme. The [LORIS Developers mailing list](http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev) may also provide installation guidance not covered in the Wiki.
Expand Down
Loading