Sat May 25 15:19:30 2019 UTC ()
Update to 3.7

Upstream changes:
Major features
Forum

    MDL-22077 - Private reply option
    MDL-65033 - Ability to star discussions
    MDL-64956 - In-page forum post reply
    MDL-65032 - Ability to lock discussions manually
    MDL-65069 - Ability to create discussions without changing page
    MDL-64820 - Forum display updated to use templates
    MDL-65071 - List of discussions is sortable
    MDL-65034 - Accessibility improvements to forum discussions
    MDL-65394 - Forum rendering speed improvements
    MDL-46881 - Forum scheduled task (cron) has been refactored into several smaller cron tasks

Messaging

    MDL-65015 - HTML in messages is cleaned according to site/role "trusttext" configuration
    MDL-64715 - Personal space in messaging drawer for draft messages etc.
    MDL-64495 - New settings page for messaging-related settings
    MDL-63620 - Group conversations can be created from both the auto-create groups edit page and the import groups tool
    MDL-63915 - Old messaging user interface removed and replaced with a new widget
    MDL-64773 - Messaging conversations can be muted
    MDL-65132 - New capability for deleting messages for all users within group conversations
    MDL-64017 - Message processors can identify and handle group messages
    MDL-64703 - Updated interface on the messaging index page
    MDL-64137 - Searches highlight text that matches the search term
    MDL-65114 - Timestamps in the main conversation list include days and years
    MDL-64093 - New admin setting to set the site default for using enter key to send messages
    MDL-60680 - Improved push notifications

Themes

    MDL-58428 - All Boost templates moved to core
    MDL-64505 - Classic theme introduced to core
    MDL-64506 - Bootstrapbase and related themes (Clean/More) removed from core
    MDL-65449 - Themes can override the course pattern used on the dashboard

LTI

    MDL-62599 - LTI 1.3 support introduced

Open Badges

    MDL-63262 - Support added for Open Badges 2.0 platforms
    MDL-63876 - Moodle competencies can be linked to criteria for badges in Open Badges 2.0

Dashboard and Course Overview

    MDL-63794 - Course categories can be displayed on courses in the course overview block
    MDL-64855 - New admin setting to control the output of the course category in the myoverview block
    MDL-64376 - Scrolling improved in the recently accessed courses block
    MDL-64903 - Course filters are logically grouped in the myoverview block
    MDL-64898 - The completion progress bar is no longer displayed for teachers in the myoverview block

Learning Analytics

    MDL-61667 - Improvements to the install/uninstall procedure the Analytics API offers to plugins
    MDL-64783 - New ���upcoming activities due��� model added
    MDL-65582 - The "upcoming activities due" model is enabled by default
    MDL-64786 - Users can overwrite default model names
    MDL-64693 - New target added for course competencies achievement
    MDL-64636 - New target added for course completion
    MDL-65176 - New target added for students at risk of not getting the minimum grade to pass a course
    MDL-64954 - A "More info" link provides more information about different core analytics elements
    MDL-64777 - Default models can be restored
    MDL-64787 - Analytics models can be evaluated using a trained machine learning backend
    MDL-60944 - Models can be created, deleted, imported and exported
    MDL-64779 - Ability to choose whether to include trained model weights in an export
    MDL-65175 - When evaluating a model, the time-splitting method can be set using the web interface
    MDL-65177 - It is possible to set the frequency of insight generation for models based on assumptions (e.g. the "upcoming activities due" model)
    MDL-60936 - "Enabled time-splitting methods" analytics setting converted to a list of default time-splitting methods for a model's evaluation

