Complete setup for Moodle 5 development environment using Docker, MySQL, phpMyAdmin, Nginx reverse proxy, and cron automation.
| Service | URL |
|---|
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE workflow PUBLIC "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN" "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd"> | |
| <workflow> | |
| <meta name="jira.description">Jira Standard Product workflow</meta> | |
| <meta name="jira.update.author.id">5a6893f55552234543235831</meta> | |
| <meta name="jira.update.author.key">5a6893f55552234543235831</meta> | |
| <meta name="jira.updated.date">1710749387249</meta> | |
| <initial-actions> | |
| <action id="1" name="Create"> | |
| <validators> |
WITH RECURSIVE category_hierarchy AS (
SELECT
id,
NAME,
parent,
0 AS level,
NAME AS path
FROM
mdl_course_categories
@@ -265,7 +265,10 @@ class grade extends tablelike implements selectable_items, filterable_items {
}
if (array_key_exists($key, $lineclasses)) {
$cell->attributes['class'] = $lineclasses[$key];
}
+ if($lineclasses[$key] =='user'){
+ $cell->attributes['data-gtu'] = $item->id;
+ }
| [show all button] | |
| --- a/question/classes/local/bank/view.php | |
| +++ b/question/classes/local/bank/view.php | |
| @@ -1374,7 +1374,12 @@ class view { | |
| echo \html_writer::start_tag('div', | |
| ['class' => 'question_table', 'id' => 'question_table']); | |
| $this->print_table($questions); | |
| - echo \html_writer::end_tag('div'); | |
| + echo \html_writer::end_tag('div'); | |
| + if ($this->totalcount > $this->pagesize) { |
| ##2x large | |
| <IfModule mpm_prefork_module> | |
| StartServers 10 | |
| MinSpareServers 10 | |
| MaxSpareServers 30 | |
| ServerLimit 600 | |
| MaxRequestWorkers 600 | |
| MaxConnectionsPerChild 5000 | |
| </IfModule> |
| #!/bin/bash | |
| find . -maxdepth 1 -mindepth 1 -type d -name "*" | while read d; do | |
| echo $d | |
| ## will replace utf8_general_ci to utf8mb4_unicode_ci | |
| find $d/config.php -type f -exec sed -i -e 's/utf8_general_ci/utf8mb4_unicode_ci/g' {} \; | |
| /usr/bin/php $d/admin/cli/mysql_collation.php --collation="utf8mb4_unicode_ci" | |
| done |
| ## command line msmtp tool to test if smtp is working or not. | |
| cat message.txt | msmtp --auth=on --tls=on \ | |
| --host smtp.gmail.com --port 587 \ | |
| --user abc@email.invalid \ | |
| --read-envelope-from --read-recipients |