moodle-mod_attendance.git
7 years agoFixes #223 allow student attendance to be disabled at site-level MOODLE_27_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 agoadd travis config for 2.7 branch
Dan Marsden [Wed, 27 Apr 2016 23:59:20 +0000 (11:59 +1200)] 
add travis config for 2.7 branch

8 years agobump version for plugins db release of 2.7 branch
Dan Marsden [Wed, 27 Apr 2016 23:08:04 +0000 (11:08 +1200)] 
bump version for plugins db release of 2.7 branch

8 years agoMerge pull request #179 from NeillM/MOODLE_27_STABLE
Dan Marsden [Tue, 10 Nov 2015 20:18:35 +0000 (09:18 +1300)] 
Merge pull request #179 from NeillM/MOODLE_27_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 #168 from barrysspace/MOODLE_27_STABLE
Dan Marsden [Sun, 4 Oct 2015 02:18:47 +0000 (15:18 +1300)] 
Merge pull request #168 from barrysspace/MOODLE_27_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 #162 from barrysspace/hotfix/issue_159_delete_selected_sessions_M27
Dan Marsden [Thu, 24 Sep 2015 00:31:55 +0000 (12:31 +1200)] 
Merge pull request #162 from barrysspace/hotfix/issue_159_delete_selected_sessions_M27

Fix issue #159 - Delete no selected sessions

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

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 #151 from barrysspace/hotfix/issue_145_hiding_status_M27
Dan Marsden [Thu, 3 Sep 2015 21:11:48 +0000 (09:11 +1200)] 
Merge pull request #151 from barrysspace/hotfix/issue_145_hiding_status_M27

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 agoMerge pull request #138 from barrysspace/MOODLE_27_STABLE
Dan Marsden [Wed, 29 Jul 2015 22:52:13 +0000 (10:52 +1200)] 
Merge pull request #138 from barrysspace/MOODLE_27_STABLE

Backport some debug message fixes into 2.7 branch

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 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 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 agoMerge pull request #135 from barrysspace/MOODLE_27_STABLE
Dan Marsden [Tue, 28 Jul 2015 21:38:31 +0000 (09:38 +1200)] 
Merge pull request #135 from barrysspace/MOODLE_27_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 agoMerge pull request #128 from barrysspace/no_sessions_invalid_day
Dan Marsden [Sun, 26 Jul 2015 21:52:38 +0000 (09:52 +1200)] 
Merge pull request #128 from barrysspace/no_sessions_invalid_day

When Multiple sessions is selected and no valid days of the week are selected show a tidy error

8 years agoMerge pull request #131 from barrysspace/hotfix/issue_129_empty_status_M27
Dan Marsden [Sun, 26 Jul 2015 21:52:01 +0000 (09:52 +1200)] 
Merge pull request #131 from barrysspace/hotfix/issue_129_empty_status_M27

Hotfix/issue 129 empty status m27

8 years agoBehat test to notify error for empty acronym or description
Barry Oosthuizen [Wed, 22 Jul 2015 10:56:32 +0000 (11:56 +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:56:08 +0000 (11:56 +0100)] 
Fix issue#129 - Notify error for empty acronym or description

8 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

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 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 agoMerge pull request #98 from barrysspace/add_session_error_MDL27
Dan Marsden [Fri, 5 Jun 2015 01:13:19 +0000 (13:13 +1200)] 
Merge pull request #98 from barrysspace/add_session_error_MDL27

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

8 years agoMerge pull request #100 from barrysspace/add_record_snapshot_errors_MDL27
Dan Marsden [Fri, 5 Jun 2015 01:12:40 +0000 (13:12 +1200)] 
Merge pull request #100 from barrysspace/add_record_snapshot_errors_MDL27

Fix #75 - Add record snapshot errors mdl27

8 years agoMerge pull request #97 from barrysspace/crud_and_objecttable_params_MDL27
Dan Marsden [Fri, 5 Jun 2015 01:10:48 +0000 (13:10 +1200)] 
Merge pull request #97 from barrysspace/crud_and_objecttable_params_MDL27

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

8 years agoMerge pull request #95 from barrysspace/session_filtering_MDL27
Dan Marsden [Fri, 5 Jun 2015 01:06:42 +0000 (13:06 +1200)] 
Merge pull request #95 from barrysspace/session_filtering_MDL27

Fix #72 (back ported from master)

8 years agoMerge pull request #101 from barrysspace/set_page_url_MDL27
Dan Marsden [Fri, 5 Jun 2015 01:02:06 +0000 (13:02 +1200)] 
Merge pull request #101 from barrysspace/set_page_url_MDL27

Fix #92 Set page URL

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

Fix #91 deprecated behat steps

8 years agoMerge pull request #96 from barrysspace/broken_remarks_headers_MDL27
Dan Marsden [Tue, 2 Jun 2015 01:55:59 +0000 (13:55 +1200)] 
Merge pull request #96 from barrysspace/broken_remarks_headers_MDL27

Fix #71 - Remarks headers in Export is broken

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

8 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

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

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

8 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

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

Conflicts:
locallib.php

8 years agobump version for plugins db release
Dan Marsden [Mon, 4 May 2015 02:26:00 +0000 (14:26 +1200)] 
bump version for plugins db release

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

10 years agoCalculate the sum of statuses for all users in each session
Nadav Kavalerchik [Mon, 20 Jan 2014 17:42:49 +0000 (19:42 +0200)] 
Calculate the sum of statuses for all users in each session

Hi Dan,

Here is another patch the calculates the sum of statuses for all users in each session.

Please review and see if you can accept.

Nadav :-)

