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

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

7 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.

7 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.

7 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.

7 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.

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

7 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

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

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

8 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.

8 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.

8 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.

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

8 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.

8 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.

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

8 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

8 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.

8 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.

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

8 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.

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

8 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.

8 years agoFix behat 3.2 tests.
Dan Marsden [Fri, 23 Jun 2017 01:00:33 +0000 (13:00 +1200)] 
Fix behat 3.2 tests.

8 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,

8 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.

8 years agoFix style for password pop-up and mustache template fix.
Dan Marsden [Thu, 22 Jun 2017 21:59:37 +0000 (09:59 +1200)] 
Fix style for password pop-up and mustache template fix.

8 years agocoding guidline improvements.
Dan Marsden [Thu, 22 Jun 2017 09:05:58 +0000 (21:05 +1200)] 
coding guidline improvements.

8 years agoImprove password-pop-up handling.
Dan Marsden [Thu, 22 Jun 2017 03:16:21 +0000 (15:16 +1200)] 
Improve password-pop-up handling.

8 years agoAdd category selector to coursesummary admin report.
Dan Marsden [Wed, 21 Jun 2017 23:17:16 +0000 (11:17 +1200)] 
Add category selector to coursesummary admin report.

8 years agofix breadcrumbs in atrisk and coursesummary reports.
Dan Marsden [Wed, 21 Jun 2017 22:50:53 +0000 (10:50 +1200)] 
fix breadcrumbs in atrisk and coursesummary reports.

