moodle-mod_attendance.git
7 years agoFixes #223 allow student attendance to be disabled at site-level MOODLE_28_STABLE
Dan Marsden [Mon, 26 Sep 2016 22:25:34 +0000 (11:25 +1300)] 
Fixes #223 allow student attendance to be disabled at site-level

8 years agofix php 7 statement
Dan Marsden [Wed, 18 Nov 2015 01:49:20 +0000 (14:49 +1300)] 
fix php 7 statement

8 years agoadd travis support
Dan Marsden [Wed, 18 Nov 2015 01:40:43 +0000 (14:40 +1300)] 
add travis support

8 years agoMerge pull request #180 from NeillM/MOODLE_28_STABLE
Dan Marsden [Tue, 10 Nov 2015 20:18:27 +0000 (09:18 +1300)] 
Merge pull request #180 from NeillM/MOODLE_28_STABLE

Expired enrolments can prevent student self-attendance

8 years agoExpired enrolments can prevent student self-attendance
Neill Magill [Mon, 9 Nov 2015 16:18:04 +0000 (16:18 +0000)] 
Expired enrolments can prevent student self-attendance

...even when their is another enrolemnt that means they are still active on the course.

This fixes issue #178 and is similar to issue #81

8 years agoMerge pull request #167 from barrysspace/MOODLE_28_STABLE
Dan Marsden [Sun, 4 Oct 2015 02:18:39 +0000 (15:18 +1300)] 
Merge pull request #167 from barrysspace/MOODLE_28_STABLE

Fix #155 properly. Undo regression caused by moving $statuses definition

8 years agoFix #155 properly. Undo regression caused by moving $statuses definition.
Barry Oosthuizen [Fri, 2 Oct 2015 14:17:22 +0000 (15:17 +0100)] 
Fix #155 properly. Undo regression caused by moving $statuses definition.

8 years agoReturns all users and their lowest status in a course.
Syxton [Fri, 11 Sep 2015 13:24:35 +0000 (09:24 -0400)] 
Returns all users and their lowest status in a course.

This will fix 2 issues.  The first, if a user has a suspended enrollment
in child course A, the active enrollment in child course B will be
honored over the suspended enrollment.  Also in this scenerio, the user
with multiple enrollments was causing a duplicate userid error to be
generated.

8 years agoMerge pull request #161 from barrysspace/hotfox/issue_159_delete_selected_sessions_M28
Dan Marsden [Thu, 24 Sep 2015 00:31:50 +0000 (12:31 +1200)] 
Merge pull request #161 from barrysspace/hotfox/issue_159_delete_selected_sessions_M28

Fix issue #159 - Delete no selected sessions

8 years agoMerge pull request #158 from barrysspace/hotfix/issue_155_hiding_status_removes_it_MDL28
Dan Marsden [Thu, 24 Sep 2015 00:30:07 +0000 (12:30 +1200)] 
Merge pull request #158 from barrysspace/hotfix/issue_155_hiding_status_removes_it_MDL28

Fix #155: Hiding statuses removes them from Settings

8 years agoFix issue #159 - Delete no selected sessions
Barry Oosthuizen [Wed, 23 Sep 2015 08:52:13 +0000 (09:52 +0100)] 
Fix issue #159 - Delete no selected sessions

8 years agoFix #155: Hiding statuses removes them from Settings
Barry Oosthuizen [Tue, 22 Sep 2015 15:47:21 +0000 (16:47 +0100)] 
Fix #155: Hiding statuses removes them from Settings

8 years agoMerge pull request #149 from barrysspace/hotfix/issue_145_hiding_status_M28
Dan Marsden [Thu, 3 Sep 2015 21:11:41 +0000 (09:11 +1200)] 
Merge pull request #149 from barrysspace/hotfix/issue_145_hiding_status_M28

Fix #145 - hiding variable status items no longer working

8 years agoFix #145 - hiding variable status items no longer working
Barry Oosthuizen [Thu, 3 Sep 2015 16:38:25 +0000 (17:38 +0100)] 
Fix #145 - hiding variable status items no longer working

8 years agoupdate README
Dan Marsden [Mon, 24 Aug 2015 09:43:17 +0000 (21:43 +1200)] 
update README

