/[drupal]/contributions/modules/gradebook/gradebook.module
ViewVC logotype

Log of /contributions/modules/gradebook/gradebook.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.15.4.2.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 18 11:51:15 2009 UTC (8 days, 11 hours ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.15.4.2.2.13: +11 -25 lines
Diff to previous 1.15.4.2.2.13 , to branch point 1.15.4.2 , to next main 1.15.4.6
#616566 by MGN: Fix bug in storing and accessing gradebook options.

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.9 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 25 18:30:26 2009 UTC (9 months ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.15.4.2.2.8: +2 -2 lines
Diff to previous 1.15.4.2.2.8 , to branch point 1.15.4.2
#383664 by MGN: Fixed permission typo: 'admin gradebook' is now 'administer gradebook'.

Revision 1.15.4.2.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 11 05:11:41 2009 UTC (9 months, 2 weeks ago) by mgn
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA2
Changes since 1.15.4.2.2.7: +22 -15 lines
Diff to previous 1.15.4.2.2.7 , to branch point 1.15.4.2
* by MGN: Modified gradebook_list_page to show table only when there are two or more gradebooks. For
  one gradebook, bypass the list page altogether and go to the only option. And when the user is not
  affiliated wtih any gradebooks, a message is displayed.

Revision 1.15.4.2.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 10 21:13:38 2009 UTC (9 months, 2 weeks ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.15.4.2.2.6: +5 -1 lines
Diff to previous 1.15.4.2.2.6 , to branch point 1.15.4.2
* by MGN: Fixed gradebook list page so only relevent gradebooks are shown to the user
* by MGN: Fixed width of earned and note fields

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.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 1 05:45:20 2009 UTC (9 months, 3 weeks ago) by mgn
Branch: DRUPAL-6--1
Changes since 1.15.4.5: +6 -5 lines
Diff to previous 1.15.4.5 , to branch point 1.15
#367154 by MGN: Fixed pager support for gradebook pages with many assignments.

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.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 19 17:13:36 2009 UTC (10 months, 1 week ago) by mgn
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-RC2
Changes since 1.15.4.4: +4 -4 lines
Diff to previous 1.15.4.4 , to branch point 1.15
by MGN: added access gradebook permission.

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.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 13 18:33:46 2009 UTC (10 months, 1 week ago) by mgn
Branch: DRUPAL-6--1
Changes since 1.15.4.2: +2 -2 lines
Diff to previous 1.15.4.2 , to branch point 1.15
#358236 by MGN: incorrect use of url() in form redirect.

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.15.4.2.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 3 01:15:11 2009 UTC (10 months, 3 weeks ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.15.4.2: +13 -5 lines
Diff to previous 1.15.4.2
MGN: add date support to gradebook 6.x.2.x development

Revision 1.15.4.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 21:58:06 2008 UTC (10 months, 3 weeks ago) by mgn
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-RC1
Branch point for: DRUPAL-6--2
Changes since 1.15.4.1: +3 -2 lines
Diff to previous 1.15.4.1 , to branch point 1.15
MGN: fixed an access bug revealved by og_gradebook

Revision 1.15.4.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 20 03:27:13 2008 UTC (11 months, 1 week ago) by mgn
Branch: DRUPAL-6--1
Changes since 1.15: +583 -568 lines
Diff to previous 1.15
Initial commit of DRUPAL-6--1 branch

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 7 05:25:53 2007 UTC (2 years, 7 months ago) by rwohleb
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
Changes since 1.14: +382 -275 lines
Diff to previous 1.14
* Initial support for Drupal 5
* Fixed 'default' SQL bug in text/blob field for MySQL

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 15 02:07:01 2006 UTC (3 years ago) by rwohleb
Branch: MAIN
Branch point for: DRUPAL-4-7
Changes since 1.13: +35 -13 lines
Diff to previous 1.13
Cleaned up admin/settings/gradebook.
Fixed default gradebook behavior (http://drupal.org/node/97401).
Fixed gradebook list to only show gradebooks user has access to.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 7 01:43:22 2006 UTC (3 years ago) by rwohleb
Branch: MAIN
Changes since 1.12: +99 -156 lines
Diff to previous 1.12
Updated rendering function allows for sorting of assignments.
Fixed some permission bugs.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 5 23:34:34 2006 UTC (3 years ago) by rwohleb
Branch: MAIN
Changes since 1.11: +38 -23 lines
Diff to previous 1.11
Moved permissions checks to gradebookapi and implemented permissions hooks.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 20 01:51:29 2006 UTC (3 years, 1 month ago) by rwohleb
Branch: MAIN
Changes since 1.10: +12 -8 lines
Diff to previous 1.10
Fixes empty role set when doing SQL query.
http://drupal.org/node/80051

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.9 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 16 07:18:35 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Changes since 1.8: +270 -98 lines
Diff to previous 1.8
Added rudimentary gradebook theme supporting categories

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 19:22:20 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Changes since 1.7: +33 -14 lines
Diff to previous 1.7
Broke-out gradebook rendering into theme.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 12 05:49:31 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Changes since 1.6: +128 -452 lines
Diff to previous 1.6
Moved core API code to gradebookapi.module.
Fixed deletion of grades upon node deletion.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 10 23:35:00 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Changes since 1.5: +132 -101 lines
Diff to previous 1.5
Added checks to prevent navigating to non-root terms.

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.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 9 22:02:03 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Changes since 1.3: +15 -7 lines
Diff to previous 1.3
Fixed grade calculation bug.
Made 'empty grade' text a setting.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 8 11:27:20 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Changes since 1.2: +12 -9 lines
Diff to previous 1.2
Fixed 'add category' menu issue.
The 'view own graebook' permission is working.

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.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 7 10:22:38 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Initial site-wide gradebook implementation.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2