8 years agoMerge notification/warning feature into master. (#267)
Dan Marsden [Wed, 21 Jun 2017 02:53:23 +0000 (14:53 +1200)] 
Merge notification/warning feature into  (#267)

New feature/reports to allow warning thresholds to be set and e-mail notifications.

8 years agoAllow default subnet setting at activity level to be hidden.
Dan Marsden [Tue, 20 Jun 2017 23:49:53 +0000 (11:49 +1200)] 
Allow default subnet setting at activity level to be hidden.

8 years agoFix hardcoded reference to mdl_
Dan Marsden [Mon, 19 Jun 2017 00:55:42 +0000 (12:55 +1200)] 
Fix hardcoded reference to mdl_

8 years agoFixes #266 - groupmemembersonly setting removed by MDL-44725
Dan Marsden [Wed, 14 Jun 2017 23:58:22 +0000 (11:58 +1200)] 
Fixes #266 - groupmemembersonly setting removed by MDL-44725

8 years agoUse correct link to show all sessions in behat test.
Dan Marsden [Wed, 14 Jun 2017 01:06:07 +0000 (13:06 +1200)] 
Use correct link to show all sessions in behat test.

8 years agoFix version and changelog.
Dan Marsden [Tue, 13 Jun 2017 23:43:46 +0000 (11:43 +1200)] 
Fix version and changelog.

8 years agoFix coding guideline typo.
Dan Marsden [Tue, 13 Jun 2017 23:15:22 +0000 (11:15 +1200)] 
Fix coding guideline typo.

8 years agoImprove display of "all courses" user report - display as table
Dan Marsden [Tue, 13 Jun 2017 23:02:50 +0000 (11:02 +1200)] 
Improve display of "all courses" user report - display as table
also include links to specific course reports.

8 years agoTask doesn't just look at closed sessions.
Dan Marsden [Mon, 12 Jun 2017 21:50:42 +0000 (09:50 +1200)] 
Task doesn't just look at closed sessions.

8 years agoNew Feature: allow automarking of attendance using logs table.
Dan Marsden [Fri, 9 Jun 2017 01:25:17 +0000 (13:25 +1200)] 
New Feature: allow automarking of attendance using logs table.

8 years agoFixes #265 create calendar events when restoring an attendance.
Dan Marsden [Tue, 13 Jun 2017 23:13:20 +0000 (11:13 +1200)] 
Fixes #265 create calendar events when restoring an attendance.
also add sanity check if restored session doesn't have a calendar event.

8 years agoFix #264 improve radio button spacing on self-marking page
Dan Marsden [Thu, 8 Jun 2017 22:49:19 +0000 (10:49 +1200)] 
Fix #264 improve radio button spacing on self-marking page

8 years agoAllow default view on login to be set at admin level.
Dan Marsden [Fri, 2 Jun 2017 00:54:22 +0000 (12:54 +1200)] 
Allow default view on login to be set at admin level.

8 years agoResort strings in alphabetical order
Dan Marsden [Tue, 30 May 2017 02:00:13 +0000 (14:00 +1200)] 
Resort strings in alphabetical order

8 years agobump version to match block requirements.
Dan Marsden [Mon, 29 May 2017 00:31:52 +0000 (12:31 +1200)] 
bump version to match block requirements.

8 years agoAdd lang strings for block and config course category report.
Dan Marsden [Mon, 29 May 2017 00:24:20 +0000 (12:24 +1200)] 
Add lang strings for block and config course category report.

8 years agofix some coding guideline things.
Dan Marsden [Thu, 25 May 2017 23:36:46 +0000 (11:36 +1200)] 
fix some coding guideline things.

8 years agoModify subnet field to hopefully improve usability with teachers.
Dan Marsden [Thu, 25 May 2017 23:19:46 +0000 (11:19 +1200)] 
Modify subnet field to hopefully improve usability with teachers.

8 years agoNew site-level/course category report for average course attendance.
Dan Marsden [Tue, 23 May 2017 02:48:53 +0000 (14:48 +1200)] 
New site-level/course category report for average course attendance.

8 years agoMove subnet to advanced setting on session form.
Dan Marsden [Thu, 25 May 2017 02:15:56 +0000 (14:15 +1200)] 
Move subnet to advanced setting on session form.
it requires advanced knowledge to set so should
not show to all teachers in default view.

8 years agoLasttakenby = 0 is a valid id when auto-marked.
Dan Marsden [Mon, 22 May 2017 23:53:36 +0000 (11:53 +1200)] 
Lasttakenby = 0 is a valid id when auto-marked.

8 years agowhen course reset, reset automarkcompleted just in case.
Dan Marsden [Mon, 22 May 2017 02:31:39 +0000 (14:31 +1200)] 
when course reset, reset automarkcompleted just in case.

8 years agoFeature: Allow unmarked students to be automatically marked after session close.
Dan Marsden [Fri, 19 May 2017 03:03:08 +0000 (15:03 +1200)] 
Feature: Allow unmarked students to be automatically marked after session close.

8 years agoSanity check - make sure session id is for this attendance.
Dan Marsden [Mon, 22 May 2017 00:37:11 +0000 (12:37 +1200)] 
Sanity check - make sure session id is for this attendance.

8 years agofix space issue in test.
Dan Marsden [Thu, 18 May 2017 00:59:10 +0000 (12:59 +1200)] 
fix space issue in test.

8 years agoFix some coding guideline issues.
Dan Marsden [Thu, 18 May 2017 00:55:26 +0000 (12:55 +1200)] 
Fix some coding guideline issues.

8 years agoFix some tests.
Dan Marsden [Wed, 17 May 2017 23:37:02 +0000 (11:37 +1200)] 
Fix some tests.

8 years agofix some eslint stuff.
Dan Marsden [Wed, 17 May 2017 23:30:02 +0000 (11:30 +1200)] 
fix some eslint stuff.

8 years agoMove subnet from attendance level to session level
Dan Marsden [Wed, 17 May 2017 23:07:38 +0000 (11:07 +1200)] 
Move subnet from attendance level to session level
retain attendance level setting as "default" setting for creating
new sessions.

8 years agofix case of am/pm in tests.
Dan Marsden [Wed, 17 May 2017 22:51:56 +0000 (10:51 +1200)] 
fix case of am/pm in tests.

8 years agoFixes #262 improves compatibility with Mac/Win when converting times.
Dan Marsden [Wed, 17 May 2017 09:11:11 +0000 (21:11 +1200)] 
Fixes #262 improves compatibility with Mac/Win when converting times.

8 years agoAdd new field for student availability,
Dan Marsden [Thu, 11 May 2017 03:22:42 +0000 (15:22 +1200)] 
Add new field for student availability,
allow statuses to be hidden from students during self marking.
backport from master

8 years agoFixes #262 date time not displaying on windows servers.
Dan Marsden [Sun, 14 May 2017 22:18:25 +0000 (10:18 +1200)] 
Fixes #262 date time not displaying on windows servers.

8 years agoImprove error when incorrect password used.
Dan Marsden [Fri, 12 May 2017 01:04:30 +0000 (13:04 +1200)] 
Improve error when incorrect password used.

8 years agobump version to clear css cache.
Dan Marsden [Thu, 11 May 2017 00:06:12 +0000 (12:06 +1200)] 
bump version to clear css cache.

8 years agoAdd abilty to view student password from session list page.
Dan Marsden [Thu, 11 May 2017 00:03:04 +0000 (12:03 +1200)] 
Add abilty to view student password from session list page.

8 years agoFixes #258 add link to take attendance on student overview report.
Dan Marsden [Tue, 2 May 2017 02:56:32 +0000 (14:56 +1200)] 
Fixes #258 add link to take attendance on student overview report.

8 years agofix eslint warning.
Dan Marsden [Tue, 2 May 2017 00:33:19 +0000 (12:33 +1200)] 
fix eslint warning.

8 years agophpdoc stuff.
Dan Marsden [Tue, 2 May 2017 00:28:05 +0000 (12:28 +1200)] 
phpdoc stuff.

8 years agomore phpdoc changes.
Dan Marsden [Mon, 1 May 2017 23:10:45 +0000 (11:10 +1200)] 
more phpdoc changes.

8 years agofix some phpdoc stuff.
Dan Marsden [Mon, 1 May 2017 22:05:00 +0000 (10:05 +1200)] 
fix some phpdoc stuff.

8 years agobehat test (fragile)
Dan Marsden [Mon, 1 May 2017 21:19:51 +0000 (09:19 +1200)] 
behat test (fragile)

8 years agofix up some phpdoc stuff.
Dan Marsden [Mon, 1 May 2017 02:56:21 +0000 (14:56 +1200)] 
fix up some phpdoc stuff.

8 years agoTidy up the classes/phpdocs a bit.
Dan Marsden [Mon, 1 May 2017 02:39:06 +0000 (14:39 +1200)] 
Tidy up the classes/phpdocs a bit.

8 years agomake session full day for tests.
Dan Marsden [Mon, 1 May 2017 01:58:56 +0000 (13:58 +1200)] 
make session full day for tests.

8 years agotests - use sessiondate for 5min ago to allow self student marking
Dan Marsden [Mon, 1 May 2017 01:45:11 +0000 (13:45 +1200)] 
tests - use sessiondate for 5min ago to allow self student marking

8 years agoAdd setting to force self-marking during session.
Dan Marsden [Mon, 1 May 2017 01:10:14 +0000 (13:10 +1200)] 
Add setting to force self-marking during session.

8 years agotravis php 5.6 passing correctly now.
Dan Marsden [Tue, 9 May 2017 02:23:11 +0000 (14:23 +1200)] 
travis php 5.6 passing correctly now.

8 years agoallow admin to set default values for record own attendance/random pass.
Dan Marsden [Fri, 28 Apr 2017 04:57:01 +0000 (16:57 +1200)] 
allow admin to set default values for record own attendance/random pass.

8 years agocoding guidline fix.
Dan Marsden [Fri, 28 Apr 2017 04:29:09 +0000 (16:29 +1200)] 
coding guidline fix.

8 years agouse custom function to generate a very basic random string
Dan Marsden [Fri, 28 Apr 2017 04:17:09 +0000 (16:17 +1200)] 
use custom function to generate a very basic random string
to use as password.

8 years agofix some codechecker warnings.
Dan Marsden [Fri, 28 Apr 2017 04:08:59 +0000 (16:08 +1200)] 
fix some codechecker warnings.

8 years agoallow random password to be used when creating sessions.
Dan Marsden [Fri, 28 Apr 2017 04:07:11 +0000 (16:07 +1200)] 
allow random password to be used when creating sessions.

8 years agoset default values a bit better.
Dan Marsden [Fri, 28 Apr 2017 03:28:42 +0000 (15:28 +1200)] 
set default values a bit better.

8 years agofix notnull values.
Dan Marsden [Fri, 28 Apr 2017 03:06:58 +0000 (15:06 +1200)] 
fix notnull values.

8 years agoAllow a password to be set when using student self marking.
Dan Marsden [Fri, 28 Apr 2017 02:03:40 +0000 (14:03 +1200)] 
Allow a password to be set when using student self marking.

8 years agoattempt to fix php 5.6 issue in tests.
Dan Marsden [Fri, 28 Apr 2017 02:04:28 +0000 (14:04 +1200)] 
attempt to fix php 5.6 issue in tests.

8 years agofix php warning in php 5.6
Dan Marsden [Fri, 28 Apr 2017 01:21:34 +0000 (13:21 +1200)] 
fix php warning in php 5.6

8 years agocoding guideline spacing
Dan Marsden [Thu, 4 May 2017 19:27:58 +0000 (07:27 +1200)] 
coding guideline spacing

8 years agoFix #259 undefined property warnings when showing temp users.
Dan Marsden [Thu, 4 May 2017 08:19:45 +0000 (20:19 +1200)] 
Fix #259 undefined property warnings when showing temp users.

8 years agoFixes #254 - issue with colspan in header/footer.
Dan Marsden [Thu, 27 Apr 2017 20:47:47 +0000 (08:47 +1200)] 
Fixes #254 - issue with colspan in header/footer.
Thanks to @xuwenbin for report and patch.

8 years agoFix broken tests due to identity patch.
Dan Marsden [Thu, 13 Apr 2017 01:05:43 +0000 (13:05 +1200)] 
Fix broken tests due to identity patch.

8 years agoFix some coding guideline issues.
Dan Marsden [Thu, 13 Apr 2017 00:22:09 +0000 (12:22 +1200)] 
Fix some coding guideline issues.