8 years agoDelete some whitespace introduced by b0638c67
Barry Oosthuizen [Wed, 29 Jul 2015 11:31:43 +0000 (12:31 +0100)] 
Delete some whitespace introduced by b0638c67

8 years agoMerge pull request #136 from barrysspace/MOODLE_28_STABLE
Dan Marsden [Tue, 28 Jul 2015 21:38:46 +0000 (09:38 +1200)] 
Merge pull request #136 from barrysspace/MOODLE_28_STABLE

Fix issue#134 - Add 'checkweekdays' language string

8 years agoFix issue#134 - Add 'checkweekdays' language string
Barry Oosthuizen [Tue, 28 Jul 2015 12:37:24 +0000 (13:37 +0100)] 
Fix issue#134 - Add 'checkweekdays' language string

8 years agoPrevent this branch from installing on versions earlier than 2.8
Dan Marsden [Sun, 26 Jul 2015 22:01:11 +0000 (10:01 +1200)] 
Prevent this branch from installing on versions earlier than 2.8

8 years agoMerge pull request #132 from barrysspace/hotfix/issue_129_empty_status_M28
Dan Marsden [Sun, 26 Jul 2015 21:51:54 +0000 (09:51 +1200)] 
Merge pull request #132 from barrysspace/hotfix/issue_129_empty_status_M28

Hotfix/issue 129 empty status m28

8 years agoBehat test to notify error for empty acronym or description
Barry Oosthuizen [Wed, 22 Jul 2015 10:58:07 +0000 (11:58 +0100)] 
Behat test to notify error for empty acronym or description

8 years agoFix issue#129 - Notify error for empty acronym or description
Barry Oosthuizen [Wed, 22 Jul 2015 10:57:46 +0000 (11:57 +0100)] 
Fix issue#129 - Notify error for empty acronym or description

8 years agobump release version to avoid confusion with 2.9/master branch
Dan Marsden [Tue, 30 Jun 2015 10:20:10 +0000 (22:20 +1200)] 
bump release version to avoid confusion with 2.9/master branch

8 years agoMerge pull request #107 from Kathrin84/icon_optimization
Dan Marsden [Mon, 29 Jun 2015 08:10:45 +0000 (20:10 +1200)] 
Merge pull request #107 from Kathrin84/icon_optimization

Optimized icon

8 years agoOptimized icon
Kathrin [Mon, 29 Jun 2015 06:32:25 +0000 (08:32 +0200)] 
Optimized icon

In large scale the green guy in the left upper corner looks not so
great with his cut head. So I optimized the icon a little bit.

8 years agoShow remarks as hover-icons, instead of single column at the end
Davo Smith [Thu, 25 Jun 2015 11:02:19 +0000 (12:02 +0100)] 
Show remarks as hover-icons, instead of single column at the end

8 years agoAdd generator
Davo Smith [Thu, 25 Jun 2015 10:53:00 +0000 (11:53 +0100)] 
Add generator

8 years agoNew 'select all' row of radio buttons on attendance page
Davo Smith [Thu, 25 Jun 2015 10:50:07 +0000 (11:50 +0100)] 
New 'select all' row of radio buttons on attendance page

8 years agoOption to select specific users during export
Davo Smith [Thu, 25 Jun 2015 10:44:42 +0000 (11:44 +0100)] 
Option to select specific users during export

8 years agoSwitch status grade from integer to decimal
Davo Smith [Thu, 25 Jun 2015 10:35:24 +0000 (11:35 +0100)] 
Switch status grade from integer to decimal

8 years agoAllow an attendance instance to have multiple status sets
Davo Smith [Thu, 25 Jun 2015 10:20:53 +0000 (11:20 +0100)] 
Allow an attendance instance to have multiple status sets

The set to use can be selected per session

8 years agoAllow temporary users to be created and have their attendance taken
Davo Smith [Thu, 25 Jun 2015 09:56:53 +0000 (10:56 +0100)] 
Allow temporary users to be created and have their attendance taken

