moodle-mod_attendance.git
6 years agobump version. MOODLE_31_STABLE
Dan Marsden [Tue, 13 Mar 2018 20:53:00 +0000 (09:53 +1300)] 
bump version.

6 years agoFix fields included in backup.
Dan Marsden [Tue, 13 Mar 2018 20:52:26 +0000 (09:52 +1300)] 
Fix fields included in backup.

6 years agobump version for release.
Dan Marsden [Tue, 27 Feb 2018 03:23:25 +0000 (16:23 +1300)] 
bump version for release.

6 years agoFixes #265 create calendar events when restoring an attendance.
Dan Marsden [Tue, 13 Jun 2017 23:13:20 +0000 (11:13 +1200)] 
Fixes #265 create calendar events when restoring an attendance.
also add sanity check if restored session doesn't have a calendar event.

6 years agoinclude description format when creating event.
Dan Marsden [Mon, 26 Feb 2018 01:13:03 +0000 (14:13 +1300)] 
include description format when creating event.

6 years agoAdd description to event, and group to event name if present. (#296)
Nick Phillips [Mon, 26 Feb 2018 01:07:44 +0000 (14:07 +1300)] 
Add description to event, and group to event name if present. (#296)

6 years agoremove reference to user.de domain.
Dan Marsden [Thu, 22 Feb 2018 01:03:15 +0000 (14:03 +1300)] 
remove reference to user.de domain.

6 years agoFix #287 prevent restore from setting takenby when no userdata restored.
Dan Marsden [Wed, 17 Jan 2018 23:42:41 +0000 (12:42 +1300)] 
Fix #287 prevent restore from setting takenby when no userdata restored.

6 years agodowngrade to v1 of plugin-ci.
Dan Marsden [Tue, 3 Oct 2017 03:15:36 +0000 (16:15 +1300)] 
downgrade to v1 of plugin-ci.

6 years agoupdate travis commands.
Dan Marsden [Tue, 3 Oct 2017 02:54:47 +0000 (15:54 +1300)] 
update travis commands.

6 years agoupdate travis commands.
Dan Marsden [Tue, 3 Oct 2017 02:36:41 +0000 (15:36 +1300)] 
update travis commands.

6 years agoupdate travis config.
Dan Marsden [Mon, 2 Oct 2017 23:37:48 +0000 (12:37 +1300)] 
update travis config.

6 years agoFix #279 - fix for php 5.4 compatibility.
Dan Marsden [Mon, 2 Oct 2017 23:09:25 +0000 (12:09 +1300)] 
Fix #279 - fix for php 5.4 compatibility.

6 years agobump version for plugins db release.
Dan Marsden [Wed, 27 Sep 2017 02:13:58 +0000 (15:13 +1300)] 
bump version for plugins db release.

6 years agoFix bug with userdisplay check.
Dan Marsden [Fri, 23 Jun 2017 03:29:06 +0000 (15:29 +1200)] 
Fix bug with userdisplay check.

6 years agoFixes #266 - groupmemembersonly setting removed by MDL-44725
Dan Marsden [Wed, 14 Jun 2017 23:58:22 +0000 (11:58 +1200)] 
Fixes #266 - groupmemembersonly setting removed by MDL-44725

6 years agoFix #264 improve radio button spacing on self-marking page
Dan Marsden [Thu, 8 Jun 2017 22:49:19 +0000 (10:49 +1200)] 
Fix #264 improve radio button spacing on self-marking page

7 years agoremove params not needed in 3.1 branch.
Dan Marsden [Wed, 8 Mar 2017 06:07:41 +0000 (19:07 +1300)] 
remove params not needed in 3.1 branch.

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

7 years agoMoodle 31 - Global Search issue with Database Schema (#247)
Daniel Thee Roperto [Wed, 8 Mar 2017 05:33:22 +0000 (16:33 +1100)] 
Moodle 31 - Global Search issue with Database Schema (#247)

* Fixes #216 and #243 - Adds the fields 'timemodified', 'intro' and 'introformat' in the attendance table.

This is done according to https://docs.moodle.org/dev/Activity_modules#install.xml

* Added 'intro' field. If not empty it will add a header (title + intro) in the view page and will be displayed in manage and report pages.

7 years agohttps://github.com/danmarsden/moodle-mod_attendance/issues/234 (#236)
Marty Gilbert [Tue, 13 Dec 2016 19:46:09 +0000 (14:46 -0500)] 
https://github.com/danmarsden/moodle-mod_attendance/issues/234 (#236)

* https://github.com/danmarsden/moodle-mod_attendance/issues/234

I only found 3 files with this error:

add_form.php:   121
renderer.php:   809
sessions.php:   240

This was branched off of the MOODLE_30_STABLE branch.

* Forgot space in if() statement

7 years agoTravis incorrectly failing on adding activity during behat tests.
Dan Marsden [Tue, 29 Nov 2016 08:02:40 +0000 (21:02 +1300)] 
Travis incorrectly failing on adding activity during behat tests.
works fine when running behat locally.

7 years agoUse sudo: true to get around travis ci bug with builds timing out.
Dan Marsden [Tue, 29 Nov 2016 07:55:24 +0000 (20:55 +1300)] 
Use sudo: true to get around travis ci bug with builds timing out.

7 years agoRevert "Fix #217 - hide percentage/points columns when no grade is set."
Dan Marsden [Tue, 29 Nov 2016 07:27:50 +0000 (20:27 +1300)] 
Revert "Fix #217 - hide percentage/points columns when no grade is set."

This reverts commit c4fa8a6a853c9028d06105fab9f5d4f071955ae6.

7 years agoFixes #223 allow student attendance to be disabled at site-level
Dan Marsden [Mon, 26 Sep 2016 22:25:34 +0000 (11:25 +1300)] 
Fixes #223 allow student attendance to be disabled at site-level

7 years agoremove old calendar behat test - feature not used anymore.
Dan Marsden [Tue, 20 Sep 2016 07:10:42 +0000 (19:10 +1200)] 
remove old calendar behat test - feature not used anymore.

7 years agoFix #217 - hide percentage/points columns when no grade is set.
Dan Marsden [Tue, 20 Sep 2016 06:02:20 +0000 (18:02 +1200)] 
Fix #217 - hide percentage/points columns when no grade is set.

7 years agoFix #220 remove bulk functions not needed.
Dan Marsden [Tue, 20 Sep 2016 05:47:08 +0000 (17:47 +1200)] 
Fix #220 remove bulk functions not needed.

7 years agoFix #221 always pass timestart to calendar update function.
Dan Marsden [Tue, 20 Sep 2016 05:23:31 +0000 (17:23 +1200)] 
Fix #221 always pass timestart to calendar update function.

7 years agonew 3.1 branch - split from master.
Dan Marsden [Sun, 14 Aug 2016 21:20:04 +0000 (09:20 +1200)] 
new 3.1 branch - split from master.

7 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

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

7 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

7 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

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

7 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

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

7 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

7 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

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

7 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

7 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

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

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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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