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

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

6 years agoResort strings in alphabetical order
Dan Marsden [Tue, 30 May 2017 02:00:13 +0000 (14:00 +1200)] 
Resort strings in alphabetical order

6 years agobump version to match block requirements.
Dan Marsden [Mon, 29 May 2017 00:31:52 +0000 (12:31 +1200)] 
bump version to match block requirements.

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

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

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

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

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

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

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

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

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

6 years agofix space issue in test.
Dan Marsden [Thu, 18 May 2017 00:59:10 +0000 (12:59 +1200)] 
fix space issue in test.

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

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

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

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

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

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

6 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.
backport from master

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 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 to clear css cache.
Dan Marsden [Thu, 11 May 2017 00:06:12 +0000 (12:06 +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 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 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 agotravis php 5.6 passing correctly now.
Dan Marsden [Tue, 9 May 2017 02:23:11 +0000 (14:23 +1200)] 
travis php 5.6 passing correctly now.

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 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 agocoding guideline spacing
Dan Marsden [Thu, 4 May 2017 19:27:58 +0000 (07:27 +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 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 broken tests due to identity patch.
Dan Marsden [Thu, 13 Apr 2017 01:05:43 +0000 (13:05 +1200)] 
Fix broken tests due to identity patch.

7 years agoFix some coding guideline issues.
Dan Marsden [Thu, 13 Apr 2017 00:22:09 +0000 (12:22 +1200)] 
Fix some coding guideline issues.

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 agoUse same test structure as master.
Dan Marsden [Thu, 9 Mar 2017 02:31:31 +0000 (15:31 +1300)] 
Use same test structure as master.

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 32 - Global Search issue with Database Schema (#248)
Daniel Thee Roperto [Wed, 8 Mar 2017 05:32:33 +0000 (16:32 +1100)] 
Moodle 32 - Global Search issue with Database Schema (#248)

* 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 agoBump for plugins db release
Dan Marsden [Sun, 26 Feb 2017 23:04:19 +0000 (12:04 +1300)] 
Bump for plugins db release

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 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 agofix behat test.
Dan Marsden [Thu, 2 Feb 2017 03:05:38 +0000 (16:05 +1300)] 
fix behat test.

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

7 years agoUpdate travis to check 3.2 branch.
Dan Marsden [Wed, 1 Feb 2017 23:56:37 +0000 (12:56 +1300)] 
Update travis to check 3.2 branch.

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