8 years agoMerge pull request #106 from michael-milette/master
Dan Marsden [Thu, 25 Jun 2015 21:23:49 +0000 (09:23 +1200)] 
Merge pull request #106 from michael-milette/master

Fix to make $PAGE->url valid by adding the action parameter.

8 years agoFix to make $PAGE->url valid by adding the action parameter.
Michael Milette [Thu, 25 Jun 2015 13:14:11 +0000 (09:14 -0400)] 
Fix to make $PAGE->url valid by adding the action parameter.

Signed-off-by: Michael Milette <michael.milette@tngconsulting.ca>
8 years agoFix #93 $record needs an id.
Dan Marsden [Fri, 5 Jun 2015 01:19:59 +0000 (13:19 +1200)] 
Fix #93 $record needs an id.

8 years agomod_attendance: Fix #92 Set page URL
Barry Oosthuizen [Wed, 27 May 2015 14:58:15 +0000 (15:58 +0100)] 
mod_attendance: Fix #92 Set page URL

8 years agoMerge pull request #102 from barrysspace/deprecated_behat_steps
Dan Marsden [Fri, 5 Jun 2015 00:59:16 +0000 (12:59 +1200)] 
Merge pull request #102 from barrysspace/deprecated_behat_steps

mod_attendance: Fix #91 deprecated behat steps

8 years agomod_attendance: Fix #91 deprecated behat steps
Barry Oosthuizen [Wed, 27 May 2015 14:56:15 +0000 (15:56 +0100)] 
mod_attendance: Fix #91 deprecated behat steps

8 years agoBetter fix for Fix #72
Dan Marsden [Sun, 17 May 2015 21:55:46 +0000 (09:55 +1200)] 
Better fix for Fix #72

8 years agoTidy up some debug messages.
Dan Marsden [Mon, 4 May 2015 22:11:51 +0000 (10:11 +1200)] 
Tidy up some debug messages.

8 years agoFixes #87 show a useful error when form submitted incorrectly.
Dan Marsden [Mon, 4 May 2015 03:00:48 +0000 (15:00 +1200)] 
Fixes #87 show a useful error when form submitted incorrectly.

8 years agoBump for plugins database release (also bump version as this branch supports 2.9)
Dan Marsden [Mon, 4 May 2015 02:26:50 +0000 (14:26 +1200)] 
Bump for plugins database release (also bump version as this branch supports 2.9)

9 years agoMerge pull request #86 from Kathrin84/master
Dan Marsden [Wed, 29 Apr 2015 22:18:51 +0000 (10:18 +1200)] 
Merge pull request #86 from Kathrin84/master

Added a new icon

9 years agoAdded a new icon
Kathrin [Wed, 29 Apr 2015 12:52:27 +0000 (14:52 +0200)] 
Added a new icon

Created a new icon in .svg format

9 years agoCheck if there is a manual enrolment with no expiry date
Barry Oosthuizen [Tue, 31 Mar 2015 10:35:19 +0000 (11:35 +0100)] 
Check if there is a manual enrolment with no expiry date

9 years agoBump version for plugins db release
Dan Marsden [Sun, 29 Mar 2015 22:12:24 +0000 (11:12 +1300)] 
Bump version for plugins db release

9 years agoRemove attforblock upgrade code.
Dan Marsden [Sun, 29 Mar 2015 22:09:24 +0000 (11:09 +1300)] 
Remove attforblock upgrade code.

People must upgrade to the 2.7 version of this code to support attforblock
upgrades.

9 years agoMerge pull request #79 from barrysspace/add_record_snapshot_errors
Dan Marsden [Mon, 16 Feb 2015 21:07:43 +0000 (10:07 +1300)] 
Merge pull request #79 from barrysspace/add_record_snapshot_errors

Fix #75 add_record_snapshot() errors

9 years agoMerge pull request #77 from barrysspace/crud_and_objecttable_params
Dan Marsden [Mon, 16 Feb 2015 01:25:48 +0000 (14:25 +1300)] 
Merge pull request #77 from barrysspace/crud_and_objecttable_params

Fix #74 - crud and objecttable params in /classes/event/ need fixing

