Sat Nov 25 13:27:10 2017 UTC ()
Update to 3.4
Update the minimum php version to 7.0.0
Update my email

Upstream changes:
Moodle 3.4:

Server requirements

These are just the minimum supported versions. We recommend keeping all of your software up-to-date.

    Moodle upgrade: Moodle 3.0 or later (if upgrading from earlier versions, you must upgrade to 3.0.10 as a first step)
    PHP version: minimum PHP 7.0.0 Note: minimum PHP version has increased since Moodle 3.3. PHP 7.1.x and 7.2.x are supported too. PHP 7.x could have some engine limitations.
    PHP extension intl is now required in Moodle 3.4 (it was recommended in 2.0 onwards)

Database requirements

Moodle supports the following database servers. Again, version numbers are just the minimum supported version. We recommend running the latest stable version of any software.
Database 	Minimum version 	Recommended
PostgreSQL 	9.3 	Latest
MySQL 	5.5.31 	Latest
MariaDB 	5.5.31 	Latest
Microsoft SQL Server 	2008 	Latest
Oracle Database 	10.2 	Latest
Client requirements
Browser support

Moodle is compatible with any standards compliant web browser. We regularly test Moodle with the following browsers:

Desktop:

    Chrome
    Firefox
    Safari
    Edge
    Internet Explorer

Mobile:

    MobileSafari
    Google Chrome

For the best experience and optimum security, we recommend that you keep your browser up to date. https://whatbrowser.org

Note: Legacy browsers with known compatibility issues with Moodle 3.4:

    Internet Explorer 10 and below
    Safari 7 and below

Major features
Calendar improvements

    MDL-59333 - Calendar Improvements
    MDL-1322 - Calendar entries in monthly view should include course shortname
    MDL-59382 - Create calendar event quick-add
    MDL-59390 - Add navigation of all calendar views without page reload
    MDL-59394 - Add support for drag and drop of calendar events
    MDL-59386 - Add support for creation and update of calendar events using a modal dialogue
    MDL-59890 - Add support for calendar events at the category level

Management of course participants

    MDL-59290 - Merge Course Participants and Enrolled Users pages
    MDL-59564 - Add bulk editing of enrolment status/dates for users in the course participants page
    MDL-59364 - Remove the "Brief / User Details" functionality from the participants page
    MDL-59365 - Enrol Users button on participants page
    MDL-59366 - Add filter controls to the participants page to allow custom filtering
    MDL-59367 - Add a roles column to participants page
    MDL-59368 - Add a groups column to the participants page
    MDL-59369 - Add a status column to the participants page
    MDL-59436 - Remove the columns from the participants page that are not in showuseridentity
    MDL-59821 - Add "Proceed to course content" to participants page

Other highlights

    MDL-57791 - Implement analytics engine in Moodle
    MDL-59313 - Add links and a drop down to navigate between activities
    MDL-37361 - Allow teachers to mark activities as completed

Backup, restore and import

    MDL-35429 - Correct the permissions required to download and restore course automated backups
    MDL-9367 - Restore with roll forward changes dates for user data
    MDL-59518 - Restore date should not roll for user created data - Core components

Global search

    MDL-55356 - Index contents of the restored courses
    MDL-59523 - Course reset doesn't always shift dates
    MDL-58957 - Global search: Make it possible to search blocks
    MDL-59039 - Global search: Allow partial indexing (in scheduled task)

Authentication

    MDL-30634 - Assign arbitrary system roles via LDAP sync
    MDL-58544 - Add option to trust email of an OAuth provider
    MDL-59844 - Enable OAuth 2 token-based authentication for requests in webdav_client
    MDL-59459 - Global Search: Increase file indexing coverage
    MDL-59913 - Global search: Allow search of non-enrolled courses

