Subversion Repositories wimsdev

Rev

Rev 16031 | Rev 16433 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16031 Rev 16032
Line 1... Line 1...
1
adm/raw new features and modifications
1
adm/raw new features and modifications
2
--------------------------------------
2
--------------------------------------
3
**4.18c-r.16031 (2021-05-22) :**
3
**4.18c-r.16031 (2021-08-24) (OB):**
4
- Now job addclass handle fields limits (OB)
-
 
5
 
4
 
6
**4.18b-r.15818 (2021-05-22) :**
5
 - Now job addclass handle fields limits
7
- add the job "getserverstat" to download server and class geoloc file and class and user number (FG)
6
 - Job "getclass" can return strings with '"' in correct json
8
 
7
 
9
**4.18-r.15428 (2020-10-06) :**
8
**4.18b-r.15818 (2021-05-22):**
10
- job authuser now check if user has changed his IP only if option $class_examscore_withoutip is active. (set by teacher in class params)
9
Add the job "getserverstat" to download server and class geoloc file and class and user number (FG)
11
 
10
 
-
 
11
**4.18-r.15428 (2020-10-06):**
-
 
12
Job authuser now check if user has changed his IP only if option `$class_examscore_withoutip` is active. (set by teacher in class params)
-
 
13
 
12
**4.17-r.14384 (2019-11-05) :**
14
**4.17-r.14384 (2019-11-05):**
13
 
15
 
14
- add the job "changedates" (Repels the expiry date of `qclass` and all its sheets / exams)
16
- add the job "changedates" (Repels the expiry date of `qclass` and all its sheets / exams)
15
- Jobs "listsheets" and "listexams" now display the list of expiration dates
17
- Jobs "listsheets" and "listexams" now display the list of expiration dates
16
 
18
 
17
 
19
 
18
**4.16b-r.14139 (2019-06-26) :**
20
**4.16b-r.14139 (2019-06-26):**
19
 
21
 
20
- add "last_detail" to getsheetscores (gives the last score for each exercice) + correct a bug on "requires"
22
- add "last_detail" to getsheetscores (gives the last score for each exercice) + correct a bug on "requires"
21
- now getsheetscores job gives the sheet formula chosen by supervisor
23
- now getsheetscores job gives the sheet formula chosen by supervisor
22
- add "sheet_weight" in getsheetscores job + rename "weights" into "exo_weights"
24
- add "sheet_weight" in getsheetscores job + rename "weights" into "exo_weights"
23
 
25
 
24
 
26
 
25
**4.16a-r.13828 (2019-04-12) :**
27
**4.16a-r.13828 (2019-04-12):**
26
 
28
 
27
- add "allowcloning" and "cloningpwd" to class_defs showed in getclass and listclasses (only allowcloning is accessible by listclasses)
29
- add "allowcloning" and "cloningpwd" to class_defs showed in getclass and listclasses (only allowcloning is accessible by listclasses)
28
- remove debug informations displayed in case of identification failure, and connexion refused by requested class
30
- remove debug informations displayed in case of identification failure, and connexion refused by requested class
29
 
31
 
30
 
32
 
31
**4.16-r.13460 (2018-12-04) :**
33
**4.16-r.13460 (2018-12-04):**
32
 
34
 
33
- A bunch of bugfixes, issued by Q. Coumes (thx to him) :
35
- A bunch of bugfixes, issued by Q. Coumes (thx to him) :
34
	- **copyclass** : was not working as expected for a single class
36
	- **copyclass**: was not working as expected for a single class
35
	- **getclassmodif** : was not returning a valid json when several modified files
37
	- **getclassmodif**: was not returning a valid json when several modified files
36
	- **getclasstgz** : HTML headers was merged with the tgz binary.
38
	- **getclasstgz**: HTML headers was merged with the tgz binary.
37
	- **putcsv** : this alpha draft job now clearly indicate to avaoid using it until it's finished, instead of returning "unauthorized"
39
	- **putcsv**: this alpha draft job now clearly indicate to avaoid using it until it's finished, instead of returning "unauthorized"
38
	- **recuser** : more explicit message returned : "User successfully recovered"
40
	- **recuser**: more explicit message returned : "User successfully recovered"
39
	- **repairclass** : typo corrected ('action,')
