moodle-mod_attendance.git
10 years agoCONTRIB-4754 Added upgrade step to account for name change from MOODLE_23_STABLE
Tim Gus [Thu, 28 Nov 2013 21:27:20 +0000 (16:27 -0500)] 
CONTRIB-4754 Added upgrade step to account for name change from
"attforblock" to "attendance":
- updated itemmodule field in the grade tables
- updated role_capabilities table to preserve old capabilities
- deleted old data from capabilities and role_capabilities tables

10 years agouse cross-db update of capabilities
Dan Marsden [Fri, 29 Nov 2013 01:50:55 +0000 (14:50 +1300)] 
use cross-db update of capabilities

10 years agoupdate grade_items and capability tables
Dan Marsden [Fri, 29 Nov 2013 01:45:29 +0000 (14:45 +1300)] 
update grade_items and capability tables

10 years agoversion bump for security release
Dan Marsden [Sun, 1 Sep 2013 21:37:36 +0000 (09:37 +1200)] 
version bump for security release

10 years agoSecurity fix to prevent access to other students attendance
NeillM [Sun, 1 Sep 2013 21:36:53 +0000 (09:36 +1200)] 
Security fix to prevent access to other students attendance

10 years agobump version
Dan Marsden [Thu, 29 Aug 2013 01:08:11 +0000 (13:08 +1200)] 
bump version

10 years agoFix for sessions with taken attendance show twice in student report.
NeillM [Fri, 16 Aug 2013 10:22:55 +0000 (11:22 +0100)] 
Fix for sessions with taken attendance show twice in student report.

The two queries have been refactored into a single query using UNION

10 years agofix another typo
Dan Marsden [Wed, 21 Aug 2013 22:05:25 +0000 (10:05 +1200)] 
fix another typo

10 years agofix typo
Dan Marsden [Tue, 20 Aug 2013 20:54:56 +0000 (08:54 +1200)] 
fix typo

10 years agoclear course cache during upgrade
Dan Marsden [Tue, 6 Aug 2013 20:49:17 +0000 (08:49 +1200)] 
clear course cache during upgrade

10 years agoprevent duplication of template values
Dan Marsden [Tue, 6 Aug 2013 22:37:21 +0000 (10:37 +1200)] 
prevent duplication of template values

10 years agolower number of entries used in log - to bring under 255 including utf8
Dan Marsden [Fri, 19 Jul 2013 02:57:50 +0000 (14:57 +1200)] 
lower number of entries used in log - to bring under 255 including utf8

10 years agoPrevent too much info in add_to_log - enter first 10 and last session into log
Dan Marsden [Mon, 15 Jul 2013 03:14:02 +0000 (15:14 +1200)] 
Prevent too much info in add_to_log - enter first 10 and last session into log

10 years agocheck var exists before using
Dan Marsden [Mon, 15 Jul 2013 02:45:33 +0000 (14:45 +1200)] 
check var exists before using

10 years agoremove abstracted add_to_log function
Dan Marsden [Mon, 15 Jul 2013 02:42:13 +0000 (14:42 +1200)] 
remove abstracted add_to_log function

10 years agoslightly better check - there's probably a cfg var I could check here instead of...
Dan Marsden [Fri, 12 Jul 2013 01:04:44 +0000 (11:04 +1000)] 
slightly better check - there's probably a cfg var I could check here instead of using try/catch

10 years agoPrevent fatal error on fresh install
Dan Marsden [Fri, 12 Jul 2013 00:45:07 +0000 (10:45 +1000)] 
Prevent fatal error on fresh install

10 years agoTested code on 2.3.4 and use older style install.xml
Dan Marsden [Thu, 11 Jul 2013 03:45:17 +0000 (15:45 +1200)] 
Tested code on 2.3.4 and use older style install.xml

10 years agoRevert "update xml based on new guidelines - using xmldb editor"
Dan Marsden [Thu, 11 Jul 2013 03:36:53 +0000 (15:36 +1200)] 
Revert "update xml based on new guidelines - using xmldb editor"