9 years agoFix spacing in locallib.php caused by fix for #72
Dan Marsden [Mon, 16 Feb 2015 01:18:58 +0000 (14:18 +1300)] 
Fix spacing in locallib.php caused by fix for #72

9 years agoMerge pull request #80 from barrysspace/common_session_group_export
Dan Marsden [Mon, 16 Feb 2015 01:18:23 +0000 (14:18 +1300)] 
Merge pull request #80 from barrysspace/common_session_group_export

Fix #72 - Exporting 'Common' Session type Sessions filtered by Group

9 years agoMerge pull request #78 from barrysspace/nogroups_add_session_error
Dan Marsden [Sat, 14 Feb 2015 08:27:44 +0000 (21:27 +1300)] 
Merge pull request #78 from barrysspace/nogroups_add_session_error

Fix #73 - Debug warnings when adding session for "Separate groups" if no...

9 years agoMerge pull request #76 from barrysspace/broken_remarks_headers
Dan Marsden [Sat, 14 Feb 2015 08:25:19 +0000 (21:25 +1300)] 
Merge pull request #76 from barrysspace/broken_remarks_headers

Fix #71 - Remarks headers in Export is broken

9 years agoFix #72 - Exporting 'Common' Session type Sessions filtered by Group
Barry Oosthuizen [Fri, 13 Feb 2015 14:19:00 +0000 (14:19 +0000)] 
Fix #72 - Exporting 'Common' Session type Sessions filtered by Group

9 years agoFix documentation of $status variable
Barry Oosthuizen [Fri, 13 Feb 2015 13:55:12 +0000 (13:55 +0000)] 
Fix documentation of $status variable

9 years agoFix #75 - add_record_snapshot() gives debug messages on various pages. Add status_re...
Barry Oosthuizen [Fri, 13 Feb 2015 13:50:21 +0000 (13:50 +0000)] 
Fix #75 - add_record_snapshot() gives debug messages on various pages.  Add status_removed event.

9 years agoFix #71 - Remarks headers in Export is broken
Barry Oosthuizen [Fri, 13 Feb 2015 10:33:27 +0000 (10:33 +0000)] 
Fix #71 - Remarks headers in Export is broken

9 years agoFix #74 - crud and objecttable params in /classes/event/ need fixing
Barry Oosthuizen [Fri, 13 Feb 2015 10:38:48 +0000 (10:38 +0000)] 
Fix #74 - crud and objecttable params in /classes/event/ need fixing

9 years agoFix #73 - Debug warnings when adding session for "Separate groups" if no groups defined
Barry Oosthuizen [Fri, 13 Feb 2015 10:30:12 +0000 (10:30 +0000)] 
Fix #73 - Debug warnings when adding session for "Separate groups" if no groups defined

9 years agoWhen Multiple sessions is selected and no valid days of the week are selected show...
Paolo Tramonti [Thu, 31 Jul 2014 12:48:46 +0000 (14:48 +0200)] 
When Multiple sessions is selected and no valid days of the week are selected show a tidy error.
Fixed no-daysofweek-selected issue

9 years agoMerge pull request #61 from damiannogueiras/master
Dan Marsden [Tue, 27 Jan 2015 23:33:08 +0000 (12:33 +1300)] 
Merge pull request #61 from damiannogueiras/master

Allow sessions to be copied from a previous session when 2 or more sessions are on the same day. Previously sessions could only be copied when 3 or more sessions are on the same day.

9 years agoMerge pull request #67 from danielneis/composer
Dan Marsden [Tue, 27 Jan 2015 23:24:54 +0000 (12:24 +1300)] 
Merge pull request #67 from danielneis/composer

adding composer.json

9 years agoUse attendance lang instead of quiz lang file for export string.
Dan Marsden [Tue, 27 Jan 2015 23:20:36 +0000 (12:20 +1300)] 
Use attendance lang instead of quiz lang file for export string.

9 years agoadding composer.json
Daniel Neis Araujo [Tue, 27 Jan 2015 23:06:43 +0000 (21:06 -0200)] 
adding composer.json

9 years agofix for version upgrade mis-match with earlier versions.
Dan Marsden [Wed, 19 Nov 2014 21:41:26 +0000 (10:41 +1300)] 
fix for version upgrade mis-match with earlier versions.

