moodle-mod_attendance.git
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.

7 years agoRemove inclusion of config file.
Dan Marsden [Mon, 27 Feb 2017 00:34:41 +0000 (13:34 +1300)] 
Remove inclusion of config file.
not needed as this is an internal file.

7 years agoFix coding guideline stuff found by plugins db check.
Dan Marsden [Sun, 26 Feb 2017 23:28:01 +0000 (12:28 +1300)] 
Fix coding guideline stuff found by plugins db check.

7 years agoFix coding guideline issues.
Dan Marsden [Thu, 2 Feb 2017 08:38:20 +0000 (21:38 +1300)] 
Fix coding guideline issues.

7 years agoBump for 3.3
Dan Marsden [Thu, 2 Feb 2017 07:58:30 +0000 (20:58 +1300)] 
Bump for 3.3

7 years agoFixes #241 convert deprecated hook to observer.
Dan Marsden [Thu, 2 Feb 2017 07:49:03 +0000 (20:49 +1300)] 
Fixes #241 convert deprecated hook to observer.

7 years agoFixes #239 select_all_in deprecated in 3.3
Dan Marsden [Thu, 2 Feb 2017 07:41:17 +0000 (20:41 +1300)] 
Fixes #239 select_all_in deprecated in 3.3

7 years agofix behat test.
Dan Marsden [Thu, 2 Feb 2017 03:05:38 +0000 (16:05 +1300)] 
fix behat test.

7 years agoAdd delay for checking text to try and fix behat.
Dan Marsden [Thu, 2 Feb 2017 01:16:02 +0000 (14:16 +1300)] 
Add delay for checking text to try and fix behat.

7 years agoFixes #240 Save comment fields even when status not set.
Dan Marsden [Wed, 1 Feb 2017 23:23:24 +0000 (12:23 +1300)] 
Fixes #240 Save comment fields even when status not set.

7 years agoupdate tests with latest string formats.
Dan Marsden [Tue, 24 Jan 2017 23:12:09 +0000 (12:12 +1300)] 
update tests with latest string formats.

7 years agomove session type and make date more prominant in session list.
Dan Marsden [Tue, 24 Jan 2017 22:30:42 +0000 (11:30 +1300)] 
move session type and make date more prominant in session list.

7 years agoImprove display of dates within attendance for standard en lang.
Dan Marsden [Tue, 24 Jan 2017 22:17:18 +0000 (11:17 +1300)] 
Improve display of dates within attendance for standard en lang.

7 years agoTidy up language a bit.
Dan Marsden [Mon, 19 Dec 2016 22:07:46 +0000 (11:07 +1300)] 
Tidy up language a bit.

There's a lot of room for further improvement in the lang strings.

