Dan Marsden
a0e0c34c24
Fix some whitespace coding guidleine issues.
3 years ago
george-andreipascale
fca2206849
Fixed get_courses_with_today_sessions method when there are attendance instances in different days
3 years ago
Peter Rundqvist
7721cce204
Fixed codechecker flagged errors
3 years ago
Peter Rundqvist
c349f489d9
Added "mod_attendance_get_sessions" API function
3 years ago
Dan Marsden
5502f623c2
Allow status with no availability value set to be included in auto-marking.
3 years ago
Dan Marsden
49c8eaa3da
Tidy up who is auto-marked in sessions.
3 years ago
Dan Marsden
19b81724f0
fix validation check.
3 years ago
Dan Marsden
4e4c2542d2
Prevent automarking settings from being used if setunmarked status not in place.
3 years ago
Dan Marsden
0228f4e468
Fix #553 - improve error messages for unmarked status.
3 years ago
Dan Marsden
9d1d5edb52
Prevent auto-mark setting changes when marking completed.
3 years ago
Dan Marsden
967633cdc1
Fix up auto-marking code.
3 years ago
Dan Marsden
27b08837b0
Fix up update form with new field.
3 years ago
Dan Marsden
70108744d4
Fix #546 - don't include custom fields.
also fix github action config var.
3 years ago
Dan Marsden
43f1dbad59
Tidy up field definition.
3 years ago
Antony Videtta
38771055ec
Feature: add auto-marking by linked activity comletion.
4 years ago
Dan Marsden
f14b5972b3
Fix some coding guidelines.
3 years ago
Dan Marsden
98226d55af
Fix #530 - tidy up existing session check.
4 years ago
Dan Marsden
8d28413198
Fix regression in user field conversion.
4 years ago
Dani Palou
1bfea684d7
Adapt mobile app code to Ionic 5 ( #535 )
4 years ago
Dan Marsden
44c213bd07
Replace deprecated function calls.
4 years ago
Dan Marsden
c32a53a592
Convert to using new user field apis
4 years ago
Dan Marsden
16a22424ad
Print_error deprecated - throw exception directly.
4 years ago
Dan Marsden
60a3ce512e
Fix #525 - correct check for visibility of custom user fields.
4 years ago
Dan Marsden
22a6015bd5
Tidy up PR from Nick
coding guideline stuff/renderers/using own editing button
4 years ago
Nick Phillips
303a97c294
Fixes for squished allsessions report in edit mode, lang strings, sesscourses in session_report_viewed optional.
5 years ago
Nick Phillips
e491e79c66
Fix session_report_viewed get_url when groupby missing.
5 years ago
Nick Phillips
19bb084686
Add updated event for per-student reports from view.php, and use it,
moving from internal viewed event to the one Dan integrated at the same
time.
Need to re-look at event validation and possibly-optional params per Dan's
changes to mode param.
5 years ago
Nick Phillips
fe05aa05f0
Initial working version of allsessions report
6 years ago
Nick Phillips
1d754e3736
Add (inaccessible) report on all sessions.
6 years ago
Dan Marsden
8854851525
user session import - make user key case insensitive.
4 years ago
Dan Marsden
7f5cfc1164
Allow multi lang on field names in report.
4 years ago
Dan Marsden
d52f9fd661
Fix #493 allow session description to be included in export.
4 years ago
Dan Marsden
21bae6e0b6
Fix #460 - add default handling for qrcode rotation
and inclusion in import sessions.
4 years ago
Dan Marsden
ea8acbabb1
Move forms into auto-loaded classes folder.
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
1093d4beea
Fix some phpdoc references.
4 years ago
Dan Marsden
a0acda900a
Fix #453 - add Moodle community of enquiry indicators for analytics.
4 years ago
Dan Marsden
fc6aa93e2c
Fix #189 Add ability to mark sessions using a csv import. ( #489 )
Thanks to jonathanchan2 for initial work on this.
4 years ago
Dan Marsden
cacbdeb456
Fix #481 - add return types for structure class.
5 years ago
Dan Marsden
37034cd4a3
Correct use of property_exists!
5 years ago
Dan Marsden
916bdf2924
Fix #479 PHP 7.4 fix for array_key_exists()
5 years ago
Dan Marsden
ecc8e0a9ef
Fix #473 - add cmid to structure class.
5 years ago
Dan Marsden
7ea69132f7
Fix #425 new setting to control which sessions appear in the mobile app.
5 years ago
Dan Marsden
2a9976ccca
Fix some moodle coding guideline warnings.
5 years ago
Dan Marsden
35d247c1f0
Fix #422 - Only ask for fields once.
fixes issue with Oracle.
5 years ago
Dan Marsden
8ee6a26944
Fix #421 - include filelib.php in structure class.
we should tidy this up at some point.
5 years ago
Dan Marsden
d0f62e5141
Set relateduserid correctly in event.
5 years ago
Dan Marsden
2066cca273
Fix #411 rename event for viewing session report, set copyright header correctly.
5 years ago
Nick Phillips
c645a3f043
Add event for viewing of per-student reports, and use in view.php.
Version bumped due to new lang string.
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