Functional changes

    MDL-55358 - LIS Group Variables support in LTI
    MDL-36501 - Should have checkbox for extra credit when you add a grade item
    MDL-28574 - Web services: Manage tokens page should show tokens for all users
    MDL-26976 - Display space used in My Private Files
    MDL-35668 - Performance improvement in Server files repository
    MDL-49398 - Performance improvement due to Role definition caching & accesslib refactoring
    MDL-60002 - Assignment grading: Adding back "Save and show next"
    MDL-58889 - Make section titles and course titles more accessible in Boost
    MDL-57455 - Allow to tag database entries
    MDL-36985 - Assignment: automatically remove embedded files that are no longer linked from submission text. Reduce the size of "Download all submissions"
    MDL-59702 - Lesson overview report does not respect value of showuseridentity setting
    MDL-59460 - Forum: make Subscription mode setting configurable

For administrators

Please read carefully: Possible issues that may affect you in Moodle 3.4

    MDL-42834 - Deprecate loginhttps. Sites that used to use this setting will now be served via https always
    MDL-46269 - Tool to convert http embedded content to https where available
    MDL-58388 - Let the admin control if the course end date form field in course settings is enabled by default
    MDL-60211 - New filters for User Tours
    MDL-59123 - Compile SCSS files on the command-line
    MDL-58567 - Upgrade: Show upgrade times
    MDL-55652 - Missing index on (timemodified) in grade_items_history table and several other grade history tables. This will increase performance of various reports but may also slow down Moodle upgrade
    MDL-60094 - Add CLI script to kill all sessions
    MDL-59495 - Register and publish courses with moodle.net only, remove support for alternative hubs
    MDL-59206 - Trigger an event in add_to_config_log function
    MDL-57115 - Move "Messages" block out from the standard Moodle distribution
    MDL-57734 - SEO - Create admin setting to be able to enable or disable search engine indexing for sites with forcelogin
    MDL-60309 - Boost: Add a setting for background image
    MDL-56751 - Create new security setting to configure the expiration time of tokens created via login/token.php or tool/mobile/launch.php

Security issues

    MSA-17-0021 Students can find out email addresses of other students in the same course

This list only includes security issues fixed after 3.3.2 release. Refer to other release notes for security issues fixed in earlier releases.
For developers

    MDL-60611 - Upgrade PHPUnit to 6.4 to ensure compatibility with PHP 7.2 - may require changes in unittests.
    MDL-58948 - Compatibility with chrome mink driver
    MDL-53169 - Provide a way to retrieve all courses a user can potentially access.
    MDL-59459 - Global Search: Increase file indexing coverage
    MDL-59277 - navigation_node doesn't support TYPE_CONTAINER in get_css_type()
    MDL-58957 - Global search: Make it possible to search blocks. See the new \core_search\base_block class.
    MDL-53240 - Form element and admin setting type to choose file types and type groups
    MDL-53848 - Formslib - add function to $mform that makes it possible to hide form elements dependent on selected values
    MDL-60234 - Add possibility to disable admin warning if a development libs directory exists
    MDL-57886 - Plagiarism: onlinetext submission should pass raw submissiontext to plagiarism get_links()


(wen)
diff -r1.59 -r1.60 pkgsrc/www/moodle/Makefile
diff -r1.46 -r1.47 pkgsrc/www/moodle/distinfo
diff -r1.5 -r1.6 pkgsrc/www/moodle/options.mk

cvs diff -r1.59 -r1.60 pkgsrc/www/moodle/Makefile (expand / switch to unified diff)

