Dan Marsden
ecc8e0a9ef
Fix #473 - add cmid to structure class.
6 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
6 years ago
Dan Marsden
6b99e0da48
add new behat for unselected test.
7 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.
7 years ago
Dan Marsden
615074d4b8
Change to using single_select API.
7 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
7 years ago
Ruslan Kabalin
b970f95308
Rename webservices to match Moodle naming convention. ( #416 )
7 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.
7 years ago
Dan Marsden
c563106c4b
Fix #390 intermittent failure when run over midnight.
7 years ago
Dan Marsden
3c9d0489b9
Fix some coding guideine items.
7 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
7 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
7 years ago
Dan Marsden
c17eb582b0
Fix failing tests in master.
move some strings into attendance plugin.
8 years ago
Nick Phillips
cbc804ac3f
Make events optional per-session.
8 years ago
Dan Marsden
a1f36cea3c
Fix #196 Thanks to @antonio-c-mariani for this code.
8 years ago
Neill Magill
a7ccf77d6c
Cog menu on teacher page under Boost based themes
8 years ago
Dan Marsden
3b0cd9a429
Add missing backup field, and new field in tests.
9 years ago
Dan Marsden
433601b0c9
Make sure created session is later today.
9 years ago
Dan Marsden
f8c27b02cf
Fix behat test with at-risk change to absentee
9 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.
9 years ago
Dan Marsden
63ec70ae50
Use correct link to show all sessions in behat test.
9 years ago
Dan Marsden
6baeffea86
Fix some tests.
9 years ago
Dan Marsden
ddfe74cba6
fix case of am/pm in tests.
9 years ago
Dan Marsden
139337e4f9
try another method of targeting form input.
9 years ago
Dan Marsden
e7e45df95d
Use correct identifier to find input.
9 years ago
Dan Marsden
4b0ec1fa4d
fix behat step.
9 years ago
Dan Marsden
c0a8604621
fix behat test step.
9 years ago
Dan Marsden
24ebc7b423
Improve test to hide status from view.
9 years ago
Dan Marsden
e584a48448
phpdoc stuff.
9 years ago
Dan Marsden
1216f15a1d
behat test (fragile)
9 years ago
Dan Marsden
8b314e5e48
fix up some phpdoc stuff.
9 years ago
Dan Marsden
6df6b7c839
make session full day for tests.
9 years ago
Dan Marsden
ce44b8bb57
tests - use sessiondate for 5min ago to allow self student marking
9 years ago
Dan Marsden
0e7e0037a1
fix one last spacing issue in tests.
9 years ago
Dan Marsden
eb50cadda0
tidy up some more spacing in tests.
9 years ago
Dan Marsden
76ecd16c7f
fix some spacing in test files.
9 years ago
Dan Marsden
3755ede70c
fix typo in step!
9 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.
9 years ago
Dan Marsden
78d5895f21
tidy up behat steps.
9 years ago
Dan Marsden
974dd45a74
use more specific target for inputs.
9 years ago
Dan Marsden
492da49606
MDL-58265 replace I follow, editing mode steps
9 years ago
Dan Marsden
147a65d47d
Check contents of input field in test.
9 years ago
Dan Marsden
0ee109766c
tidy up tests a little.
9 years ago
Dan Marsden
b5e9e0b415
Fix steps in test.
9 years ago
Dan Marsden
0515414828
Use correct action for button in test.
9 years ago
Dan Marsden
2729b15d24
Add test for changing default staus set,
improve some language strings relating to status sets
9 years ago
Dan Marsden
4924a32b3a
Fix coding guideline stuff found by plugins db check.
9 years ago
Dan Marsden
ac26a00db4
fix behat test.
10 years ago
Dan Marsden
96ac9a0d48
Add delay for checking text to try and fix behat.
10 years ago
Dan Marsden
2ef0fffe84
update tests with latest string formats.
10 years ago