forked from m-o-p/labsystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
history.txt
450 lines (366 loc) · 15.6 KB
/
history.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
This file contains the history of labsystem.m-o-p.de.
Feature Requests:
-------------------
- manage.php: Limit database select to wanted data!
2011-04-12
-------------------
/include/classes/elements/Element.inc:
fixed initFromSerialized( &$serializedData )
- array handling
/include/XIlib.inc:
processLocalFiles
- fixed regex
2011-04-12
-------------------
/include/XIlib.inc,
getLabsFromDirectory( $directory )
fixed image replacement issue: replaced some ?<= in preg with ?=
2011-03-21+22
-------------------
/include/classes/elements/Element.inc:
fixed initFromSerialized( &$serializedData )
2011-03-18
-------------------
/include/classes/elements/LlElement.inc:
replaced urlencode by http_build_query for default UID of the Llelement
2011-01-07
-------------------
/include/XIlib.inc,
/pages/XIport.php
~Finished export to local directory.
2010-12-17
-------------------
/include/classes/elements/LcElement.inc:
show() fixed the a name= link to element (there were problems with the intelligent address cutting as c5.m128 ended in c5 but the # set was then wrong).
/include/classes/ElementButtons:
view() added #fullAddress. When editing an element in a c now and clicking
on the eye one ends up at the element instead the top of the page.
2010-12-17
-------------------
/include/configuration.inc:
Added functionality to include a configuration file given with the "include ="
statement.
The file that includes the other overwrites the values of the included file.
This allows having a default config and only changing changed data.
/include/language.inc:
Same for the language file.
This allows to have a default language file making a translation of new things not mandatory at the beginning.
/css/sys/labsys_mop_basic.css:
Added/ changed labsys_mop_l_authors, labsys_mop_l_comment used in L-element
/include/classes/elements/LlElement.inc:
/include/classes/elements/LlDBInterface.inc:
Added fields uniqueID, authors for export/ import.
Added comment view in showTOC()
/setup/sql_new_ddb_lab_tbl.sql:
Added new fields.
/ini/config_?.ini:
Added value: exportImportDir giving the directory for export/ import
/ini/menu_?.ini:
Added link to export/ import
2010-12-16
-------------------
/include/classes/elements/L?Element.inc:
added $this->serializationArray for serialisation via:
/include/classes/elements/Element.inc:
added functions getSerialized(), initFromSerialized( &$serializedData )
/include/classes/DBConnection.inc:
added mkInsertReturnIDX
/include/classes/elements/L?Element.inc:
changed new? to use mkInsertReturnIDX saving 2 operations each time now
2010-11-3
-------------------
/include/classes/elements/BCElement.inc:
line 178 $GET['address'] -> $url->get('address')
2010-10-24
-------------------
/include/page_layout.inc
Stylesheets were not loaded in IE cause they contained character encoding information in the link. -> removed.
2010-10-17
-------------------
/pages/export_import_labs.php: new landing page for export/ import activities
/include/classes/Element.inc:
/ini/*.lng: Added "lExportImportNote" to appear on top of this page
2010-03-28
-------------------
Fix variable manage
Add search manage
2010-08-23
-------------------
/include/classes/ElementButtons.inc: history link fixed.
/include/classes/elements/LiElement.inc: Added Button for *c (now *p, *m, *i, *c, *C)
2010-08-23
-------------------
/include/classes/ElementButtons.inc: Repaired the link2 with a confirm() JS box (was not working properly via relative links before)
/include/classes/elements/LiElement.inc: Added <a name="$address"></a> for relative linking with #$address
2010-08-22
-------------------
/include/classes/elements/LlElement.php: Added the new *creat feature for faster creating of content also to the lab selection
moved createNew( $elementID ) from /include/classes/elements/LcElement.php to /include/helper.inc as it is global.
2010-08-19
-------------------
/include/logger.inc: fixed session detection
/include/classes/elements/LcElement.php: Added the new *creatte [insertNew( $elementID )] feature for faster creating of content
2010-06-17
-------------------
/include/classes/elements/LlElement.inc:
checkPreLab() If checker finished prelab only check the others. (teams encountered problems that their state was not set appropriately.)
trigger_error + exit as it does not abort otherwise:
/include/classes/elements/LcDBInterface.inc: newCollection( &$eC )
/include/classes/elements/LcElement.inc: save()
/include/classes/elements/LiElement.inc: save(), saveUserAnswer(), saveCorrectorStuff(), setUserAnswerLock()
/include/classes/elements/LlDBInterface.inc: newLab( &$eL )
/include/classes/elements/LlElement.inc: save(), checkPreLab(), closeLabInputs(), closeLabInputs(), updateStatus2()
/include/classes/elements/LmDBInterface.inc: newMultipleChoice( &$eM )
/include/classes/elements/LmElement.inc: save(), saveUserAnswer()
/include/classes/elements/LpDBInterface.inc: newPage( &$eP )
/include/classes/elements/LpElement.inc: save()
/include/classes/elements/LmDBInterface.inc: newSchedule( &$eS )
/include/classes/elements/LsElement.inc: save()
/include/classes/Ram.inc
/include/configuration.inc
/include/language.inc
/pages/confirm.php
/pages/edit.php
/pages/history.php
/pages/view.php
/php/authenticate.php
/php/authenticate4Demo.php
/php/changeMyRights.php
/php/emptyDB.php
/php/executeCommandOnElement.php
/php/executeOnLab.php
/php/getDBIbyID.inc
/php/getFirstLastFinal.inc
/php/saveFile.php
/php/saveUserRights.php
/php/sendMail.php
/php/uaCreateUsers.php
/php/uaManageUsersExecute.php
/php/uaManageUsersSave.php
/php/uaMyDataSave.php
/php/uaMyPWSave.php
/php/uaPwRemind.php
/setup/index.php
2010-04-25
-------------------
Added logging functionality:
include/logger.inc
Events logged:
php/authenticate.php system, login
php/logout.php system, logout
php/sendMail.php system, mail sent
php/saveFile.php system, saved file $_POST['FILENAME']
php/saveUserRights.php system, saved user rights
php/changeMyRights.php system, rights changed (new value in log field)
php/delete.php edit, deleted, id
php/uaCreateUsers.php useradmin, new users created
php/uaMyDataSave.php useradmin, saved userdata of $_POST['USERNAME']
php/uaMyPWSave.php useradmin, saved password of $_POST['USERNAME']
pages/edit.php edit, open, fullId
pages/pgeStdFileEdit.php system, edit open, filename
pages/view.php view, show, fullId
include/classes/elements/L{i,m,l}Element.php
2010-03-27
-------------------
User configuration allows several user edit options.
Changed, so that not 'useradmin' as configuration is the criterion to allow options but en ending of ...'useradmin' is.
This became necessary with the change of the 2010-02-01.
/include/classes/Usr.inc
Fixed "seesDataOf" so it works correct for "IS_DB_USER_ADMIN" now.
2010-02-06
-------------------
Renaming of the menu files in ini/
Changing hostname2config.inc
Fixed password change bug in php/uaMyPWSave.php (sha1 instead of PASSWORD)
2010-02-01
-------------------
/includes/init.inc
/includes/hostname2config.inc
Added the capability to reflect the hostname to the configname.
This allows ilab2.net.in.tum.de to point to config files with infix ilab2_
for instance enabling labsystem-based vhosts...
2010-01-25
-------------------
/include/classes/LiElement.inc
Locks: - Save even if not allowed
- Be not able to open loked questions
2010-01-12
-------------------
Sourceforge release.
2008-11-05
-------------------
pages/uaManageUsers.php
Fixed mysql-timestamp formatting problem
2008-11-04
-------------------
php/sendMail.php
German Umlauts to their respective characters since they were not handled properly.
2008-10-08
-------------------
setup/setup.php
PASSWORD('admin') -> sha1('admin')
include/php_session_management.inc
Since php 5.0.5 all objects are destroyed before the session save handler is called.
So now I write the session data to files eliminating any DB accesses.
Session-Data-Path is directly coded into the file since the cfg-object is also killed before call...
2008-05-10
-------------------
php/uaUnPwRemind.php
integrated loop to handle password request via mailaddress for
users with multiple accounts per mailaddress
2008/01/18
------------------------------------
include/classes/DBConnection.inc
mkUpdIns
mysql_affected_rows()
Did suddenly not report correct Results for UPDATE on Gentoo anymore.
$rows_matched doesn't work on Debian...
So now: UPDATE -> SELECT if UPDATE performed -else-> INSERT
2007/10/19
------------------------------------
pages/sorter.inc:
Make ready without javascript (submit button)
pages/manageUsers.php, pages/uamanageUsers.php:
Keep sorting when jumping to another page
php/uaCreateUsers.php:
Remove "\r" (problemswith mail otherwhise)
php/uaManageUsersExecute.php:
Delete fixed for users without javascript
2007/ 09/ 03
------------------------------------
setup.php:197
Only create admin user if he does not exist.
------------------------------------
2007/ 07/ 07
/include/page_layout.inc
"isset( $_GET" -> "$url->available()"
"hideAnswers" to temporary hide the answers when in seeing mode.
(This is helpfull, when you are suggested to edit something while
seeing the answers of all users because they get temporarily hid-
den and you can still edit them in a not paused window)
/include/init.inc
$url->preserve("hideAnswers");
/include/classes/Usr.inc
isSeeingSomeonesData(): Added pausing
/syspix/button_paused_9x9.gif
New.
/include/page_layout.inc
Added pause-button if $usr->isSeeingSomeonesData().
Added statud Msg if paused in this window. (To end close Window or remove Variable from URL).
------------------------------------
2007/ 02/ 14
/css/sys/labsys_mop_print_theme.css: There is a problem with "page-break-befre: always;"
in Firefox, Konqueror, ... (in IE it works).
Font changed to Times, Serif
Size changed to 12pt
/css/sys/labsys_mop_basic_theme.css: .labsys_mop_content{ line-height: 1.25em; } added
for better readability.
/php/sendMail.php: In Mailtxt replaced "\r\n" by "\n" for having no empty lines between lines.
/pages/mailForm.php: Added Option to send via BCC (for Roundmails). The ini-File Value is the default here.
------------------------------------
2007/ 02/ 13
/php/getFirstLastFinal.inc: SQL-injection was possible through "address=" field
in URL. Check via Ddbc::escapeString() implemented.
/include/page_layout.inc: Crossside-Scripting was easily possible via the syserror
and sysinfo-messages. htmlEntities() enabled.
/include/classes/DBInterfaceUser.inc: authenticate: $username gets escapeStringed now.
------------------------------------
2006/ 07/ 11
/include/helper.inc:
returnHTML(): Calls parseHTML now.
parseHTML(): Indents " " now (" " inserted)
------------------------------------
2006/ 07/ 11
/include/classes/DBInterfaceUser.php:
Changed from SQL-"PASSWORD"-Encryption to md5 hash (Reason: insecure conn.
to SQL-server possible).
Alaso affects /php/uaUnPwRemind.php.
/include/classes/ElementButtons.inc
History shortened to $cfg->get( 'limitHistLns2' ) if available.
/pages/history.php
Style of history was invisible (display: none;)
New ini-file entry! "limitHistLns2"
/css/sys/labsys_mop_basic.css
Changes to
.labsys_mop_i_example_solution
.labsys_mop_i_example_solution pre (new)
.labsys_mop_i_teamnr
.labsys_mop_i_credits_green
.labsys_mop_i_credits_red
------------------------------------
2006/ 07/ 06
/include/classes/elements/LlElement.inc:
getMenu(): Moved allQuestions entry one level up (not only in unfolded menu)
/pages/mailForm.php:
DontSendMeMail by default on.
Iteration over User: If no dataset found (user has rights but is not associated
with this course at the moment) "!$userData", don't list
the user.
------------------------------------
2006/ 05/ 28
/include/classes/menu.inc:
SSL Login Link added (also affecting ini-Files)
------------------------------------
2006/ 05/ 12
/include/classes/elemnts/LlElement.inc:
reMapUidTeam( $uid, $team ): PreLabPoints did not get preserved (wrong named var).
------------------------------------
2006/ 05/ 05
/include/classes/elemnts/LmElement.inc:
Wrong counting: getGivenCredits(): $this->isCorrectlyAnswered
/php/uaManageUsersSave.php:
/pages/uaManageUsers.php:
Even though only a selecion was shown the save function tried to
save all datasets resulting in zero course-assignment...
-> uid_present-field inserted and processed.
------------------------------------
2006/ 05/ 04
ua create users:
seperated by linebreak instead of space
/php/uaCreateUsers.php:55: explode( "\n"
UserDBField_name added so username (for history) also
gets mailaddress (if users don't complete their names...)
/pages/manageUsers.php:
If user does not exist in UserDB anymore don't show it.
(not exist = return false )
/pages/{uaM|m}anageUsers.php:
Multiple pages -> Sorting lost -> '&orderBy='.$orderByKey. added to URL
/pages/sorter.inc:
Changed to provide $orderByKey
------------------------------------
2006/ 04/ 25
lElement.inc: Display user's name only once at lab overview.
uaManageUsers.php: Implemented "multiple Page-Result" (s.b.) here.
------------------------------------
2006/ 03/ 25
pages/mailForm.php: Added JavaScript to check all MailReceivers (no loss of text!)
lElement.inc: Changed position of humen readible name and credits/ of
------------------------------------
2006/ 02/ 20
lElement.inc: Added human readible real names at lab overview.
------------------------------------
2006/ 02/ 19
pages/uamanageusers.php: Added multiple Page-Result (like in manage.php). Was missing.
------------------------------------
2006/ 01/ 08
Problem: \ gets cut each loading from db. Reason: stripslashes
addslashes is not correct for mysql! s.b.
DBConnection.inc: added escapeString, unEscapeString
All DBInterfaces changed:
addslashes -> $this->myDBC->escapeString
stripslashes -> $this->myDBC->unEscapeString
------------------------------------
2005/ 11/ 08
Added points for theory part.
New fields in workingDB.lab_uid_status
* prelab_given_credits int default 0
* prelab_possible_credits int default 0
New/ altered in .ini-files:
;; For the percentage bar *********************************************************************
percentageFailedLab = "0.75" ; The percentage bar is colored ( red<=percentageFailed .. green = 100% )
percentageFailedPreLab = "0.5" ; The percentage bar is colored ( red<=percentageFailed .. green = 100% )
Changed LlElement.inc, LlDBInterfaceUidStatus.inc, LmElement.inc, LiElement.inc
------------------------------------
2005/ 10/ 21
Added navigation and division into pages with limited entries for the manage pages.
-> new ini-entry: DefElmntsPerManagePage