Log of /contributions/modules/gradebook/gradebook.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.15.4.2.2.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Apr 20 02:45:40 2009 UTC
(7 months, 1 week ago)
by
mgn
Branch:
DRUPAL-6--2
Changes since
1.15.4.2.2.12: +90 -44 lines
Diff to
previous 1.15.4.2.2.12
, to
branch point 1.15.4.2
* by MGN: some code cleanup to meet drupal coding standards - much more to be done on this.
* by MGN: Added new feature to provide view/assign links on gradebook assignment nodes.
* by MGN: Fixed gradebook_responses_link code to only show response links for students.
Revision
1.15.4.2.2.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Apr 2 05:38:06 2009 UTC
(7 months, 3 weeks ago)
by
mgn
Branch:
DRUPAL-6--2
Changes since
1.15.4.2.2.11: +230 -116 lines
Diff to
previous 1.15.4.2.2.11
, to
branch point 1.15.4.2
* by MGN: Added link bar on top of gradebook page. Submodules can add links to this bar by implementing
hook_gradebook_grade_page_links(). This can be used in place of adding a MENU_LOCAL_TASK. The link bar
can be styled by css.
* by MGN: Changed some MENU_LOCAL_TASKS to linked MENU_CALLBACKS to avoid clutter.
* by MGN: place all submodules in subdirectories for better organization.
* by MGN: Change to API functions gradebookapi_get_students() and gradebookapi_get_teachers(). Rather
than just returning an array of user ids, these functions now return an array with keys 'uid',
containing an array of user ids, and 'name', containing an array of names. This change will also allow
for future expansion to other array elements containing user data, as needed. Changed all dependent
modules to work with these modified functions.
#418020 by manolopm and MGN: Provide themeable functions for student and teacher gradebook pages. Also added
a themable function for gradebook export page.
Revision
1.15.4.2.2.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 7 16:24:20 2009 UTC
(8 months, 2 weeks ago)
by
mgn
Branch:
DRUPAL-6--2
Changes since
1.15.4.2.2.10: +78 -3 lines
Diff to
previous 1.15.4.2.2.10
, to
branch point 1.15.4.2
#392262 by MGN: Modified gradebook_attachments to save files to subdirectory according to gradebook tid.
#392262 by MGN: Modified gradebook_attachments_gradebook_theme_add_content to display upload time.
* by MGN: Added a per-gradebook settings menu local task to allow per-gradebook configuration. Submodules
can add form elements to the settings tab using hook_form_alter.
* by MGN: Added feature to allow teachers to set the default sort order for individual gradebooks.
* by MGN: Added feature to allow teachers to place restrictions on when students can attach files to grades.
Restrictions can be set for individual gradebooks (default) as well as for assignments individually.
* by MGN: All files attached to grades are automatically deleted when gradebook_attachments is uninstalled.
Revision
1.15.4.2.2.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 2 22:11:59 2009 UTC
(8 months, 3 weeks ago)
by
mgn
Branch:
DRUPAL-6--2
Changes since
1.15.4.2.2.9: +43 -21 lines
Diff to
previous 1.15.4.2.2.9
, to
branch point 1.15.4.2
* by MGN: restructured new gradebook features into submodules gradebook_responses, gradebook_attachments,
and gradebook_scales. All of these submodules are optional.
* by MGN: Added new feature to assign a student response type, and incorporate links to student
responses on the gradebook_grade_form.
* by MGN: Added new feature to allow teachers to weight gradebook categories in their gradebooks.
* by MGN: Added new feature to allow teachers to create, edit and assign gradebook scales to assignments.
* by MGN: Additional themeing of the gradebook_grade_page to alert teacher and student of attachments
and/or student responses.
Revision
1.15.4.2.2.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 3 06:03:18 2009 UTC
(9 months, 3 weeks ago)
by
mgn
Branch:
DRUPAL-6--2
Changes since
1.15.4.2.2.5: +89 -11 lines
Diff to
previous 1.15.4.2.2.5
, to
branch point 1.15.4.2
* by MGN: Modified earned and possible fields in gradebookapi database tables to be of type float
instead of int. This will make future grade conversions/scales easier to implement later
and allows for fractional points now.
* by MGN: Implemented hook_block to provide a block that lists all the current assignments for a
student or teacher that will be due in the future. The list is sorted by gradebook and
then by due date. The assignment titles are given, along with the total possible points
and the date due. The assignment title links to the assignment node.
* by MGN: To allow finer control over the date settings (hours and minutes), I implemented a date_popup
element from the date api. I don't want to require dateapi for this module, so its an
optional feature. On the gradebookapi admin screen there is a checkbox which will enable the
use of date_popup on the assignment forms. Leave it unchecked if you don't want it.
* by MGN: Added a custom date format element to the gradebookapi admin form. This optionally sets the
date format used in the assignment block and and on the gradebook page.
Revision
1.15.4.2.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 1 05:11:47 2009 UTC
(9 months, 3 weeks ago)
by
mgn
Branch:
DRUPAL-6--2
Changes since
1.15.4.2.2.4: +14 -12 lines
Diff to
previous 1.15.4.2.2.4
, to
branch point 1.15.4.2
* #367150 by MGN: Added file attachments for gradebook entries for teachers and students.
This necessitated a new table gradebookapi_files, so its important to run update.php when
upgrading. Also, many changes to gradebookapi to load, remove and otherwise manage these
files. Added general gradebook configuration to allow students, teachers or both to attach files.
* #367154 by MGN: Fixed pager support for gradebook pages with many assignments or edit forms
with many grade entries. Added general gradebook configuration of the number of grades to display
on a gradebook page.
* by MGN: Redesigned grade_assigment_page and grade_student_page to call the same gradebook_grade_form.
Less code to manage and a more consistent, uniform css-styled UI.
* by MGN: Changed the {gradebookapi_grade} 'earned' field so it can be null. This allows for grades to be
reset to null when the grade is edited, if desired. It was previously being reset to 0. This
also required a couple of minor changes to the gradebookapi_calc_grades function because earned
can be null even when is not.
* by MGN: Updated README.txt to explain new features.
Revision
1.15.4.2.2.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 19 03:57:08 2009 UTC
(10 months, 1 week ago)
by
mgn
Branch:
DRUPAL-6--2
CVS Tags:
DRUPAL-6--2-0-BETA1
Changes since
1.15.4.2.2.3: +89 -48 lines
Diff to
previous 1.15.4.2.2.3
, to
branch point 1.15.4.2
#360407 by MGN: added export gradebook feature, borrowing heavily from the webform module. This
adds a menu local item to export the gradebook to Excel or text file. Most of the new code is in
two include file gradebook_report.inc and gradebook_export.inc. To avoid code duplication,
gradebook_gradebook_page() was modified to return rows for a text table when called with
the argument = TRUE.
Revision
1.15.4.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 19 01:48:55 2009 UTC
(10 months, 1 week ago)
by
mgn
Branch:
DRUPAL-6--1
Changes since
1.15.4.3: +26 -40 lines
Diff to
previous 1.15.4.3
, to
branch point 1.15
by MGN: rewrote hook_gradebookapi_teachers and hook_gradebookapi_students so creating a new drupal role does not automatically give it teacher and student status. Also separated out common code into a helper function _gradebook_gradebookapi_role to avoid code duplication.
Revision
1.15.4.2.2.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jan 17 05:22:28 2009 UTC
(10 months, 1 week ago)
by
mgn
Branch:
DRUPAL-6--2
Changes since
1.15.4.2.2.2: +25 -39 lines
Diff to
previous 1.15.4.2.2.2
, to
branch point 1.15.4.2
by MGN: rewrote hook_gradebookapi_teachers and hook_gradebookapi_students so creating a new drupal role does not automatically give it teacher and student status. Also separated out common code into a helper function _gradebook_gradebookapi_role to avoid code duplication.
Revision
1.15.4.2.2.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 7 15:51:27 2009 UTC
(10 months, 2 weeks ago)
by
mgn
Branch:
DRUPAL-6--2
Changes since
1.15.4.2.2.1: +124 -421 lines
Diff to
previous 1.15.4.2.2.1
, to
branch point 1.15.4.2
by MGN: Added two forms and modified gradebook_page to improve UI.
* Added form to grade all students for a select assignment, another to grade all assignments for a selected student.
* Added divs for form elements to permit form layout through CSS (not yet implemented in gradebook.css).
* Split off page callbacks into either gradebook.pages.inc (display/edit grade) or gradebook.category.inc
* to reduce size of gradebook.module.
* Reworked theme_gradebook_page and gradebook.css to improve css control of formating on gradebook_page.
* Added assignment class average row to gradebook_page.
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Aug 20 10:48:38 2006 UTC
(3 years, 3 months ago)
by
rwohleb
Branch:
MAIN
Changes since
1.9: +139 -24 lines
Diff to
previous 1.9
* Overage has been removed. It wasn't needed.
* Any node type can be an assignment. The assignment module is no longer used.
* Grades now have a note field viewable by the teacher and student.
* Per-assignment grade exemptions have been implemented.
* Initial implementation of hook_gradebookapi is in place.
* Scales partially work. Changing scales on a node screws up grade calculations.
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 10 17:18:44 2006 UTC
(3 years, 3 months ago)
by
rwohleb
Branch:
MAIN
Changes since
1.4: +335 -108 lines
Diff to
previous 1.4
Multiple gradebooks are now supported programmatically.
Moving categories now properly updates grade cache.
Some node/term 'delete' code is in place.
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Aug 8 10:52:01 2006 UTC
(3 years, 3 months ago)
by
rwohleb
Branch:
MAIN
Changes since
1.1: +202 -10 lines
Diff to
previous 1.1
Gradebook now calculates and caches grades throughout the vocabulary.
Assignment now has 'overage' setting that controls if earned grades can be over possible grade.
Implemented hook_settings to allow selection of student/teacher roles.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.