41
	- **repairclass**: typo corrected ('action,')
40
 
42
 
41
 
43
 
42
**4.15-r.13228 (2018-07-20) :**
44
**4.15-r.13228 (2018-07-20):**
43
 
45
 
44
- bugfix with the wims_sheet forbidden variable, replaced by sheet_id
46
- bugfix with the wims_sheet forbidden variable, replaced by sheet_id
45
- add missing addexam, addexo and putexo in the protocol doc
47
- add missing addexam, addexo and putexo in the protocol doc
46
- reformat protocol doc in markdown
48
- reformat protocol doc in markdown
47
 
49
 
48
 
50
 
49
**4.14-r.12957 (2018-06-15) :**
51
**4.14-r.12957 (2018-06-15):**
50
 
52
 
51
- Job "getclass" gives some more lists (subclasses in a group, and every sub-items in the portal)
53
- Job "getclass" gives some more lists (subclasses in a group, and every sub-items in the portal)
52
- script "check.class" accepts class portals
54
- script "check.class" accepts class portals
53
 
55
 
54
 
56
 
55
**4.13-r.11380 (2018-01-11) :**
57
**4.13-r.11380 (2018-01-11):**
56
 
58
 
57
- Job "deluser" removes also user related data (score, logs...)
59
- Job "deluser" removes also user related data (score, logs...)
58
- Job "recuser" recovers also user related data (score, logs...)
60
- Job "recuser" recovers also user related data (score, logs...)
59
- Job "deluser" accepts new option "del_from_trash" to orce a real user deletion
61
- Job "deluser" accepts new option "del_from_trash" to orce a real user deletion
60
 
62
 
61
**4.12a-r.11380 (2018-01-09) :**
63
**4.12a-r.11380 (2018-01-09):**
62
Job "lightpopup" now keep trace of http protocol (https)
64
Job "lightpopup" now keep trace of http protocol (https)
63
 
65
 
64
**4.12-r.11380 (2017-06-14) :**
66
**4.12-r.11380 (2017-06-14):**
65
 
67
 
