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

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

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

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

11 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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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 :-)

11 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 :-)

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

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

11 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

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

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

11 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

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

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

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

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

11 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

11 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

11 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

11 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

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

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

11 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

11 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

11 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()

11 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

11 years agoMerge remote-tracking branch 'upstream/master'
Pavel Pisklakov [Sun, 1 Dec 2013 02:41:23 +0000 (08:41 +0600)] 
Merge remote-tracking branch 'upstream/master'

Upgrade fork from original.

11 years agoAdded Russian translation to AMOS
Pavel Pisklakov [Sat, 30 Nov 2013 04:16:39 +0000 (10:16 +0600)] 
Added Russian translation to AMOS

11 years agoChanged deprecated get_context_instance to context_module::instance
Pavel Pisklakov [Fri, 29 Nov 2013 20:32:49 +0000 (02:32 +0600)] 
Changed deprecated get_context_instance to context_module::instance

11 years agobump version to release to plugins db
Dan Marsden [Fri, 29 Nov 2013 01:59:30 +0000 (14:59 +1300)] 
bump version to release to plugins db

11 years agoCONTRIB-4754 Added upgrade step to account for name change from
Tim Gus [Thu, 28 Nov 2013 21:27:20 +0000 (16:27 -0500)] 
CONTRIB-4754 Added upgrade step to account for name change from
"attforblock" to "attendance":
- updated itemmodule field in the grade tables
- updated role_capabilities table to preserve old capabilities
- deleted old data from capabilities and role_capabilities tables

11 years agouse cross-db update of capabilities
Dan Marsden [Fri, 29 Nov 2013 01:50:55 +0000 (14:50 +1300)] 
use cross-db update of capabilities

11 years agoadd missing grade_items_history upgrade step
Dan Marsden [Fri, 29 Nov 2013 01:43:47 +0000 (14:43 +1300)] 
add missing grade_items_history upgrade step

11 years agoAdded Russian Translation
Pavel Pisklakov [Mon, 11 Nov 2013 15:15:34 +0000 (21:15 +0600)] 
Added Russian Translation

Added translation of module into Russian language

11 years agoMerge pull request #17 from cedict/master
Dan Marsden [Thu, 7 Nov 2013 01:23:59 +0000 (17:23 -0800)] 
Merge pull request #17 from cedict/master

Fix missing language strings and enable groupings

11 years agoFix missing language strings and enable groupings
Gregory Faller [Thu, 7 Nov 2013 00:17:00 +0000 (10:47 +1030)] 
Fix missing language strings and enable groupings

Fix missing language strings and enable groupings and
enablegroupmembersonly. Most places already support groupings.

11 years agoMerge pull request #16 from tlock/master
Dan Marsden [Sun, 3 Nov 2013 20:17:55 +0000 (12:17 -0800)] 
Merge pull request #16 from tlock/master

Show Common groups always

11 years agoShow Common groups always
Tim Lock [Fri, 1 Nov 2013 04:54:03 +0000 (15:24 +1030)] 
Show Common groups always

11 years agoMerge pull request #15 from tlock/master
Dan Marsden [Mon, 28 Oct 2013 23:37:43 +0000 (16:37 -0700)] 
Merge pull request #15 from tlock/master

Fix capability upgrade issues for Attendance

11 years agoFix capability upgrade issues for Attendance
Tim Lock [Sun, 27 Oct 2013 23:09:59 +0000 (09:39 +1030)] 
Fix capability upgrade issues for Attendance

11 years agoMerge pull request #13 from tlock/master
Dan Marsden [Wed, 2 Oct 2013 09:55:09 +0000 (02:55 -0700)] 
Merge pull request #13 from tlock/master

On upgrade, update grade items to 'attendance'

11 years agoOn upgrade, update grade items to 'attendance'
Tim Lock [Wed, 2 Oct 2013 03:00:48 +0000 (12:30 +0930)] 
On upgrade, update grade items to 'attendance'

11 years agoMerge pull request #12 from tlock/master
Dan Marsden [Wed, 18 Sep 2013 23:33:01 +0000 (16:33 -0700)] 
Merge pull request #12 from tlock/master

Fixed validation rule for multiple sessions that end date must be after ...

11 years agoFixed validation rule for multiple sessions that end date must be after start date
Tim Lock [Wed, 18 Sep 2013 22:09:13 +0000 (07:39 +0930)] 
Fixed validation rule for multiple sessions that end date must be after start date

11 years agoMerge pull request #11 from NeillM/fix_MSSQL_issue
Dan Marsden [Wed, 18 Sep 2013 21:16:40 +0000 (14:16 -0700)] 
Merge pull request #11 from NeillM/fix_MSSQL_issue