9 years agoMin. one sessions for copy
Damián Nogueiras [Thu, 13 Nov 2014 17:10:36 +0000 (18:10 +0100)] 
Min. one sessions for copy

9 years agoMerge pull request #59 from aolley/master
Dan Marsden [Fri, 31 Oct 2014 01:03:16 +0000 (14:03 +1300)] 
Merge pull request #59 from aolley/master

events: Pass the actual dbrecord as snapshot for report_viewed event

9 years agoevents: Pass the actual dbrecord as snapshot for report_viewed event
Adam Olley [Thu, 30 Oct 2014 23:56:14 +0000 (10:26 +1030)] 
events: Pass the actual dbrecord as snapshot for report_viewed event

9 years agobump version to release latest work to plugins db
Dan Marsden [Thu, 9 Oct 2014 01:22:40 +0000 (14:22 +1300)] 
bump version to release latest work to plugins db

9 years agoMerge pull request #50 from tlock/master
Dan Marsden [Sun, 5 Oct 2014 21:10:49 +0000 (10:10 +1300)] 
Merge pull request #50 from tlock/master

Fixed deprecated step "I check" for 2.7

9 years agoMerge pull request #55 from drjosephbaxter/master
Dan Marsden [Sun, 5 Oct 2014 21:06:20 +0000 (10:06 +1300)] 
Merge pull request #55 from drjosephbaxter/master

CONTRIB-5286 added drop down to show all rows or the set limit

9 years agoCONTRIB-5286 added drop down to show all rows or the set limit
Joseph Baxter [Fri, 3 Oct 2014 15:50:31 +0000 (16:50 +0100)] 
CONTRIB-5286 added drop down to show all rows or the set limit

9 years agoCONTRIB-5245 set up courseatts correctly
Dan Marsden [Thu, 4 Sep 2014 22:22:12 +0000 (10:22 +1200)] 
CONTRIB-5245 set up courseatts correctly

9 years agoCONTRIB-5245 Check to make sure user can view this attendance before showing related...
Dan Marsden [Thu, 4 Sep 2014 00:30:11 +0000 (12:30 +1200)] 
CONTRIB-5245 Check to make sure user can view this attendance before showing related report.

9 years agotidy up string a bit.
Dan Marsden [Wed, 3 Sep 2014 23:49:21 +0000 (11:49 +1200)] 
tidy up string a bit.

9 years agoCONTRIB-5287 fix paging so that the currdate doesn't change.
Dan Marsden [Wed, 3 Sep 2014 23:39:23 +0000 (11:39 +1200)] 
CONTRIB-5287 fix paging so that the currdate doesn't change.

9 years agoFixed non-js behat tests for 2.7
Tim Lock [Sun, 24 Aug 2014 08:45:21 +0000 (18:15 +0930)] 
Fixed non-js behat tests for 2.7

9 years agoFixed deprecated step "I check" for 2.7
Tim Lock [Sat, 23 Aug 2014 00:59:07 +0000 (10:29 +0930)] 
Fixed deprecated step "I check" for 2.7

9 years agofix upgrade path for UON code
Dan Marsden [Fri, 22 Aug 2014 02:06:13 +0000 (14:06 +1200)] 
fix upgrade path for UON code

9 years agoAllow older backup files to be restored correctly.
Dan Marsden [Tue, 22 Jul 2014 02:40:16 +0000 (14:40 +1200)] 
Allow older backup files to be restored correctly.

9 years agoMerge pull request #45 from drjosephbaxter/master
Dan Marsden [Tue, 22 Jul 2014 02:36:18 +0000 (14:36 +1200)] 
Merge pull request #45 from drjosephbaxter/master

uon merge master

9 years agouon merge conflict fixes
Joseph Baxter [Mon, 21 Jul 2014 09:06:46 +0000 (10:06 +0100)] 
uon merge conflict fixes

9 years agoremove double semi-colon
Dan Marsden [Sun, 11 May 2014 22:04:18 +0000 (10:04 +1200)] 
remove double semi-colon