Usability improvements

    MDL-5311 - Choices can be cleared for single-answer multiple-choice questions
    MDL-43385 - Print output of books has been improved
    MDL-28505 - Course backup and restore can be performed asynchronously
    MDL-61537 - Ability to rotate pages when annotating PDFs in assignment feedback
    MDL-63773 - Assignment settings form hides irrelevant options instead of disabling them
    MDL-64552 - Moodle forms inside the admin top level directory hide irrelevant options instead of disabling them
    MDL-64557 - Moodle forms inside the course directory hide irrelevant options instead of disabling them
    MDL-60474 - The student selection tool in the grading interface reflects the sorting order of the grading table
    MDL-39261 - File support added to lesson essay questions
    MDL-60913 - Global search results can be split into tabs by category
    MDL-50793 - Teachers can see hidden pages in book activities
    MDL-60059 - Workshop activity action events support drag and drop in the calendar
    MDL-62142 - Accessibility improvements for Boost course landing page

Other Highlights
Functional changes

    MDL-31355 - Forum due dates are added to the calendar
    MDL-36088 - Adding/modifying questions to/in the question bank is logged
    MDL-49673 - Assignment has an option to not display the grader to students
    MDL-31852 - HTML tags allowed in the title of Lesson "content pages"
    MDL-64377 - Ability to delete assignment file submissions
    MDL-64243 - Nextcloud serves "offline" files consistent with other integrations (e.g. OneDrive and Google Docs)
    MDL-53346 - User competencies in courses show the linked learning plans
    MDL-62223 - Improved submission statements for assignments
    MDL-52828 - Competencies can be graded when grading an activity
    MDL-65154 - Course competencies page shows students which competencies are linked to an activity
    MDL-64414 - "AND" and "OR" are available in if-conditions for grade calculations

For administrators

    MDL-10965 - There is a new capability available to view the list of non-hidden courses
    MDL-57898 - New custom field types plugin and course custom fields functionality
    MDL-49399 - Output can be captured during cron and task runs
    MDL-62869 - Global search can be configured to include all visible courses
    MDL-64322 - New data privacy capability to restrict submission of deletion requests for other users
    MDL-63569 - A constant can be added to the subject of all emails
    MDL-62907 - The standard log table 'other' field can be set to store in JSON format
    MDL-64281 - Frame embedding is always allowed for requests coming from the Moodle app
    MDL-61164 - Tasks using legacy cron functionality moved to scheduled tasks
    MDL-57900 - Added fields to provide site metadata to support learning analytics
    MDL-63623 - Plugins can be uninstalled via command line
    MDL-64323 - Additional fields are included in user searches when making new data requests on behalf of a user
    MDL-64347 - Improved processing of scheduled and ad-hoc tasks
    MDL-65142 - Tables can be downloaded in PDF format (new dataformat)
    MDL-64314 - Insights notification enable web notifications by default
    MDL-65138 - Course sharing to Moodle.net is disabled by default (configured via a new setting)
    MDL-64454 - Site administration page warns if cron does not run frequently
    MDL-62728 - The language packs page displays a warning when locales are not fully supported
    MDL-64071 - Improved diagnostics when testing LDAP settings
    MDL-64823 - Disabling mobile plugins works as expected
    MDL-44484 - Theme field available in the bulk upload users tool
    MDL-64477 - Learning analytics usage data is included with site usage data
    MDL-64337 - Mobile app enabled sites prompt users that do not use the app to download it in notification emails
    MDL-64339 - User names provided in the comments report are hyperlinked to the user's profile

For developers

    MDL-54592 - MongoDB cache store upgraded to use PHP 7 compatible library
    MDL-63977 - Behat testing available for mobile app features and plugins
    MDL-63986 - Behat testing added for the messaging drawer
    MDL-64449 - New debug feature to expose code issues with session locks
    MDL-52167 - Core functionality added to enable site administration settings to be hidden if dependent on another disabled setting
    MDL-63366 - Ability to specify filters for unit testing coverage
    MDL-65130 - Improved unit testing coverage generation by only respecting the @covers annotation
    MDL-60470 - New "after_require_login" hook introduced
    MDL-65204 - Phpunit upgraded to version 7.5.x
    MDL-64348 - Improved AJAX template fetching
    MDL-59986 - External database enrolment sync moved to a scheduled task
    MDL-63880 - Some templates common in dashboard blocks have been moved to increase reusability
    MDL-64587 - New option in the XMLDB editor to add the mandatory persistent fields
    MDL-64324 - ID collisions are avoided when forms are loaded from AJAX
    MDL-64684 - When JavaScript caching is disabled, jQuery and RequireJS are no longer minified

