moodle-mod_attendance.git
9 years agoonly test correct branches
Dan Marsden [Wed, 18 Nov 2015 01:38:28 +0000 (14:38 +1300)] 
only test correct branches

9 years agoAdd Travis support
Dan Marsden [Wed, 18 Nov 2015 00:16:58 +0000 (13:16 +1300)] 
Add Travis support

9 years agoMerge pull request #177 from antonio-c-mariani/session_date_prior_course_start_date2
Dan Marsden [Tue, 17 Nov 2015 08:02:33 +0000 (21:02 +1300)] 
Merge pull request #177 from antonio-c-mariani/session_date_prior_course_start_date2

Fix issue #165 - Alert if session date is prior to the course start date

9 years agoMerge pull request #171 from antonio-c-mariani/redirecting_after_add
Dan Marsden [Tue, 17 Nov 2015 07:53:17 +0000 (20:53 +1300)] 
Merge pull request #171 from antonio-c-mariani/redirecting_after_add

Redirection to sessions list after add

9 years agoMerge pull request #181 from NeillM/master
Dan Marsden [Tue, 10 Nov 2015 20:18:12 +0000 (09:18 +1300)] 
Merge pull request #181 from NeillM/master

Expired enrolments can prevent student self-attendance

9 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

9 years agoRedirection to sessions list after add
antonio.c.mariani [Sat, 7 Nov 2015 22:59:02 +0000 (20:59 -0200)] 
Redirection to sessions list after add

9 years agoAlert if session date is prior to the course start date
antonio.c.mariani [Sat, 7 Nov 2015 21:35:11 +0000 (19:35 -0200)] 
Alert if session date is prior to the course start date

9 years agoimprove error string shown when multiple sessions span more than 1 year.
Dan Marsden [Wed, 4 Nov 2015 00:07:03 +0000 (13:07 +1300)] 
improve error string shown when multiple sessions span more than 1 year.

9 years agoEnd date must not exceed one year ahead of the session date
antonio.c.mariani [Tue, 20 Oct 2015 19:00:01 +0000 (17:00 -0200)] 
End date must not exceed one year ahead of the session date

9 years agoMerge pull request #174 from cedict/master
Dan Marsden [Tue, 3 Nov 2015 23:47:13 +0000 (12:47 +1300)] 
Merge pull request #174 from cedict/master

Added support for scales

9 years agoAdded support for scales
System Administrator [Mon, 2 Nov 2015 03:35:15 +0000 (14:05 +1030)] 
Added support for scales

9 years agobump version for plugins db release
Dan Marsden [Tue, 27 Oct 2015 22:05:01 +0000 (11:05 +1300)] 
bump version for plugins db release

9 years agoMerge pull request #169 from barrysspace/master
Dan Marsden [Sun, 4 Oct 2015 02:18:10 +0000 (15:18 +1300)] 
Merge pull request #169 from barrysspace/master

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

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

9 years agoMerge pull request #160 from barrysspace/hotfix/issue_159_delete_selected_sessions
Dan Marsden [Thu, 24 Sep 2015 00:31:41 +0000 (12:31 +1200)] 
Merge pull request #160 from barrysspace/hotfix/issue_159_delete_selected_sessions

Fix issue #159 - Delete no selected sessions

9 years agoMerge pull request #157 from barrysspace/hotfix/issue_155_hiding_status_removes_it_master
Dan Marsden [Thu, 24 Sep 2015 00:29:56 +0000 (12:29 +1200)] 
Merge pull request #157 from barrysspace/hotfix/issue_155_hiding_status_removes_it_master

Fix #155: Hiding statuses removes them from Settings

9 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

9 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

9 years agoBump version to coincide with new version of attendance block
Dan Marsden [Mon, 21 Sep 2015 07:20:05 +0000 (19:20 +1200)] 
Bump version to coincide with new version of attendance block

9 years agoMerge pull request #152 from Syxton/fix_issue_118
Dan Marsden [Mon, 14 Sep 2015 00:50:38 +0000 (12:50 +1200)] 
Merge pull request #152 from Syxton/fix_issue_118

Returns all users and their lowest status in a course.

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

9 years agoMerge pull request #150 from barrysspace/hotfix/issue_145_hiding_status_master
Dan Marsden [Thu, 3 Sep 2015 21:11:33 +0000 (09:11 +1200)] 
Merge pull request #150 from barrysspace/hotfix/issue_145_hiding_status_master

Fix #145 - hiding variable status items no longer working

9 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

9 years agoFixes #148 correct group check
Dan Marsden [Thu, 3 Sep 2015 08:34:36 +0000 (20:34 +1200)] 
Fixes #148 correct group check

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

9 years agoFixes #144 - check sesskey when performing actions.
Dan Marsden [Mon, 24 Aug 2015 09:35:44 +0000 (21:35 +1200)] 
Fixes #144 - check sesskey when performing actions.

9 years agoremove deprecated calls to PARAM_MULTILANG
Dan Marsden [Mon, 24 Aug 2015 09:11:35 +0000 (21:11 +1200)] 
remove deprecated calls to PARAM_MULTILANG

9 years agoFixes #117 add classes for status in report
Dan Marsden [Mon, 24 Aug 2015 09:08:23 +0000 (21:08 +1200)] 
Fixes #117 add classes for status in report
also add some default css for PLEA status set.

