moodle-mod_attendance.git
8 years agoBump version number to a recent date for master code
Dan Marsden [Tue, 30 Jun 2015 10:19:12 +0000 (22:19 +1200)] 
Bump version number to a recent date for master code
and tag release number

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

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

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

9 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

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

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

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

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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 years agoMerge pull request #22 from nadavkav/master
Dan Marsden [Sun, 1 Dec 2013 23:57:59 +0000 (15:57 -0800)] 
Merge pull request #22 from nadavkav/master

Add user's remarks to report - part 2

10 years agoMerge pull request #20 from ppv1979/master
Dan Marsden [Sun, 1 Dec 2013 23:56:48 +0000 (15:56 -0800)] 
Merge pull request #20 from ppv1979/master

Changed deprecated get_context_instance()

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