9 years agoMerge pull request #35 from nadavkav/patch-6
Dan Marsden [Sun, 11 May 2014 22:02:36 +0000 (10:02 +1200)] 
Merge pull request #35 from nadavkav/patch-6

Display the number of users in the sessions report (take II)

9 years agoDisplay the number of users in the sessions report (take II)
Nadav Kavalerchik [Sun, 11 May 2014 21:08:25 +0000 (00:08 +0300)] 
Display the number of users in the sessions report (take II)

9 years agoinit sessionstat vars correctly
Dan Marsden [Sun, 11 May 2014 20:52:17 +0000 (08:52 +1200)] 
init  sessionstat vars correctly

9 years agoremove php warning from report page when no sessions exist
Dan Marsden [Fri, 9 May 2014 01:55:09 +0000 (13:55 +1200)] 
remove php warning from report page when no sessions exist

9 years agoconvert to using $plugin instead of $module
Dan Marsden [Fri, 9 May 2014 01:37:24 +0000 (13:37 +1200)] 
convert to using $plugin instead of $module

9 years agoCONTRIB-4864 prevent PHP warning when checking var
Dan Marsden [Fri, 9 May 2014 01:29:41 +0000 (13:29 +1200)] 
CONTRIB-4864 prevent PHP warning when checking var

9 years agoUpdate Attendance to use new events insted of add_to_log for 2.7
Dan Marsden [Fri, 9 May 2014 01:26:09 +0000 (13:26 +1200)] 
Update Attendance to use new events insted of add_to_log for 2.7

9 years agoCONTRIB-4052 Prevent gradebook entry from being added when using nograde
Dan Marsden [Fri, 9 May 2014 00:08:36 +0000 (12:08 +1200)] 
CONTRIB-4052 Prevent gradebook entry from being added when using nograde

9 years agoCONTRIB-4864 Correct grade calculation when timeframe used in export.
Dan Marsden [Thu, 8 May 2014 23:46:16 +0000 (11:46 +1200)] 
CONTRIB-4864 Correct grade calculation when timeframe used in export.

9 years agoMerge pull request #33 from University-of-Strathclyde-LTE-Team/issue-32
Dan Marsden [Sun, 4 May 2014 23:10:15 +0000 (11:10 +1200)] 
Merge pull request #33 from University-of-Strathclyde-LTE-Team/issue-32

Get version from config if necessary

9 years agoGet version from config if necessary
Michael Aherne [Thu, 1 May 2014 14:44:15 +0000 (15:44 +0100)] 
Get version from config if necessary

10 years agoUpdate version.php
Dan Marsden [Thu, 27 Feb 2014 20:03:17 +0000 (09:03 +1300)] 
Update version.php

bump version for release in plugins db

10 years agoMerge pull request #30 from gbateson/CONTRIB-4868-meta-enrolments
Dan Marsden [Mon, 10 Feb 2014 00:41:53 +0000 (13:41 +1300)] 
Merge pull request #30 from gbateson/CONTRIB-4868-meta-enrolments

CONTRIB-4868 fix duplicate records found warning in courses with meta en...

10 years agoCONTRIB-4868 (1) do not set maxtime to timemodified; (2) use mintime and maxtime...
Gordon Bateson [Sun, 9 Feb 2014 23:45:02 +0000 (08:45 +0900)] 
CONTRIB-4868 (1) do not set maxtime to timemodified; (2) use mintime and maxtime in get_user() function too

10 years agoCONTRIB-4868 fix duplicate records found warning in courses with meta enrolments
Gordon Bateson [Sun, 9 Feb 2014 06:05:20 +0000 (15:05 +0900)] 
CONTRIB-4868 fix duplicate records found warning in courses with meta enrolments

10 years agoMerge pull request #28 from nadavkav/patch-4
Dan Marsden [Mon, 20 Jan 2014 22:05:41 +0000 (14:05 -0800)] 
Merge pull request #28 from nadavkav/patch-4

Calculate the sum of statuses for all users in each session

10 years agoMerge pull request #27 from nadavkav/patch-3
Dan Marsden [Mon, 20 Jan 2014 22:04:54 +0000 (14:04 -0800)] 
Merge pull request #27 from nadavkav/patch-3

Calculate the sum of statuses for each user