10 years agoCalculate the sum of statuses for each user
Nadav Kavalerchik [Mon, 20 Jan 2014 16:51:36 +0000 (18:51 +0200)] 
Calculate the sum of statuses for each user

Hi Dan,

Please review this little patch that sum up the number of each status occurrence for each user, and display it at the bottom of the attendance table.

Nadav :-)

10 years agobump version
Dan Marsden [Mon, 6 Jan 2014 20:28:10 +0000 (09:28 +1300)] 
bump version

10 years agoCONTRIB-4823 - include common attendances correctly when using groups.
Dan Marsden [Mon, 6 Jan 2014 20:10:27 +0000 (09:10 +1300)] 
CONTRIB-4823 - include common attendances correctly when using groups.

10 years agocorrect usage of group check Fixes #26
Dan Marsden [Sun, 5 Jan 2014 19:36:18 +0000 (08:36 +1300)] 
correct usage of group check Fixes #26

10 years agoconvert a couple of get_records to recordset - memory usage in attendance is nasty.
Dan Marsden [Thu, 19 Dec 2013 20:02:38 +0000 (09:02 +1300)] 
convert a couple of get_records to recordset - memory usage in attendance is nasty.

10 years agoCheck groupmode correctly.
Dan Marsden [Thu, 19 Dec 2013 19:55:35 +0000 (08:55 +1300)] 
Check groupmode correctly.

10 years agomake correct check for group mode
Dan Marsden [Wed, 18 Dec 2013 20:37:33 +0000 (09:37 +1300)] 
make correct check for group mode

10 years agobump version due to group changes.
Dan Marsden [Wed, 18 Dec 2013 20:18:08 +0000 (09:18 +1300)] 
bump version due to group changes.

10 years agoAttendance - only show groups in reports that user is a member of.
Dan Marsden [Sun, 15 Dec 2013 23:35:24 +0000 (12:35 +1300)] 
Attendance - only show groups in reports that user is a member of.

10 years agoadd field to export that lists groups that a user is a member of.
Dan Marsden [Mon, 9 Dec 2013 08:55:25 +0000 (21:55 +1300)] 
add field to export that lists groups that a user is a member of.

10 years agoCheck group membership if using groups when displaying/exporting reports.
Dan Marsden [Mon, 9 Dec 2013 08:27:04 +0000 (21:27 +1300)] 
Check group membership if using groups when displaying/exporting reports.

10 years agoadd missing string from remarks patch
Dan Marsden [Mon, 9 Dec 2013 08:26:47 +0000 (21:26 +1300)] 
add missing string from remarks patch

10 years agofix context call and debug messages from remarks code
Dan Marsden [Mon, 9 Dec 2013 07:23:43 +0000 (20:23 +1300)] 
fix context call and debug messages from remarks code

10 years agoMerge pull request #23 from cedict/master
Dan Marsden [Fri, 6 Dec 2013 08:59:20 +0000 (00:59 -0800)] 
Merge pull request #23 from cedict/master

Export remarks and fix set_url error

10 years agoExport remarks
cedict [Fri, 6 Dec 2013 02:51:16 +0000 (13:21 +1030)] 
Export remarks

Fixed error when remarks are not being exported

10 years agoFix errors when using Activities block
Gregory Faller [Fri, 6 Dec 2013 02:39:54 +0000 (13:09 +1030)] 
Fix errors when using Activities block

Current module throws an error when using the Activities block as
set_url is not set. Fixing this throws a seperate error around
array_pop. Put this on a separate line.

10 years agoOption to export remarks
Gregory Faller [Fri, 6 Dec 2013 02:38:38 +0000 (13:08 +1030)] 
Option to export remarks

10 years agoAdd user's remarks to report
Nadav Kavalerchik [Sun, 1 Dec 2013 22:05:07 +0000 (00:05 +0200)] 
Add user's remarks to report