New web services

    MDL-64252 - New SCORM web service to return user capabilities
    MDL-64656 - New web service to return the tag associated with an element
    MDL-64655 - New forum web service to return user access information
    MDL-64642 - New web service to call multiple external functions


(wen)
diff -r1.73 -r1.74 pkgsrc/www/moodle/Makefile
diff -r1.56 -r1.57 pkgsrc/www/moodle/distinfo

cvs diff -r1.73 -r1.74 pkgsrc/www/moodle/Makefile (switch to unified diff)

--- pkgsrc/www/moodle/Makefile 2019/05/23 19:23:20 1.73
+++ pkgsrc/www/moodle/Makefile 2019/05/25 15:19:30 1.74
@@ -1,104 +1,104 @@ @@ -1,104 +1,104 @@
1# $NetBSD: Makefile,v 1.73 2019/05/23 19:23:20 rillig Exp $ 1# $NetBSD: Makefile,v 1.74 2019/05/25 15:19:30 wen Exp $
2 2
3DISTNAME= moodle-3.6.3 3DISTNAME= moodle-3.7
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= wen@NetBSD.org 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>=7.0.0:../../graphics/php-gd 13DEPENDS+= ${PHP_PKG_PREFIX}-gd>=7.0.0:../../graphics/php-gd
14DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=7.0.0:../../converters/php-iconv 14DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=7.0.0:../../converters/php-iconv
15DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=7.0.0:../../converters/php-mbstring 15DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=7.0.0:../../converters/php-mbstring
16DEPENDS+= ${PHP_PKG_PREFIX}-curl>=7.0.0:../../www/php-curl 16DEPENDS+= ${PHP_PKG_PREFIX}-curl>=7.0.0:../../www/php-curl
17DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=7.0.0:../../net/php-xmlrpc 17DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=7.0.0:../../net/php-xmlrpc
18DEPENDS+= ${PHP_PKG_PREFIX}-soap>=7.0.0:../../net/php-soap 18DEPENDS+= ${PHP_PKG_PREFIX}-soap>=7.0.0:../../net/php-soap
19DEPENDS+= ${PHP_PKG_PREFIX}-json>=7.0.0:../../textproc/php-json 19DEPENDS+= ${PHP_PKG_PREFIX}-json>=7.0.0:../../textproc/php-json
20DEPENDS+= ${PHP_PKG_PREFIX}-intl>=7.0.0:../../textproc/php-intl 20DEPENDS+= ${PHP_PKG_PREFIX}-intl>=7.0.0:../../textproc/php-intl
21DEPENDS+= ${PHP_PKG_PREFIX}-zip>=7.0.0:../../archivers/php-zip 21DEPENDS+= ${PHP_PKG_PREFIX}-zip>=7.0.0:../../archivers/php-zip
22DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=7.0.0:../../archivers/php-zlib 22DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=7.0.0:../../archivers/php-zlib
23DEPENDS+= ${PHP_PKG_PREFIX}-opcache>=7.0.0:../../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 35PHP_VERSIONS_INCOMPATIBLE= 56
36PHP_VERSIONS_ACCEPTED= 71 72 36PHP_VERSIONS_ACCEPTED= 71 72
37 37
38PKG_GROUPS_VARS= APACHE_GROUP 38PKG_GROUPS_VARS= APACHE_GROUP
39PKG_USERS_VARS= APACHE_USER 39PKG_USERS_VARS= APACHE_USER
40BUILD_DEFS+= APACHE_USER APACHE_GROUP 40BUILD_DEFS+= APACHE_USER APACHE_GROUP
41 41
42PKG_SYSCONFSUBDIR= httpd 42PKG_SYSCONFSUBDIR= httpd
43MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} 43MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
44 44
45CONF_FILES= ${PREFIX}/${EGDIR}/moodle.conf \ 45CONF_FILES= ${PREFIX}/${EGDIR}/moodle.conf \
46 ${PKG_SYSCONFDIR}/moodle.conf 46 ${PKG_SYSCONFDIR}/moodle.conf
47OWN_DIRS_PERMS+= ${MOODLEDATADIR} ${APACHE_USER} ${APACHE_GROUP} 0750 47OWN_DIRS_PERMS+= ${MOODLEDATADIR} ${APACHE_USER} ${APACHE_GROUP} 0750
48 48
49USE_TOOLS+= pax 49USE_TOOLS+= pax
50#NO_CONFIGURE= yes 50#NO_CONFIGURE= yes
51NO_BUILD= yes 51NO_BUILD= yes
52 52
53PLIST_SRC+= ${PKGDIR}/PLIST ${WRKDIR}/PLIST.AUTO 53PLIST_SRC+= ${PKGDIR}/PLIST ${WRKDIR}/PLIST.AUTO
54 54
55.include "../../mk/apache.mk" 55.include "../../mk/apache.mk"
56 56
57SUBST_CLASSES+= conf 57SUBST_CLASSES+= conf
58SUBST_MESSAGE.conf= Fixing pathnames in configuration file. 58SUBST_MESSAGE.conf= Fixing pathnames in configuration file.
59SUBST_STAGE.conf= pre-configure 59SUBST_STAGE.conf= pre-configure
60SUBST_FILES.conf= ../moodle.conf 60SUBST_FILES.conf= ../moodle.conf
61SUBST_VARS.conf= MOODLEDIR 61SUBST_VARS.conf= MOODLEDIR
62SUBST_VARS.conf+= MOODLEDATADIR 62SUBST_VARS.conf+= MOODLEDATADIR
63.if ${PKG_APACHE} == "apache24" 63.if ${PKG_APACHE} == "apache24"
64SUBST_SED.conf+= -e "/Order allow,deny/d" 64SUBST_SED.conf+= -e "/Order allow,deny/d"
65SUBST_SED.conf+= -e "s,Allow from all,Require all granted,g" 65SUBST_SED.conf+= -e "s,Allow from all,Require all granted,g"
66.endif 66.endif
67 67
68SUBST_CLASSES+= php 68SUBST_CLASSES+= php
69SUBST_MESSAGE.php= Fixing the path of php. 69SUBST_MESSAGE.php= Fixing the path of php.
70SUBST_STAGE.php= pre-configure 70SUBST_STAGE.php= pre-configure
71SUBST_FILES.php= admin/cli/mysql_engine.php admin/cli/maintenance.php admin/cli/cron.php 71SUBST_FILES.php= admin/cli/mysql_engine.php admin/cli/maintenance.php admin/cli/cron.php
72SUBST_FILES.php+= admin/cli/reset_password.php admin/cli/automated_backups.php 72SUBST_FILES.php+= admin/cli/reset_password.php admin/cli/automated_backups.php
73SUBST_FILES.php+= admin/cli/install.php admin/cli/install_database.php admin/cli/upgrade.php 73SUBST_FILES.php+= admin/cli/install.php admin/cli/install_database.php admin/cli/upgrade.php
74SUBST_FILES.php+= admin/mailout-debugger.php admin/process_email.php 74SUBST_FILES.php+= admin/mailout-debugger.php admin/process_email.php
75SUBST_FILES.php+= auth/db/cli/sync_users.php 75SUBST_FILES.php+= auth/db/cli/sync_users.php
76SUBST_FILES.php+= enrol/ldap/cli/sync.php enrol/database/cli/sync.php enrol/category/cli/sync.php 76SUBST_FILES.php+= enrol/ldap/cli/sync.php enrol/database/cli/sync.php enrol/category/cli/sync.php
77SUBST_SED.php= -e "s,/usr/bin/php,${PREFIX}/bin/php,g" 77SUBST_SED.php= -e "s,/usr/bin/php,${PREFIX}/bin/php,g"
78 78
79SUBST_CLASSES+= perl 79SUBST_CLASSES+= perl
80SUBST_MESSAGE.perl= Fixing the path of perl. 80SUBST_MESSAGE.perl= Fixing the path of perl.
81SUBST_STAGE.perl= pre-configure 81SUBST_STAGE.perl= pre-configure
82SUBST_FILES.perl= filter/algebra/algebra2tex.pl 82SUBST_FILES.perl= filter/algebra/algebra2tex.pl
83SUBST_SED.perl= -e "s,/usr/bin/perl,${PREFIX}/bin/perl,g" 83SUBST_SED.perl= -e "s,/usr/bin/perl,${PREFIX}/bin/perl,g"
84 84
85WRKSRC= ${WRKDIR}/moodle 85WRKSRC= ${WRKDIR}/moodle
86 86
87post-extract: 87post-extract:
88 ${CP} ${FILESDIR}/moodle.conf ${WRKDIR}/moodle.conf 88 ${CP} ${FILESDIR}/moodle.conf ${WRKDIR}/moodle.conf
89 89
90post-patch: 90post-patch:
91 cd ${WRKDIR} && ${FIND} moodle -type f -print \ 91 cd ${WRKDIR} && ${FIND} moodle -type f -print \
92 | ${SED} -e 's,^,share/,' > ${WRKDIR}/PLIST.AUTO 92 | ${SED} -e 's,^,share/,' > ${WRKDIR}/PLIST.AUTO
93 93
94do-install: 94do-install:
95 cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${MOODLEDIR}/ 95 cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${MOODLEDIR}/
96 ${INSTALL_DATA} ${WRKDIR}/moodle.conf \ 96 ${INSTALL_DATA} ${WRKDIR}/moodle.conf \
97 ${DESTDIR}${PREFIX}/${EGDIR}/moodle.conf 97 ${DESTDIR}${PREFIX}/${EGDIR}/moodle.conf
98 98
99post-install: 99post-install:
100 ${INSTALL_DATA_DIR} ${DESTDIR}${MOODLEDATADIR} 100 ${INSTALL_DATA_DIR} ${DESTDIR}${MOODLEDATADIR}
101 ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${MOODLEDATADIR} 101 ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${MOODLEDATADIR}
102 102
103.include "../../lang/php/phpversion.mk" 103.include "../../lang/php/phpversion.mk"
104.include "../../mk/bsd.pkg.mk" 104.include "../../mk/bsd.pkg.mk"

