moodle-mod_attendance.git
5 years agoImplement data privacy provider. master
Cameron Ball [Fri, 6 Jul 2018 03:04:18 +0000 (11:04 +0800)] 
Implement data privacy provider.

5 years agoPrevent text_to_html from adding divs to email subject.
Dan Marsden [Sun, 20 May 2018 23:36:56 +0000 (11:36 +1200)] 
Prevent text_to_html from adding divs to email subject.

5 years agomaster branch - now requires 3.5 or higher.
Dan Marsden [Fri, 11 May 2018 21:29:50 +0000 (09:29 +1200)] 
master branch - now requires 3.5 or higher.

5 years agoFixes #302 make sure user lang is used when sending mail.
Dan Marsden [Tue, 1 May 2018 02:43:05 +0000 (14:43 +1200)] 
Fixes #302 make sure user lang is used when sending mail.

5 years agoFeature: Prevent students from sharing device while self-marking.
Dan Marsden [Mon, 30 Apr 2018 07:59:18 +0000 (19:59 +1200)] 
Feature: Prevent students from sharing device while self-marking.

Adds IP recording when self-marking and checks if another student
has previously self-marked using the same IP address.

Thanks to Xi’an Jiaotong Liverpool University for funding this work.

6 years agoAdd class to set status for all users row.
Dan Marsden [Thu, 5 Apr 2018 20:48:54 +0000 (08:48 +1200)] 
Add class to set status for all users row.

6 years agoCheck if userto is empty (extra comma in thirdpartyusers field)
Dan Marsden [Tue, 3 Apr 2018 22:19:22 +0000 (10:19 +1200)] 
Check if userto is empty (extra comma in thirdpartyusers field)

6 years agoFix issue when checking if a status set has an absent flag when updating a session.
Dan Marsden [Mon, 26 Mar 2018 00:11:28 +0000 (13:11 +1300)] 
Fix issue when checking if a status set has an absent flag when updating a session.

6 years agobump version.
Dan Marsden [Thu, 22 Mar 2018 07:28:25 +0000 (20:28 +1300)] 
bump version.

6 years agoadd setting to allow sessiont description to show in report.
Dan Marsden [Thu, 22 Mar 2018 07:27:32 +0000 (20:27 +1300)] 
add setting to allow sessiont description to show in report.

6 years agoShow warning if teacher using mark on close and no status available.
Dan Marsden [Thu, 1 Mar 2018 23:39:25 +0000 (12:39 +1300)] 
Show warning if teacher using mark on close and no status available.

6 years agoFix import column matching.
Dan Marsden [Thu, 1 Mar 2018 21:59:09 +0000 (10:59 +1300)] 
Fix import column matching.

6 years agoRemove deprecated calls to notify constants.
Dan Marsden [Thu, 1 Mar 2018 21:35:10 +0000 (10:35 +1300)] 
Remove deprecated calls to notify constants.

6 years agoremove spacing.
Dan Marsden [Mon, 26 Feb 2018 06:44:57 +0000 (19:44 +1300)] 
remove spacing.

6 years agoAdd missing string and fix upgrade previous value.
Dan Marsden [Mon, 26 Feb 2018 01:36:34 +0000 (14:36 +1300)] 
Add missing string and fix upgrade previous value.