--- pkgsrc/www/moodle/Makefile 2017/11/17 03:15:40 1.59
+++ pkgsrc/www/moodle/Makefile 2017/11/25 13:27:10 1.60
@@ -1,47 +1,50 @@ @@ -1,47 +1,50 @@
1# $NetBSD: Makefile,v 1.59 2017/11/17 03:15:40 wen Exp $ 1# $NetBSD: Makefile,v 1.60 2017/11/25 13:27:10 wen Exp $
2 2
3DISTNAME= moodle-3.3.3 3DISTNAME= moodle-3.4
4CATEGORIES= www 4CATEGORIES= www
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=moodle/} 5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=moodle/}
6EXTRACT_SUFX= .tgz 6EXTRACT_SUFX= .tgz
7 7
8MAINTAINER= wenheping@gmail.com 8MAINTAINER= wen@NetBSD.org
9HOMEPAGE= http://www.moodle.org/ 9HOMEPAGE= http://www.moodle.org/
10COMMENT= Course management system based on social constructionism 10COMMENT= Course management system based on social constructionism
11LICENSE= gnu-gpl-v3 11LICENSE= gnu-gpl-v3
12 12
13DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4.4:../../graphics/php-gd 13DEPENDS+= ${PHP_PKG_PREFIX}-gd>=7.0.0:../../graphics/php-gd
14DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.4.4:../../converters/php-iconv 14DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=7.0.0:../../converters/php-iconv
15DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.4.4:../../converters/php-mbstring 15DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=7.0.0:../../converters/php-mbstring
16DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.4.4:../../www/php-curl 16DEPENDS+= ${PHP_PKG_PREFIX}-curl>=7.0.0:../../www/php-curl
17DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.4.4:../../net/php-xmlrpc 17DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=7.0.0:../../net/php-xmlrpc
18DEPENDS+= ${PHP_PKG_PREFIX}-soap>=5.4.4:../../net/php-soap 18DEPENDS+= ${PHP_PKG_PREFIX}-soap>=7.0.0:../../net/php-soap
19DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.4.4:../../textproc/php-json 19DEPENDS+= ${PHP_PKG_PREFIX}-json>=7.0.0:../../textproc/php-json
20DEPENDS+= ${PHP_PKG_PREFIX}-intl>=5.4.4:../../textproc/php-intl 20DEPENDS+= ${PHP_PKG_PREFIX}-intl>=7.0.0:../../textproc/php-intl
21DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.4.4:../../archivers/php-zip 21DEPENDS+= ${PHP_PKG_PREFIX}-zip>=7.0.0:../../archivers/php-zip
22DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.4.4:../../archivers/php-zlib 22DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=7.0.0:../../archivers/php-zlib
23DEPENDS+= ${PHP_PKG_PREFIX}-opcache>=5.4.4:../../devel/php-opcache 23DEPENDS+= ${PHP_PKG_PREFIX}-opcache>=7.0.0:../../devel/php-opcache
24 24
25EGDIR= share/examples/moodle 25EGDIR= share/examples/moodle
26MOODLEDIR= ${PREFIX}/share/moodle 26MOODLEDIR= ${PREFIX}/share/moodle
27MOODLEDATADIR= ${PREFIX}/moodledata 27MOODLEDATADIR= ${PREFIX}/moodledata
28 28
29PKG_DESTDIR_SUPPORT= destdir 29PKG_DESTDIR_SUPPORT= destdir
30INSTALLATION_DIRS= ${EGDIR} share/moodle 30INSTALLATION_DIRS= ${EGDIR} share/moodle
31 31
32.include "../../mk/bsd.prefs.mk" 32.include "../../mk/bsd.prefs.mk"
33.include "options.mk" 33.include "options.mk"
34 34
 35PHP_VERSIONS_INCOMPATIBLE= 56
 36PHP_VERSIONS_ACCEPTED= 70 71 72
 37
35PKG_GROUPS_VARS= APACHE_GROUP 38PKG_GROUPS_VARS= APACHE_GROUP
36PKG_USERS_VARS= APACHE_USER 39PKG_USERS_VARS= APACHE_USER
37BUILD_DEFS+= APACHE_USER APACHE_GROUP 40BUILD_DEFS+= APACHE_USER APACHE_GROUP
38 41
39PKG_SYSCONFSUBDIR= httpd 42PKG_SYSCONFSUBDIR= httpd
40MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} 43MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
41 44
42CONF_FILES= ${PREFIX}/${EGDIR}/moodle.conf \ 45CONF_FILES= ${PREFIX}/${EGDIR}/moodle.conf \
43 ${PKG_SYSCONFDIR}/moodle.conf 46 ${PKG_SYSCONFDIR}/moodle.conf
44OWN_DIRS_PERMS+= ${MOODLEDATADIR} ${APACHE_USER} ${APACHE_GROUP} 0750 47OWN_DIRS_PERMS+= ${MOODLEDATADIR} ${APACHE_USER} ${APACHE_GROUP} 0750
45 48
46USE_TOOLS+= pax 49USE_TOOLS+= pax
47NO_CONFIGURE= yes 50NO_CONFIGURE= yes

