Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hsh-maxima
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
hsh-maxima
Commits
726d1101
Commit
726d1101
authored
4 years ago
by
Lennart Kramer
Browse files
Options
Downloads
Patches
Plain Diff
remove auto image generation
parent
a2cbe81b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
testimage.sh
+14
-10
14 additions, 10 deletions
testimage.sh
with
14 additions
and
10 deletions
testimage.sh
+
14
−
10
View file @
726d1101
...
@@ -5,18 +5,22 @@ git clone --branch "$QSTACK_VERSION" https://github.com/maths/moodle-qtype_stack
...
@@ -5,18 +5,22 @@ git clone --branch "$QSTACK_VERSION" https://github.com/maths/moodle-qtype_stack
cd
moodle-qtype_stack
||
exit
1
cd
moodle-qtype_stack
||
exit
1
patch
-p1
<<
"
EOF
"
patch
-p1
<<
"
EOF
"
diff --git a/db/install.php b/db/install.php
diff --git a/db/install.php b/db/install.php
index d573cde9..
63f6a16e
100644
index d573cde9..
5db9ba34
100644
--- a/db/install.php
--- a/db/install.php
+++ b/db/install.php
+++ b/db/install.php
@@ -58,7 +58,7 @@ function xmldb_qtype_stack_install() {
@@ -73,12 +73,5 @@ function xmldb_qtype_stack_install() {
// Set to the same defaults as in settings.php - however, that has not been done
set_config('maximalibraries', '', 'qtype_stack');
// yet in the Moodle install code flow, so we have to duplicate here.
set_config('casdebugging', 1, 'qtype_stack');
set_config('maximaversion', 'default', 'qtype_stack');
set_config('mathsdisplay', 'mathjax', 'qtype_stack');
- set_config('castimeout', 10, 'qtype_stack');
-
+ set_config('castimeout', 120, 'qtype_stack');
- if (!defined('QTYPE_STACK_TEST_CONFIG_PLATFORM') || QTYPE_STACK_TEST_CONFIG_PLATFORM !== 'server') {
set_config('casresultscache', 'db', 'qtype_stack');
- list(
$ok
,
$message
) = stack_cas_configuration::create_auto_maxima_image();
set_config('maximacommand', '', 'qtype_stack');
- if (!
$ok
) {
set_config('serveruserpass', '', 'qtype_stack');
- throw new coding_exception('maxima_opt_auto creation failed.',
$message
);
- }
- }
}
}
EOF
EOF
cd
..
cd
..
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment