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

Log of /contributions/modules/gradebook/gradebookapi.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.11.4.2.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 11 05:08:42 2009 UTC (7 months, 2 weeks ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.11.4.2.2.12: +8 -22 lines
Diff to previous 1.11.4.2.2.12 , to branch point 1.11.4.2 , to next main 1.11.4.3
#419316 by manolpm and MGN: Added new feature to provide optional response links on gradebook assignment nodes.
* by MGN: cleaned up assignment form elements added by all modules to be listed in one fieldset instead of several.

Revision 1.11.4.2.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 2 05:38:07 2009 UTC (7 months, 4 weeks ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.11.4.2.2.11: +21 -8 lines
Diff to previous 1.11.4.2.2.11 , to branch point 1.11.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.11.4.2.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 20 02:32:38 2009 UTC (8 months, 1 week ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.11.4.2.2.10: +1 -4 lines
Diff to previous 1.11.4.2.2.10 , to branch point 1.11.4.2
#407810 by MGN: Removed calls to node_prepare in gradebookapi and gradebook_responses.
* by MGN: Renamed gradebook_responses_nodeapi helper functions to avoid confusion with hook functions.

Revision 1.11.4.2.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 19 22:57:16 2009 UTC (8 months, 1 week ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.11.4.2.2.9: +2 -2 lines
Diff to previous 1.11.4.2.2.9 , to branch point 1.11.4.2
#404718 by MGN: File attachments to assignment nodes doesn't work. Fixed this bug by replacing array_merge
with array summation in hook_form_alter for attachment nodes.

Revision 1.11.4.2.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 5 03:36:15 2009 UTC (8 months, 3 weeks ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.11.4.2.2.8: +5 -8 lines
Diff to previous 1.11.4.2.2.8 , to branch point 1.11.4.2
* by MGN: Changed weight of gradebook submodules so they are greater (hooks are called after) gradebookapi.
* by MGN: Rewrote gradebook_attachments hook_user to remove database records and remove files when a users
  account is deleted.

Revision 1.11.4.2.2.8 - (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.11.4.2.2.7: +163 -245 lines
Diff to previous 1.11.4.2.2.7 , to branch point 1.11.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.11.4.2.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 25 03:44:52 2009 UTC (9 months ago) by mgn
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA2
Changes since 1.11.4.2.2.6: +2 -2 lines
Diff to previous 1.11.4.2.2.6 , to branch point 1.11.4.2
#382254 by MGN: Fixed two file support bugs reported by bdangelo and madflute.
* by MGN: database modification: changed {gradebookapi_files} primary key to ('fid', 'nid'),
  and make fid field NOT NULL (since its a primary key).

Revision 1.11.4.2.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 3 06:46:50 2009 UTC (9 months, 3 weeks ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.11.4.2.2.5: +2 -2 lines
Diff to previous 1.11.4.2.2.5 , to branch point 1.11.4.2
by MGN: check for date_popup module rather than date_api before using date_popup form elements.

Revision 1.11.4.2.2.5 - (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.11.4.2.2.4: +79 -34 lines
Diff to previous 1.11.4.2.2.4 , to branch point 1.11.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.11.4.2.2.4 - (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.11.4.2.2.3: +113 -19 lines
Diff to previous 1.11.4.2.2.3 , to branch point 1.11.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.11.4.2.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 20 04:20:31 2009 UTC (10 months, 1 week ago) by mgn
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA1
Changes since 1.11.4.2.2.2: +18 -2 lines
Diff to previous 1.11.4.2.2.2 , to branch point 1.11.4.2
#360414 by MGN: Added new feature to delete gradebook grades when account is deleted.

Revision 1.11.4.2.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 7 15:51:27 2009 UTC (10 months, 3 weeks ago) by mgn
Branch: DRUPAL-6--2
Changes since 1.11.4.2.2.1: +9 -15 lines
Diff to previous 1.11.4.2.2.1 , to branch point 1.11.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.11.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.11.4.2: +210 -30 lines
Diff to previous 1.11.4.2
MGN: add date support to gradebook 6.x.2.x development

Revision 1.11.4.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 2 00:24:33 2009 UTC (10 months, 3 weeks ago) by mgn
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-RC2
Changes since 1.11.4.2: +25 -16 lines
Diff to previous 1.11.4.2 , to branch point 1.11
MGN: various bug fixes

Revision 1.11.4.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 30 21:50:13 2008 UTC (10 months, 4 weeks ago) by mgn
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-RC1
Branch point for: DRUPAL-6--2
Changes since 1.11.4.1: +265 -46 lines
Diff to previous 1.11.4.1 , to branch point 1.11
MGN: added comments and removed debugging print statements

Revision 1.11.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.11: +282 -176 lines
Diff to previous 1.11
Initial commit of DRUPAL-6--1 branch

Revision 1.11 - (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.10: +72 -137 lines
Diff to previous 1.10
* Initial support for Drupal 5
* Fixed 'default' SQL bug in text/blob field for MySQL

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 15 02:24:11 2006 UTC (3 years ago) by rwohleb
Branch: MAIN
Branch point for: DRUPAL-4-7
Changes since 1.9: +4 -1 lines
Diff to previous 1.9
Fixes duplicate insert bug (http://drupal.org/node/97406).

Revision 1.9 - (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.8: +58 -2 lines
Diff to previous 1.8
Updated rendering function allows for sorting of assignments.
Fixed some permission bugs.

Revision 1.8 - (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.7: +132 -5 lines
Diff to previous 1.7
Moved permissions checks to gradebookapi and implemented permissions hooks.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 16 02:11:39 2006 UTC (3 years, 1 month ago) by rwohleb
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
This should fix a call-time pass by reference warning in PHP5.
http://drupal.org/node/80427

Revision 1.6 - (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.5: +213 -70 lines
Diff to previous 1.5
* 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]
Sat Aug 12 05:49:31 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Changes since 1.4: +302 -439 lines
Diff to previous 1.4
Moved core API code to gradebookapi.module.
Fixed deletion of grades upon node deletion.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 10 21:41:58 2006 UTC (3 years, 3 months ago) by rwohleb
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
Fixed small bug preventing viewing of modules page

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 6 19:06:27 2006 UTC (3 years, 4 months ago) by rwohleb
Branch: MAIN
Changes since 1.2: +259 -6 lines
Diff to previous 1.2
fleshed out more of the API

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 27 19:11:43 2006 UTC (3 years, 5 months ago) by rwohleb
Branch: MAIN
Changes since 1.1: +55 -2 lines
Diff to previous 1.1
Fleshed out gradebook functions

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 27 18:05:36 2006 UTC (3 years, 5 months ago) by rwohleb
Branch: MAIN
Initial API placeholders

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