MDL-9616 - Custom checks in environment.xml
[moodle.git] / admin / environment.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <COMPATIBILITY_MATRIX>
3   <MOODLE version="1.5">
4     <DATABASE level="required">
5       <VENDOR name="mysql" version="3.23" />
6       <VENDOR name="postgres" version="7.4" />
7     </DATABASE>
8     <PHP version="4.1.0" level="required" />
9     <PHP_EXTENSIONS>
10       <PHP_EXTENSION name="mbstring" level="optional" />
11     </PHP_EXTENSIONS>
12   </MOODLE>
13   <MOODLE version="1.6">
14     <DATABASE level="required">
15       <VENDOR name="mysql" version="4.1.16">
16         <FEEDBACK>
17           <ON_ERROR message="mysql416required" />
18         </FEEDBACK>
19         <BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
20       </VENDOR>
21       <VENDOR name="postgres" version="7.4" />
22     </DATABASE>
23     <PHP version="4.3.0" level="required" />
24     <PHP_EXTENSIONS>
25       <PHP_EXTENSION name="iconv" level="optional">
26         <FEEDBACK>
27           <ON_CHECK message="iconvrecommended" />
28         </FEEDBACK>
29       </PHP_EXTENSION>
30       <PHP_EXTENSION name="mbstring" level="optional">
31         <FEEDBACK>
32           <ON_CHECK message="mbstringrecommended" />
33         </FEEDBACK>
34       </PHP_EXTENSION>
35     </PHP_EXTENSIONS>
36   </MOODLE>
37   <MOODLE version="1.7">
38     <UNICODE level="optional">
39       <FEEDBACK>
40         <ON_CHECK message="unicoderecommended" />
41       </FEEDBACK>
42     </UNICODE>
43     <DATABASE level="required">
44       <VENDOR name="mysql" version="4.1.16">
45         <FEEDBACK>
46           <ON_ERROR message="mysql416required" />
47         </FEEDBACK>
48         <BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
49       </VENDOR>
50       <VENDOR name="postgres" version="7.4" />
51       <VENDOR name="mssql" version="9.0" />
52       <VENDOR name="odbc_mssql" version="9.0" />
53       <VENDOR name="mssql_n" version="9.0" />
54       <VENDOR name="oracle" version="9.0" />
55     </DATABASE>
56     <PHP version="4.3.0" level="required">
57       <RESTRICT function="restrict_php50_version" message="php50restricted" />
58     </PHP>
59     <PHP_EXTENSIONS>
60       <PHP_EXTENSION name="iconv" level="optional">
61         <FEEDBACK>
62           <ON_CHECK message="iconvrecommended" />
63         </FEEDBACK>
64       </PHP_EXTENSION>
65       <PHP_EXTENSION name="mbstring" level="optional">
66         <FEEDBACK>
67           <ON_CHECK message="mbstringrecommended" />
68         </FEEDBACK>
69       </PHP_EXTENSION>
70     </PHP_EXTENSIONS>
71   </MOODLE>
72   <MOODLE version="1.8">
73     <UNICODE level="required">
74       <FEEDBACK>
75         <ON_ERROR message="unicoderequired" />
76       </FEEDBACK>
77     </UNICODE>
78     <DATABASE level="required">
79       <VENDOR name="mysql" version="4.1.16">
80         <FEEDBACK>
81           <ON_ERROR message="mysql416required" />
82         </FEEDBACK>
83         <BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
84       </VENDOR>
85       <VENDOR name="postgres" version="7.4" />
86       <VENDOR name="mssql" version="9.0" />
87       <VENDOR name="odbc_mssql" version="9.0" />
88       <VENDOR name="mssql_n" version="9.0" />
89       <VENDOR name="oracle" version="9.0" />
90     </DATABASE>
91     <PHP version="4.3.0" level="required">
92       <RESTRICT function="restrict_php50_version" message="php50restricted" />
93     </PHP>
94     <PHP_EXTENSIONS>
95       <PHP_EXTENSION name="iconv" level="optional">
96         <FEEDBACK>
97           <ON_CHECK message="iconvrecommended" />
98         </FEEDBACK>
99       </PHP_EXTENSION>
100       <PHP_EXTENSION name="mbstring" level="optional">
101         <FEEDBACK>
102           <ON_CHECK message="mbstringrecommended" />
103         </FEEDBACK>
104       </PHP_EXTENSION>
105       <PHP_EXTENSION name="curl" level="optional">
106         <FEEDBACK>
107           <ON_CHECK message="curlrecommended" />
108         </FEEDBACK>
109       </PHP_EXTENSION>
110       <PHP_EXTENSION name="openssl" level="optional">
111         <FEEDBACK>
112           <ON_CHECK message="opensslrecommended" />
113         </FEEDBACK>
114       </PHP_EXTENSION>
115       <PHP_EXTENSION name="tokenizer" level="optional">
116         <FEEDBACK>
117           <ON_CHECK message="tokenizerrecommended" />
118         </FEEDBACK>
119       </PHP_EXTENSION>
120     </PHP_EXTENSIONS>
121   </MOODLE>
122   <MOODLE version="1.9">
123     <UNICODE level="required">
124       <FEEDBACK>
125         <ON_ERROR message="unicoderequired" />
126       </FEEDBACK>
127     </UNICODE>
128     <DATABASE level="required">
129       <VENDOR name="mysql" version="4.1.16">
130         <FEEDBACK>
131           <ON_ERROR message="mysql416required" />
132         </FEEDBACK>
133         <BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
134       </VENDOR>
135       <VENDOR name="postgres" version="7.4" />
136       <VENDOR name="mssql" version="9.0" />
137       <VENDOR name="odbc_mssql" version="9.0" />
138       <VENDOR name="mssql_n" version="9.0" />
139       <VENDOR name="oracle" version="9.0" />
140     </DATABASE>
141     <PHP version="4.3.0" level="required">
142       <RESTRICT function="restrict_php50_version" message="php50restricted" />
143     </PHP>
144     <PHP_EXTENSIONS>
145       <PHP_EXTENSION name="iconv" level="optional">
146         <FEEDBACK>
147           <ON_CHECK message="iconvrecommended" />
148         </FEEDBACK>
149       </PHP_EXTENSION>
150       <PHP_EXTENSION name="mbstring" level="optional">
151         <FEEDBACK>
152           <ON_CHECK message="mbstringrecommended" />
153         </FEEDBACK>
154       </PHP_EXTENSION>
155       <PHP_EXTENSION name="curl" level="optional">
156         <FEEDBACK>
157           <ON_CHECK message="curlrecommended" />
158         </FEEDBACK>
159       </PHP_EXTENSION>
160       <PHP_EXTENSION name="openssl" level="optional">
161         <FEEDBACK>
162           <ON_CHECK message="opensslrecommended" />
163         </FEEDBACK>
164       </PHP_EXTENSION>
165       <PHP_EXTENSION name="tokenizer" level="optional">
166         <FEEDBACK>
167           <ON_CHECK message="tokenizerrecommended" />
168         </FEEDBACK>
169       </PHP_EXTENSION>
170     </PHP_EXTENSIONS>
171     <CUSTOM_CHECKS>
172       <CUSTOM_CHECK file="question/upgrade.php" function="question_check_no_rqp_questions" level="optional">
173         <FEEDBACK>
174           <ON_CHECK message="qtyperqpwillberemoved" />
175           <ON_OK message="qtyperqpwillberemovedanyway" />
176         </FEEDBACK>
177       </CUSTOM_CHECK>
178     </CUSTOM_CHECKS>
179   </MOODLE>
180 </COMPATIBILITY_MATRIX>