moodle-mod_attendance.git
8 years agoFixes #215 pull through sessoin information on overview report.
Dan Marsden [Thu, 25 Aug 2016 02:24:20 +0000 (14:24 +1200)] 
Fixes #215 pull through sessoin information on overview report.

8 years agoFixes #214 use correct prefix on attendance functions to avoid clashing with other...
Dan Marsden [Wed, 24 Aug 2016 08:33:34 +0000 (20:33 +1200)] 
Fixes #214 use correct prefix on attendance functions to avoid clashing with other code.

8 years agoremove deprecated calls to update button
Dan Marsden [Sun, 14 Aug 2016 21:21:39 +0000 (09:21 +1200)] 
remove deprecated calls to update button

8 years agoremove deprecated call to update button
Dan Marsden [Sat, 13 Aug 2016 02:02:19 +0000 (14:02 +1200)] 
remove deprecated call to update button

8 years agoremove deprecated call to update button
Dan Marsden [Sat, 13 Aug 2016 02:01:27 +0000 (14:01 +1200)] 
remove deprecated call to update button

8 years agoremove deprecated call to update button
Dan Marsden [Sat, 13 Aug 2016 00:26:05 +0000 (12:26 +1200)] 
remove deprecated call to update button

8 years agoMerge pull request #212 from Disss/master
Dan Marsden [Fri, 12 Aug 2016 10:21:07 +0000 (22:21 +1200)] 
Merge pull request #212 from Disss/master

Adding calendar events creating, updating and deleting

8 years agoAdding calendar events creating, updating and deleting.
Diss [Wed, 20 Jul 2016 09:22:47 +0000 (12:22 +0300)] 
Adding calendar events creating, updating and deleting.

8 years agoMerge pull request #211 from antonio-c-mariani/users_sort_order
Dan Marsden [Tue, 12 Jul 2016 20:35:09 +0000 (08:35 +1200)] 
Merge pull request #211 from antonio-c-mariani/users_sort_order

Changing default users sort order to users_order_by_sql moodle function

8 years agoChanging default users sort order to users_order_by_sql moodle function
Antonio Carlos Mariani [Thu, 7 Jul 2016 14:20:30 +0000 (11:20 -0300)] 
Changing default users sort order to users_order_by_sql moodle function

8 years agoFixes #209
Dan Marsden [Thu, 7 Jul 2016 00:14:21 +0000 (12:14 +1200)] 
Fixes #209
use correct url to redirect to view, fix some missing object warnings.

8 years agoDon't show attendance if no records found for the user.
Dan Marsden [Tue, 5 Jul 2016 22:20:07 +0000 (10:20 +1200)] 
Don't show attendance if no records found for the user.
Fixes #209

8 years agoBump required version
Dan Marsden [Fri, 1 Jul 2016 02:01:50 +0000 (14:01 +1200)] 
Bump required version
This branch now requires 3.1 as it now supports global search.

8 years agoMake sure php 7 tests pass on 3.1/master branch
Dan Marsden [Fri, 1 Jul 2016 01:57:10 +0000 (13:57 +1200)] 
Make sure php 7 tests pass on 3.1/master branch

8 years agoupdate travis check with correct branches
Dan Marsden [Fri, 1 Jul 2016 01:52:10 +0000 (13:52 +1200)] 
update travis check with correct branches

8 years agoAdd Search API to base attendance record.
Dan Marsden [Fri, 1 Jul 2016 01:38:30 +0000 (13:38 +1200)] 
Add Search API to base attendance record.

8 years agofix behat lang strings, taked -> taken
Dan Marsden [Mon, 6 Jun 2016 23:39:34 +0000 (11:39 +1200)] 
fix behat lang strings, taked -> taken

8 years agobump version for plugins db release
Dan Marsden [Mon, 6 Jun 2016 21:36:36 +0000 (09:36 +1200)] 
bump version for plugins db release

8 years agofix lang strings, taked -> taken
Dan Marsden [Mon, 6 Jun 2016 21:35:42 +0000 (09:35 +1200)] 
fix lang strings, taked -> taken

8 years agoMerge pull request #205 from caiodoneda/att_webservices
Dan Marsden [Sun, 22 May 2016 21:24:56 +0000 (09:24 +1200)] 
Merge pull request #205 from caiodoneda/att_webservices

