moodle-mod_attendance.git
7 years agouse correct composer package.
Dan Marsden [Wed, 14 Jun 2017 00:32:59 +0000 (12:32 +1200)] 
use correct composer package.

7 years agoUse correct link to show all sessions in behat test.
Dan Marsden [Tue, 13 Jun 2017 23:59:51 +0000 (11:59 +1200)] 
Use correct link to show all sessions in behat test.

7 years agoBump version and update changelog.
Dan Marsden [Tue, 13 Jun 2017 23:33:07 +0000 (11:33 +1200)] 
Bump version and update changelog.

7 years agoFix coding guideline typo.
Dan Marsden [Tue, 13 Jun 2017 23:15:22 +0000 (11:15 +1200)] 
Fix coding guideline typo.

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

7 years agoImprove display of "all courses" user report - display as table
Dan Marsden [Tue, 13 Jun 2017 23:02:50 +0000 (11:02 +1200)] 
Improve display of "all courses" user report - display as table
also include links to specific course reports.

7 years agoTask doesn't just look at closed sessions.
Dan Marsden [Mon, 12 Jun 2017 21:50:42 +0000 (09:50 +1200)] 
Task doesn't just look at closed sessions.

7 years agoNew Feature: allow automarking of attendance using logs table.
Dan Marsden [Fri, 9 Jun 2017 01:25:17 +0000 (13:25 +1200)] 
New Feature: allow automarking of attendance using logs table.

7 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 agoAdd Changelog with latest changes.
Dan Marsden [Thu, 8 Jun 2017 02:50:18 +0000 (14:50 +1200)] 
Add Changelog with latest changes.

7 years agoAllow default view on login to be set at admin level.
Dan Marsden [Fri, 2 Jun 2017 00:54:22 +0000 (12:54 +1200)] 
Allow default view on login to be set at admin level.

7 years agoSort lang strings into alphabetical order.
Dan Marsden [Tue, 30 May 2017 01:57:43 +0000 (13:57 +1200)] 
Sort lang strings into alphabetical order.

7 years agoAdd lang strings for block and config course category report.
Dan Marsden [Mon, 29 May 2017 00:24:20 +0000 (12:24 +1200)] 
Add lang strings for block and config course category report.

7 years agofix some coding guideline things.
Dan Marsden [Thu, 25 May 2017 23:36:46 +0000 (11:36 +1200)] 
fix some coding guideline things.

7 years agoModify subnet field to hopefully improve usability with teachers.
Dan Marsden [Thu, 25 May 2017 23:19:46 +0000 (11:19 +1200)] 
Modify subnet field to hopefully improve usability with teachers.

7 years agoMove subnet to advanced setting on session form.
Dan Marsden [Thu, 25 May 2017 02:15:56 +0000 (14:15 +1200)] 
Move subnet to advanced setting on session form.
it requires advanced knowledge to set so should
not show to all teachers in default view.

7 years agoNew site-level/course category report for average course attendance.
Dan Marsden [Tue, 23 May 2017 02:48:53 +0000 (14:48 +1200)] 
New site-level/course category report for average course attendance.

7 years agoLasttakenby = 0 is a valid id when auto-marked.
Dan Marsden [Mon, 22 May 2017 23:53:36 +0000 (11:53 +1200)] 
Lasttakenby = 0 is a valid id when auto-marked.

7 years agowhen course reset, reset automarkcompleted just in case.
Dan Marsden [Mon, 22 May 2017 02:31:39 +0000 (14:31 +1200)] 
when course reset, reset automarkcompleted just in case.

7 years agoFeature: Allow unmarked students to be automatically marked after session close.
Dan Marsden [Fri, 19 May 2017 03:03:08 +0000 (15:03 +1200)] 
Feature: Allow unmarked students to be automatically marked after session close.

7 years agoSanity check - make sure session id is for this attendance.
Dan Marsden [Mon, 22 May 2017 00:37:11 +0000 (12:37 +1200)] 
Sanity check - make sure session id is for this attendance.

7 years agoFix some coding guideline issues.
Dan Marsden [Thu, 18 May 2017 00:55:26 +0000 (12:55 +1200)] 
Fix some coding guideline issues.

7 years agoFix some tests.
Dan Marsden [Wed, 17 May 2017 23:37:02 +0000 (11:37 +1200)] 
Fix some tests.

7 years agofix some eslint stuff.
Dan Marsden [Wed, 17 May 2017 23:30:02 +0000 (11:30 +1200)] 
fix some eslint stuff.

7 years agoMove subnet from attendance level to session level
Dan Marsden [Wed, 17 May 2017 23:07:38 +0000 (11:07 +1200)] 
Move subnet from attendance level to session level
retain attendance level setting as "default" setting for creating
new sessions.