7 years agoMove hide session details (#238)
antonio-c-mariani [Mon, 19 Dec 2016 21:50:16 +0000 (19:50 -0200)] 
Move hide session details (#238)

* Fixing missing fields in backup

* Fixing behat test due to changes in Moodle 3.2

* Add users taken sessions by acronym columns to the export report

* Fixing user name sort order links

* Adding buttons to hide/show session details and move them left/rigth

* Fixing errors and warnings reported by travis

* Fixing failures in behat tests because of enrol start date

7 years agoMerge pull request #233 from dannyjung90/patch/add-search-activity-string
Dan Marsden [Tue, 6 Dec 2016 04:11:44 +0000 (17:11 +1300)] 
Merge pull request #233 from dannyjung90/patch/add-search-activity-string

Add missing search:activity string.

7 years agoAdd missing search:activity string.
Danny Jung [Tue, 6 Dec 2016 01:53:39 +0000 (17:53 -0800)] 
Add missing search:activity string.

7 years agoMerge pull request #232 from danmarsden/fix231
Dan Marsden [Thu, 1 Dec 2016 07:42:01 +0000 (20:42 +1300)] 
Merge pull request #232 from danmarsden/fix231

Fix #231 set objectid mapping to attendance id.

7 years agoFix #231 set objectid mapping to attendance id.
Dan Marsden [Wed, 30 Nov 2016 09:03:22 +0000 (22:03 +1300)] 
Fix #231 set objectid mapping to attendance id.

7 years agobump version for plugins db release.
Dan Marsden [Tue, 29 Nov 2016 23:42:10 +0000 (12:42 +1300)] 
bump version for plugins db release.

7 years agoTidy up coding violations in fix for #225
Dan Marsden [Tue, 29 Nov 2016 22:33:13 +0000 (11:33 +1300)] 
Tidy up coding violations in fix for #225

7 years agoFixes #225 Add columns to show users taken sessions by acronym
Antonio C. Mariani [Tue, 29 Nov 2016 21:31:39 +0000 (19:31 -0200)] 
Fixes #225 Add columns to show users taken sessions by acronym

7 years agoBump version for plugins db release.
Dan Marsden [Tue, 29 Nov 2016 20:26:59 +0000 (09:26 +1300)] 
Bump version for plugins db release.

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 agofix weird travis failures at end of build.
Dan Marsden [Tue, 29 Nov 2016 07:35:14 +0000 (20:35 +1300)] 
fix weird travis failures at end of build.

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

This reverts commit ce686d21fed0a79e7f21271e0c47a2e3b7df36ef.

7 years agoFixes #229 use correct base class for 3.2
Dan Marsden [Tue, 29 Nov 2016 06:26:17 +0000 (19:26 +1300)] 
Fixes #229 use correct base class for 3.2

7 years agoMerge branch 'requiredip'
Dan Marsden [Mon, 21 Nov 2016 23:24:27 +0000 (12:24 +1300)] 
Merge branch 'requiredip'

7 years agoTidy up requiredip work.
Dan Marsden [Mon, 21 Nov 2016 01:58:08 +0000 (14:58 +1300)] 
Tidy up requiredip work.

7 years agoadd ability to restrict by IP
Lihi Dor [Thu, 10 Nov 2016 12:35:13 +0000 (14:35 +0200)] 
add ability to restrict by IP

7 years agoadd prefer-dist, remove line ending
Dan Marsden [Thu, 17 Nov 2016 23:43:51 +0000 (12:43 +1300)] 
add prefer-dist, remove line ending

7 years agoRemove !important in css and some unused vars.
Dan Marsden [Thu, 17 Nov 2016 22:24:37 +0000 (11:24 +1300)] 
Remove !important in css and some unused vars.

7 years agoFix behat test for preferences
Dan Marsden [Thu, 17 Nov 2016 22:05:43 +0000 (11:05 +1300)] 
Fix behat test for preferences

7 years agoFix calendar behat test on boost.
Dan Marsden [Thu, 17 Nov 2016 22:02:38 +0000 (11:02 +1300)] 
Fix calendar behat test on boost.

7 years agotry to fix behat tests.
Dan Marsden [Wed, 16 Nov 2016 09:27:47 +0000 (22:27 +1300)] 
try to fix behat tests.

7 years agologout after setup during behat tests
Dan Marsden [Wed, 16 Nov 2016 01:41:43 +0000 (14:41 +1300)] 
logout after setup during behat tests

7 years agoFix up some guideline stuff.
Dan Marsden [Wed, 16 Nov 2016 01:34:51 +0000 (14:34 +1300)] 
Fix up some guideline stuff.

7 years agotidy up some more coding guideline/behat stuff.
Dan Marsden [Wed, 16 Nov 2016 00:57:45 +0000 (13:57 +1300)] 
tidy up some more coding guideline/behat stuff.

7 years agoTidy up some behat tests
Dan Marsden [Wed, 16 Nov 2016 00:39:59 +0000 (13:39 +1300)] 
Tidy up some behat tests

7 years agoFix up some coding guideline stuff.
Dan Marsden [Wed, 16 Nov 2016 00:31:30 +0000 (13:31 +1300)] 
Fix up some coding guideline stuff.

7 years agoFix behat failure with calendar link change, tidy up a few warnings.
Dan Marsden [Wed, 16 Nov 2016 00:15:45 +0000 (13:15 +1300)] 
Fix behat failure with calendar link change, tidy up a few warnings.

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

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

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

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

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

8 years agoattendance - fix tests
Dan Marsden [Mon, 29 Aug 2016 21:27:17 +0000 (09:27 +1200)] 
attendance - fix tests

8 years agoremove space in install.xml file.
Dan Marsden [Mon, 29 Aug 2016 11:27:13 +0000 (23:27 +1200)] 
remove space in install.xml file.

8 years agoFixes #216 - add timemodifed column to instance table
Dan Marsden [Mon, 29 Aug 2016 09:52:45 +0000 (21:52 +1200)] 
Fixes #216 - add timemodifed column to instance table

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