6 years agoMake display of user 'extrafields' optional in report. (#294)
Nick Phillips [Mon, 26 Feb 2018 01:32:13 +0000 (14:32 +1300)] 
Make display of user 'extrafields' optional in report. (#294)

6 years agoFix userpic max-width in attreport. Some themes (e.g. adaptable) (#295)
Nick Phillips [Mon, 26 Feb 2018 01:18:39 +0000 (14:18 +1300)] 
Fix userpic max-width in attreport. Some themes (e.g. adaptable) (#295)

reasonably set max-width for img to 100%, which messes things up here.

6 years agoinclude description format when creating event.
Dan Marsden [Mon, 26 Feb 2018 01:13:03 +0000 (14:13 +1300)] 
include description format when creating event.

6 years agoAdd description to event, and group to event name if present. (#296)
Nick Phillips [Mon, 26 Feb 2018 01:07:44 +0000 (14:07 +1300)] 
Add description to event, and group to event name if present. (#296)

6 years agoremove reference to user.de domain.
Dan Marsden [Thu, 22 Feb 2018 01:03:15 +0000 (14:03 +1300)] 
remove reference to user.de domain.

6 years agofix codechecker issue.
Dan Marsden [Wed, 21 Feb 2018 00:52:02 +0000 (13:52 +1300)] 
fix codechecker issue.

6 years agocodechecker fix.
Dan Marsden [Wed, 21 Feb 2018 00:45:30 +0000 (13:45 +1300)] 
codechecker fix.

6 years agocodechecker stuff.
Dan Marsden [Wed, 21 Feb 2018 00:31:56 +0000 (13:31 +1300)] 
codechecker stuff.

6 years agofix phpdocs.
Dan Marsden [Wed, 21 Feb 2018 00:29:15 +0000 (13:29 +1300)] 
fix phpdocs.

6 years agobump version for plugins db release.
Dan Marsden [Wed, 21 Feb 2018 00:15:22 +0000 (13:15 +1300)] 
bump version for plugins db release.

6 years agoFix link on subnet error.
Dan Marsden [Tue, 20 Feb 2018 23:26:47 +0000 (12:26 +1300)] 
Fix link on subnet error.

6 years agoRevert "Fix #290 cross-db compatible method to only include sessions with absenteerep...
Dan Marsden [Thu, 8 Feb 2018 22:33:05 +0000 (11:33 +1300)] 
Revert "Fix #290 cross-db compatible method to only include sessions with absenteereport set."

This reverts commit 23c3ee7282d8e2360387eb87f62405dc62d130ac.

6 years agoRevert "Fix #290 correct $where statement."
Dan Marsden [Thu, 8 Feb 2018 22:32:48 +0000 (11:32 +1300)] 
Revert "Fix #290 correct $where statement."

This reverts commit 5218fcddf689e029d96cc6cce375f03118976031.

6 years agoFix #292 studentpassword undefined warning
Dan Marsden [Thu, 1 Feb 2018 21:09:50 +0000 (10:09 +1300)] 
Fix #292 studentpassword undefined warning
also allow absenteereport setting to be updated.

6 years agoMerge branch 'master' of github.com:danmarsden/moodle-mod_attendance
Dan Marsden [Tue, 30 Jan 2018 22:18:46 +0000 (11:18 +1300)] 
Merge branch 'master' of github.com:danmarsden/moodle-mod_attendance

6 years agoSplit out graded and ungraded sessions on students all courses list.
Dan Marsden [Tue, 30 Jan 2018 22:18:11 +0000 (11:18 +1300)] 
Split out graded and ungraded sessions on students all courses list.

6 years agoFix #290 correct $where statement.
Dan Marsden [Tue, 30 Jan 2018 03:54:02 +0000 (16:54 +1300)] 
Fix #290 correct $where statement.

6 years agoFix #290 cross-db compatible method to only include sessions with absenteereport...
Dan Marsden [Mon, 29 Jan 2018 23:28:48 +0000 (12:28 +1300)] 
Fix #290 cross-db compatible method to only include sessions with absenteereport set.

6 years agoFixes #289 sorted grid layout select all fix. thank to Andrew Debevec for report.
Dan Marsden [Sun, 28 Jan 2018 21:45:20 +0000 (10:45 +1300)] 
Fixes #289 sorted grid layout select all fix. thank to Andrew Debevec for report.

6 years agoHide option to automark if standard log store disabled.
Dan Marsden [Thu, 25 Jan 2018 22:16:20 +0000 (11:16 +1300)] 
Hide option to automark if standard log store disabled.

6 years agoFix issue that occurs when updating an individual warning.
Dan Marsden [Thu, 25 Jan 2018 21:25:30 +0000 (10:25 +1300)] 
Fix issue that occurs when updating an individual warning.

6 years agoPut magic number into constant.
Dan Marsden [Thu, 25 Jan 2018 21:07:33 +0000 (10:07 +1300)] 
Put magic number into constant.

6 years agoPrevent sessions from being added to attendance activites in recycle bin.
Dan Marsden [Sun, 21 Jan 2018 21:53:40 +0000 (10:53 +1300)] 
Prevent sessions from being added to attendance activites in recycle bin.

6 years agoFix #287 prevent restore from setting takenby when no userdata restored.
Dan Marsden [Wed, 17 Jan 2018 23:42:41 +0000 (12:42 +1300)] 
Fix #287 prevent restore from setting takenby when no userdata restored.

6 years agoExclude ungraded attendance activities from student all courses average.
Dan Marsden [Wed, 17 Jan 2018 23:01:59 +0000 (12:01 +1300)] 
Exclude ungraded attendance activities from student all courses average.

6 years agoset hideif rules correctly on full group elements.
Dan Marsden [Wed, 17 Jan 2018 02:52:33 +0000 (15:52 +1300)] 
set hideif rules correctly on full group elements.

6 years agomod/attendance: Replace disabledif with hideif
Alicecj [Wed, 17 Jan 2018 01:49:14 +0000 (01:49 +0000)] 
mod/attendance: Replace disabledif with hideif

6 years agoRemove repeat fields - not implemented yet.
Dan Marsden [Mon, 8 Jan 2018 23:01:10 +0000 (12:01 +1300)] 
Remove repeat fields - not implemented yet.

6 years agoAdd missing fields to csv and set defaults when not mapped.
Dan Marsden [Mon, 8 Jan 2018 22:40:21 +0000 (11:40 +1300)] 
Add missing fields to csv and set defaults when not mapped.

6 years agoCorrect list of groups for each session.
Dan Marsden [Mon, 8 Jan 2018 21:57:01 +0000 (10:57 +1300)] 
Correct list of groups for each session.

6 years agoFix #281 Copy Moodle 3.3 messaging tool into attendance to allow multi-user messaging.
Dan Marsden [Sun, 17 Dec 2017 20:36:11 +0000 (09:36 +1300)] 
Fix #281 Copy Moodle 3.3 messaging tool into attendance to allow multi-user messaging.

6 years agoremove old comment.
Dan Marsden [Thu, 7 Dec 2017 23:00:40 +0000 (12:00 +1300)] 
remove old comment.

6 years agoImprove auto-marking when no password.
Dan Marsden [Thu, 7 Dec 2017 21:51:39 +0000 (10:51 +1300)] 
Improve auto-marking when no password.

also fix some coding guideline issues.

6 years agoAdded ability to automatically mark all students with a status
James Voong [Thu, 7 Dec 2017 06:17:20 +0000 (19:17 +1300)] 
Added ability to automatically mark all students with a status

6 years agoinclude absenteereport field in externalib structure.
Dan Marsden [Thu, 7 Dec 2017 20:37:55 +0000 (09:37 +1300)] 
include absenteereport field in externalib structure.

6 years agoAdd absenteereport to class when adding session.
Dan Marsden [Thu, 7 Dec 2017 00:10:09 +0000 (13:10 +1300)] 
Add absenteereport to class when adding session.

6 years agoAdd missing backup field, and new field in tests.
Dan Marsden [Wed, 6 Dec 2017 22:13:23 +0000 (11:13 +1300)] 
Add missing backup field, and new field in tests.

6 years agoAdd ability to exlude sessions from absentee report calculations.
Dan Marsden [Wed, 6 Dec 2017 19:57:18 +0000 (08:57 +1300)] 
Add ability to exlude sessions from absentee report calculations.

6 years agoAdd output buffering level for progress bar.
Dan Marsden [Thu, 30 Nov 2017 23:11:40 +0000 (12:11 +1300)] 
Add output buffering level for progress bar.

Set var before use.

fix some coding guideline issues.

6 years agoAllow bulk importing of attendance sessions
Chris Wharton [Thu, 16 Nov 2017 02:40:29 +0000 (15:40 +1300)] 
Allow bulk importing of attendance sessions

The administrator can upload a CSV file containing attendance
information for courses that have existing attendance activities.

6 years agoAdd shortname to services file (#280)
Willian Mano [Tue, 21 Nov 2017 21:35:42 +0000 (18:35 -0300)] 
Add shortname to services file (#280)

6 years agofix travis config.
Dan Marsden [Thu, 9 Nov 2017 20:45:57 +0000 (09:45 +1300)] 
fix travis config.

6 years agoBump requires version to 3.4 beta.
Dan Marsden [Mon, 30 Oct 2017 22:05:39 +0000 (11:05 +1300)] 
Bump requires version to 3.4 beta.

6 years agoMake sure created session is later today.
Dan Marsden [Fri, 27 Oct 2017 02:18:11 +0000 (15:18 +1300)] 
Make sure created session is later today.

6 years agoImprove error handling when adding a new status fails.
Dan Marsden [Fri, 27 Oct 2017 01:17:19 +0000 (14:17 +1300)] 
Improve error handling when adding a new status fails.

6 years agoPrevent error when updating status when student marking disabled.
Dan Marsden [Tue, 17 Oct 2017 20:38:35 +0000 (09:38 +1300)] 
Prevent error when updating status when student marking disabled.

6 years agoadd php 7.2 to testing matrix.
Dan Marsden [Tue, 3 Oct 2017 03:32:19 +0000 (16:32 +1300)] 
add php 7.2 to testing matrix.

6 years agofix phpdoc warning.
Dan Marsden [Mon, 2 Oct 2017 23:45:08 +0000 (12:45 +1300)] 
fix phpdoc warning.

6 years agoFix phpdocs.
Dan Marsden [Wed, 27 Sep 2017 02:40:57 +0000 (15:40 +1300)] 
Fix phpdocs.

6 years agoupdate travis config.
Dan Marsden [Mon, 2 Oct 2017 23:34:35 +0000 (12:34 +1300)] 
update travis config.

6 years agobump version for db release.
Dan Marsden [Wed, 27 Sep 2017 02:09:08 +0000 (15:09 +1300)] 
bump version for db release.

6 years agoPartial fix #273 Some PHP locales don't add AM/PM correctly
Dan Marsden [Tue, 5 Sep 2017 21:51:59 +0000 (09:51 +1200)] 
Partial fix #273 Some PHP locales don't add AM/PM correctly
and some use a different case.

This also helps behat tests as they expect case to be correct.

6 years agotry behat on precise.
Dan Marsden [Sun, 3 Sep 2017 21:53:27 +0000 (09:53 +1200)] 
try behat on precise.

6 years agoDon't need to call copmoser selfupdate.
Dan Marsden [Sun, 3 Sep 2017 21:30:14 +0000 (09:30 +1200)] 
Don't need to call copmoser selfupdate.

6 years agodisabledif doesn't support neq condition due to MDL-53848 Fix behat test.
Dan Marsden [Sun, 3 Sep 2017 21:27:29 +0000 (09:27 +1200)] 
disabledif doesn't support neq condition due to MDL-53848 Fix behat test.

6 years agoFixes #270 - allow activity level warnings to be deleted.
Dan Marsden [Fri, 1 Sep 2017 01:02:04 +0000 (13:02 +1200)] 
Fixes #270 - allow activity level warnings to be deleted.

6 years agoAdd description to warnings/status set.
Dan Marsden [Mon, 21 Aug 2017 23:07:51 +0000 (11:07 +1200)] 
Add description to warnings/status set.

6 years agoUse attendance-id instead of cmid in warning table.
Dan Marsden [Mon, 21 Aug 2017 22:37:59 +0000 (10:37 +1200)] 
Use attendance-id instead of cmid in warning table.

6 years agoAdd missing activity level subnet field to backup.
Dan Marsden [Mon, 21 Aug 2017 21:36:41 +0000 (09:36 +1200)] 
Add missing activity level subnet field to backup.

6 years agoBump version.
Dan Marsden [Mon, 21 Aug 2017 00:24:57 +0000 (12:24 +1200)] 
Bump version.

6 years agoFix behat test with at-risk change to absentee
Dan Marsden [Sun, 20 Aug 2017 23:33:59 +0000 (11:33 +1200)] 
Fix behat test with at-risk change to absentee

6 years agoRename at-risk report to absentee report.
Dan Marsden [Sun, 20 Aug 2017 22:58:54 +0000 (10:58 +1200)] 
Rename at-risk report to absentee report.

6 years agoDon't show 0% in user report if no taken sessions.
Dan Marsden [Wed, 16 Aug 2017 01:56:17 +0000 (13:56 +1200)] 
Don't show 0% in user report if no taken sessions.

6 years agoSwap multiple sessions settings and student recording settings
Dan Marsden [Mon, 31 Jul 2017 22:13:14 +0000 (10:13 +1200)] 
Swap multiple sessions settings and student recording settings
also add new setting to allow expanded to be set for both setting groups.

6 years agoImprove use of triggered string. is really first notified.
Dan Marsden [Fri, 28 Jul 2017 03:08:52 +0000 (15:08 +1200)] 
Improve use of triggered string. is really first notified.

6 years agoFeature: Allow warnings to send multiple emails.
Dan Marsden [Wed, 19 Jul 2017 02:52:27 +0000 (14:52 +1200)] 
Feature: Allow warnings to send multiple emails.

6 years agoFixes #269 Allow Calendar events to be enabled/disabled
Dan Marsden [Tue, 25 Jul 2017 01:36:40 +0000 (13:36 +1200)] 
Fixes #269 Allow Calendar events to be enabled/disabled
Also includes script to perform clean-up if settings change.

6 years agoDrop key doesn't work well, drop incorrect key and add correct one.
Dan Marsden [Fri, 14 Jul 2017 09:19:33 +0000 (21:19 +1200)] 
Drop key doesn't work well, drop incorrect key and add correct one.

6 years agoMoodle 3.4 has required version of PHP 7
Dan Marsden [Thu, 13 Jul 2017 01:14:31 +0000 (13:14 +1200)] 
Moodle 3.4 has required version of PHP 7

6 years agoAllow warnings with same percentage but different warnlevel.
Dan Marsden [Thu, 13 Jul 2017 01:11:05 +0000 (13:11 +1200)] 
Allow warnings with same percentage but different warnlevel.

6 years agoFix url used in sort column.
Dan Marsden [Tue, 11 Jul 2017 00:03:57 +0000 (12:03 +1200)] 
Fix url used in sort column.

6 years agoMake tables full width on small screens.
Dan Marsden [Wed, 5 Jul 2017 01:35:14 +0000 (13:35 +1200)] 
Make tables full width on small screens.

6 years agofix spacing in css file.
Dan Marsden [Fri, 30 Jun 2017 08:00:06 +0000 (20:00 +1200)] 
fix spacing in css file.

6 years agoImprove responsive display of user pages.
Dan Marsden [Thu, 29 Jun 2017 22:36:41 +0000 (10:36 +1200)] 
Improve responsive display of user pages.

6 years agofix php warning when no status set.
Dan Marsden [Thu, 29 Jun 2017 21:43:06 +0000 (09:43 +1200)] 
fix php warning when no status set.

6 years agoFix incorrect class namespacing.
Dan Marsden [Thu, 29 Jun 2017 09:07:59 +0000 (21:07 +1200)] 
Fix incorrect class namespacing.

6 years agoUse lasttaken instead of session end to obtain sessions to calculate
Dan Marsden [Tue, 27 Jun 2017 23:07:30 +0000 (11:07 +1200)] 
Use lasttaken instead of session end to obtain sessions to calculate

6 years agoImprove messages in cron, check end of session correctly.
Dan Marsden [Tue, 27 Jun 2017 22:41:41 +0000 (10:41 +1200)] 
Improve messages in cron, check end of session correctly.

6 years agoImprove css on status set page.
Dan Marsden [Tue, 27 Jun 2017 22:17:26 +0000 (10:17 +1200)] 
Improve css on status set page.

6 years agoFix typo in var translation.
Dan Marsden [Tue, 27 Jun 2017 07:50:02 +0000 (19:50 +1200)] 
Fix typo in var translation.

6 years agoAdd new capability to control who gets warning emails.
Dan Marsden [Sun, 25 Jun 2017 22:43:14 +0000 (10:43 +1200)] 
Add new capability to control who gets warning emails.

6 years agoFix bug with userdisplay check.
Dan Marsden [Fri, 23 Jun 2017 03:27:17 +0000 (15:27 +1200)] 
Fix bug with userdisplay check.

6 years agoSimplify user view page to make it better on small devices
Dan Marsden [Fri, 23 Jun 2017 00:41:45 +0000 (12:41 +1200)] 
Simplify user view page to make it better on small devices
* don't show user profile image
* don't show users name at top (already shown in header)
* Remove # column - not useful anyway.
* Combine date/time into single column.
* hide session type if viewing own report - students shouldn't care about session types.

6 years agoSet default sort on atrisk page,
Dan Marsden [Thu, 22 Jun 2017 22:43:17 +0000 (10:43 +1200)] 
Set default sort on atrisk page,

6 years agoAdd some button classes to attendance buttons to improve display.
Dan Marsden [Thu, 22 Jun 2017 22:40:13 +0000 (10:40 +1200)] 
Add some button classes to attendance buttons to improve display.