7 years agofix case of am/pm in tests.
Dan Marsden [Wed, 17 May 2017 22:51:56 +0000 (10:51 +1200)] 
fix case of am/pm in tests.

7 years agoFixes #262 improves compatibility with Mac/Win when converting times.
Dan Marsden [Wed, 17 May 2017 09:11:11 +0000 (21:11 +1200)] 
Fixes #262 improves compatibility with Mac/Win when converting times.

7 years agotry another method of targeting form input.
Dan Marsden [Mon, 15 May 2017 02:41:37 +0000 (14:41 +1200)] 
try another method of targeting form input.

7 years agoUse correct identifier to find input.
Dan Marsden [Mon, 15 May 2017 02:13:39 +0000 (14:13 +1200)] 
Use correct identifier to find input.

7 years agofix behat step.
Dan Marsden [Mon, 15 May 2017 01:45:06 +0000 (13:45 +1200)] 
fix behat step.

7 years agofix line length warning.
Dan Marsden [Mon, 15 May 2017 01:42:22 +0000 (13:42 +1200)] 
fix line length warning.

7 years agofix behat test step.
Dan Marsden [Mon, 15 May 2017 01:31:33 +0000 (13:31 +1200)] 
fix behat test step.

7 years agoadd help text for available for students setting.
Dan Marsden [Mon, 15 May 2017 01:11:27 +0000 (13:11 +1200)] 
add help text for available for students setting.

7 years agoImprove test to hide status from view.
Dan Marsden [Mon, 15 May 2017 01:04:17 +0000 (13:04 +1200)] 
Improve test to hide status from view.

7 years agoFixes #262 date time not displaying on windows servers.
Dan Marsden [Sun, 14 May 2017 22:18:25 +0000 (10:18 +1200)] 
Fixes #262 date time not displaying on windows servers.

7 years agofix spacing in install.xml
Dan Marsden [Fri, 12 May 2017 09:11:16 +0000 (21:11 +1200)] 
fix spacing in install.xml

7 years agobounce version for new features in testing.
Dan Marsden [Fri, 12 May 2017 03:01:53 +0000 (15:01 +1200)] 
bounce version for new features in testing.

7 years agoAdd new field for student availability,
Dan Marsden [Thu, 11 May 2017 03:22:42 +0000 (15:22 +1200)] 
Add new field for student availability,
allow statuses to be hidden from students during self marking.

7 years agoImprove error when incorrect password used.
Dan Marsden [Fri, 12 May 2017 01:04:30 +0000 (13:04 +1200)] 
Improve error when incorrect password used.

7 years agobump version correctly on master.
Dan Marsden [Thu, 11 May 2017 00:05:14 +0000 (12:05 +1200)] 
bump version correctly on master.

7 years agobump version to clear css cache.
Dan Marsden [Thu, 11 May 2017 00:04:06 +0000 (12:04 +1200)] 
bump version to clear css cache.

7 years agoAdd abilty to view student password from session list page.
Dan Marsden [Thu, 11 May 2017 00:03:04 +0000 (12:03 +1200)] 
Add abilty to view student password from session list page.

7 years agoupdate yui build files.
Dan Marsden [Tue, 9 May 2017 23:49:37 +0000 (11:49 +1200)] 
update yui build files.

7 years agoFix some eslint warnings.
Dan Marsden [Tue, 9 May 2017 02:52:36 +0000 (14:52 +1200)] 
Fix some eslint warnings.

7 years agocoding guideline spacing.
Dan Marsden [Thu, 4 May 2017 19:25:09 +0000 (07:25 +1200)] 
coding guideline spacing.

7 years agoFix #259 undefined property warnings when showing temp users.
Dan Marsden [Thu, 4 May 2017 08:19:45 +0000 (20:19 +1200)] 
Fix #259 undefined property warnings when showing temp users.

7 years agorequires 3.3 branch.
Dan Marsden [Thu, 4 May 2017 07:57:20 +0000 (19:57 +1200)] 
requires 3.3 branch.

7 years agoFixes #258 add link to take attendance on student overview report.
Dan Marsden [Tue, 2 May 2017 02:56:32 +0000 (14:56 +1200)] 
Fixes #258 add link to take attendance on student overview report.

7 years agobump version for 3.3 plugins db release.
Dan Marsden [Tue, 2 May 2017 00:42:08 +0000 (12:42 +1200)] 
bump version for 3.3 plugins db release.

7 years agofix eslint warning.
Dan Marsden [Tue, 2 May 2017 00:33:19 +0000 (12:33 +1200)] 
fix eslint warning.

7 years agophpdoc stuff.
Dan Marsden [Tue, 2 May 2017 00:28:05 +0000 (12:28 +1200)] 
phpdoc stuff.