Fix mssql issue

11 years agoDuplicate fix that will work on MSSQL
NeillM [Mon, 16 Sep 2013 08:51:34 +0000 (09:51 +0100)] 
Duplicate fix that will work on MSSQL

11 years agoRevert "Fix for sessions with taken attendance show twice in student report."
NeillM [Mon, 16 Sep 2013 08:25:50 +0000 (09:25 +0100)] 
Revert "Fix for sessions with taken attendance show twice in student report."

This reverts commit 5bddb944c0b912ef3f0bc74ff3d99dfae3be1300.

11 years agoMerge pull request #10 from tlock/master
Dan Marsden [Thu, 12 Sep 2013 07:16:49 +0000 (00:16 -0700)] 
Merge pull request #10 from tlock/master

Our improvements

11 years agoAdd validation rule so session end date must be after session start date
Tim Lock [Thu, 12 Sep 2013 04:09:13 +0000 (13:39 +0930)] 
Add validation rule so session end date must be after session start date

11 years agoAdd validation rule for session days if they are empty when creating multiple sessions
Tim Lock [Thu, 12 Sep 2013 04:08:27 +0000 (13:38 +0930)] 
Add validation rule for session days if they are empty when creating multiple sessions

11 years agoAdded paging to reporting and taking attendance configable via module setting.
Tim Lock [Thu, 12 Sep 2013 04:03:54 +0000 (13:33 +0930)] 
Added paging to reporting and taking attendance configable via module setting.

11 years agoversion bump for security release
Dan Marsden [Sun, 1 Sep 2013 21:38:10 +0000 (09:38 +1200)] 
version bump for security release

11 years agoMerge pull request #8 from NeillM/view-security-fix
Dan Marsden [Sat, 31 Aug 2013 01:08:56 +0000 (18:08 -0700)] 
Merge pull request #8 from NeillM/view-security-fix

Security fix for unprivileged access to attendance records

11 years agochanged to use require
NeillM [Fri, 30 Aug 2013 09:00:14 +0000 (10:00 +0100)] 
changed to use require

11 years agoSecurity fix changed to use mod/attendance:viewreports capability.
NeillM [Fri, 30 Aug 2013 08:31:04 +0000 (09:31 +0100)] 
Security fix changed to use mod/attendance:viewreports capability.

Refactored the code.

11 years agoSecurity fix to stop students being able to see the attendance records of other students.
Neill Magill [Thu, 29 Aug 2013 13:09:16 +0000 (14:09 +0100)] 
Security fix to stop students being able to see the attendance records of other students.

11 years agouse correct requires version
Dan Marsden [Thu, 29 Aug 2013 01:15:31 +0000 (13:15 +1200)] 
use correct requires version

11 years agobump version
Dan Marsden [Thu, 29 Aug 2013 01:10:20 +0000 (13:10 +1200)] 
bump version

11 years agoAdd activity chooser help
Dan Marsden [Thu, 29 Aug 2013 00:51:17 +0000 (12:51 +1200)] 
Add activity chooser help

11 years agofix another typo
Dan Marsden [Wed, 21 Aug 2013 22:05:25 +0000 (10:05 +1200)] 
fix another typo

11 years agofix typo
Dan Marsden [Tue, 20 Aug 2013 20:54:56 +0000 (08:54 +1200)] 
fix typo

11 years agoMerge pull request #7 from NeillM/duplicate_fix
Dan Marsden [Mon, 19 Aug 2013 00:45:09 +0000 (17:45 -0700)] 
Merge pull request #7 from NeillM/duplicate_fix

Fix for sessions with taken attendance show twice in student report.

11 years agoFix for sessions with taken attendance show twice in student report.
NeillM [Fri, 16 Aug 2013 10:22:55 +0000 (11:22 +0100)] 
Fix for sessions with taken attendance show twice in student report.

The two queries have been refactored into a single query using UNION

11 years agoMerge pull request #5 from nadavkav/patch-1
Dan Marsden [Sun, 11 Aug 2013 23:52:21 +0000 (16:52 -0700)] 
Merge pull request #5 from nadavkav/patch-1

Enable support for a full year of 36 reacquiring weekly sessions

11 years agoEnable support for a full year of 36 reacquiring weekly sessions
Nadav Kavalerchik [Sat, 10 Aug 2013 19:08:21 +0000 (22:08 +0300)] 
Enable support for a full year of 36 reacquiring weekly sessions

Hi Dan,

Teachers asked my to extend the available reacquiring weekly sessions in the form. Hope it is agreeable by you.