9 years agoFixes #143 Include action to delete all hidden sections
Antonio Carlos Mariani [Sun, 23 Aug 2015 03:23:48 +0000 (00:23 -0300)] 
Fixes #143 Include action to delete all hidden sections

9 years agoFixes #141 fatal error caused by new groups tidy
Dan Marsden [Thu, 20 Aug 2015 23:17:20 +0000 (11:17 +1200)] 
Fixes #141 fatal error caused by new groups tidy

9 years agoobtain context and re-use to make for cleaner code.
Dan Marsden [Thu, 13 Aug 2015 11:00:49 +0000 (23:00 +1200)] 
obtain context and re-use to make for cleaner code.

9 years agorewrite groupcheck and remove permissions class
Dan Marsden [Thu, 13 Aug 2015 10:57:07 +0000 (22:57 +1200)] 
rewrite groupcheck and remove permissions class

9 years agoMore improvements to prevent the hiding of permission checks
Dan Marsden [Thu, 13 Aug 2015 10:30:51 +0000 (22:30 +1200)] 
More improvements to prevent the hiding of permission checks

9 years agoMore specific use of module context instead of global $PAGE use.
Dan Marsden [Thu, 13 Aug 2015 10:22:43 +0000 (22:22 +1200)] 
More specific use of module context instead of global $PAGE use.

9 years agoDon't hide capability checks on manage.php
Dan Marsden [Thu, 13 Aug 2015 10:04:14 +0000 (22:04 +1200)] 
Don't hide capability checks on manage.php

9 years agofunction can_be_listed not used anywhere
Dan Marsden [Thu, 13 Aug 2015 09:54:37 +0000 (21:54 +1200)] 
function can_be_listed not used anywhere

9 years agocan_view_reports() can_view() not used anywhere anymore - kill them!
Dan Marsden [Thu, 13 Aug 2015 09:48:54 +0000 (21:48 +1200)] 
can_view_reports() can_view() not used anywhere anymore - kill them!

9 years agoDon't hide capability checks.
Dan Marsden [Thu, 13 Aug 2015 09:40:52 +0000 (21:40 +1200)] 
Don't hide capability checks.

9 years agoDon't hide view capability in a function.
Dan Marsden [Thu, 13 Aug 2015 09:35:21 +0000 (21:35 +1200)] 
Don't hide view capability in a function.

9 years agofix typo from previous commit.
Dan Marsden [Thu, 13 Aug 2015 07:31:10 +0000 (19:31 +1200)] 
fix typo from previous commit.

9 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

9 years agoFixes #110 use format string when printing course name.
Dan Marsden [Wed, 29 Jul 2015 22:37:45 +0000 (10:37 +1200)] 
Fixes #110 use format string when printing course name.

all other uses of att-name and course->fullname use functions
that perform format_string() already.

9 years agoMerge pull request #137 from barrysspace/master
Dan Marsden [Tue, 28 Jul 2015 21:38:18 +0000 (09:38 +1200)] 
Merge pull request #137 from barrysspace/master

Fix issue#134 - Add 'checkweekdays' language string

9 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

9 years agoMerge pull request #130 from ptramonti/patch-1
Dan Marsden [Sun, 26 Jul 2015 22:07:13 +0000 (10:07 +1200)] 
Merge pull request #130 from ptramonti/patch-1

Adding gradepass feature using standard functions

9 years agoMerge pull request #126 from NeillM/124
Dan Marsden [Sun, 26 Jul 2015 21:57:25 +0000 (09:57 +1200)] 
Merge pull request #126 from NeillM/124

The code for Moodle 2.9 should not allow installation on Moodle 2.7 o…

9 years agoMerge pull request #133 from barrysspace/hotfix/issue_129_empty_status
Dan Marsden [Sun, 26 Jul 2015 21:51:14 +0000 (09:51 +1200)] 
Merge pull request #133 from barrysspace/hotfix/issue_129_empty_status

Hotfix/issue 129 empty status

9 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

9 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

9 years agoAdding gradepass feature using standard functions
Paolo Tramonti [Tue, 21 Jul 2015 15:21:53 +0000 (17:21 +0200)] 
Adding gradepass feature using standard functions

Using the Moodle core standard_grading_coursemodule_elements() function to show the grade section in the attendance module settings.
Starting from version 2.9.x this includes the gradepass feature, that permits to show, in gradebook report, the percentage of attendance in green if the grade is greater/equal than the gradepass value, otherwise is shown in red.

9 years agoThe code for Moodle 2.9 should not allow installation on Moodle 2.7 or 2.8
Neill Magill [Fri, 17 Jul 2015 08:16:06 +0000 (09:16 +0100)] 
The code for Moodle 2.9 should not allow installation on Moodle 2.7 or 2.8

9 years agoFix backup & restore errors with temporary users
Davo Smith [Mon, 13 Jul 2015 10:51:47 +0000 (11:51 +0100)] 
Fix backup & restore errors with temporary users

10 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

10 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

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

10 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

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

10 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

10 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

10 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

10 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

10 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

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

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

10 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

10 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

10 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

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

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

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

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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

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

10 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

10 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

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

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

10 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

10 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

10 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

10 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

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

10 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

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

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

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

10 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

10 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

10 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

10 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