cvs diff -r1.46 -r1.47 pkgsrc/www/moodle/distinfo (expand / switch to unified diff)

--- pkgsrc/www/moodle/distinfo 2017/11/17 03:15:40 1.46
+++ pkgsrc/www/moodle/distinfo 2017/11/25 13:27:10 1.47
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.46 2017/11/17 03:15:40 wen Exp $ 1$NetBSD: distinfo,v 1.47 2017/11/25 13:27:10 wen Exp $
2 2
3SHA1 (moodle-3.3.3.tgz) = 3f274e728b84a7f1ca5a29027cf9f64306c39db6 3SHA1 (moodle-3.4.tgz) = 8f22cfdaae28bc5aa0dc83b5e928a08620694ebb
4RMD160 (moodle-3.3.3.tgz) = 38550efa146e0f19cb547b41a85bff69ecbdc50d 4RMD160 (moodle-3.4.tgz) = bb3b74918550036ae5f05c8aa48eca89f0dfccca
5SHA512 (moodle-3.3.3.tgz) = 9d0097b081b4f6ad4e5d4951696d552bf097e22f807bcf9ad3112388716fcc16ca4c5bd79074739689205c8f193901874f892b29f15c1cf4545cdcc38fc7c4c7 5SHA512 (moodle-3.4.tgz) = 72cc62864c7b8020af5b48d7af47afe763ce593f96749d149c3dcfd39f9eb3f8de383bc4684c6591ad5ad157c85f0ffea54eb70489e8312b8b09c63a73f32dba
6Size (moodle-3.3.3.tgz) = 44238027 bytes 6Size (moodle-3.4.tgz) = 44875575 bytes

cvs diff -r1.5 -r1.6 pkgsrc/www/moodle/options.mk (expand / switch to unified diff)

--- pkgsrc/www/moodle/options.mk 2017/04/15 15:55:21 1.5
+++ pkgsrc/www/moodle/options.mk 2017/11/25 13:27:10 1.6
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: options.mk,v 1.5 2017/04/15 15:55:21 taca Exp $ 1# $NetBSD: options.mk,v 1.6 2017/11/25 13:27:10 wen Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.moodle 3PKG_OPTIONS_VAR= PKG_OPTIONS.moodle
4 4
5PKG_OPTIONS_REQUIRED_GROUPS= db 5PKG_OPTIONS_REQUIRED_GROUPS= db
6PKG_OPTIONS_GROUP.db= mysql pgsql 6PKG_OPTIONS_GROUP.db= mysql pgsql
7PKG_SUGGESTED_OPTIONS= mysql 7PKG_SUGGESTED_OPTIONS= mysql
8 8
9.include "../../mk/bsd.options.mk" 9.include "../../mk/bsd.options.mk"
10 10
11### 11###
12### Use mysql or postgresql backend 12### Use mysql or postgresql backend
13### 13###
14.if !empty(PKG_OPTIONS:Mmysql) 14.if !empty(PKG_OPTIONS:Mmysql)
15DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.2.14:../../databases/php-mysqli 15DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=7.0.0:../../databases/php-mysqli
16.elif !empty(PKG_OPTIONS:Mpgsql) 16.elif !empty(PKG_OPTIONS:Mpgsql)
17DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5:../../databases/php-pgsql 17DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=7.0.0:../../databases/php-pgsql
18.endif 18.endif