kristian-94
ccb2484c4b
Issue496 - mod_attendance_generator should return stdClass - fix unit tests in 3.9 ( #499 )
* mod_attendance_generator should return stdClass - fix unit tests #496
* Fix travis by decalaring void return from setUp function
4 years ago
Dan Marsden
632fd41b06
Fix up behat test after lang string changes.
4 years ago
Alex Morris
d9542d1226
Add group to externallib test ( #492 )
4 years ago
John Yao
ae409bb00c
Fix #490 add admin setting for admin to control the fields for "Identify student by"
4 years ago
Dan Marsden
6679545bef
Revert "Use "not set" instead of "unselected" to see if that helps tests."
This reverts commit 754fde7c8c
.
5 years ago
Dan Marsden
754fde7c8c
Use "not set" instead of "unselected" to see if that helps tests.
5 years ago
Dan Marsden
cae478e8b2
Use a different attendance for unselected users.
5 years ago
Dan Marsden
cea66fe0ad
Fix some coding guideline errors.
5 years ago
Dan Marsden
6d496b79a3
Add a wait to see if that fixes behat test.
5 years ago
Dan Marsden
604757d0d9
Fix coding guideline issues.
5 years ago
Dan Marsden
ecc8e0a9ef
Fix #473 - add cmid to structure class.
5 years ago
Dan Marsden
dfe200c0b3
Attendance no longer supports scaling grades after grades have been created.
Adding support requires API changes and adding attendance_rescale_activity_grades hook
5 years ago
Dan Marsden
6b99e0da48
add new behat for unselected test.
5 years ago
Ruslan Kabalin
a0d198b084
Fix externallib and improve tests. ( #431 )
* Fix update_user_status external method (#430 ).
* Define return types for remove_* external methods.
* Improve externallib tests.
* Refactor test generator.
* Address CI copy-paste issues.
5 years ago
Dan Marsden
615074d4b8
Change to using single_select API.
5 years ago
M
40d6885875
Issue #405 Convert shift click functionality to drop down menu.
Use user preferences to remember the value of the drop-down
5 years ago
Ruslan Kabalin
b970f95308
Rename webservices to match Moodle naming convention. ( #416 )
5 years ago
Ruslan Kabalin
7730d89d48
More webservice functions. ( #409 )
* Add add_session webservice function skeleton.
* Implement add_session.
* Refactor add_session to return created session id.
* Implement add_attendance
* Minor improvements to add_session.
* Fix add_attendance and add_session.
* Implement remove_session.
* Add params and context validation.
* Implement remove_attendance.
* Missing permissions check for get_session.
* Add coverage for remove_attendance.
* Refactor unittest and add coverage for add_attendance.
* Set default grade if not specified.
* Add test coverage for add_session and remove_session.
* Add basic validation to all remaining methods.
* Rename new WS functions to match Moodle naming convention.
* Style changes to address CI test outcomes.
6 years ago
Dan Marsden
c563106c4b
Fix #390 intermittent failure when run over midnight.
6 years ago
Dan Marsden
3c9d0489b9
Fix some coding guideine items.
6 years ago
Morgan Harris
362377d7a3
Webservice: allow multiple instances in one course ( #372 )
* [WS] Allow multiple instances in same course
You can now retrieve multiple instances in the one course
* Add test for multiple instances
Also cleaned up a lot of test code… there was a bunch of stuff doing
nothing just sitting in the file. All the stuff with getting the module
and the context… that’s all handled by the data generator.
* satisfy the linter
bloody thing
6 years ago
Morgan Harris
6cb339f766
Allow group sessions in webservices ( #364 )
* Enable groups for web sservices
This small change enables webservice users to see group-based
attendance sessions
* Tests for group-based web services
Add a test for web services to test group-based sessions
6 years ago
Dan Marsden
c17eb582b0
Fix failing tests in master.
move some strings into attendance plugin.
6 years ago
Nick Phillips
cbc804ac3f
Make events optional per-session.
7 years ago
Dan Marsden
a1f36cea3c
Fix #196 Thanks to @antonio-c-mariani for this code.
7 years ago
Neill Magill
a7ccf77d6c
Cog menu on teacher page under Boost based themes
7 years ago
Dan Marsden
3b0cd9a429
Add missing backup field, and new field in tests.
7 years ago
Dan Marsden
433601b0c9
Make sure created session is later today.
7 years ago
Dan Marsden
f8c27b02cf
Fix behat test with at-risk change to absentee
7 years ago
Dan Marsden
00f95df6fb
Merge notification/warning feature into master. ( #267 )
New feature/reports to allow warning thresholds to be set and e-mail notifications.
8 years ago
Dan Marsden
63ec70ae50
Use correct link to show all sessions in behat test.
8 years ago
Dan Marsden
6baeffea86
Fix some tests.
8 years ago
Dan Marsden
ddfe74cba6
fix case of am/pm in tests.
8 years ago
Dan Marsden
139337e4f9
try another method of targeting form input.
8 years ago
Dan Marsden
e7e45df95d
Use correct identifier to find input.
8 years ago
Dan Marsden
4b0ec1fa4d
fix behat step.
8 years ago
Dan Marsden
c0a8604621
fix behat test step.
8 years ago
Dan Marsden
24ebc7b423
Improve test to hide status from view.
8 years ago
Dan Marsden
e584a48448
phpdoc stuff.
8 years ago
Dan Marsden
1216f15a1d
behat test (fragile)
8 years ago
Dan Marsden
8b314e5e48
fix up some phpdoc stuff.
8 years ago
Dan Marsden
6df6b7c839
make session full day for tests.
8 years ago
Dan Marsden
ce44b8bb57
tests - use sessiondate for 5min ago to allow self student marking
8 years ago
Dan Marsden
0e7e0037a1
fix one last spacing issue in tests.
8 years ago
Dan Marsden
eb50cadda0
tidy up some more spacing in tests.
8 years ago
Dan Marsden
76ecd16c7f
fix some spacing in test files.
8 years ago
Dan Marsden
3755ede70c
fix typo in step!
8 years ago
Dan Marsden
04b8f383c3
fix broken behat test due to user identity stuff.
this is more fragile than it should be - should add classes
to radio buttons to improve selection.
8 years ago
Dan Marsden
78d5895f21
tidy up behat steps.
8 years ago
Dan Marsden
974dd45a74
use more specific target for inputs.
8 years ago