66
- Add a new job "buildexos" : it compiles (src->def) all class exercices, and refresh indexes
68
- Add a new job "buildexos" : it compiles (src->def) all class exercices, and refresh indexes
67
- Jobs "delexo" and "addexo" now accept the option "no_build", that improves the speed when there is a lot of exercices to handle at the same time. (but don't forget to call the "buildexos" job when all the deletions are done !)
69
- Jobs "delexo" and "addexo" now accept the option "no_build", that improves the speed when there is a lot of exercices to handle at the same time. (but don't forget to call the "buildexos" job when all the deletions are done !)
68
- better severity definition in addsheet
70
- better severity definition in addsheet
69
 
71
 
70
**4.11-r.11380 (2017-03-01) :**
72
**4.11-r.11380 (2017-03-01):**
71
Bugfix in GetSheetScores : when there was more than 100 users in the class, a cmd_output_too_long error was raised. (now cuts user list every 50)
73
Bugfix in GetSheetScores : when there was more than 100 users in the class, a cmd_output_too_long error was raised. (now cuts user list every 50)
72
 
74
 
73
**4.10-r.11100 (2016-11-23) :**
75
**4.10-r.11100 (2016-11-23):**
74
Adds 2 scripts used in modexosheet job (check.worksheet & clean.worksheet). They should have been already here since r.5665 :/
76
Adds 2 scripts used in modexosheet job (check.worksheet & clean.worksheet). They should have been already here since r.5665 :/
75
 
77
 
76
**4.09-r.11095 (2016-10-31) :**
78
**4.09-r.11095 (2016-10-31):**
77
 
79
 
78
- corrects a bug introduced in r.10935 in addsheet and modsheet jobs. (!singlespace is replacing returns by simple spaces)
80
- corrects a bug introduced in r.10935 in addsheet and modsheet jobs. (!singlespace is replacing returns by simple spaces)
79
- introduces a new job in ALPHA state : "repairclass"
81
- introduces a new job in ALPHA state : "repairclass"
80
- corrects a small bug in getsheet
82
- corrects a small bug in getsheet
81
- getcsv & getclass now call "mkuserlist" script, just to be sure the userlist contains all the users.
83
- getcsv & getclass now call "mkuserlist" script, just to be sure the userlist contains all the users.
82
 
84
 
83
**4.08-r.10935 (2016-08-29) :**
85
**4.08-r.10935 (2016-08-29):**
84
removes unwanted spaces/tabs in sheet properties in addsheet, getsheet and modsheet jobs.
86
removes unwanted spaces/tabs in sheet properties in addsheet, getsheet and modsheet jobs.
85
 
87
 
86
**4.07-r.10778 (2016-07-12) :**
88
**4.07-r.10778 (2016-07-12):**
87
`./build-index` now is called on the superclass ID when present. (addclass, copyclass, delclass, modclass)
89
`./build-index` now is called on the superclass ID when present. (addclass, copyclass, delclass, modclass)
88
 
90
 
89
**4.06-r.9963 (2016-03-23) :** "delsheet" and "delexam" jobs now can't delete a sheet/exam if there is at least one more recent active of same type. (jobs still in BETA) + adjust some WIMS limits (MAX_EXOS, MAX_EXAMS, MAX_SHEETS) : now you cant add more than MAX_SHEETS sheets and MAX_EXAMS exams.
91
**4.06-r.9963 (2016-03-23):** "delsheet" and "delexam" jobs now can't delete a sheet/exam if there is at least one more recent active of same type. (jobs still in BETA) + adjust some WIMS limits (MAX_EXOS, MAX_EXAMS, MAX_SHEETS) : now you cant add more than MAX_SHEETS sheets and MAX_EXAMS exams.
90
 
92
 
91
**4.05-r.9912 (2016-02-08) :** "getscores" job is only calling "getcsv". The only difference between this job and getcsv, is that this one returns a usual response formatted, not a directly downloadable file. No more duplicated code : this one will also directly benefits from updates in userscore module.
93
**4.05-r.9912 (2016-02-08):** "getscores" job is only calling "getcsv". The only difference between this job and getcsv, is that this one returns a usual response formatted, not a directly downloadable file. No more duplicated code : this one will also directly benefits from updates in userscore module.
92
 
94
 
93
**4.04-r.9909 (2016-02-05) :** "getcsv" job calls directly scripts from "adm/class/userscore", to avoid duplicated code. + delete job "download", which was only a duplicata of "getcsv"
95
**4.04-r.9909 (2016-02-05):** "getcsv" job calls directly scripts from "adm/class/userscore", to avoid duplicated code. + delete job "download", which was only a duplicata of "getcsv"
94
 
96
 
95
**4.03-r.9896 (2016-01-27) :** now "getscore" and "getsheetscores" jobs send also user's bests and levels
97
**4.03-r.9896 (2016-01-27):** now "getscore" and "getsheetscores" jobs send also user's bests and levels
96
 
98
 
97
**4.02-r.9627 (2015-10-13) :** now "getsheetscores" and "getexamscores" jobs send also user's full names
99
**4.02-r.9627 (2015-10-13):** now "getsheetscores" and "getexamscores" jobs send also user's full names
98
 
100
 
99
**4.01-r.6628 (2013-05-27) :** now verify wims exam and sheet limits (64 exercices max)
101
**4.01-r.6628 (2013-05-27):** now verify wims exam and sheet limits (64 exercices max)
100
 
102
 
101
**4.00-r.6514 (2013-04-19) :** now cleanClass can clean a sublclass in a superclass
103
**4.00-r.6514 (2013-04-19):** now cleanClass can clean a sublclass in a superclass
102
 
104
 
103
**r.6364 (2013-02-12) :** getlog can now give log connexions for exams. (option = exams)
105
**r.6364 (2013-02-12):** getlog can now give log connexions for exams. (option = exams)
104
 
106
 
105
**r.6026 (2013-04-19) :** optimizing getlog job, now it can render more than 500 lines of a user log
107
**r.6026 (2013-04-19):** optimizing getlog job, now it can render more than 500 lines of a user log
106
 
108
 
107
**r.5967 (2012-11-13) :** 2 new jobs :
109
**r.5967 (2012-11-13):** 2 new jobs :
108
 
110
 
109
- copyclass
111
- copyclass
110
- and getsheetstats + multiple bugs corrections
112
- and getsheetstats + multiple bugs corrections
111
 
113
 
112
**r.5802 (2012-10-18) :** Correction d'un bug empechant l'ajout d'un exercice contenant des virgules dans une feuille.
114
**r.5802 (2012-10-18):** Correction d'un bug empechant l'ajout d'un exercice contenant des virgules dans une feuille.
113
 
115
 
114
**r.5678 (2012-09-21) :** Adds new script "adm/urldecode" : exact opposite of "adm/codeurl" script. (converts an URI string into normal string) + Corrects a bug in adm/raw putexo : now module url is well converted if sended in URI format. nb : for urldecode/codeurl works, you have to install a perl libray (liburi-perl on debian // p5-uri on Mac)
116
**r.5678 (2012-09-21):** Adds new script "adm/urldecode" : exact opposite of "adm/codeurl" script. (converts an URI string into normal string) + Corrects a bug in adm/raw putexo : now module url is well converted if sended in URI format. nb : for urldecode/codeurl works, you have to install a perl libray (liburi-perl on debian // p5-uri on Mac)
115
 
117
 
116
**r.5672 (2012-09-19) :** corrections on "getlog" job
118
**r.5672 (2012-09-19):** corrections on "getlog" job
117
 
119
 
118
**r.5591 (2012-07-11) :** Corrects a bug causing malformed single class creation
120
**r.5591 (2012-07-11):** Corrects a bug causing malformed single class creation
119
 
121
 
120
**r.5305 (2012-05-25) :** Udpate "Listmodules" job in json, adding translated titles for levels.   + small css update
122
**r.5305 (2012-05-25):** Udpate "Listmodules" job in json, adding translated titles for levels.   + small css update
121
 
123
 
122
**r.5303 (2012-05-16) :** Corrects a bug causing variable `$wims_supertype` not set on user session + minor improvement on job "listmodules"
124
**r.5303 (2012-05-16):** Corrects a bug causing variable `$wims_supertype` not set on user session + minor improvement on job "listmodules"
123
 
125
 
124
**r.5273 (2012-04-25) :** bug correction on Json format
126
**r.5273 (2012-04-25):** bug correction on Json format
125
 
127
 
126
**r.5263 (2012-04-21) :** loggin when users are created (like in the standard reguser)
128
**r.5263 (2012-04-21):** loggin when users are created (like in the standard reguser)
127
 
129
 
128
**r.5174 (2012-03-20) :** trying to get the "class connection with other servers" working
130
**r.5174 (2012-03-20):** trying to get the "class connection with other servers" working
129
 
131
 
130
**r.5156 (2012-03-13) :** let authuser accept external identification
132
**r.5156 (2012-03-13):** let authuser accept external identification
131
 
133
 
132
**r.5142 (2012-03-13) :** adding missing variables,needed for ipd_method=php
134
**r.5142 (2012-03-13):** adding missing variables,needed for ipd_method=php
133
 
135
 
134
**r.5017 (2012-02-17) :** Variable names changes: cas_host becomes cas_auth. Added
136
**r.5017 (2012-02-17):** Variable names changes: cas_host becomes cas_auth. Added
135
 
137
 
136
**r.4999 (2012-02) :** adds  auth, cas_host param for class
138
**r.4999 (2012-02):** adds  auth, cas_host param for class
137
 
139
 
138
**r.4998 (2012-02) :** adds "external_auth" param for users
140
**r.4998 (2012-02):** adds "external_auth" param for users
139
 
141
 
140
**r.4794 (2011-12) :** correction bug sur addexam + ajout d'infos sur delclass
142
**r.4794 (2011-12):** correction bug sur addexam + ajout d'infos sur delclass
141
 
143
 
142
**r.4783 (2011-12) :** correction bug divers (doubles quotes maintenant autorisées dans getsheet et getexam)
144
**r.4783 (2011-12):** correction bug divers (doubles quotes maintenant autorisées dans getsheet et getexam)
143
 
145
 
144
**r.4746 (2011-11) :** correcting bug on "listmodules" export in json + html correction in oef/Main
146
**r.4746 (2011-11):** correcting bug on "listmodules" export in json + html correction in oef/Main
145
 
147
 
146
**r.4687 (2011-10) :** getclassesuser n'est plus lancé lorsque listclass a généré une erreur ==> messages d'erreurs plus clairs ainsi.
148
**r.4687 (2011-10):** getclassesuser n'est plus lancé lorsque listclass a généré une erreur ==> messages d'erreurs plus clairs ainsi.
147
 
149
 
148
**r.4668 (2011-10) :** correcting bug on "getclassesuser"
150
**r.4668 (2011-10):** correcting bug on "getclassesuser"
149
 
151
 
150
**r.4658 (2011-10) :** allowing for class setup via adm/raw
152
**r.4658 (2011-10):** allowing for class setup via adm/raw
151
 
153
 
152
**r.4653 (2011-10) :** listclasses does not need the list of participants
154
**r.4653 (2011-10):** listclasses does not need the list of participants
153
 
155
 
154
**3.32-r.4641 (09/2011) :** New Jobs :
156
**3.32-r.4641 (09/2011):** New Jobs :
155
 
157
 
156
- linksheet (adds all exercices from sheet $qsheet to exam $qexam)
158
- linksheet (adds all exercices from sheet $qsheet to exam $qexam)
157
- getsheetscores (gets all score from sheet $qsheet - JSON only)
159
- getsheetscores (gets all score from sheet $qsheet - JSON only)
158
- getexamscores (gets all score from exam $qexam - JSON only)
160
- getexamscores (gets all score from exam $qexam - JSON only)
159
 
161
 
160
**3.31 (06/2011) :**
162
**3.31 (06/2011):**
161
 
163
 
162
- New jobs : getexosheet, modexosheet
164
- New jobs : getexosheet, modexosheet
163
- New script : update.exo
165
- New script : update.exo
164
	GetSheet has also been modified. to get exercise list from this Job, now you have
166
	GetSheet has also been modified. to get exercise list from this Job, now you have
165
	  to make a script in the response type.
167
	  to make a script in the response type.
166
 
168
 
167
**3.30 (05/2011) :**
169
**3.30 (05/2011):**
168
 
170
 
169
- New jobs : listexos, movexo, movexos, sharecontent
171
- New jobs : listexos, movexo, movexos, sharecontent
170
- New script : check.exoclass
172
- New script : check.exoclass
171
- New output type : JSON
173
- New output type : JSON
172
	GetClass has also been modified for optimization. It is no longer possible
174
	GetClass has also been modified for optimization. It is no longer possible
173
	  to get exercise list from this job.
175
	  to get exercise list from this job.
174
	Use "listexos" instead
176
	Use "listexos" instead
175
 
177
 
176
**3.23 (06/2010) :**
178
**3.23 (06/2010):**
177
 
179
 
178
- New jobs : addexam, addexo, checkexam, delexam, delexo, download, getexam,
180
- New jobs : addexam, addexo, checkexam, delexam, delexo, download, getexam,
179
				getexamlog, getexo, getexofile, getmodule, getscores, linkexo,
181
				getexamlog, getexo, getexofile, getmodule, getscores, linkexo,
180
				listmodules, modexam, modsheet, putexo, search
182
				listmodules, modexam, modsheet, putexo, search
181
				(some jobs are currently in beta only)
183
				(some jobs are currently in beta only)
182
- XML format improved (still needs work)
184
- XML format improved (still needs work)
183
 
185
 
184
**3.22  (06/2009) :**
186
**3.22  (06/2009):**
185
 
187
 
186
- bugs in getcvs due to !hex in scoring
188
- bugs in getcvs due to !hex in scoring
187
- New options for getclass (program, subcourse,. ..)
189
- New options for getclass (program, subcourse,. ..)
188
- New job : listclasses which gives listclasses with connection with some ident
190
- New job : listclasses which gives listclasses with connection with some ident
189
   and rclass
191
   and rclass
190
 
192
 
191
**3.21  (03/2008) :**
193
**3.21  (03/2008):**
192
 
194
 
193
- All outputs can be formatted according to the desire of the querying software.
195
- All outputs can be formatted according to the desire of the querying software.
194
- few bugs corrected (i.e., a wrong expiration date on job addclass)
196
- few bugs corrected (i.e., a wrong expiration date on job addclass)
195
- File jobs (getcsv, getclassfile, getclasstgz) are not sending an "Ok status" anymore,
197
- File jobs (getcsv, getclassfile, getclasstgz) are not sending an "Ok status" anymore,
196
		they just send directly the file
198
		they just send directly the file