tcexam icon indicating copy to clipboard operation
tcexam copied to clipboard

Limit frequency of repeat test on admin test editor

Open mamans86 opened this issue 4 years ago • 3 comments

Update the test editor so that admin can limit the number of test attempts. this pull request based on issue number #379

mamans86 avatar Apr 24 '21 17:04 mamans86

The function is matching with my demand. Thanks for your effort. But design has small issue. It make confused repeatable =0 with repeatable = 1.

teddyvn avatar Apr 25 '21 14:04 teddyvn

I think this is naming issue on database table. repeatable = 1 mean the test can be repeat 1 time. Repeatable = 0 mean no repeat, repeatable = -1 mean unlimited. Repeatable=2 to 127 mean the test can be repeat 2 to 127 Times. Fill free elaborate this pull request with your change. Thanks for the report

mamans86 avatar Apr 25 '21 23:04 mamans86

This will require a change in the DB as the current table field is designed as boolean. This feature must work with all supported DBs.

nicolaasuni avatar Jul 20 '21 14:07 nicolaasuni