7 years agomore phpdoc changes.
Dan Marsden [Mon, 1 May 2017 23:10:45 +0000 (11:10 +1200)] 
more phpdoc changes.

7 years agofix some phpdoc stuff.
Dan Marsden [Mon, 1 May 2017 22:05:00 +0000 (10:05 +1200)] 
fix some phpdoc stuff.

7 years agobehat test (fragile)
Dan Marsden [Mon, 1 May 2017 21:19:51 +0000 (09:19 +1200)] 
behat test (fragile)

7 years agofix up some phpdoc stuff.
Dan Marsden [Mon, 1 May 2017 02:56:21 +0000 (14:56 +1200)] 
fix up some phpdoc stuff.

7 years agoTidy up the classes/phpdocs a bit.
Dan Marsden [Mon, 1 May 2017 02:39:06 +0000 (14:39 +1200)] 
Tidy up the classes/phpdocs a bit.

7 years agomake session full day for tests.
Dan Marsden [Mon, 1 May 2017 01:58:56 +0000 (13:58 +1200)] 
make session full day for tests.

7 years agotests - use sessiondate for 5min ago to allow self student marking
Dan Marsden [Mon, 1 May 2017 01:45:11 +0000 (13:45 +1200)] 
tests - use sessiondate for 5min ago to allow self student marking

7 years agoAdd setting to force self-marking during session.
Dan Marsden [Mon, 1 May 2017 01:10:14 +0000 (13:10 +1200)] 
Add setting to force self-marking during session.

7 years agoallow admin to set default values for record own attendance/random pass.
Dan Marsden [Fri, 28 Apr 2017 04:57:01 +0000 (16:57 +1200)] 
allow admin to set default values for record own attendance/random pass.

7 years agocoding guidline fix.
Dan Marsden [Fri, 28 Apr 2017 04:29:09 +0000 (16:29 +1200)] 
coding guidline fix.

7 years agouse custom function to generate a very basic random string
Dan Marsden [Fri, 28 Apr 2017 04:17:09 +0000 (16:17 +1200)] 
use custom function to generate a very basic random string
to use as password.

7 years agofix some codechecker warnings.
Dan Marsden [Fri, 28 Apr 2017 04:08:59 +0000 (16:08 +1200)] 
fix some codechecker warnings.

7 years agoallow random password to be used when creating sessions.
Dan Marsden [Fri, 28 Apr 2017 04:07:11 +0000 (16:07 +1200)] 
allow random password to be used when creating sessions.

7 years agoset default values a bit better.
Dan Marsden [Fri, 28 Apr 2017 03:28:42 +0000 (15:28 +1200)] 
set default values a bit better.

7 years agofix notnull values.
Dan Marsden [Fri, 28 Apr 2017 03:06:58 +0000 (15:06 +1200)] 
fix notnull values.

7 years agophp 5.6 tests now passing.
Dan Marsden [Fri, 28 Apr 2017 02:56:39 +0000 (14:56 +1200)] 
php 5.6 tests now passing.

7 years agoAllow a password to be set when using student self marking.
Dan Marsden [Fri, 28 Apr 2017 02:03:40 +0000 (14:03 +1200)] 
Allow a password to be set when using student self marking.

7 years agoattempt to fix php 5.6 issue in tests.
Dan Marsden [Fri, 28 Apr 2017 02:04:28 +0000 (14:04 +1200)] 
attempt to fix php 5.6 issue in tests.

7 years agofix php warning in php 5.6
Dan Marsden [Fri, 28 Apr 2017 01:21:34 +0000 (13:21 +1200)] 
fix php warning in php 5.6

7 years agofix one last spacing issue in tests.
Dan Marsden [Fri, 28 Apr 2017 00:43:46 +0000 (12:43 +1200)] 
fix one last spacing issue in tests.

7 years agotidy up some more spacing in tests.
Dan Marsden [Fri, 28 Apr 2017 00:19:10 +0000 (12:19 +1200)] 
tidy up some more spacing in tests.

7 years agofix some spacing in test files.
Dan Marsden [Fri, 28 Apr 2017 00:03:28 +0000 (12:03 +1200)] 
fix some spacing in test files.

7 years agotry using packagist name.
Dan Marsden [Thu, 27 Apr 2017 23:41:13 +0000 (11:41 +1200)] 
try using packagist name.

7 years agouse v2 branch?
Dan Marsden [Thu, 27 Apr 2017 23:07:01 +0000 (11:07 +1200)] 
use v2 branch?

7 years agoadd composer selfupdate back.
Dan Marsden [Thu, 27 Apr 2017 23:00:15 +0000 (11:00 +1200)] 
add composer selfupdate back.

