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
Dan Marsden [Fri, 29 Nov 2013 01:50:55 +0000 (14:50 +1300)]
use cross-db update of capabilities
Dan Marsden [Fri, 29 Nov 2013 01:45:29 +0000 (14:45 +1300)]
update grade_items and capability tables
Dan Marsden [Sun, 1 Sep 2013 21:37:36 +0000 (09:37 +1200)]
version bump for security release
NeillM [Sun, 1 Sep 2013 21:36:53 +0000 (09:36 +1200)]
Security fix to prevent access to other students attendance
Dan Marsden [Thu, 29 Aug 2013 01:08:11 +0000 (13:08 +1200)]
bump version
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
Dan Marsden [Wed, 21 Aug 2013 22:05:25 +0000 (10:05 +1200)]
fix another typo
Dan Marsden [Tue, 20 Aug 2013 20:54:56 +0000 (08:54 +1200)]
fix typo
Dan Marsden [Tue, 6 Aug 2013 20:49:17 +0000 (08:49 +1200)]
clear course cache during upgrade
Dan Marsden [Tue, 6 Aug 2013 22:37:21 +0000 (10:37 +1200)]
prevent duplication of template values
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
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
Dan Marsden [Mon, 15 Jul 2013 02:45:33 +0000 (14:45 +1200)]
check var exists before using
Dan Marsden [Mon, 15 Jul 2013 02:42:13 +0000 (14:42 +1200)]
remove abstracted add_to_log function
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
Dan Marsden [Fri, 12 Jul 2013 00:45:07 +0000 (10:45 +1000)]
Prevent fatal error on fresh install
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
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.
Dan Marsden [Tue, 9 Jul 2013 21:09:47 +0000 (09:09 +1200)]
bump version number for backup fix.
Dan Marsden [Tue, 9 Jul 2013 21:08:56 +0000 (09:08 +1200)]
Fix issue with backups - old removed file
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
Dan Marsden [Mon, 8 Jul 2013 20:46:58 +0000 (08:46 +1200)]
Fix previous version check - whoops.
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
Dan Marsden [Sun, 7 Jul 2013 23:37:10 +0000 (11:37 +1200)]
relax upgrade restriction and allow any version higher than
2011061800
Dan Marsden [Fri, 5 Jul 2013 00:00:23 +0000 (12:00 +1200)]
update xml based on new guidelines - using xmldb editor
Dan Marsden [Thu, 4 Jul 2013 01:53:18 +0000 (13:53 +1200)]
More coding guideline stuff - phpdocs.
Dan Marsden [Thu, 4 Jul 2013 01:16:40 +0000 (13:16 +1200)]
fix some setType warnings
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
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.
Dan Marsden [Thu, 4 Jul 2013 00:13:08 +0000 (12:13 +1200)]
remove some evil data_submitted calls and check sesskey on actions
Dan Marsden [Wed, 3 Jul 2013 23:43:08 +0000 (11:43 +1200)]
CONTRIB-4246: allow quick editing of module name
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
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.
Dan Marsden [Wed, 3 Jul 2013 12:28:27 +0000 (00:28 +1200)]
coding guideline stuff
Dan Marsden [Wed, 3 Jul 2013 10:25:47 +0000 (22:25 +1200)]
remove old help files - no longer used in 2.x
Dan Marsden [Wed, 3 Jul 2013 10:22:18 +0000 (22:22 +1200)]
add require_login check before trying to redirect.
Dan Marsden [Wed, 3 Jul 2013 10:18:09 +0000 (22:18 +1200)]
Coding guideline fixes
Logan Reynolds [Fri, 7 Jun 2013 22:41:10 +0000 (17:41 -0500)]
CONTRIB-4320 Corrected upgrade sql.
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
Artem Andreev [Sat, 2 Mar 2013 10:08:38 +0000 (14:08 +0400)]
To the user's report added taked sessions from previous groups
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)
Artem Andreev [Sat, 2 Mar 2013 07:07:00 +0000 (11:07 +0400)]
Fixed #32: regression after old renamings (thanks Davo Smith)
Artem Andreev [Sat, 16 Feb 2013 07:11:43 +0000 (11:11 +0400)]
Fixed bug while exporting attendance data
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.
Artem Andreev [Sat, 22 Dec 2012 11:26:16 +0000 (15:26 +0400)]
Fixed calendar using backwards compatibility hack in global scope
Jay Huber [Tue, 11 Dec 2012 20:09:58 +0000 (14:09 -0600)]
Fixed en dates back to original
Jay Huber [Tue, 11 Dec 2012 20:05:23 +0000 (14:05 -0600)]
Moodle 2.4 Remarked out 2.4 YUI commands
Artem Andreev [Thu, 1 Nov 2012 11:28:18 +0000 (15:28 +0400)]
$att->view fix. Thanks dketov
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)
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
Brian King [Mon, 29 Oct 2012 16:27:57 +0000 (17:27 +0100)]
fixed some php strict-mode warnings
Nadav Kavalerchik [Sun, 28 Oct 2012 18:48:57 +0000 (20:48 +0200)]
new Hebrew translation (Help files are not translated, yet)
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
Artem Andreev [Fri, 28 Sep 2012 12:54:05 +0000 (16:54 +0400)]
On manage page added action icon for changing attendance.
Artem Andreev [Fri, 28 Sep 2012 12:17:56 +0000 (16:17 +0400)]
Fixed #21: No Grade attendance - added to gradebook on attendance update
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.
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.
Artem Andreev [Fri, 24 Aug 2012 11:27:41 +0000 (15:27 +0400)]
Merge remote branch 'pull-request/fix_langs_encoding' 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
Didier Raboud [Tue, 21 Aug 2012 11:52:19 +0000 (13:52 +0200)]
Fix Swedish and German translation files' encodings.
Didier Raboud [Fri, 10 Aug 2012 14:02:07 +0000 (16:02 +0200)]
Correct UPDATE statements to work with PostgreSQL.
Seth Hobson [Wed, 1 Aug 2012 16:10:08 +0000 (12:10 -0400)]
LTSDEV: Adjust SQL in get_users() for Oracle compatibility
Artem Andreev [Thu, 26 Jul 2012 12:28:02 +0000 (16:28 +0400)]
Readme fixes
Artem Andreev [Thu, 26 Jul 2012 12:14:58 +0000 (16:14 +0400)]
Merge remote branch 'pull-request/MDL_20' into MDL_23
Artem Andreev [Sat, 21 Jul 2012 10:13:37 +0000 (14:13 +0400)]
PHP strict fixes
Andre Yamin [Sat, 7 Jul 2012 20:54:10 +0000 (17:54 -0300)]
brazilian translation
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....
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)
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
Artem Andreev [Sat, 19 May 2012 08:41:46 +0000 (12:41 +0400)]
Fixed #13: course reset for attendance activities now works.
Artem Andreev [Fri, 11 May 2012 11:25:45 +0000 (15:25 +0400)]
Russian translation of reset strings
Artem Andreev [Thu, 10 May 2012 12:19:20 +0000 (16:19 +0400)]
Fixed bug with gradebook grade
Artem Andreev [Thu, 10 May 2012 11:09:06 +0000 (15:09 +0400)]
Added grades explanation
Federico J. Botti [Mon, 26 Mar 2012 03:30:37 +0000 (00:30 -0300)]
http://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
Artem Andreev [Sat, 11 Feb 2012 13:25:36 +0000 (17:25 +0400)]
Added sessionsnotfound lang string
Artem Andreev [Sat, 11 Feb 2012 06:34:29 +0000 (10:34 +0400)]
Fixed renaming's regression. Thanks Marty Gilbert.
Artem Andreev [Fri, 2 Dec 2011 10:03:13 +0000 (14:03 +0400)]
Fixed renaming's regression
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.
Chris Stones [Tue, 29 Nov 2011 18:54:20 +0000 (10:54 -0800)]
SORT_LASTNAME needed a prefix
Artem Andreev [Fri, 18 Nov 2011 13:02:55 +0000 (17:02 +0400)]
Removed prefixes for attforblock methods. Fixed errors and notices.
Chris Stones [Thu, 17 Nov 2011 23:12:54 +0000 (15:12 -0800)]
Appending prefixes to non prefixed functions and defines
Artem Andreev [Fri, 21 Oct 2011 12:11:13 +0000 (16:11 +0400)]
Fixed #4: deprecation warnings in sessions.php
Artem Andreev [Fri, 14 Oct 2011 11:37:24 +0000 (15:37 +0400)]
Fixed dates range for 0 week days
Artem Andreev [Sat, 1 Oct 2011 06:20:39 +0000 (10:20 +0400)]
Removed old (1.9) files
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.
Artem Andreev [Sat, 10 Sep 2011 13:36:11 +0000 (17:36 +0400)]
Fixed bugs with validating forms
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.
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
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";
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'
Artem Andreev [Fri, 19 Aug 2011 10:59:33 +0000 (14:59 +0400)]
Fixed calendar displaying bug for Magazine theme
Artem Andreev [Mon, 1 Aug 2011 18:10:42 +0000 (22:10 +0400)]
Fixed en_us language strings
Artem Andreev [Sat, 23 Jul 2011 12:38:16 +0000 (16:38 +0400)]
Fixed bug with report displaying
Artem Andreev [Fri, 22 Jul 2011 12:59:55 +0000 (16:59 +0400)]
report.php has report layout now
Artem Andreev [Sat, 16 Jul 2011 13:03:13 +0000 (17:03 +0400)]
Some refactoring for better using from attendance block
Artem Andreev [Sat, 16 Jul 2011 13:02:47 +0000 (17:02 +0400)]
Fixed bug with mod/attforblock:canbelisted for user with admin role
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
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