Skip to content

Commit cdfa365

Browse files
authored
Merge pull request #409 from ucfopen/dev/v2-5-0
Version 2.5.0
2 parents a393ecb + 7690901 commit cdfa365

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2952
-448
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ cache:
66
install:
77
- 'composer install'
88
php:
9-
- '5.6'
10-
- '7.0'
119
- '7.1'
1210
- '7.2'
1311
script:
1412
- 'composer lint'
1513
- 'composer sniff-summary'
14+
- 'composer sniff-errors-only'
1615
- 'composer test'

HEROKU.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ After clicking the Heroku button above:
2121
6. (optional) Copy and paste your Google/YouTube API key into the `GOOGLE_API_KEY` field.
2222
7. (optional) Copy and paste your Vimeo API key into the `VIMEO_API_KEY` field.
2323
8. (optional) If you have a Google Analytics account, you can paste your site tracking code into the `GA_TRACKING_CODE` field.
24+
9. (optional) If you would like to enable the Admin Panel, change the `ADMIN_PANEL_ENABLED` field to `true`.
2425
8. Click the Deploy button and wait for the process to complete.
2526

2627
### Step 3: Request a Developer Key

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To start the Heroku deployment process, you can click the button below, please n
5151

5252
## System Requirements
5353
* Apache or Nginx webserver
54-
* PHP 5.6, 7.0, 7.1, 7.2
54+
* PHP 7.1, 7.2 (Not yet compatible with 7.3. See issue #422)
5555
* [GD Graphics Library](http://php.net/manual/en/book.image.php)
5656
* MySQL or PostgreSQL
5757

@@ -115,6 +115,7 @@ Edit `config/localConfig.php`:
115115
* `$db_name` - The database name that contains the tables
116116
* `$db_user_table` - Default is 'users', no change needed unless you change the table names
117117
* `$db_reports_table`: - Default is 'reports', no change needed unless you change the table names
118+
* `$db_job_queue_table`: - Default is 'job_queue', no change needed unless you change the table names
118119

119120
### Installing Database Tables
120121

@@ -178,6 +179,9 @@ If you do not provide a Vimeo API key, a warning log will be recorded in `config
178179
### Google Analytics
179180
If you would like to use Google Analytics for tracking usage of UDOIT, create a new tracking code and add it to `config/localConfig.php` in the `define('GA_TRACKING_CODE', '');` statement. For example, if your tracking code is `UA-12345678-1`, that line should look like `define('GA_TRACKING_CODE', 'UA-12345678-1');` when you're done.
180181

182+
### Admin Panel
183+
As of 2.5.0, the admin panel is still an experimental feature. Consider it a first draft of what we'd like it to be. It lets you view reports across your institution, generate statistics about reports and user growth, and administer user accounts. This feature is disabled by default. To enable it, change `$admin_panel_enabled` to `true`.
184+
181185
### Installing the LTI in Canvas
182186
Log into Canvas to add UDOIT:
183187

app.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@
7373
"ALT_TEXT_LENGTH_LIMIT": {
7474
"description": "Maximum character length for alt-text before the item gets flagged as a warning.",
7575
"value": "125"
76+
},
77+
"ADMIN_PANEL_ENABLED": {
78+
"description": "Enable the Admin Panel feature. False disables access and removes the block from the configuration XML.",
79+
"value": "false"
7680
}
7781
},
7882
"addons": [

composer.json

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,28 @@
5252
}
5353
],
5454
"require": {
55-
"php": "^5.6.0 || ^7.0.0 || ^7.1.0 || ^7.2.0",
55+
"php": "~7.1.0 || ~7.2.0",
5656
"ext-pdo": "*",
5757
"ext-gd": "*",
58-
"nategood/httpful": "^0.2.20",
59-
"zaininnari/html-minifier": "^0.4.2",
58+
"nategood/httpful": "~0.2.20",
59+
"zaininnari/html-minifier": "~0.4.2",
6060
"mpdf/mpdf": "6.1.3",
61-
"league/plates": "^3.1.1",
62-
"monolog/monolog": "^1.21",
61+
"league/plates": "~3.1.1",
62+
"monolog/monolog": "~1.21",
6363
"mnsami/composer-custom-directory-installer": "1.1.*",
64-
"EastDesire/jscolor":"1.4.2"
64+
"eastdesire/jscolor":"1.4.2"
6565
},
6666
"require-dev": {
67-
"phpunit/phpunit": "4.8.36",
68-
"phpspec/prophecy": "1.3.1",
67+
"phpunit/phpunit": "~7.0.0",
68+
"phpunit/phpunit-mock-objects": "~6.0.0",
69+
"phpspec/prophecy": "~1.7",
6970
"symfony/yaml": "v2.8.9",
7071
"heroku/heroku-buildpack-php": "v121",
71-
"mockery/mockery": "^0.9.9",
72-
"jakub-onderka/php-parallel-lint": "^0.9.2",
73-
"squizlabs/php_codesniffer": "3.0.0",
72+
"mockery/mockery": "~0.9.9",
73+
"jakub-onderka/php-parallel-lint": "~0.9.2",
74+
"squizlabs/php_codesniffer": "3.3.1",
7475
"escapestudios/symfony2-coding-standard": "3.x-dev#03f63512cac06e6ccf5694c503121aba978fdd55",
75-
"doctrine/instantiator": "1.0.4"
76+
"doctrine/instantiator": "1.0.5"
7677
},
7778
"autoload": {
7879
"psr-0": {
@@ -150,6 +151,11 @@
150151
"name": "Sean Hernandez",
151152
"homepage": "https://github.com/seanlh",
152153
"role": "Contributor"
154+
},
155+
{
156+
"name": "Thomas Whitaker",
157+
"homepage": "https://github.com/Thomas-Whitaker",
158+
"role": "Contributor"
153159
}
154160
]
155161
}

0 commit comments

Comments
 (0)