cvs diff -r1.56 -r1.57 pkgsrc/www/moodle/distinfo (switch to unified diff)

--- pkgsrc/www/moodle/distinfo 2019/03/11 07:52:06 1.56
+++ pkgsrc/www/moodle/distinfo 2019/05/25 15:19:30 1.57
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.56 2019/03/11 07:52:06 wen Exp $ 1$NetBSD: distinfo,v 1.57 2019/05/25 15:19:30 wen Exp $
2 2
3SHA1 (moodle-3.6.3.tgz) = f5d8229063cd9f2456ac5aba98a6ca505de548a4 3SHA1 (moodle-3.7.tgz) = 07a2286d38ba73e3b63da6e059eab74f6cab8f9c
4RMD160 (moodle-3.6.3.tgz) = c8b9b555b49535860f0703ff31f86d6d697b7365 4RMD160 (moodle-3.7.tgz) = 76eca4ae45aa99965fc852393d1faa87eb3da846
5SHA512 (moodle-3.6.3.tgz) = 9a583064321ee0929e3df2b194c783dd5322b6d6e7642fdbf9d18cc511b82f73e8007e234998ea2553cb8147dc22fa4d178f2104c6eb2ebc322a9850afba19c5 5SHA512 (moodle-3.7.tgz) = ca3efbb146253e856ff6988abad4bd071e26599ba45e60186e89bda45b06b610de1e88aa165e5ac992e00f23772e932ffe770402c699898d128a3357f02ac895
6Size (moodle-3.6.3.tgz) = 47707084 bytes 6Size (moodle-3.7.tgz) = 45708647 bytes