Marty Gilbert [Tue, 13 Dec 2016 19:45:49 +0000 (14:45 -0500)]
https://github.com/danmarsden/moodle-mod_attendance/issues/234 (#235)
* 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
Dan Marsden [Mon, 26 Sep 2016 22:25:34 +0000 (11:25 +1300)]
Fixes #223 allow student attendance to be disabled at site-level
Dan Marsden [Fri, 1 Jul 2016 01:56:33 +0000 (13:56 +1200)]
make sure php 7 tests pass on 3.0 branch
Dan Marsden [Fri, 1 Jul 2016 01:51:11 +0000 (13:51 +1200)]
update travis check with correct branches
Dan Marsden [Mon, 4 Apr 2016 07:40:33 +0000 (19:40 +1200)]
bump version for plugins db release
Dan Marsden [Mon, 4 Apr 2016 07:05:53 +0000 (19:05 +1200)]
Check group data exists before using group name.
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.
Dan Marsden [Wed, 16 Mar 2016 09:18:26 +0000 (22:18 +1300)]
Coding guideline fix
Dan Marsden [Wed, 16 Mar 2016 09:17:01 +0000 (22:17 +1300)]
Fixes #176 Generate correct timestamp including DST changes.
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.
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.
Dan Marsden [Wed, 16 Mar 2016 02:34:07 +0000 (15:34 +1300)]
Move local function into locallib.php
Dan Marsden [Wed, 16 Mar 2016 02:30:13 +0000 (15:30 +1300)]
Remove old function that is never called.
Dan Marsden [Wed, 16 Mar 2016 02:29:21 +0000 (15:29 +1300)]
Fix some phpdocs
Dan Marsden [Wed, 16 Mar 2016 02:21:50 +0000 (15:21 +1300)]
Use correct prefix on function names.
Dan Marsden [Wed, 16 Mar 2016 02:06:01 +0000 (15:06 +1300)]
Convert locallib.php classes into proper auto-loading classes
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.
Dan Marsden [Tue, 15 Mar 2016 01:00:12 +0000 (14:00 +1300)]
Bump version in preparation for plugins db release
Dan Marsden [Mon, 14 Mar 2016 23:42:08 +0000 (12:42 +1300)]
Fix typo in filename
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
Dan Marsden [Mon, 14 Mar 2016 23:09:15 +0000 (12:09 +1300)]
move date_selector into function to prevent copypaste detector error
Dan Marsden [Mon, 14 Mar 2016 23:01:12 +0000 (12:01 +1300)]
update travis config
Dan Marsden [Mon, 14 Mar 2016 22:38:40 +0000 (11:38 +1300)]
Fix behat tests
Dan Marsden [Mon, 14 Mar 2016 22:19:35 +0000 (11:19 +1300)]
Behat fixes
Dan Marsden [Mon, 14 Mar 2016 21:55:58 +0000 (10:55 +1300)]
Coding guideline/behat fixes
Dan Marsden [Mon, 14 Mar 2016 21:25:20 +0000 (10:25 +1300)]
Fix behat/coding guideline issues.
antonio.c.mariani [Sun, 4 Oct 2015 13:13:12 +0000 (10:13 -0300)]
Changing the add and update session interfaces
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…
Dan Marsden [Mon, 14 Mar 2016 20:02:06 +0000 (09:02 +1300)]
Fixes #190 Show warning message when no users in course
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
Dan Marsden [Sun, 22 Nov 2015 23:52:42 +0000 (12:52 +1300)]
Tidy up some PHP, unsed functions, vars etc.
Dan Marsden [Sun, 22 Nov 2015 23:52:25 +0000 (12:52 +1300)]
javascript required for tests.
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
Dan Marsden [Thu, 19 Nov 2015 23:07:23 +0000 (12:07 +1300)]
fix typo in behat test field name
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
Dan Marsden [Thu, 19 Nov 2015 22:36:23 +0000 (11:36 +1300)]
coding guideline and behat fixes
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
Dan Marsden [Thu, 19 Nov 2015 22:03:55 +0000 (11:03 +1300)]
more coding guideline fixes
Dan Marsden [Thu, 19 Nov 2015 09:23:47 +0000 (22:23 +1300)]
Fix a couple of behat tests
Dan Marsden [Thu, 19 Nov 2015 08:56:23 +0000 (21:56 +1300)]
Remove "continue" links due to pull #171
Dan Marsden [Thu, 19 Nov 2015 08:52:11 +0000 (21:52 +1300)]
More coding guideline fixes
Dan Marsden [Thu, 19 Nov 2015 07:55:55 +0000 (20:55 +1300)]
Fix some coding guideline issues.
Dan Marsden [Thu, 19 Nov 2015 07:36:36 +0000 (20:36 +1300)]
Fix csslint issues
Dan Marsden [Thu, 19 Nov 2015 07:31:21 +0000 (20:31 +1300)]
Fix JShint errors and remove deprecated call to checkall/checknone
Dan Marsden [Wed, 18 Nov 2015 01:46:27 +0000 (14:46 +1300)]
fix travis php 7 failure allow
Dan Marsden [Wed, 18 Nov 2015 01:44:47 +0000 (14:44 +1300)]
add link to travis build
Dan Marsden [Wed, 18 Nov 2015 01:41:30 +0000 (14:41 +1300)]
test mysql and postgres for this branch
Dan Marsden [Wed, 18 Nov 2015 01:38:28 +0000 (14:38 +1300)]
only test correct branches
Dan Marsden [Wed, 18 Nov 2015 00:16:58 +0000 (13:16 +1300)]
Add Travis support
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
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
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
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
antonio.c.mariani [Sat, 7 Nov 2015 22:59:02 +0000 (20:59 -0200)]
Redirection to sessions list after add
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
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.
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
Dan Marsden [Tue, 3 Nov 2015 23:47:13 +0000 (12:47 +1300)]
Merge pull request #174 from cedict/master
Added support for scales
System Administrator [Mon, 2 Nov 2015 03:35:15 +0000 (14:05 +1030)]
Added support for scales
Dan Marsden [Tue, 27 Oct 2015 22:05:01 +0000 (11:05 +1300)]
bump version for plugins db release
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
Barry Oosthuizen [Fri, 2 Oct 2015 14:17:22 +0000 (15:17 +0100)]
Fix #155 properly. Undo regression caused by moving $statuses definition.
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
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
Barry Oosthuizen [Wed, 23 Sep 2015 08:52:13 +0000 (09:52 +0100)]
Fix issue #159 - Delete no selected sessions
Barry Oosthuizen [Tue, 22 Sep 2015 15:47:21 +0000 (16:47 +0100)]
Fix #155: Hiding statuses removes them from Settings
Dan Marsden [Mon, 21 Sep 2015 07:20:05 +0000 (19:20 +1200)]
Bump version to coincide with new version of attendance block
Dan Marsden [Mon, 14 Sep 2015 00:50:38 +0000 (12:50 +1200)]
Merge pull request #152 from Syxton/fix_issue_118
Returns all users and their lowest status in a course.
Syxton [Fri, 11 Sep 2015 13:24:35 +0000 (09:24 -0400)]
Returns all users and their lowest status in a course.
This will fix 2 issues. The first, if a user has a suspended enrollment
in child course A, the active enrollment in child course B will be
honored over the suspended enrollment. Also in this scenerio, the user
with multiple enrollments was causing a duplicate userid error to be
generated.
Dan Marsden [Thu, 3 Sep 2015 21:11:33 +0000 (09:11 +1200)]
Merge pull request #150 from barrysspace/hotfix/issue_145_hiding_status_master
Fix #145 - hiding variable status items no longer working
Barry Oosthuizen [Thu, 3 Sep 2015 16:38:25 +0000 (17:38 +0100)]
Fix #145 - hiding variable status items no longer working
Dan Marsden [Thu, 3 Sep 2015 08:34:36 +0000 (20:34 +1200)]
Fixes #148 correct group check
Dan Marsden [Mon, 24 Aug 2015 09:43:17 +0000 (21:43 +1200)]
update README
Dan Marsden [Mon, 24 Aug 2015 09:35:44 +0000 (21:35 +1200)]
Fixes #144 - check sesskey when performing actions.
Dan Marsden [Mon, 24 Aug 2015 09:11:35 +0000 (21:11 +1200)]
remove deprecated calls to PARAM_MULTILANG
Dan Marsden [Mon, 24 Aug 2015 09:08:23 +0000 (21:08 +1200)]
Fixes #117 add classes for status in report
also add some default css for PLEA status set.
Antonio Carlos Mariani [Sun, 23 Aug 2015 03:23:48 +0000 (00:23 -0300)]
Fixes #143 Include action to delete all hidden sections
Dan Marsden [Thu, 20 Aug 2015 23:17:20 +0000 (11:17 +1200)]
Fixes #141 fatal error caused by new groups tidy
Dan Marsden [Thu, 13 Aug 2015 11:00:49 +0000 (23:00 +1200)]
obtain context and re-use to make for cleaner code.
Dan Marsden [Thu, 13 Aug 2015 10:57:07 +0000 (22:57 +1200)]
rewrite groupcheck and remove permissions class
Dan Marsden [Thu, 13 Aug 2015 10:30:51 +0000 (22:30 +1200)]
More improvements to prevent the hiding of permission checks
Dan Marsden [Thu, 13 Aug 2015 10:22:43 +0000 (22:22 +1200)]
More specific use of module context instead of global $PAGE use.
Dan Marsden [Thu, 13 Aug 2015 10:04:14 +0000 (22:04 +1200)]
Don't hide capability checks on manage.php
Dan Marsden [Thu, 13 Aug 2015 09:54:37 +0000 (21:54 +1200)]
function can_be_listed not used anywhere
Dan Marsden [Thu, 13 Aug 2015 09:48:54 +0000 (21:48 +1200)]
can_view_reports() can_view() not used anywhere anymore - kill them!
Dan Marsden [Thu, 13 Aug 2015 09:40:52 +0000 (21:40 +1200)]
Don't hide capability checks.
Dan Marsden [Thu, 13 Aug 2015 09:35:21 +0000 (21:35 +1200)]
Don't hide view capability in a function.
Dan Marsden [Thu, 13 Aug 2015 07:31:10 +0000 (19:31 +1200)]
fix typo from previous commit.
Barry Oosthuizen [Wed, 29 Jul 2015 11:31:43 +0000 (12:31 +0100)]
Delete some whitespace introduced by
b0638c67
Dan Marsden [Wed, 29 Jul 2015 22:37:45 +0000 (10:37 +1200)]
Fixes #110 use format string when printing course name.
all other uses of att-name and course->fullname use functions
that perform format_string() already.
Dan Marsden [Tue, 28 Jul 2015 21:38:18 +0000 (09:38 +1200)]
Merge pull request #137 from barrysspace/master
Fix issue#134 - Add 'checkweekdays' language string
Barry Oosthuizen [Tue, 28 Jul 2015 12:37:24 +0000 (13:37 +0100)]
Fix issue#134 - Add 'checkweekdays' language string
Dan Marsden [Sun, 26 Jul 2015 22:07:13 +0000 (10:07 +1200)]
Merge pull request #130 from ptramonti/patch-1
Adding gradepass feature using standard functions
Dan Marsden [Sun, 26 Jul 2015 21:57:25 +0000 (09:57 +1200)]
Merge pull request #126 from NeillM/124
The code for Moodle 2.9 should not allow installation on Moodle 2.7 o…
Dan Marsden [Sun, 26 Jul 2015 21:51:14 +0000 (09:51 +1200)]
Merge pull request #133 from barrysspace/hotfix/issue_129_empty_status
Hotfix/issue 129 empty status
Barry Oosthuizen [Wed, 22 Jul 2015 10:58:07 +0000 (11:58 +0100)]
Behat test to notify error for empty acronym or description
Barry Oosthuizen [Wed, 22 Jul 2015 10:57:46 +0000 (11:57 +0100)]
Fix issue#129 - Notify error for empty acronym or description
Paolo Tramonti [Tue, 21 Jul 2015 15:21:53 +0000 (17:21 +0200)]
Adding gradepass feature using standard functions
Using the Moodle core standard_grading_coursemodule_elements() function to show the grade section in the attendance module settings.
Starting from version 2.9.x this includes the gradepass feature, that permits to show, in gradebook report, the percentage of attendance in green if the grade is greater/equal than the gradepass value, otherwise is shown in red.
Neill Magill [Fri, 17 Jul 2015 08:16:06 +0000 (09:16 +0100)]
The code for Moodle 2.9 should not allow installation on Moodle 2.7 or 2.8
Davo Smith [Mon, 13 Jul 2015 10:51:47 +0000 (11:51 +0100)]
Fix backup & restore errors with temporary users