This reverts commit 25db6795e758cf4f77e459f41e5e28c141a478e1.

10 years agobump version number for backup fix.
Dan Marsden [Tue, 9 Jul 2013 21:09:47 +0000 (09:09 +1200)] 
bump version number for backup fix.

10 years agoFix issue with backups - old removed file
Dan Marsden [Tue, 9 Jul 2013 21:08:56 +0000 (09:08 +1200)] 
Fix issue with backups - old removed file

10 years agoCONTRIB-3992 fix padding between mon-sun checkboxes on add session form
Dan Marsden [Tue, 9 Jul 2013 02:15:04 +0000 (14:15 +1200)] 
CONTRIB-3992 fix padding between mon-sun checkboxes on add session form

10 years agoFix previous version check - whoops.
Dan Marsden [Mon, 8 Jul 2013 20:46:58 +0000 (08:46 +1200)] 
Fix previous version check - whoops.

10 years agobump version - new version of install.xml and relaxed restrictions on previous upgrad...
Dan Marsden [Sun, 7 Jul 2013 23:41:13 +0000 (11:41 +1200)] 
bump version - new version of install.xml and relaxed restrictions on previous upgrade version

10 years agorelax upgrade restriction and allow any version higher than 2011061800
Dan Marsden [Sun, 7 Jul 2013 23:37:10 +0000 (11:37 +1200)] 
relax upgrade restriction and allow any version higher than 2011061800

10 years agoupdate xml based on new guidelines - using xmldb editor
Dan Marsden [Fri, 5 Jul 2013 00:00:23 +0000 (12:00 +1200)] 
update xml based on new guidelines - using xmldb editor

10 years agoMore coding guideline stuff - phpdocs.
Dan Marsden [Thu, 4 Jul 2013 01:53:18 +0000 (13:53 +1200)] 
More coding guideline stuff - phpdocs.

10 years agofix some setType warnings
Dan Marsden [Thu, 4 Jul 2013 01:16:40 +0000 (13:16 +1200)] 
fix some setType warnings

10 years agoadd sesskey check for taking attendance and do some cleaning on raw form vars
Dan Marsden [Thu, 4 Jul 2013 00:50:58 +0000 (12:50 +1200)] 
add sesskey check for taking attendance and do some cleaning on raw form vars

10 years agoonly check upgrade if config.php has been included before loading this file.
Dan Marsden [Thu, 4 Jul 2013 00:37:20 +0000 (12:37 +1200)] 
only check upgrade if config.php has been included before loading this file.

10 years agoremove some evil data_submitted calls and check sesskey on actions
Dan Marsden [Thu, 4 Jul 2013 00:13:08 +0000 (12:13 +1200)] 
remove some evil data_submitted calls and check sesskey on actions

10 years agoCONTRIB-4246: allow quick editing of module name
Dan Marsden [Wed, 3 Jul 2013 23:43:08 +0000 (11:43 +1200)] 
CONTRIB-4246: allow quick editing of module name

10 years agoremove old code and bump version to make sure upgrade occurs after migration from...
Dan Marsden [Wed, 3 Jul 2013 23:38:02 +0000 (11:38 +1200)] 
remove old code and bump version to make sure upgrade occurs after migration from attforblock

10 years agorename attforblock module to attendance - also includes upgrade script to rename...
Dan Marsden [Wed, 3 Jul 2013 21:38:47 +0000 (09:38 +1200)] 
rename attforblock module to attendance - also includes upgrade script to rename old attforblock tables.

10 years agocoding guideline stuff
Dan Marsden [Wed, 3 Jul 2013 12:28:27 +0000 (00:28 +1200)] 
coding guideline stuff

10 years agoremove old help files - no longer used in 2.x
Dan Marsden [Wed, 3 Jul 2013 10:25:47 +0000 (22:25 +1200)] 
remove old help files - no longer used in 2.x