implementing web services support.

8 years agoimplementing web service support
caiobdoneda [Sun, 22 May 2016 18:22:48 +0000 (14:22 -0400)] 
implementing web service support

8 years agoBump version for 3.1 plugins db release
Dan Marsden [Fri, 20 May 2016 02:15:24 +0000 (14:15 +1200)] 
Bump version for 3.1 plugins db release

8 years agoMerge pull request #201 from antonio-c-mariani/fix_reports
Dan Marsden [Tue, 10 May 2016 21:10:45 +0000 (09:10 +1200)] 
Merge pull request #201 from antonio-c-mariani/fix_reports

Addresses the #188, #127, #163, #38 and #66 issues

8 years agoReplacing include_once by require_once in classes/summary.php
Antonio Carlos Mariani [Tue, 10 May 2016 19:48:10 +0000 (16:48 -0300)] 
Replacing include_once by require_once in classes/summary.php

8 years agoAdding function get_user_taken_sessions_percentages to summary class
Antonio Carlos Mariani [Tue, 10 May 2016 17:47:17 +0000 (14:47 -0300)] 
Adding function get_user_taken_sessions_percentages to summary class

8 years agoSimplifying quey in compute_users_points function
Antonio Carlos Mariani [Tue, 10 May 2016 17:46:27 +0000 (14:46 -0300)] 
Simplifying quey in compute_users_points function

8 years agoReplacing attendance_format_float by format_float
Antonio Carlos Mariani [Tue, 10 May 2016 17:32:27 +0000 (14:32 -0300)] 
Replacing attendance_format_float by format_float

8 years agoAdd master branch to travis tests
Dan Marsden [Mon, 9 May 2016 02:39:26 +0000 (14:39 +1200)] 
Add master branch to travis tests

8 years agoSome coding guideline fix
Antonio Carlos Mariani [Thu, 5 May 2016 20:37:26 +0000 (17:37 -0300)] 
Some coding guideline fix

8 years agoSome behat tests for reports
Antonio Carlos Mariani [Wed, 4 May 2016 19:46:39 +0000 (16:46 -0300)] 
Some behat tests for reports

8 years agoAdd pair (points/maxpoints) after the acronym in the reports
Antonio Carlos Mariani [Tue, 3 May 2016 19:28:28 +0000 (16:28 -0300)] 
Add pair (points/maxpoints) after the acronym in the reports