It now support a full year (two academic semesters) of 36 weeks.

What do you think?

11 years agoprevent duplication of template values
Dan Marsden [Tue, 6 Aug 2013 22:37:21 +0000 (10:37 +1200)] 
prevent duplication of template values

11 years agoclear course cache during upgrade
Dan Marsden [Tue, 6 Aug 2013 20:49:17 +0000 (08:49 +1200)] 
clear course cache during upgrade

11 years agolower number of entries used in log - to bring under 255 including utf8
Dan Marsden [Fri, 19 Jul 2013 02:57:50 +0000 (14:57 +1200)] 
lower number of entries used in log - to bring under 255 including utf8

11 years agoPrevent too much info in add_to_log - enter first 10 and last session into log
Dan Marsden [Mon, 15 Jul 2013 03:14:02 +0000 (15:14 +1200)] 
Prevent too much info in add_to_log - enter first 10 and last session into log

11 years agocheck var exists before using
Dan Marsden [Mon, 15 Jul 2013 02:45:33 +0000 (14:45 +1200)] 
check var exists before using

11 years agoremove abstracted add_to_log function
Dan Marsden [Mon, 15 Jul 2013 02:42:13 +0000 (14:42 +1200)] 
remove abstracted add_to_log function

11 years agoslightly better check - there's probably a cfg var I could check here instead of...
Dan Marsden [Fri, 12 Jul 2013 01:04:44 +0000 (11:04 +1000)] 
slightly better check - there's probably a cfg var I could check here instead of using try/catch

11 years agoPrevent fatal error on fresh install
Dan Marsden [Fri, 12 Jul 2013 00:45:07 +0000 (10:45 +1000)] 
Prevent fatal error on fresh install

12 years agobump version number for backup fix.
Dan Marsden [Tue, 9 Jul 2013 21:09:47 +0000 (09:09 +1200)] 
bump version number for backup fix.

12 years agoFix issue with backups - old removed file
Dan Marsden [Tue, 9 Jul 2013 21:08:56 +0000 (09:08 +1200)] 
Fix issue with backups - old removed file

12 years agoCONTRIB-3992 fix padding between mon-sun checkboxes on add session form
Dan Marsden [Tue, 9 Jul 2013 02:15:04 +0000 (14:15 +1200)] 
CONTRIB-3992 fix padding between mon-sun checkboxes on add session form

12 years agoFix previous version check - whoops.
Dan Marsden [Mon, 8 Jul 2013 20:46:58 +0000 (08:46 +1200)] 
Fix previous version check - whoops.

12 years agobump version - new version of install.xml and relaxed restrictions on previous upgrad...
Dan Marsden [Sun, 7 Jul 2013 23:41:13 +0000 (11:41 +1200)] 
bump version - new version of install.xml and relaxed restrictions on previous upgrade version

12 years agorelax upgrade restriction and allow any version higher than 2011061800
Dan Marsden [Sun, 7 Jul 2013 23:37:10 +0000 (11:37 +1200)] 
relax upgrade restriction and allow any version higher than 2011061800

12 years agoupdate xml based on new guidelines - using xmldb editor
Dan Marsden [Fri, 5 Jul 2013 00:00:23 +0000 (12:00 +1200)] 
update xml based on new guidelines - using xmldb editor

12 years agoMore coding guideline stuff - phpdocs.
Dan Marsden [Thu, 4 Jul 2013 01:53:18 +0000 (13:53 +1200)] 
More coding guideline stuff - phpdocs.

12 years agofix some setType warnings
Dan Marsden [Thu, 4 Jul 2013 01:16:40 +0000 (13:16 +1200)] 
fix some setType warnings

12 years agoadd sesskey check for taking attendance and do some cleaning on raw form vars
Dan Marsden [Thu, 4 Jul 2013 00:50:58 +0000 (12:50 +1200)] 
add sesskey check for taking attendance and do some cleaning on raw form vars

12 years agoonly check upgrade if config.php has been included before loading this file.
Dan Marsden [Thu, 4 Jul 2013 00:37:20 +0000 (12:37 +1200)] 
only check upgrade if config.php has been included before loading this file.

12 years agoremove some evil data_submitted calls and check sesskey on actions
Dan Marsden [Thu, 4 Jul 2013 00:13:08 +0000 (12:13 +1200)] 
remove some evil data_submitted calls and check sesskey on actions

12 years agoCONTRIB-4246: allow quick editing of module name
Dan Marsden [Wed, 3 Jul 2013 23:43:08 +0000 (11:43 +1200)] 
CONTRIB-4246: allow quick editing of module name