7 years agouse version 2 of plugin-ci tool
Dan Marsden [Thu, 27 Apr 2017 22:39:03 +0000 (10:39 +1200)] 
use version 2 of plugin-ci tool

7 years agocache npm dir
Dan Marsden [Thu, 27 Apr 2017 22:31:34 +0000 (10:31 +1200)] 
cache npm dir

7 years agoupdate travis to test php 7.1 and postgres 9.3
Dan Marsden [Thu, 27 Apr 2017 22:28:28 +0000 (10:28 +1200)] 
update travis to test php 7.1 and postgres 9.3

7 years agoFixes #254 - issue with colspan in header/footer.
Dan Marsden [Thu, 27 Apr 2017 20:47:47 +0000 (08:47 +1200)] 
Fixes #254 - issue with colspan in header/footer.
Thanks to @xuwenbin for report and patch.

7 years agofix typo in step!
Dan Marsden [Thu, 13 Apr 2017 01:31:17 +0000 (13:31 +1200)] 
fix typo in step!

7 years agofix broken behat test due to user identity stuff.
Dan Marsden [Thu, 13 Apr 2017 01:02:48 +0000 (13:02 +1200)] 
fix broken behat test due to user identity stuff.
this is more fragile than it should be - should add classes
to radio buttons to improve selection.

7 years agotidy up behat steps.
Dan Marsden [Thu, 13 Apr 2017 00:38:22 +0000 (12:38 +1200)] 
tidy up behat steps.

7 years agouse more specific target for inputs.
Dan Marsden [Wed, 12 Apr 2017 21:47:29 +0000 (09:47 +1200)] 
use more specific target for inputs.

7 years agoMDL-58265 replace I follow, editing mode steps
Dan Marsden [Wed, 12 Apr 2017 01:59:18 +0000 (13:59 +1200)] 
MDL-58265 replace I follow, editing mode steps

7 years agoFixes #63 use core useridentity setting when showing list of users.
Dan Marsden [Wed, 12 Apr 2017 01:15:55 +0000 (13:15 +1200)] 
Fixes #63 use core useridentity setting when showing list of users.
update report and take attendance pages.

7 years agoRevert "Disable xdebug to speed up php 7 tests"
Dan Marsden [Thu, 9 Mar 2017 02:28:32 +0000 (15:28 +1300)] 
Revert "Disable xdebug to speed up php 7 tests"

This reverts commit a417fbfecdd2f6141b7c9f56a870ef25d6c3ccca.

7 years agoDisable xdebug to speed up php 7 tests
Dan Marsden [Thu, 9 Mar 2017 02:13:22 +0000 (15:13 +1300)] 
Disable xdebug to speed up php 7 tests

7 years agoCheck contents of input field in test.
Dan Marsden [Thu, 9 Mar 2017 01:30:15 +0000 (14:30 +1300)] 
Check contents of input field in test.

7 years agotidy up tests a little.
Dan Marsden [Thu, 9 Mar 2017 01:20:46 +0000 (14:20 +1300)] 
tidy up tests a little.

7 years agoFix steps in test.
Dan Marsden [Thu, 9 Mar 2017 00:59:58 +0000 (13:59 +1300)] 
Fix steps in test.

7 years agospeed up travis checks.
Dan Marsden [Thu, 9 Mar 2017 00:32:32 +0000 (13:32 +1300)] 
speed up travis checks.

7 years agoattempt to speed up travis by selectively running some tests.
Dan Marsden [Thu, 9 Mar 2017 00:14:00 +0000 (13:14 +1300)] 
attempt to speed up travis by selectively running some tests.

7 years agoTry to selectively run some tests.
Dan Marsden [Thu, 9 Mar 2017 00:04:28 +0000 (13:04 +1300)] 
Try to selectively run some tests.

x

7 years agoUse correct action for button in test.
Dan Marsden [Wed, 8 Mar 2017 23:51:59 +0000 (12:51 +1300)] 
Use correct action for button in test.

7 years agoRefactor duplicated renderer.
Dan Marsden [Wed, 8 Mar 2017 23:36:17 +0000 (12:36 +1300)] 
Refactor duplicated renderer.

7 years agoAdd test for changing default staus set,
Dan Marsden [Wed, 8 Mar 2017 23:21:59 +0000 (12:21 +1300)] 
Add test for changing default staus set,
improve some language strings relating to status sets

7 years agoFix #187 allow default status set to be editable.
Dan Marsden [Wed, 8 Mar 2017 22:37:30 +0000 (11:37 +1300)] 
Fix #187 allow default status set to be editable.

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

* Fixes #243 - Adds the fields '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 agoAdd ability to set default value for subnet restriction.
Dan Marsden [Tue, 7 Mar 2017 21:57:15 +0000 (10:57 +1300)] 
Add ability to set default value for subnet restriction.