8 years agoAdd summary report (#66)
Antonio Carlos Mariani [Tue, 3 May 2016 19:18:13 +0000 (16:18 -0300)] 
Add summary report (#66)

8 years agoRemoving functions that are no longer used
Antonio Carlos Mariani [Tue, 3 May 2016 17:57:26 +0000 (14:57 -0300)] 
Removing functions that are no longer used

8 years agoFix export report
Antonio Carlos Mariani [Tue, 3 May 2016 15:04:48 +0000 (12:04 -0300)] 
Fix export report

8 years agoAdjusts student reports
Antonio Carlos Mariani [Tue, 3 May 2016 14:02:29 +0000 (11:02 -0300)] 
Adjusts student reports

8 years agoFix #188 and report part of #127, and implements #163 and #38
Antonio Carlos Mariani [Tue, 3 May 2016 13:04:49 +0000 (10:04 -0300)] 
Fix #188 and report part of #127, and implements #163 and #38

8 years agoConcentrate grades update method in one place
Antonio Carlos Mariani [Mon, 2 May 2016 21:06:28 +0000 (18:06 -0300)] 
Concentrate grades update method in one place

8 years agobump version for plugins db release
Dan Marsden [Mon, 4 Apr 2016 07:40:33 +0000 (19:40 +1200)] 
bump version for plugins db release

8 years agoCheck group data exists before using group name.
Dan Marsden [Mon, 4 Apr 2016 07:05:53 +0000 (19:05 +1200)] 
Check group data exists before using group name.

8 years agoTidy up messages when a group associated with a group session has been deleted.
Dan Marsden [Mon, 4 Apr 2016 03:42:14 +0000 (15:42 +1200)] 
Tidy up messages when a group associated with a group session has been deleted.

8 years agoCoding guideline fix
Dan Marsden [Wed, 16 Mar 2016 09:18:26 +0000 (22:18 +1300)] 
Coding guideline fix

8 years agoFixes #176 Generate correct timestamp including DST changes.
Dan Marsden [Wed, 16 Mar 2016 09:17:01 +0000 (22:17 +1300)] 
Fixes #176 Generate correct timestamp including DST changes.

8 years agoFixes #108 add no-overflow div to take attendance page
Dan Marsden [Wed, 16 Mar 2016 07:22:47 +0000 (20:22 +1300)] 
Fixes #108 add no-overflow div to take attendance page

copies the same handling as assignment grading table.

8 years agoFixes #51 Support for scales
Dan Marsden [Wed, 16 Mar 2016 06:52:11 +0000 (19:52 +1300)] 
Fixes #51 Support for scales

Thanks to Greg (cedict) for the original patch.

8 years agoMove local function into locallib.php
Dan Marsden [Wed, 16 Mar 2016 02:34:07 +0000 (15:34 +1300)] 
Move local function into locallib.php

8 years agoRemove old function that is never called.
Dan Marsden [Wed, 16 Mar 2016 02:30:13 +0000 (15:30 +1300)] 
Remove old function that is never called.

8 years agoFix some phpdocs
Dan Marsden [Wed, 16 Mar 2016 02:29:21 +0000 (15:29 +1300)] 
Fix some phpdocs

8 years agoUse correct prefix on function names.
Dan Marsden [Wed, 16 Mar 2016 02:21:50 +0000 (15:21 +1300)] 
Use correct prefix on function names.

8 years agoConvert locallib.php classes into proper auto-loading classes
Dan Marsden [Wed, 16 Mar 2016 02:06:01 +0000 (15:06 +1300)] 
Convert locallib.php classes into proper auto-loading classes

8 years agoMove attendance class into proper class
Dan Marsden [Wed, 16 Mar 2016 01:12:47 +0000 (14:12 +1300)] 
Move attendance class into proper class

also adjust attendance grading function to pass full attendance class
to minimse db calls.

8 years agoBump version in preparation for plugins db release
Dan Marsden [Tue, 15 Mar 2016 01:00:12 +0000 (14:00 +1300)] 
Bump version in preparation for plugins db release

8 years agoFix typo in filename
Dan Marsden [Mon, 14 Mar 2016 23:42:08 +0000 (12:42 +1300)] 
Fix typo in filename

8 years agoTidy up a bit.
Dan Marsden [Mon, 14 Mar 2016 23:19:47 +0000 (12:19 +1300)] 
Tidy up a bit.

remove old att_log_convert_url functoin
use record_exists instead of weird count
add some phpdocs
rename some att functions to correct prefix

8 years agomove date_selector into function to prevent copypaste detector error
Dan Marsden [Mon, 14 Mar 2016 23:09:15 +0000 (12:09 +1300)] 
move date_selector into function to prevent copypaste detector error

8 years agoupdate travis config
Dan Marsden [Mon, 14 Mar 2016 23:01:12 +0000 (12:01 +1300)] 
update travis config

8 years agoFix behat tests
Dan Marsden [Mon, 14 Mar 2016 22:38:40 +0000 (11:38 +1300)] 
Fix behat tests

8 years agoBehat fixes
Dan Marsden [Mon, 14 Mar 2016 22:19:35 +0000 (11:19 +1300)] 
Behat fixes

8 years agoCoding guideline/behat fixes
Dan Marsden [Mon, 14 Mar 2016 21:55:58 +0000 (10:55 +1300)] 
Coding guideline/behat fixes

8 years agoFix behat/coding guideline issues.
Dan Marsden [Mon, 14 Mar 2016 21:25:20 +0000 (10:25 +1300)] 
Fix behat/coding guideline issues.

8 years agoChanging the add and update session interfaces
antonio.c.mariani [Sun, 4 Oct 2015 13:13:12 +0000 (10:13 -0300)] 
Changing the add and update session interfaces

8 years agoMerge pull request #185 from sam-moodle/grade_update_issue-master
Dan Marsden [Mon, 14 Mar 2016 20:13:41 +0000 (09:13 +1300)] 
Merge pull request #185 from sam-moodle/grade_update_issue-master

INT-8591: Don't update grades on preferences save when they don't exi…

8 years agoFixes #190 Show warning message when no users in course
Dan Marsden [Mon, 14 Mar 2016 20:02:06 +0000 (09:02 +1300)] 
Fixes #190 Show warning message when no users in course

8 years agoINT-8591: Don't update grades on preferences save when they don't exist yet
Sam Chaffee [Wed, 20 Jan 2016 23:34:24 +0000 (16:34 -0700)] 
INT-8591: Don't update grades on preferences save when they don't exist yet

8 years agoTidy up some PHP, unsed functions, vars etc.
Dan Marsden [Sun, 22 Nov 2015 23:52:42 +0000 (12:52 +1300)] 
Tidy up some PHP, unsed functions, vars etc.

8 years agojavascript required for tests.
Dan Marsden [Sun, 22 Nov 2015 23:52:25 +0000 (12:52 +1300)] 
javascript required for tests.

8 years agoRemove export file download tests as these are not compatible
Dan Marsden [Fri, 20 Nov 2015 01:56:52 +0000 (14:56 +1300)] 
Remove export file download tests as these are not compatible
We should fix the config at some point and add these back

8 years agofix typo in behat test field name
Dan Marsden [Thu, 19 Nov 2015 23:07:23 +0000 (12:07 +1300)] 
fix typo in behat test field name

8 years agoFix behat test for Teachers can view low grade report and send a message
Dan Marsden [Thu, 19 Nov 2015 22:50:29 +0000 (11:50 +1300)] 
Fix behat test for Teachers can view low grade report and send a message

8 years agocoding guideline and behat fixes
Dan Marsden [Thu, 19 Nov 2015 22:36:23 +0000 (11:36 +1300)] 
coding guideline and behat fixes

8 years agoRevert "Added support for scales"
Dan Marsden [Thu, 19 Nov 2015 22:11:48 +0000 (11:11 +1300)] 
Revert "Added support for scales"

This reverts commit 8df95e3b1d44c83a2be74cea2839403ebb791f8b.

Conflicts:
locallib.php

8 years agomore coding guideline fixes
Dan Marsden [Thu, 19 Nov 2015 22:03:55 +0000 (11:03 +1300)] 
more coding guideline fixes

8 years agoFix a couple of behat tests
Dan Marsden [Thu, 19 Nov 2015 09:23:47 +0000 (22:23 +1300)] 
Fix a couple of behat tests

8 years agoRemove "continue" links due to pull #171
Dan Marsden [Thu, 19 Nov 2015 08:56:23 +0000 (21:56 +1300)] 
Remove "continue" links due to pull #171

8 years agoMore coding guideline fixes
Dan Marsden [Thu, 19 Nov 2015 08:52:11 +0000 (21:52 +1300)] 
More coding guideline fixes

8 years agoFix some coding guideline issues.
Dan Marsden [Thu, 19 Nov 2015 07:55:55 +0000 (20:55 +1300)] 
Fix some coding guideline issues.

8 years agoFix csslint issues
Dan Marsden [Thu, 19 Nov 2015 07:36:36 +0000 (20:36 +1300)] 
Fix csslint issues

8 years agoFix JShint errors and remove deprecated call to checkall/checknone
Dan Marsden [Thu, 19 Nov 2015 07:31:21 +0000 (20:31 +1300)] 
Fix JShint errors and remove deprecated call to checkall/checknone

8 years agofix travis php 7 failure allow
Dan Marsden [Wed, 18 Nov 2015 01:46:27 +0000 (14:46 +1300)] 
fix travis php 7 failure allow

8 years agoadd link to travis build
Dan Marsden [Wed, 18 Nov 2015 01:44:47 +0000 (14:44 +1300)] 
add link to travis build

8 years agotest mysql and postgres for this branch
Dan Marsden [Wed, 18 Nov 2015 01:41:30 +0000 (14:41 +1300)] 
test mysql and postgres for this branch

8 years agoonly test correct branches
Dan Marsden [Wed, 18 Nov 2015 01:38:28 +0000 (14:38 +1300)] 
only test correct branches

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

8 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

8 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

8 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

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

8 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

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

8 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

8 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

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

8 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

8 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

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.

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