Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-72769

Change default setting values for new installations following 'Lite Moodle' model

    XMLWordPrintable

Details

    • Improvement
    • Status: Reopened
    • Blocker
    • Resolution: Unresolved
    • 4.0
    • None
    • Administration
    • MOODLE_400_STABLE
    • MDL-72769-master
    • Hide

      Note: We are testing only the listed settings and plugins. We are not taking into consideration other settings/plugins config.

      Automated tests

      1. Confirm all behats are passing.
      2. Confirm all PHPUnit tests are passing.

      New site

      1. Create a new Moodle site based on this patch's code:
      2. Log in as admin
      3. Go to Site administration > Advanced features
      4. Confirm following settings are disabled, and their default value is 'No': 
        1. Enable comments (usecomments)
        2. Enable tags functionality (usetags)
        3. Enable notes (enablenotes)
        4. Enable blogs (enableblogs)
        5. Enable badges (enablebadges)
        6. Analytics (enableanalytics)
        7. Enable competencies (core_competency)
      5. Go to Site administration > Users > Privacy and policies > Privacy settings
      6. Confirm 'Show data retention summary (showdataretentionsummary)' setting is disabled, and its default value is 'No'.
      7. Go to Site administration > Appearance > Themes > Theme settings
      8. Confirm 'User menu items (customusermenuitems)' setting value and the default value are 'grades,grades|/grade/report/mygrades.php|t/grades
        preferences,moodle|/user/preferences.php|t/preferences'
      9. Go to Site administration > Plugins > Activity modules > Manage activities
      10. Confirm following activities are disabled:
        1. Chat
        2. Database
        3. External tool (lti)
        4. IMS content package (imscp)
        5. Lesson
        6. SCORM
        7. Survey
        8. Wiki
        9. Workshop
      11. Go to Site administration > Plugins > Availability restrictions > Manage restrictions
      12. Confirm 'Restriction by grouping' and 'Restriction by profile' are disabled.
      13. Go to Site administration > Plugins > Blocks > Manage blocks
      14. Confirm following blocks are disabled:
        1. Activities
        2. Blog menu
        3. Blog tags
        4. Comments
        5. Course completion status
        6. Course/site summary
        7. Courses
        8. Flickr
        9. Global search
        10. Latest badges
        11. Learning plans
        12. Logged in user
        13. Login
        14. Main menu
        15. Mentees
        16. Network servers
        17. Private files
        18. Recent blog entries
        19. Remote RSS feeds
        20. Search forums
        21. Section links
        22. Self completion
        23. Social activities
        24. Tags
        25. YouTube
        26. Feedback
      15. Go to Site administration > Plugins > Course formats > Manage course formats
      16. Confirm 'Social format' is disabled. 
      17. Go to Site administration > Plugins > Data formats > Manage data formats
      18. Confirm 'Javascript Object Notation (.json)' is disabled.
      19. Go to Site administration > Plugins > Enrolments > Manage enrol plugins
      20. Confirm 'Cohort sync' is disabled.
      21. Go to Site administration > Plugins > Filters > Manage filters
      22. Confirm  'MathJax' and 'Activity names auto-linking' are disabled.
      23. Go to Site administration > Plugins > Question behaviours > Manage question behaviours
      24. Confirm following plugins are disabled:
        1. Adaptive mode (no penalties)
        2. Deferred feedback with CBM
        3. Immediate feedback with CBM
      25. Go to Site administration > Plugins > Question types > Manage question types
      26. Confirm following plugins are disabled:
        1. Calculated
        2. Calculated multichoice
        3. Calculated simple
        4. Description
        5. Drag and drop markers
        6. Drag and drop onto image
        7. Embedded answers
        8. Essay
        9. Numerical
        10. Random short-answer matching
      27. Go to Site administration > Plugins > Repositories > Manage repositories
      28. Confirm following plugins are disabled:
        1. Server files
        2. URL downloader
        3. Wikimedia
      29. Go to Site administration > Plugins > Text editors > Manage editors
      30. Confirm 'TinyMCE' is disabled.
      31. Go to Site administration > Plugins > Activity modules > Forum
      32. Confirm 'Maximum number of attachments (forum_maxattachments)' setting and its default value are '3'

      Upgraded site

      1. Create a new Moodle 3.11 site
      2. Log in as admin
      3. Upgrade the site to 4.0 using this patch's code:
      4. Go to Site administration > Advanced features
      5. Confirm following settings are enabled, but their default value is 'No': 
        1. Enable comments (usecomments)
        2. Enable tags functionality (usetags)
        3. Enable notes (enablenotes)
        4. Enable blogs (enableblogs)
        5. Enable badges (enablebadges)
        6. Analytics (enableanalytics)
        7. Enable competencies (core_competency)
      6. Go to Site administration > Users > Privacy and policies > Privacy settings
      7. Confirm 'Show data retention summary (showdataretentionsummary)' setting is enabled, but its default value is 'No'.
      8. Go to Site administration > Appearance > Themes > Theme settings
      9. Confirm 'User menu items (customusermenuitems)' setting value and the default value are 'grades,grades|/grade/report/mygrades.php|t/grades
        messages,message|/message/index.php|t/message
        preferences,moodle|/user/preferences.php|t/preferences'
      10. Go to Site administration > Plugins > Activity modules > Manage activities
      11. Confirm following activities are enabled:
        1. Chat
        2. Database
        3. External tool (lti)
        4. IMS content package (imscp)
        5. Lesson
        6. SCORM
        7. Survey
        8. Wiki
        9. Workshop
      12. Go to Site administration > Plugins > Availability restrictions > Manage restrictions
      13. Confirm 'Restriction by grouping' and 'Restriction by profile' are enabled.
      14. Go to Site administration > Plugins > Blocks > Manage blocks
      15. Confirm following blocks are enabled:
        1. Activities
        2. Blog menu
        3. Blog tags
        4. Comments
        5. Course completion status
        6. Course/site summary
        7. Courses
        8. Flickr
        9. Global search
        10. Latest badges
        11. Learning plans
        12. Logged in user
        13. Login
        14. Main menu
        15. Mentees
        16. Network servers
        17. Private files
        18. Recent blog entries
        19. Remote RSS feeds
        20. Search forums
        21. Section links
        22. Self completion
        23. Social activities
        24. Tags
        25. YouTube
        26. Feedback
      16. Go to Site administration > Plugins > Course formats > Manage course formats
      17. Confirm 'Social format' is enabled. 
      18. Go to Site administration > Plugins > Data formats > Manage data formats
      19. Confirm 'Javascript Object Notation (.json)' is enabled.
      20. Go to Site administration > Plugins > Enrolments > Manage enrol plugins
      21. Confirm 'Cohort sync' is enabled.
      22. Go to Site administration > Plugins > Filters > Manage filters
      23. Confirm  'MathJax' and 'Activity names auto-linking' are enabled.
      24. Go to Site administration > Plugins > Question behaviours > Manage question behaviours
      25. Confirm following plugins are enabled:
        1. Adaptive mode (no penalties)
        2. Deferred feedback with CBM
        3. Immediate feedback with CBM
      26. Go to Site administration > Plugins > Question types > Manage question types
      27. Confirm following plugins are enabled:
        1. Calculated
        2. Calculated multichoice
        3. Calculated simple
        4. Description
        5. Drag and drop markers
        6. Drag and drop onto image
        7. Embedded answers
        8. Essay
        9. Numerical
        10. Random short-answer matching
      28. Go to Site administration > Plugins > Repositories > Manage repositories
      29. Confirm following plugins are enabled:
        1. Server files
        2. URL downloader
        3. Wikimedia
      30. Go to Site administration > Plugins > Text editors > Manage editors
      31. Confirm 'TinyMCE' is enabled.
      32. Go to Site administration > Plugins > Activity modules > Forum
      33. Confirm 'Maximum number of attachments (forum_maxattachments)' setting is '9' but its default value is '3'
      Show
      Note : We are testing only the listed settings and plugins. We are not taking into consideration other settings/plugins config. Automated tests Confirm all behats are passing. Confirm all PHPUnit tests are passing. New site Create a new Moodle site based on this patch's code: Log in as admin Go to Site administration > Advanced features Confirm following settings are disabled, and their default value is 'No':  Enable comments (usecomments) Enable tags functionality (usetags) Enable notes (enablenotes) Enable blogs (enableblogs) Enable badges (enablebadges) Analytics (enableanalytics) Enable competencies (core_competency) Go to Site administration > Users > Privacy and policies > Privacy settings Confirm 'Show data retention summary (showdataretentionsummary)' setting is disabled, and its default value is 'No'. Go to Site administration > Appearance > Themes > Theme settings Confirm 'User menu items (customusermenuitems)' setting value and the default value are 'grades,grades|/grade/report/mygrades.php|t/grades preferences,moodle|/user/preferences.php|t/preferences' Go to Site administration > Plugins > Activity modules > Manage activities Confirm  following activities are disabled: Chat Database External tool (lti) IMS content package (imscp) Lesson SCORM Survey Wiki Workshop Go to Site administration > Plugins > Availability restrictions > Manage restrictions Confirm 'Restriction by grouping' and 'Restriction by profile' are disabled. Go to Site administration > Plugins > Blocks > Manage blocks Confirm  following blocks are disabled: Activities Blog menu Blog tags Comments Course completion status Course/site summary Courses Flickr Global search Latest badges Learning plans Logged in user Login Main menu Mentees Network servers Private files Recent blog entries Remote RSS feeds Search forums Section links Self completion Social activities Tags YouTube Feedback Go to Site administration > Plugins > Course formats > Manage course formats Confirm 'Social format' is disabled.  Go to Site administration > Plugins > Data formats > Manage data formats Confirm 'Javascript Object Notation (.json)' is disabled. Go to Site administration > Plugins > Enrolments > Manage enrol plugins Confirm 'Cohort sync' is disabled. Go to Site administration > Plugins > Filters > Manage filters Confirm   'MathJax' and 'Activity names auto-linking' are disabled. Go to Site administration > Plugins > Question behaviours > Manage question behaviours Confirm  following plugins are disabled: Adaptive mode (no penalties) Deferred feedback with CBM Immediate feedback with CBM Go to Site administration > Plugins > Question types > Manage question types Confirm  following plugins are disabled: Calculated Calculated multichoice Calculated simple Description Drag and drop markers Drag and drop onto image Embedded answers Essay Numerical Random short-answer matching Go to Site administration > Plugins > Repositories > Manage repositories Confirm  following plugins are disabled: Server files URL downloader Wikimedia Go to Site administration > Plugins > Text editors > Manage editors Confirm  'TinyMCE' is disabled. Go to Site administration > Plugins > Activity modules > Forum Confirm  'Maximum number of attachments (forum_maxattachments)' setting and its default value are '3' Upgraded site Create a new Moodle 3.11 site Log in as admin Upgrade the site to 4.0 using this patch's code: Go to Site administration > Advanced features Confirm following settings are enabled, but their default value is 'No':  Enable comments (usecomments) Enable tags functionality (usetags) Enable notes (enablenotes) Enable blogs (enableblogs) Enable badges (enablebadges) Analytics (enableanalytics) Enable competencies (core_competency) Go to Site administration > Users > Privacy and policies > Privacy settings Confirm 'Show data retention summary (showdataretentionsummary)' setting is enabled, but its default value is 'No'. Go to Site administration > Appearance > Themes > Theme settings Confirm 'User menu items (customusermenuitems)' setting value and the default value are 'grades,grades|/grade/report/mygrades.php|t/grades messages,message|/message/index.php|t/message preferences,moodle|/user/preferences.php|t/preferences' Go to Site administration > Plugins > Activity modules > Manage activities Confirm  following activities are enabled: Chat Database External tool (lti) IMS content package (imscp) Lesson SCORM Survey Wiki Workshop Go to Site administration > Plugins > Availability restrictions > Manage restrictions Confirm 'Restriction by grouping' and 'Restriction by profile' are enabled. Go to Site administration > Plugins > Blocks > Manage blocks Confirm  following blocks are enabled: Activities Blog menu Blog tags Comments Course completion status Course/site summary Courses Flickr Global search Latest badges Learning plans Logged in user Login Main menu Mentees Network servers Private files Recent blog entries Remote RSS feeds Search forums Section links Self completion Social activities Tags YouTube Feedback Go to Site administration > Plugins > Course formats > Manage course formats Confirm 'Social format' is enabled.  Go to Site administration > Plugins > Data formats > Manage data formats Confirm 'Javascript Object Notation (.json)' is enabled. Go to Site administration > Plugins > Enrolments > Manage enrol plugins Confirm 'Cohort sync' is enabled. Go to Site administration > Plugins > Filters > Manage filters Confirm   'MathJax' and 'Activity names auto-linking' are enabled. Go to Site administration > Plugins > Question behaviours > Manage question behaviours Confirm  following plugins are enabled: Adaptive mode (no penalties) Deferred feedback with CBM Immediate feedback with CBM Go to Site administration > Plugins > Question types > Manage question types Confirm  following plugins are enabled: Calculated Calculated multichoice Calculated simple Description Drag and drop markers Drag and drop onto image Embedded answers Essay Numerical Random short-answer matching Go to Site administration > Plugins > Repositories > Manage repositories Confirm  following plugins are enabled: Server files URL downloader Wikimedia Go to Site administration > Plugins > Text editors > Manage editors Confirm  'TinyMCE' is enabled. Go to Site administration > Plugins > Activity modules > Forum Confirm  'Maximum number of attachments (forum_maxattachments)' setting is '9' but its default value is '3'

    Description

      For new installations default settings will be following 'Lite Moodle' described in Minimal project.

      Disable:

      1. Advanced features > Enable comments (usecomments)
      2. Advanced features > Enable tags functionality (usetags)
      3. Advanced features > Enable notes (enablenotes)
      4. Advanced features > Enable blogs (enableblogs)
      5. Advanced features > Enable badges (enablebadges)
      6. Advanced features > Analytics (enableanalytics)
      7. Advanced features > Enable competencies (core_competency)
      8. Users > Privacy and policies > Privacy settings > Show data retention summary (showdataretentionsummary)
      9. Appearance > Themes > Theme settings > User menu items (customusermenuitems) to 'grades,grades|/grade/report/mygrades.php|t/grades
        preferences,moodle|/user/preferences.php|t/preferences'
      10. Plugins > Data formats: Javascript Object Notation (.json).
      11. Plugins > Enrolments: Cohort sync
      12. Plugins > Availability restrictions > Manage restrictions > Grouping and User profile
      13. Plugins > Filters > MathJax and Activity names auto-linking
      14. Plugins > Activity modules > Forum > Maximum number of attachments (forum_maxattachments) down to 3
      15. Plugins > Activity modules: chat, database, external tool (lti), IMS content package (imscp), lesson, SCORM, survey, wiki and workshop.
      16. Plugins > Blocks: Activities, Blog menu, Blog tags, Comments, Course completion status, Course/site summary, Courses, Flickr, Global search, Latest badges, Learning plans, Logged in user, Login, Main menu, Mentees, Network servers, Private files, Recent blog entries, Remote RSS feeds, Search forums, Section links, Self completion, Social activities, Tags, YouTube, Feedback.
      17. Plugins > Course formats: Social format.
      18. Plugins > Repositories: Server files, URL downloader, Wikimedia.
      19. Plugins > Text editors > TinyMCE
      20. Plugins > Question types: Calculated, Calculated multichoice, Calculated simple, Description, Drag and drop markers, Drag and drop onto image, Embedded answers, Essay, Numerical, Random short-answer matching
      21. Plugins > Question behaviours: Adaptive mode (no penalties), Deferred feedback with CBM, Immediate feedback with CBM

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amaia Amaia Anabitarte
              Carlos Escobedo Carlos Escobedo
              Jun Pataleta Jun Pataleta
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              29 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day, 3 hours, 30 minutes
                  1w 1d 3h 30m