10 years agoadd require_login check before trying to redirect.
Dan Marsden [Wed, 3 Jul 2013 10:22:18 +0000 (22:22 +1200)] 
add require_login check before trying to redirect.

10 years agoCoding guideline fixes
Dan Marsden [Wed, 3 Jul 2013 10:18:09 +0000 (22:18 +1200)] 
Coding guideline fixes

10 years agoCONTRIB-4320 Corrected upgrade sql.
Logan Reynolds [Fri, 7 Jun 2013 22:41:10 +0000 (17:41 -0500)] 
CONTRIB-4320 Corrected upgrade sql.

10 years agoremove all non "en" langs as they will be managed by AMOS and remove some old files...
Dan Marsden [Wed, 3 Jul 2013 07:32:06 +0000 (19:32 +1200)] 
remove all non "en" langs as they will be managed by AMOS and remove some old files, update readme

11 years agoTo the user's report added taked sessions from previous groups
Artem Andreev [Sat, 2 Mar 2013 10:08:38 +0000 (14:08 +0400)] 
To the user's report added taked sessions from previous groups

11 years agoFixed bug with auto filtering users on the Taking page based on active group (thanks...
Artem Andreev [Sat, 2 Mar 2013 07:50:38 +0000 (11:50 +0400)] 
Fixed bug with auto filtering users on the Taking page based on active group (thanks Molten Bean)

11 years agoFixed #32: regression after old renamings (thanks Davo Smith)
Artem Andreev [Sat, 2 Mar 2013 07:07:00 +0000 (11:07 +0400)] 
Fixed #32: regression after old renamings (thanks Davo Smith)

11 years agoFixed bug while exporting attendance data
Artem Andreev [Sat, 16 Feb 2013 07:11:43 +0000 (11:11 +0400)] 
Fixed bug while exporting attendance data

11 years agoFixed #29 issues with attforblock_scale_used_anywhere and attforblock_scale_used.
Artem Andreev [Sat, 22 Dec 2012 11:42:56 +0000 (15:42 +0400)] 
Fixed #29 issues with attforblock_scale_used_anywhere and attforblock_scale_used.

11 years agoFixed calendar using backwards compatibility hack in global scope
Artem Andreev [Sat, 22 Dec 2012 11:26:16 +0000 (15:26 +0400)] 
Fixed calendar using backwards compatibility hack in global scope

11 years agoFixed en dates back to original
Jay Huber [Tue, 11 Dec 2012 20:09:58 +0000 (14:09 -0600)] 
Fixed en dates back to original

11 years agoMoodle 2.4 Remarked out 2.4 YUI commands
Jay Huber [Tue, 11 Dec 2012 20:05:23 +0000 (14:05 -0600)] 
Moodle 2.4 Remarked out 2.4 YUI commands

11 years ago$att->view fix. Thanks dketov
Artem Andreev [Thu, 1 Nov 2012 11:28:18 +0000 (15:28 +0400)] 
$att->view fix. Thanks dketov

11 years agoMerge pull request #23 from nadavkav/hebrew_translation
Artem Andreev [Thu, 1 Nov 2012 11:24:10 +0000 (04:24 -0700)] 
Merge pull request #23 from nadavkav/hebrew_translation

new Hebrew translation (Help files are not translated, yet)

11 years agoMerge pull request #24 from brki/MDL_23_strict_mode_warnings_fix
Artem Andreev [Thu, 1 Nov 2012 11:23:27 +0000 (04:23 -0700)] 
Merge pull request #24 from brki/MDL_23_strict_mode_warnings_fix

fixed some php strict-mode warnings

11 years agofixed some php strict-mode warnings
Brian King [Mon, 29 Oct 2012 16:27:57 +0000 (17:27 +0100)] 
fixed some php strict-mode warnings

11 years agonew Hebrew translation (Help files are not translated, yet)
Nadav Kavalerchik [Sun, 28 Oct 2012 18:48:57 +0000 (20:48 +0200)] 
new Hebrew translation (Help files are not translated, yet)

11 years agoFixed #22: issue with Daylight saving time and clocks adjusting by one hour backward
Artem Andreev [Fri, 12 Oct 2012 13:50:13 +0000 (17:50 +0400)] 
Fixed #22: issue with Daylight saving time and clocks adjusting by one hour backward

11 years agoOn manage page added action icon for changing attendance.
Artem Andreev [Fri, 28 Sep 2012 12:54:05 +0000 (16:54 +0400)] 
On manage page added action icon for changing attendance.

11 years agoFixed #21: No Grade attendance - added to gradebook on attendance update
Artem Andreev [Fri, 28 Sep 2012 12:17:56 +0000 (16:17 +0400)] 
Fixed #21: No Grade attendance - added to gradebook on attendance update

11 years agoUpdate lang/fr/attforblock.php
Luiggi Sansonetti [Wed, 29 Aug 2012 13:42:02 +0000 (16:42 +0300)] 
Update lang/fr/attforblock.php

Hi
 i have updated the french language file with some adds

i made the french documentation here :
http://docs.moodle.org/2x/fr/Attendance

and i confirm it runs very well on the 2.3 version.

cheers.

11 years agoFixed bug with access non-editing teachers to sessions of groups to which they are...
Artem Andreev [Fri, 7 Sep 2012 11:54:42 +0000 (15:54 +0400)] 
Fixed bug with access non-editing teachers to sessions of groups to which they are not belong.

11 years agoMerge remote branch 'pull-request/fix_langs_encoding' into MDL_23
Artem Andreev [Fri, 24 Aug 2012 11:27:41 +0000 (15:27 +0400)] 
Merge remote branch 'pull-request/fix_langs_encoding' into MDL_23

11 years agoMerge remote branch 'pull-request/fix_UPDATE_sql_statements_for_psql' into MDL_23
Artem Andreev [Fri, 24 Aug 2012 11:27:24 +0000 (15:27 +0400)] 
Merge remote branch 'pull-request/fix_UPDATE_sql_statements_for_psql' into MDL_23

11 years agoFix Swedish and German translation files' encodings.
Didier Raboud [Tue, 21 Aug 2012 11:52:19 +0000 (13:52 +0200)] 
Fix Swedish and German translation files' encodings.

11 years agoCorrect UPDATE statements to work with PostgreSQL.
Didier Raboud [Fri, 10 Aug 2012 14:02:07 +0000 (16:02 +0200)] 
Correct UPDATE statements to work with PostgreSQL.

11 years agoLTSDEV: Adjust SQL in get_users() for Oracle compatibility
Seth Hobson [Wed, 1 Aug 2012 16:10:08 +0000 (12:10 -0400)] 
LTSDEV: Adjust SQL in get_users() for Oracle compatibility

11 years agoReadme fixes
Artem Andreev [Thu, 26 Jul 2012 12:28:02 +0000 (16:28 +0400)] 
Readme fixes

11 years agoMerge remote branch 'pull-request/MDL_20' into MDL_23
Artem Andreev [Thu, 26 Jul 2012 12:14:58 +0000 (16:14 +0400)] 
Merge remote branch 'pull-request/MDL_20' into MDL_23

11 years agoPHP strict fixes
Artem Andreev [Sat, 21 Jul 2012 10:13:37 +0000 (14:13 +0400)] 
PHP strict fixes

11 years agobrazilian translation
Andre Yamin [Sat, 7 Jul 2012 20:54:10 +0000 (17:54 -0300)] 
brazilian translation

11 years agoMerge pull request #14 from danmarsden/MDL_20
Artem Andreev [Thu, 5 Jul 2012 10:33:48 +0000 (03:33 -0700)] 
Merge pull request #14 from danmarsden/MDL_20

Fix boilerplates, remove old cvs tags, add correct component to version....

11 years agoAdd new core addinstance capability (2.3 throws warnings if this doesn't exist)
Dan Marsden [Thu, 5 Jul 2012 01:22:51 +0000 (13:22 +1200)] 
Add new core addinstance capability (2.3 throws warnings if this doesn't exist)

11 years agoFix boilerplates, remove old cvs tags, add correct component to version.php
Dan Marsden [Thu, 5 Jul 2012 00:42:13 +0000 (12:42 +1200)] 
Fix boilerplates, remove old cvs tags, add correct component to version.php

11 years agoFixed #13: course reset for attendance activities now works.
Artem Andreev [Sat, 19 May 2012 08:41:46 +0000 (12:41 +0400)] 
Fixed #13: course reset for attendance activities now works.

11 years agoRussian translation of reset strings
Artem Andreev [Fri, 11 May 2012 11:25:45 +0000 (15:25 +0400)] 
Russian translation of reset strings

11 years agoFixed bug with gradebook grade
Artem Andreev [Thu, 10 May 2012 12:19:20 +0000 (16:19 +0400)] 
Fixed bug with gradebook grade

11 years agoAdded grades explanation
Artem Andreev [Thu, 10 May 2012 11:09:06 +0000 (15:09 +0400)] 
Added grades explanation

12 years agohttp://tracker.moodle.org/browse/CONTRIB-3549
Federico J. Botti [Mon, 26 Mar 2012 03:30:37 +0000 (00:30 -0300)] 
http://tracker.moodle.org/browse/CONTRIB-3549

12 years agohttp://tracker.moodle.org/browse/CONTRIB-3549
Federico J. Botti [Mon, 26 Mar 2012 03:20:40 +0000 (00:20 -0300)] 
http://tracker.moodle.org/browse/CONTRIB-3549

12 years agoAdded sessionsnotfound lang string
Artem Andreev [Sat, 11 Feb 2012 13:25:36 +0000 (17:25 +0400)] 
Added sessionsnotfound lang string

12 years agoFixed renaming's regression. Thanks Marty Gilbert.
Artem Andreev [Sat, 11 Feb 2012 06:34:29 +0000 (10:34 +0400)] 
Fixed renaming's regression. Thanks Marty Gilbert.

12 years agoFixed renaming's regression
Artem Andreev [Fri, 2 Dec 2011 10:03:13 +0000 (14:03 +0400)] 
Fixed renaming's regression

12 years agoFixed bug when you have one session for current day and try take attendance from...
Artem Andreev [Thu, 1 Dec 2011 13:44:27 +0000 (17:44 +0400)] 
Fixed bug when you have one session for current day and try take attendance from block.

12 years agoSORT_LASTNAME needed a prefix
Chris Stones [Tue, 29 Nov 2011 18:54:20 +0000 (10:54 -0800)] 
SORT_LASTNAME needed a prefix

12 years agoRemoved prefixes for attforblock methods. Fixed errors and notices.
Artem Andreev [Fri, 18 Nov 2011 13:02:55 +0000 (17:02 +0400)] 
Removed prefixes for attforblock methods. Fixed errors and notices.

12 years agoAppending prefixes to non prefixed functions and defines
Chris Stones [Thu, 17 Nov 2011 23:12:54 +0000 (15:12 -0800)] 
Appending prefixes to non prefixed functions and defines

12 years agoFixed #4: deprecation warnings in sessions.php
Artem Andreev [Fri, 21 Oct 2011 12:11:13 +0000 (16:11 +0400)] 
Fixed #4: deprecation warnings in sessions.php

12 years agoFixed dates range for 0 week days
Artem Andreev [Fri, 14 Oct 2011 11:37:24 +0000 (15:37 +0400)] 
Fixed dates range for 0 week days

12 years agoRemoved old (1.9) files
Artem Andreev [Sat, 1 Oct 2011 06:20:39 +0000 (10:20 +0400)] 
Removed old (1.9) files

12 years agoRevert "make sql more generic to work on postgresql"
Artem Andreev [Fri, 23 Sep 2011 10:25:01 +0000 (14:25 +0400)] 
Revert "make sql more generic to work on postgresql"

This reverts commit 4721be5c68b2a9c665a76619d834dee6cf2d40ef.

12 years agoFixed bugs with validating forms
Artem Andreev [Sat, 10 Sep 2011 13:36:11 +0000 (17:36 +0400)] 
Fixed bugs with validating forms

12 years agoRemoved restriction on taking attendance for users who enrolled in course after end...
Artem Andreev [Sat, 10 Sep 2011 12:55:20 +0000 (16:55 +0400)] 
Removed restriction on taking attendance for users who enrolled in course after end of session. Instead of this, warning about date of student enrollment displayed on the take attendance page.

12 years agoMerge pull request #2 from eriko/MDL_20
Artem Andreev [Sat, 10 Sep 2011 10:45:22 +0000 (03:45 -0700)] 
Merge pull request #2 from eriko/MDL_20

make sql more generic to work on postgresql

12 years agomake sql more generic to work on postgresql
Erik Ordway [Wed, 7 Sep 2011 19:08:33 +0000 (12:08 -0700)] 
make sql more generic to work on postgresql

Using multiple table as x in the first section of an UPDATE is specific
to mysql "UPDATE {attendance_statuses} AS sta,{attforblock} AS att SET
sta.attendanceid=att.id WHERE att.course=sta.courseid";         is now
"UPDATE {attendance_statuses}  SET attendanceid={attforblock}.id FROM
{attforblock} WHERE {attforblock}.course=courseid";

12 years agoFixed bug with displaying SESSIONS_TYPE_SELECTOR for attendances with groupmode ...
Artem Andreev [Sat, 3 Sep 2011 13:53:20 +0000 (17:53 +0400)] 
Fixed bug with displaying SESSIONS_TYPE_SELECTOR for attendances with groupmode 'Separate'

12 years agoFixed calendar displaying bug for Magazine theme
Artem Andreev [Fri, 19 Aug 2011 10:59:33 +0000 (14:59 +0400)] 
Fixed calendar displaying bug for Magazine theme

12 years agoFixed en_us language strings
Artem Andreev [Mon, 1 Aug 2011 18:10:42 +0000 (22:10 +0400)] 
Fixed en_us language strings

12 years agoFixed bug with report displaying
Artem Andreev [Sat, 23 Jul 2011 12:38:16 +0000 (16:38 +0400)] 
Fixed bug with report displaying

12 years agoreport.php has report layout now
Artem Andreev [Fri, 22 Jul 2011 12:59:55 +0000 (16:59 +0400)] 
report.php has report layout now

12 years agoSome refactoring for better using from attendance block
Artem Andreev [Sat, 16 Jul 2011 13:03:13 +0000 (17:03 +0400)] 
Some refactoring for better using from attendance block

12 years agoFixed bug with mod/attforblock:canbelisted for user with admin role
Artem Andreev [Sat, 16 Jul 2011 13:02:47 +0000 (17:02 +0400)] 
Fixed bug with mod/attforblock:canbelisted for user with admin role

12 years agoFixed bug with help buttons for different group modes in add_form.php
Artem Andreev [Sat, 16 Jul 2011 13:00:48 +0000 (17:00 +0400)] 
Fixed bug with help buttons for different group modes in add_form.php

12 years ago2.4.0 beta release:
Artem Andreev [Sat, 16 Jul 2011 09:53:42 +0000 (13:53 +0400)] 
2.4.0 beta release:

* compatible only with Moodle 2.0
* fully internals rewritten (OOP, renderers, etc)
* support all 2.3 features
+ taken into account information about students enrolment (start/end date) on different pages
+ HTML-editor for session description with ability to add links, files, formatting, etc