CHANGELOG.txt

  1. 6.x CHANGELOG.txt
  2. 6.x modules/tinymce/lib/tinymce/changelog.txt
  3. 4.x CHANGELOG.txt
  4. 5.x CHANGELOG.txt
FlightPath 5.x Changelog
========================

2021-03-18
  Added inval() to priority when editing groups, to avoid possible mysql errors.

2021-02-25
  Added floatval() to min hours, max hours, etc, in admin_course_submit(), to avoid possible mysql errors.

2021-02-20
  Added the base_url to the server name when sending mysql errors via email.


2020-12-20
  Made it so the smtp module only require_once's certain files, so as not to cause issues.


2020-09-30
  Found a bug in the system module's login, where the allowed student ranks was not being respected.  This has since been changed.


2020-09-28
  Tweaking a the Student Course List report, in the stats module.
  

2020-09-17
  Fixed minor bug in student_search, where the red checkmark was appearing for a "blank" advising session.
  

2020-09-12
  Fixed minor bug in course_search module, which was causing an error to occur if the semester num was not numeric.
  

2020-09-09
  Added new field "extra_data" to the student_degrees table, to help module developers.  Ex:  banner_integration.  This field is optional.
  

2020-09-01
  Added new permission to the course search module as well as the blank degrees module, 
  controlling who can access the course search/blank degrees, rather than it being assumed to be everyone.


2020-08-26
  Adding a "rank descriptions" setting in system module's Configure School Settings form.
  
  When loading a student (see _Student.php), we now use this new setting to determine the rank description, rather than
  it being hard-coded that FR = Freshman, for example.  Also, if the rank isn't found, we just return the original code,
  instead of a blank.
  
  Found a strange bug in Open Sans font, where a ~ (tilda) looks like a dash (-) when font size is exactly 13px.  Since many
  of the settings require tildas as a separator, added a font-family for descriptions which explicitly set the font to Arial, Verdana,
  or any other sans-serif font on the user's system.  This makes the tildas look normal again.
  

2020-08-25
  If the theme template file cannot be found, an error is displayed (instead of the entire system crashing with a 
  white screen because the template.php file can't be included).
        

2020-06-23
  Added ability to init a specific session_id, based on $_GET['fp_session_id'].
  

2020-06-13
  Corrected a bug in theme.inc where time() wasn't being called correctly.
  

2020-03-03
  Modified .htaccess mod_header rules, to make a little more laxed, for local sites.
  
  Fixed a display bug, where the number of hours (in the course description popup) were not showing
  the correct substitution value, if they were split in a substitution.  Likewise, it was not showing
  the correct "hours remaining" if we were looking at a "new_from_substitution" course piece.
  
  

2020-02-29
  Send correct 404 / 403 headers for page not found and accessed denied.

  Added new header() commands in index.php to further secure.
  
  Added header option to default .htaccess to make cookies more secure & "nosniff" was turned on.

  Various other modifications.
  
  Modified logic in _CourseList, where non-numeric course_num values would sometimes result in a warning
  when being sorted.
  
  Added the removal of certain characters from "default_redirect_path" from form submissions, to help mitigate
  attempts at path traversal attacks.

  Sanitize the misc.inc / fp_add_body_class() function, as well as in theme.inc.

2020-02-25
  Removing old code.
  

2020-02-18
  Minor CSS tweaks.
  

2020-02-17
  Modified user_has_permission() and user_has_role() function to allow us to specify an account other than the current logged in user.
  
  Adding extra CSS to advising summary popup, so we can theme it better.
  

2020-02-15
  Adding ability to return plain txt instead of HTML in the advise_popup_display_summary function, so we can more easily email advising
  summaries to students.
  
  Added new settings to smtp module so we can more easily set the From address and name.

  Migrating the major-students-progress report into fpl_reports module.  Made changes to stats module, and added new hook, so that other
  modules can more easily add reports and links to the stats page.
  

2020-02-11
  Minor change to remove "warning" on Count().
  
  Made it so that the "submit" button on the main advise form goes through hook_content_alter.  This is so the new email_events module can add
  a checkbox.
  
  Added a new hook, hook_save_advising_session_from_post, while lets other modules act after an advising session has been saved.
  

2019-12-17
  Fixed search by role on Users page. It was only recognizing the first selection, and not if you changed the role more than once.
  

2019-10-04
  Fixed display bug in _FlightPath.php, where if a student's catalog year was past the current_catalog_year, it was set to 99999.  This caused
  a message to display onscreen which read "Could not find degreee... in catalog year 99999-100000..."
  

2019-09-13
  Made it so legacy support for 4x style "concentrations" is DISABLED by default.  This is to help clear up confusion.  New
  language on the Add Degree form uses the new level-1, -2, and -3 terminology for consistency.
  
  Fixed a bug where previously-deleted tracks were showing as a blank degree_class to select from on the What If selection
  screen.  Make it simply where if the degree_class is blank, then skip over it.
  

2019-09-09
  Minor tweak to stop a warning from appearing.


2019-08-12
  Minor tweak in theme.inc, to fix menu icon bug which can happen sometimes.
  

2019-08-08
  But when adding new user; user isn't searchable.  Adding default lastname (username) if not entered.
  
  Fixed blocks module's administer_blocks permission.  Had typo preventing it from working.
  
  Updated format_date() function, so that the "short" format has am/pm at the end.
  

2019-08-07
  Fixed bug where when deleting a degree with a track, it wasn't being removed from the draft_degree_tracks table.


2019-07-23
  Adding better support for Graduate degrees & students.
  

2019-07-22
  Adding extra HTML and CSS when displaying degree titles on screen.
  

2019-06-14
  Patched a security bug whereby a user could theoretically try to view a system file, using a PHP Local File Include vulnerability.
  Special thanks to m.althibyani@gmail.com for finding and reporting!


2019-06-06
  Created a new core module: SMTP, as well as a helper function, fp_mail().  Now if you have the SMTP module
  enabled and configured, all mail is automatically routed through your SMTP server, instead of whatever
  the default setting is for PHP's mail() command.
  
  Added PHPMailer to the /inc/ directory (for the SMTP module).
  
  Moved some settings from the System Settings form and into the School settings form.
  
  Created a custom PHP error handler, so that we can display (and log if necessary, email, etc) PHP 
  warnings and errors.

  Added /icons/ folders and silk icons for admin/config menu entires for the core modules.
  
  Adjusted CSS in default themes to make new icons look nicer.


2019-04-30
  Fixed bug in _DegreePlan.php which caused tracks to not load correctly while viewing in draft mode (Thanks
  to Logan Buth from Morningside College).


2019-04-03
  Mitigated some possible XSS weaknesses in index.php (by using more secure headers and cookies), and in 
  render.inc.  When creating forms, the current path was not being santized sufficiently, which has now been
  corrected.


2019-03-20
  Added new system setting, letting you disable logins for all but admin.  Very helpful for
  maintenance tasks.
  

2019-03-19
  Fixed bug in _FlightPath, causing errors.
  
  Changed way I was forcing something to be numeric, to silence a warning in PHP 7.2
  
  Fixed code which causes a bug in MySQL 8+
    

2019-03-15
  Added a new option to System Settings: enable or disable display level-3 selection on what if selection screen.  If disabled,
  this has more of a feel for FlightPath 4, and might help schools which do not allow dynamic degrees, or who have so many level 3
  options that it causes confusion.
  
  Fixed a left-over $this in db.inc, which caused problems in specific situations.
  

2019-03-13
  Fixed another SQL bug in the course_search module.

  Fixed bug where outdated subs were being hidden.  Had to do with the way the _Course.php file was checking for if a course
  was substituted or not.
  
  Fixed several bugs in db.inc's fp_get_degree_title() function, which was causing it not to work at all.
  
  Modified the Administrator's Toolbox message so that outdated subs correctly state what degree they were from
  which is now outdated.
  

2019-03-07
  Removed mysql_* functions from course_search module.
  

2019-02-21
  Initial commit to new flightpath-5.x branch.  (instead of 5.x-dev)
  
  Continuing to test git config.
    

2019-02-20
  Fixed bug in advise.module, which was forcing a blank or empty current_student_id to be 0 (zero), which
  was causing problems in the logic.

  
2019-02-14
  Added new setting to calculate & show GPA for each pie chart on a student's degree plan.

  Fixed a bug in the Major Student Progress report (in the stats module).
  

2019-02-13
  Enforced integer constraint when adding a new student user (for is_disabled and is_active).
  
  Fixed bug in advise.module which was preventing alphabetic CWIDs from working.
  

2019-02-09
  Changed cumulative_hours in students table (as well as a couple other fields) to be
  varchar(20) instead of varchar(5).  This is because at only 5 characters, students
  with 123.45 hours were violating the constraint on the table, and causing routines
  to die.


2018-12-31
  Made small changes to advise.module and blank_degrees.module, so that if a blank degree plan
  is loaded with prereqs, they are not blocked.  Also, to make it easier for custom modules
  to use req_by_degree_id instead of blank_degree_id, if req is set.

  Made a change to _FlightPath.php, when marking substitutions as outdated.  Changed
  a simple "else" to an "else if" to make sure some logic doesn't get executed more
  than necessary.  (Thanks to Logan Buth #2316)
  
  Various QOL issues and fixes.  Thanks to Logan Buth #2488.
  

2018-12-18
  Added new hook: hook_alter_currently_advising_box.  This allows modules to modify or add to the "currently
  advising" box, which appears at the top of the screen when a student is selected for advising.


2018-12-15
  Modified core's display of the Urgent Message screen, to better allow other modules
  to make modifications.


2018-11-26
  Fixed bug where groups split over more than one semester block were not having courses assigned
  to them correctly.  Partially due to them not having req_by_degree_id set.


2018-11-13
  Added extra data to $form_state, when duplicating an entire year's worth of data.
  
  Added fix for issue #2455, thanks to Logan Buth.  This deals with repeatable courses still appearing
  in groups, even though a setting was set saying they should be advised once enrolled. 

  Also fixed issue with maintaining keys in array for _Group::get_course_id_array function.  Issue #2456,
  credit Logan Buth.

  Issue #2470, Logan Buth.  Fixed typo causing degree_id to always be set to zero in _Course::get_quality_points.
  

2018-10-17
  Added new hook: hook_menu_alter(), for editing menu items.


2018-10-09
  Fixed a theming issue which sometimes would occur in Chrome, on the Majors search page (of the student_search module).
  

2018-05-10
  Fixed display bug in user.module, found a mis-matched </div> tag.
  

2018-05-05
  Made the function Course::load_course_from_data_string_for_requirement_clone() set the course's display_status to "ellible"
  to match the behavior of the default constructor.  Re: issue #2317, thanks to Logan Buth.


2018-04-29
  Made "change term" link in the currently advising box nicer, with more CSS selectors available.
  

2018-04-26
  Small change in system.module, to make theme selection easier (radio buttons instead of having to type in location)


2018-04-22
  Fixed issue #2316 (special thanks to Logan Buth) in which outdated subs aren't always detected in cases
  of combined degrees.
  

2018-04-21
  Fixed small bug where sometimes "courses added by advisor" result in a mysql error while advising, due to
  the "degree_id" being blank and not "0".

 
2018-04-16
  Fixed bug in AdvisingScreen introduced by a previous commit, where I left off a line of code after rolling
  back changes.
  
  Restored a line of code I accidentally deleted in a previous commit, in _FlightPath.php.


2018-04-14   
  Rolled back a modification made to AdvisingScreen, as described in ticket 2291, comment #36, and implemented
  new changes from comment #42 (special thanks to Logan Buth).  This was to deal with a subtle bug involving a
  repeated course, where one of the attempts was substituted, the other not.

  Re: ticket #2311, added array of group id's to the form_state, when a year of degree data is being duplicated.
  
  Re: ticket #2312, fixed a bug where sometimes a group popup doesn't show the same branch as what the View screen
  does.  Special thanks to Logan Buth for discovering this issue and proposing the fix.
  
  Re: ticket #2294, fixed a bug where var hour courses were being advised for zero hours.  To fix this, had to add
  a new bit of javascript to advise.js, as well as a new hidden variable per course in _AdvisingScreen's draw_popup_group_course_row()
  

2018-04-11
  Fixed an issue with "clean URLs" when site is hosted on a bare domain.
  
  Updated install.php to have more instructions in the settings.php file for bare domain hosting.
  
  Fixed small issues causing PHP Notice's to show up.
  
  Fixed bug where substitutions were not displaying correctly in Display by Year view.
  

2018-04-07
  Fixed some small display issues in AdvisingScreen, to keep PHP notices from appearing.
  
  Added new hook, hook_theme_advise_degree_header_row, with special thanks to Logan Buth.


2018-03-29
  Made a bug fix to where a pie chart would display 99 if its value was above 100.  Instead, this was changed to 100.
  
  Fixed a bug in get_term_structure() where the abbreviation and long description were switched.

  Modified the CourseList::remove_previously_fulfilled() function, where it uses find_best_match() to find a match
  for a course, instead of the parent's find_match() function.  This allows for hooks to be used, as well as the
  school's sorting/matching policy to be used.  Special thanks to Logan Buth. 
  
  Added new methods & updated existing in CourseList: sort_largest_hours_first(), and made modifications to find_best_grade_match()
  and sort_best_grade_first().  This was to correct a subtle bug which appeared if a student took a non-repeatable course twice,
  and received the same grade both times, but had different hours.  For example, if a student earned 0 hours on one attempt,
  and 4 hours on the next.  Special thanks to Logan Buth.
  

2018-03-17
  Fixed subtle bug where substitutions are sometimes displayed more than once in a group.  Special thanks to Logan Buth.
  

2018-03-15
  Fixed bug with pie charts code (from older version of pchart) that was incompatible with PHP7.
  

2018-03-14
  Fixed bug where min grade requirements was being ignored for a newly-created course, when the original course was
  partially filled by a substitution.  Thanks to Logan Buth.
  
  Added new load_degree_plan_ancillary() method to _DegreePlan.  This lets us load just the 'ancillary' data for a degree-- title, advising weight, track
  configs, etc., without having to load the entire degree.  At the moment, it is used primarily on the What If selection form.
  
    
2018-03-11
  Fixed bug where track descriptions (when editing a degree) were having filter_markup applied twice, causing new lines to keep appearing.

  Fixed a non-clean URL issue in comments.js, where deletion was not possible unless clean URLs was enabled.
  

2018-03-09
  Updated hook_fp_get_student_majors to have the same (newly added) arguments as the DatabaseHandler function.  Similarly updated system.module's implentation
  of the hook.  Also updated student_search.module, to take advantage of this addition, to tell it not to join with the degrees table, as the student's listed
  degree might not be present in that catalog year in the degrees table.  This was to fix a bug.


2018-03-07
  Fixed bug where new_from_split courses were allowed to fill into other degrees, instead of going straight to 'excess credits', which is the
  expected behavior.
  
  Added $group_id to find_xyz_match functions in _CourseList.  This is not used by core code, but is passed along to hooks, so that modules
  can better decide to allow the course or not.
  
  Added get_group_name function to _DatabaseHandler for quick lookups of a group's name by its id.
  
  Fixed a bug where "combined" degree plans didn't retain their "db_allow_dynamic = 1" member variable.  Thanks to Logan Buth.
  
  Fixed typo for db_allow_dynamic in theme.inc.  Thanks to Kim Sangwin


2018-03-05
  Added a new hook, hook_courselist_find_match_allow_course.  This allows modules too hook in just before a "match" is found by _CourseList's match methods,
  to determine if it should really keep the course or skip it.  This was introduced to counter a bug.  Special thanks to Logan Buth for the concept.
  
  Added extra code to _Course::name_equals, to call load_descriptive_data if subject_id is not populated.    


2018-02-27
  Fixed bug where selecting a track for a degree which already had a | in it would have failed.
  
  Fixed bug for non-dynamic degrees and degree option (track) selection.  It now uses the first "editable"
  degree found for a student, if the primary non-editable degree is non-dynamic.
  
  Added function get_degree_allow_dynamic() to _DatabaseHandler.php.
  

2017-12-5
  To fix an issue where groups with branches were not respecting the grade sort order, I added
  a new method to _GroupList: sort_best_grade_first_by_student_grades().  This helps sort branches
  based on grades the student has earned.


2017-11-30
  Fixed bug where courses with inf. repeats were not respecting minimum grades.
  
  Fixed another bug with inf. repeats, where substitutions were interfering with inf. course logic.
  

2017-11-26
  Fixed missing child group issue, caused by previous work (special thanks to Logan Bluth)
  

2017-11-15
  Introduced concept of "infinite repeats" in groups, for courses with an excessive
  amount of repeats allowed.  This greaty helps speed up FlightPath's group logic when
  loading a student.
  
  Added various function caches, and re-wrote some queries, in an effort to speed
  load time for FlightPath (special thanks to Logan Buth)
  

2017-11-09
  Added extra filtering to the filter_markup() function, which would repair
  any mismatched or faulty HTML tags.  This can happen when people paste incomplete HTML
  from Word or an email into a Comment.
  

2017-11-07
  Fixed an issue related to how a GroupList creates a clone().
  
  Added #group field to render array for course info popup.
  
  Added get_course_id array to CourseList object.

  Added extra option for Group::get_course_id()


2017-10-30
  Removed functionality of having a course always get selected by default in a popup group listing.
  

2017-10-18
  Made groups' internal machine name a required field, and forced them to be unique, in preparation of
  functionality for the Conditional Requirements module, as well as any other module which needs to
  identify groups by human-readable names.


2017-10-15
  Fixed bug when duplicating entire catalog year (typo in variable name for catalog_repeat).
  
  Fixed bug where it 'Back to degrees' link was linking to the wrong year.


2017-10-11
  Fixed mysql error in system.module.


2017-10-03
  Added extra caching & other techniques to speed up load times.  In some situations, load time has been decreased by 300%.
  
  Added new function, fpmct(), which is short for fpm(fp_debug_ct($val));


2017-09-24
  Fixed notices on Not Found page.  Re-ordered weight system and added new markup elements to degree edit form (to make it easier
  for other modules, ie, Conditional Requirements, to form_alter).
  

2017-09-23
  Fixed PHP notices on update function
  

2017-09-19
  Fixing PHP warnings on install.
  

2017-09-18
  Fixed bug where "process all definitions" wasn't loading groups with branches correctly.


2017-09-14
  Added concept of "set catalog repeats" to groups, which will automatically set all repeatable courses to repeat.
  
  Fixed popup_description bug for "checkbox" form element type.


2017-08-22
  Fixed PDO mysql error in student search when searching by major.
  

2017-08-16
  Fixed a bug where the "prevent_course_assignment..." setting wasn't working for groups.  It involved fixing another bug I discovered,
  where advising_weight of a degree wasn't being applied when it came to group assignments.
  
  Added a new setting to School Settings screen, where you can decide to show a warning or not on the View screens, if a student's major
  cannot be found.
  

2017-08-09
  Added a new option to Configure School Settings -- "prevent_course_assignment_to_both_degree_and_track".  If set to "Yes", then
  a course cannot be assigned to both a Level-1 degree and one of its direct tracks.  Ex:  ENGL and ENGL|_track1.  It is set to "yes" by
  default.
  

2017-07-25
  Made all major_code fields in the database be varchar(100), just to cover any weird ones which may be above 20 chars (the old limit).
  
 
2017-07-18
  Added extra CSS classes to course rows which were created from split substitutions.


2017-07-05
  Modified the admin_copy_degree_submit function to store degree id's in the form_state, for
  other modules to use.  Same for the admin_duplicate_year_form

2017-07-02
  Added new hook for when a new degree plan is loaded:  hook_degree_plan_load(&$degree)
  

2017-06-30
  Large overhaul to the degree edit screen.  In addition to being 100% FAPI now, you can add new
  semester blocks on demand, rather than having to save and refresh the page for more.  You can
  also delete a semester block.  Also, when a new degree is created, the first four semester blocks
  are created by default.  
  

2017-06-27
  Fixed bug where form parameters not being stored as hidden variables in the form were causing
  the $form_state['values'] to be incomplete.  Specifically on the degree edit form.


2017-06-21
  Made it to where if the SESSION var "scroll_top" is set, the value will be respected.  This allows
  FAPI forms to set the scroll top (like the degree edit form)


2017-06-19
  Tweaked the reduce_whitespace function to make it slightly smarter.
  
  Working on new FormAPI form for editing degrees.
  

2017-06-17
  Fixed bug where remainder hours on a split substitution were showing as the full hours
  in Excess credit.


2017-04-21
  Added a new behavior to when FlightPath saves advising session from POST.  Instead of
  simply continuing execution, it can now reload the page via fp_goto().  This prevents
  certain bugs from appearing if the user hits "Refresh" on the browser, causing the
  POST to submit again.  


2017-03-27
  Fixed a bug where substitutions and moved courses were not showing up correctly
  immediately after changing a degree option (like adding or removing a track).  This
  was due to the FlightPath object not using the same reference to the student object
  after a non-cache load.
  
  Fixed an issue where hooks could not always be invoked from hook_init.  This was
  because hook_init was being called as soon as the module was loaded.  Instead, the logic
  was changed so that all modules are loaded first, THEN hook_init is called.


2017-03-15
  Fixed another bug where courses worth zero hours were not showing up in lists correctly.
  

2017-03-14
  Fixed bug where course->load_descriptive_data() actually reset bool_ghost_hour booleans
  for courses.  This meant that courses worth MORE than zero hours in the database would show up as worth
  1 hour, even if they earned zero hours.  Added a simple argument to disable that behavior, FALSE by default.
  
  The same bug was causing ghost hour courses to show as worth "1 hour" in popups.
    

2017-03-09
  Fixed bug where course repeats were not being excluded correctly.
  
  Fixed bug where a course could not be removed from a group if it was being used as a sub in a different degree's group.
  

2017-03-05
  Added new course sort policy (to be considered in 'beta' for the time being,
  which allows to select highest grade, exclude other attempts.


2017-02-19
  Fixed bug in duplicating degrees re: groups with var hours.

  Added a hook to allow modules to modify a term_id prior to getting its description.


2017-02-11
  Fixed another bug relating to the logic of pulling up a student when two advisors are
  working on the student at the same time.

  Modified some logic in _FlightPath to accomodate the double advisor issue bug.


2017-02-07
  Fixed advising session bug where advisors working at the same time on the same student might see
  each other's draft work.
  

2017-01-26
  Fixed bug where duplicating an entire year of courses was skipping over the max hours, if they were
  set to zero.
  

2017-01-19
  Fixed bug in duplicate degrees, where some of the new fields were not being included.
  

2017-01-18
  Fixed bug where advised identical courses in same semester, but in different degrees, FlightPath got confused about which
  course to check.
  
  Fixed bug where after clearing advising cache, an adviser showed invalid tabs.
  
  Fixed bug with variable hour courses not being selected after changing hour selector.
   
 
2017-01-14
  Made more changes, to ensure that users cannot access another student's data by manipulating
  URL variables. 
 
 
2017-01-04
  Handful of extra changes to logout function, again, for Safari browser bug. 
  
  Added more HTML comments to the course_search_display_courses render api call, to give
  more spots for custom modules to dig in and change/add content.
  

2017-01-03
  Added additional unsetting of SESSION vars when cache is cleared, to erase any potential problems.
  
  Working on logout function, to address issue from Safari browser where SESSION is not being
  destroyed correctly.
  

2017-01-02
  Altered the way the renderapi handles markup, so it always gets a CSS class we can
  use later.  Also, added weights to the AdvisingScreen's display_popup_course_descroption.
  
  Made minor CSS tweaks in other places too.
  
  Minor display bug in user module, list of majors for student
  

2016-12-28
  Minor changes to System to suppress PHP warnings in one area.


2016-12-22
  Fixed a bug with substitutions, where the required courses was the same in two different
  degrees, and the substituted courses was ALSO the same.  FlightPath was applying the sub
  to the first instance of the course requirement, and not necessarily the one the user selected.
  
  Worked on an issue where when two users are working on the same student, they should only pull up
  draft changes that THEY made, not that the other user made.
  
  To guarantee draft advising sessions aren't loaded inappropriately, when a faculty user loads
  a student's advising session, the draft versions are deleted.  This is to correct a bug.
  
  Fixed display bug of student's catalog year, in what if, when it is set to the Student mode in
  the settings.
  
  Fixed SQL bug in system.install, user_roles table didn't have primary key set up correctly.
  
  More work on advising sessions-- now saves a draft duplicate any time a new student is loaded.  This
  is to fix a bug which can occur when more than one advisor is working on a student in the same
  time period.
  

2016-12-16
  Added a new feature to let What If save & load with any catalog year.  Built into the system
  are the options "Current" and "Student".
  
  
2016-12-13
  Fixed bug where zero-hour courses were not allowing repeats correctly.
  
  Added more CSS classes and options to displaying degree titles.
  

2016-11-20
  Converted FlightPath and module licenses' to GNU AGPL Version 3.0.  Generally, it is compatible
  with the previous GPLv3 license, with one addition as it pertains to servers.
  See more here: http://getflightpath.com/gnu-agpl 
   

2016-11-16
  Added ability for a "locked" directive in the student_degrees table.  It lets you lock an entire
  degree classification from editing at a time.


2016-11-14
  Added minor CSS to "Change degree options" link.


2016-11-09
  Fixed minor PHP warning which pie charts were not enabled.
  

2016-11-05
  Made varius modifications to accomodate a student with no assigned major code, or, a major code which could
  not be found in the designated catalog year.


2016-11-01
  Fixed bug where identical courses which had all been advised were not correctly
  being counted as advised/fulfilled when only one was fulfilled, and before the advising term
  was advanced.
  

2016-10-28
  Added a setting to Configure School settings, to hide advising checkmarks if the student has enrolled
  in the course they were advised for (also works for completed as well).

  Added a new permission (in Admin module section) for user to be able to Delete courses, groups, or degrees.
  Also added those checks to the deletion functions for those forms.
  
  Fixed a bug in the course_search module, which was negating any effort to NOT have course names automatically
  capitalized.
  

2016-10-24
  Added new hook: hook_flightpath_can_assign_course_to_group().  It lets custom modules decide whether or not
  to allow a course into a particular group at all.
  

2016-10-19
  Fixed bug where a course over the min hours of a group was being skipped over.
  

2016-10-16
  Fixed a bug where groups with min hours weren't correctly being limited by substitutions.


2016-10-10
  Corrected logic on the min hours in groups code.


2016-10-08
  Added default setting to stop filling courses into a group once the min hours are met.
  
  Display of min hours correctly calculated in group select with min hours after advising.
  

2016-09-29
  Fixed a bug with pie charts where it was not taking a group's min_hours into account.  Also, told it to ignore
  the "hours_required_by_type" in pie chart calculations, since a group can only be assigned to one requirement type
  at a time.
  

2016-09-28
  Fixed bug where searching for lastname, firstname broke the search. 
  

2016-09-23
  Improved error handling for Execute PHP function.


2016-09-22
  Added extra documentation for the structure of term ID's setting, and an additional setting to the course search code to support the [Y+1]
  year adjust code.
  

2016-09-10
  Made various changes so that pie charts are rendered using a hook-able theme function, similar to Course Row, Footnot, etc.
  This allows outside modules to modify the pie charts.
  
  Also, the pie charts by default now list out progress for every degree the student is enrolled in.  
  

2016-08-24
  Changed system.install so that datetime field is given a real date (1970-01-01 00:00:01), not all zeros, by default.  This was
  necessary because on some MySQL configurations, zero dates are not allowed.
  
  Fixed bug in stats and batch modules, where they were not using constant names correctly (this is to make compatible with MySQL 5.7+)
  
  Made note in db errors that contain the text sql_mode= to see a documentation page regarding how to correct that.
  
  Adjusted install.php, settings.php, and _DatabaseHandler so that the db_port is its own value now.
  

2016-08-23
  Removed mysql_* functions from installation and settings files, to make PDO compatible and PHP 7 compatible.


2016-08-20
  Added setting for default 'allow dynamic' value.
  
  Fixed bug where draft mode wasn't being selected correctly when fetching degree_id.
  
  Added more CSS class names to elements on degree edit page.
  
  Adjusted CSS in packaged themes' style.css files for what if selection screen.
  
  Fixed What If selection so it pays attention to whether or not the degree was allowed
  to be combined with any other degree.
  

2016-08-04
  Fixed queries in admin (for viewing watchdog logs) to use better PDO system.
  
  Made variable_get/set respect NULL values, to ensure more effience caching and fewer db calls. 
  
  Fixed issue where identical transfer courses with different specific titles for the same student were not being retreived
  correctly.
    

2016-08-01
  Added jQuery includes in the print template files, in case they are needed for debugging.
  
  Fixed bug in History view, where "view/print all" wasn't correctly loading advising sessions
  in sequence.
  

2016-07-26
  Added ability to change popup window sizes in the System Settings form.  Popup window options are
  now stored in the FlightPath.settings javascript object.
  

2016-07-23
  Switched (much of) the course search module to use render arrays, so other modules can make changes.
  
  Added "back" link from Substitute popup


2016-07-16
  Fixed bug where sometimes subs in groups were not showing hours correctly, especially for transfer credits. Was
  fixed by ensuring the "req_by_degree_id" value was always passed along.
  
  Fixed bug in subs where "split sub hours" were being incorrectly reported.  This was because the course's data string
  was not being assembled correctly.

  Fixed issue where min/max hours for a group were not being displayed correctly.

  Added new theme hook, so modules can theme group select rows, to have custom messages.


2016-07-08
  Made tweaks to advising screen to make CSS re-themeing easier, and to make adding "extra html" easier to the group
  list popups as well as other areas.
  
  Made it so that function module_implements_hook() caches what it finds, at least for that one page load.  Helps speed up
  a little bit.
  
  Added new hook: hook_translate.  Called by t() function.
  
  

2016-06-29
  Fixed bug in Substitution system for split transfer subs, where hours were not being reported correctly.


2016-06-26
  Fixed bug in substitution reporting, where it wasn't correctly finding the split sub hours for transfer credits.
  
  Added new hook to core; to be able to alter footnotes.


2016-06-17
  Fixed bugs with substitution footnotes, in AdvisingScreenTypeView.  Substitutions were not being accurately displayed for footnotes.

  Added extra indexes to the box_array in AdvisingScreen, so it makes it easier to overwrite certain screen elements for other modules. 
  

2016-06-13
  Made alterations to fix a bug where the group a course was substituted into was not being reported correctly.
  

2016-05-25
  Converted the process that runs all group definitions for a year to a Batch API process, for better memory management and UI.
  

2016-05-24
  Added extra logic so that test scores with a date of null or 0000-00-00 will be given an "N/A" date, as well as extra CSS to help
  style the test scores.
  

2016-05-20
  Added setting to School Data form (system.module) for excluding degrees from "appears in" counts.
  
  Added method to DatabaseHandler-- get_degree_ids().
  

2016-05-19
  Adding "appears-in" counts for group select rows as well.


2016-05-16
  Added a new hook to let other modules decide if a course should be assigned to a particular degree or not.
  
  Removed some redundant database queries to help reduce queries per page load.


2016-05-11
  Added to AdvisingScreen so we add extra classes when a course appears in more than one degree.
    

2016-05-10
  Created an array in DegreePlan to keep track of every course that degree can possibly use.
  
  Added to $theme when drawing course rows, so we can move the degree_plan around as well.


2016-05-06
  Fixed bug in _CourseList.php, where min_grade wasn't being accurately taken into account when searching for find_best_match() courses.
  
  Added CSS class to the body tag to state what the student's rank is.
  
  Made it so any rendered button gets its title as its class, for extra CSS styling.
  

2016-04-22
  Added ability to "view/print all" advising histories, just like the comments.
  
  Added track descriptions to what if selection screen


2016-04-19
  Made various changes in AdvisingScreen, and added a new hook, so that course rows could be further themed by
  modules, before they are drawn on screen.  This is partially so that the prereqs module will more easily work.
  
  Added better CSS to admin.degrees.inc.

2016-04-14
  Added extra functionality to CourseList.
  

2016-04-09
  To prepare for dealing with prereqs, I changed the way the draw_course_row function is written in AdvisingScreen,
  to allow hooks to change elements of it.
  

2016-04-06
  Fixed isses with db queries which specified '?~?' or similar syntax, which is incompatible with the new PDO system.
  
  Changed checkboxes to use spans with classes for graphics, so we can easily overwrite as needed.
  

2016-04-05
  Replaced some hard-coded values with constants.
  
  Fixed bug with group titles in view and what if.

  Fixed mysql bug in course_search.module, fixed various issues which were causing "notices".
  

2016-04-04
  Fixed bug in what if selection screen for tracks.  Added new javascript function to create CSS-friendly strings.
  
  Added ability in System Settings to show group titles on View and What If screens, not just in print mode.
  

2016-04-01
  Fixed a bug in user.student.inc where major codes were not being read correctly from student_degrees table.
  

2016-03-31
  Added option to CourseList function sort_alphabetical_order, to include the degree's advising weight of the degree the course requires first, to make
  it also get sorted by degree.
  
  Changed the way semester blocks are drawn in AdvisingScreen, to group degrees together by advising weight, then name, alphabetically.
  Made similar changes to AdvisingScreenTypeView.  Also added more CSS classes to elements, making it easier to target.


2016-03-30
  Added extra class names when drawing courses and group selection rows.  Also, created new CSS class called "selection_highlight" that gets
  added and removed over certain items.  Updated theme css files to accomodate.
  

2016-03-29
  Fixed bug in what if selection screen.
  
  Cleaned up student search module a little, added extra CSS so that major codes more stylable.
  Also made student_search module PDO compliant, not relying on older mysql_real_escape_string function calls anymore.


2016-03-28
  Implemented hook for fp_get_student_majors().
  
  Added extra CSS classes to degrees in the currently advising box, making it easier to hide them through CSS. 

  Improved the fp_get_machine_readable() function, altered how form elements are rendered in render.inc so that
  elements with weird characters get safely handled.
  


2016-03-27
  Worked on What If selections screen, to work with new degree track selection configurations.
  

2016-03-20
  Fixed bug where permissions were not acting correctly in certain circumstances for viewing past advising sessions.


2016-03-17
  Added check on copy degree form to prevent accidental overwriting of existing degrees.
  

2016-03-14
  Added concept of min/max track selections to degrees.  Now, the user will be stopped if they select a number of tracks
  outside of the allowed range.
  
 
2016-03-08
  Added new permission checks to advise.module, and new permission-- limiting ability of user to only view their 
  specified advisee's advising sessions.  Needed to make that change for something to do with the student_files module.
   

2016-03-07
  Fixed bug where current draft catalog year wasn't being read correctly in _Course->load_descriptive_data()
  
  Fixed oversight where files input element didn't render attributes array, also added multiple=TRUE for files, too.
  

2016-03-02
  Made it to where if a group is worth more than 200 hours, its hour counts do not show in the group select row,
  or in the popup.
  
  
2016-03-01
  Fixed bug where courses were not reflecting the correct group they were assigned, in a multi-degree scenario.
  

2016-02-29
  Fixed bug where on install, the admin password wasn't set correctly.


2016-02-23
  Fixed issue with Course Search where faculty_id wasn't being saved as CWID, and where
  only first 20 rotation schedules were being returned instead of most recent 20.
  

2016-02-19
  Fixed bug in Copy Degree form submission, related to switch to PDO support.
  
  Fixed bug where min hours for a group weren't making it obtain the correct CSS class.
  

2016-02-18
  Fixed stray mysql_insert_id() command in _FlightPath.php.  Changed to db_insert_id().
  
  Made it to where if you skipped semesters on the degrees page, it will still show the blank
  boxes, at least before where you skipped.
  
  Fixed issue so that public notes (on degrees) show up correctly, no matter how many degrees
  are being combined.  


2016-02-17
  Fixed bug where group id was not being maintained for certain groups in popup window.
  
  Made various changes in an attempt to help speed up page loads.


2016-02-15
  Fixed bug in misc.inc which was causing a new database connection *every time* a connection was requested (instead of re-using the
  global one).
  

2016-02-13
  Fixed bug in install script so that track major codes can have up to 20 characters.
  
  Modified the add degree form, to check to make sure tracks and major codes don't contain spaces,
  as well as fall below the 20 character limit.
  
  Fixed but which was intruduced by removing submissions form sessions.  As a result, forms which didn't
  validate didn't retain values.  Instead made it so only password fields were hidden from the session.
  
  Added concept of an "advising weight" to degrees, and on the degree edit form.  This lets the admin set
  the order in which degrees are presented to a student.  Lower weights appear first.  Added new popup help
  topics to the degree edit page to help explain.
    

2016-02-11
  Made it to where combined degrees will overwrite semester block titles if they are set to.
  

2016-02-09
  Fixed MySQL bug when editing groups.  Fixed bug where group_min_hours_required should be group_min_hours_allowed in the database.
  Fixed bug in degree list filter when not using clean URLs.
  Fixed missing argument bug in db.inc for db_affected_rows().
  

2016-02-01
  Removed section from system.module where submissions were being temporarily stored in the session.  It wasn't being used anyway,
  and it presented a possible security issue on improperly secured servers.
  

2016-01-19
  Changed default password scheme to use new D7 inspired PHPass technique, instead of basic md5's.  Added new password.inc file, virtually identical to the
  one which ships with D7.
  

2016-01-14
  Converted the advising history tab to use the content render api, so other modules can add content to that page.
  Also made it so that past advising histories appear in a collapsible fieldset, to save space.
  

2016-01-11
  Changed course popup description to use new content render API system.
  
  Added "override_degree_hours" field to degrees and draft_degrees tables, and db_override_degree_hours in the _DegreeClass object,
  for future use.
  
  Made small tweaks to fix bugs so installation works correctly.
  

2016-01-07
  Workng on var hour groups, ie, "min_hours_allowed".  Also, added in mechanism for changing the name of FlightPath to something else, if desired.
  

2016-01-05
  Beginning work on optional min hours for groups.
  

2016-01-04
  Creating new render api system, for rendering arrays similar to form arrays.  This lets other modules hook in to make changes.
  
  Changed forms.inc to render.inc


2015-12-31
  Initial commit of 5.x branch, from 4.10-dev branch. Enough has changed to warrent naming this a new core version.

File

CHANGELOG.txt
View source
  1. FlightPath 5.x Changelog
  2. ========================
  3. 2021-03-18
  4. Added inval() to priority when editing groups, to avoid possible mysql errors.
  5. 2021-02-25
  6. Added floatval() to min hours, max hours, etc, in admin_course_submit(), to avoid possible mysql errors.
  7. 2021-02-20
  8. Added the base_url to the server name when sending mysql errors via email.
  9. 2020-12-20
  10. Made it so the smtp module only require_once's certain files, so as not to cause issues.
  11. 2020-09-30
  12. Found a bug in the system module's login, where the allowed student ranks was not being respected. This has since been changed.
  13. 2020-09-28
  14. Tweaking a the Student Course List report, in the stats module.
  15. 2020-09-17
  16. Fixed minor bug in student_search, where the red checkmark was appearing for a "blank" advising session.
  17. 2020-09-12
  18. Fixed minor bug in course_search module, which was causing an error to occur if the semester num was not numeric.
  19. 2020-09-09
  20. Added new field "extra_data" to the student_degrees table, to help module developers. Ex: banner_integration. This field is optional.
  21. 2020-09-01
  22. Added new permission to the course search module as well as the blank degrees module,
  23. controlling who can access the course search/blank degrees, rather than it being assumed to be everyone.
  24. 2020-08-26
  25. Adding a "rank descriptions" setting in system module's Configure School Settings form.
  26. When loading a student (see _Student.php), we now use this new setting to determine the rank description, rather than
  27. it being hard-coded that FR = Freshman, for example. Also, if the rank isn't found, we just return the original code,
  28. instead of a blank.
  29. Found a strange bug in Open Sans font, where a ~ (tilda) looks like a dash (-) when font size is exactly 13px. Since many
  30. of the settings require tildas as a separator, added a font-family for descriptions which explicitly set the font to Arial, Verdana,
  31. or any other sans-serif font on the user's system. This makes the tildas look normal again.
  32. 2020-08-25
  33. If the theme template file cannot be found, an error is displayed (instead of the entire system crashing with a
  34. white screen because the template.php file can't be included).
  35. 2020-06-23
  36. Added ability to init a specific session_id, based on $_GET['fp_session_id'].
  37. 2020-06-13
  38. Corrected a bug in theme.inc where time() wasn't being called correctly.
  39. 2020-03-03
  40. Modified .htaccess mod_header rules, to make a little more laxed, for local sites.
  41. Fixed a display bug, where the number of hours (in the course description popup) were not showing
  42. the correct substitution value, if they were split in a substitution. Likewise, it was not showing
  43. the correct "hours remaining" if we were looking at a "new_from_substitution" course piece.
  44. 2020-02-29
  45. Send correct 404 / 403 headers for page not found and accessed denied.
  46. Added new header() commands in index.php to further secure.
  47. Added header option to default .htaccess to make cookies more secure & "nosniff" was turned on.
  48. Various other modifications.
  49. Modified logic in _CourseList, where non-numeric course_num values would sometimes result in a warning
  50. when being sorted.
  51. Added the removal of certain characters from "default_redirect_path" from form submissions, to help mitigate
  52. attempts at path traversal attacks.
  53. Sanitize the misc.inc / fp_add_body_class() function, as well as in theme.inc.
  54. 2020-02-25
  55. Removing old code.
  56. 2020-02-18
  57. Minor CSS tweaks.
  58. 2020-02-17
  59. Modified user_has_permission() and user_has_role() function to allow us to specify an account other than the current logged in user.
  60. Adding extra CSS to advising summary popup, so we can theme it better.
  61. 2020-02-15
  62. Adding ability to return plain txt instead of HTML in the advise_popup_display_summary function, so we can more easily email advising
  63. summaries to students.
  64. Added new settings to smtp module so we can more easily set the From address and name.
  65. Migrating the major-students-progress report into fpl_reports module. Made changes to stats module, and added new hook, so that other
  66. modules can more easily add reports and links to the stats page.
  67. 2020-02-11
  68. Minor change to remove "warning" on Count().
  69. Made it so that the "submit" button on the main advise form goes through hook_content_alter. This is so the new email_events module can add
  70. a checkbox.
  71. Added a new hook, hook_save_advising_session_from_post, while lets other modules act after an advising session has been saved.
  72. 2019-12-17
  73. Fixed search by role on Users page. It was only recognizing the first selection, and not if you changed the role more than once.
  74. 2019-10-04
  75. Fixed display bug in _FlightPath.php, where if a student's catalog year was past the current_catalog_year, it was set to 99999. This caused
  76. a message to display onscreen which read "Could not find degreee... in catalog year 99999-100000..."
  77. 2019-09-13
  78. Made it so legacy support for 4x style "concentrations" is DISABLED by default. This is to help clear up confusion. New
  79. language on the Add Degree form uses the new level-1, -2, and -3 terminology for consistency.
  80. Fixed a bug where previously-deleted tracks were showing as a blank degree_class to select from on the What If selection
  81. screen. Make it simply where if the degree_class is blank, then skip over it.
  82. 2019-09-09
  83. Minor tweak to stop a warning from appearing.
  84. 2019-08-12
  85. Minor tweak in theme.inc, to fix menu icon bug which can happen sometimes.
  86. 2019-08-08
  87. But when adding new user; user isn't searchable. Adding default lastname (username) if not entered.
  88. Fixed blocks module's administer_blocks permission. Had typo preventing it from working.
  89. Updated format_date() function, so that the "short" format has am/pm at the end.
  90. 2019-08-07
  91. Fixed bug where when deleting a degree with a track, it wasn't being removed from the draft_degree_tracks table.
  92. 2019-07-23
  93. Adding better support for Graduate degrees & students.
  94. 2019-07-22
  95. Adding extra HTML and CSS when displaying degree titles on screen.
  96. 2019-06-14
  97. Patched a security bug whereby a user could theoretically try to view a system file, using a PHP Local File Include vulnerability.
  98. Special thanks to m.althibyani@gmail.com for finding and reporting!
  99. 2019-06-06
  100. Created a new core module: SMTP, as well as a helper function, fp_mail(). Now if you have the SMTP module
  101. enabled and configured, all mail is automatically routed through your SMTP server, instead of whatever
  102. the default setting is for PHP's mail() command.
  103. Added PHPMailer to the /inc/ directory (for the SMTP module).
  104. Moved some settings from the System Settings form and into the School settings form.
  105. Created a custom PHP error handler, so that we can display (and log if necessary, email, etc) PHP
  106. warnings and errors.
  107. Added /icons/ folders and silk icons for admin/config menu entires for the core modules.
  108. Adjusted CSS in default themes to make new icons look nicer.
  109. 2019-04-30
  110. Fixed bug in _DegreePlan.php which caused tracks to not load correctly while viewing in draft mode (Thanks
  111. to Logan Buth from Morningside College).
  112. 2019-04-03
  113. Mitigated some possible XSS weaknesses in index.php (by using more secure headers and cookies), and in
  114. render.inc. When creating forms, the current path was not being santized sufficiently, which has now been
  115. corrected.
  116. 2019-03-20
  117. Added new system setting, letting you disable logins for all but admin. Very helpful for
  118. maintenance tasks.
  119. 2019-03-19
  120. Fixed bug in _FlightPath, causing errors.
  121. Changed way I was forcing something to be numeric, to silence a warning in PHP 7.2
  122. Fixed code which causes a bug in MySQL 8+
  123. 2019-03-15
  124. Added a new option to System Settings: enable or disable display level-3 selection on what if selection screen. If disabled,
  125. this has more of a feel for FlightPath 4, and might help schools which do not allow dynamic degrees, or who have so many level 3
  126. options that it causes confusion.
  127. Fixed a left-over $this in db.inc, which caused problems in specific situations.
  128. 2019-03-13
  129. Fixed another SQL bug in the course_search module.
  130. Fixed bug where outdated subs were being hidden. Had to do with the way the _Course.php file was checking for if a course
  131. was substituted or not.
  132. Fixed several bugs in db.inc's fp_get_degree_title() function, which was causing it not to work at all.
  133. Modified the Administrator's Toolbox message so that outdated subs correctly state what degree they were from
  134. which is now outdated.
  135. 2019-03-07
  136. Removed mysql_* functions from course_search module.
  137. 2019-02-21
  138. Initial commit to new flightpath-5.x branch. (instead of 5.x-dev)
  139. Continuing to test git config.
  140. 2019-02-20
  141. Fixed bug in advise.module, which was forcing a blank or empty current_student_id to be 0 (zero), which
  142. was causing problems in the logic.
  143. 2019-02-14
  144. Added new setting to calculate & show GPA for each pie chart on a student's degree plan.
  145. Fixed a bug in the Major Student Progress report (in the stats module).
  146. 2019-02-13
  147. Enforced integer constraint when adding a new student user (for is_disabled and is_active).
  148. Fixed bug in advise.module which was preventing alphabetic CWIDs from working.
  149. 2019-02-09
  150. Changed cumulative_hours in students table (as well as a couple other fields) to be
  151. varchar(20) instead of varchar(5). This is because at only 5 characters, students
  152. with 123.45 hours were violating the constraint on the table, and causing routines
  153. to die.
  154. 2018-12-31
  155. Made small changes to advise.module and blank_degrees.module, so that if a blank degree plan
  156. is loaded with prereqs, they are not blocked. Also, to make it easier for custom modules
  157. to use req_by_degree_id instead of blank_degree_id, if req is set.
  158. Made a change to _FlightPath.php, when marking substitutions as outdated. Changed
  159. a simple "else" to an "else if" to make sure some logic doesn't get executed more
  160. than necessary. (Thanks to Logan Buth #2316)
  161. Various QOL issues and fixes. Thanks to Logan Buth #2488.
  162. 2018-12-18
  163. Added new hook: hook_alter_currently_advising_box. This allows modules to modify or add to the "currently
  164. advising" box, which appears at the top of the screen when a student is selected for advising.
  165. 2018-12-15
  166. Modified core's display of the Urgent Message screen, to better allow other modules
  167. to make modifications.
  168. 2018-11-26
  169. Fixed bug where groups split over more than one semester block were not having courses assigned
  170. to them correctly. Partially due to them not having req_by_degree_id set.
  171. 2018-11-13
  172. Added extra data to $form_state, when duplicating an entire year's worth of data.
  173. Added fix for issue #2455, thanks to Logan Buth. This deals with repeatable courses still appearing
  174. in groups, even though a setting was set saying they should be advised once enrolled.
  175. Also fixed issue with maintaining keys in array for _Group::get_course_id_array function. Issue #2456,
  176. credit Logan Buth.
  177. Issue #2470, Logan Buth. Fixed typo causing degree_id to always be set to zero in _Course::get_quality_points.
  178. 2018-10-17
  179. Added new hook: hook_menu_alter(), for editing menu items.
  180. 2018-10-09
  181. Fixed a theming issue which sometimes would occur in Chrome, on the Majors search page (of the student_search module).
  182. 2018-05-10
  183. Fixed display bug in user.module, found a mis-matched
tag.
  • 2018-05-05
  • Made the function Course::load_course_from_data_string_for_requirement_clone() set the course's display_status to "ellible"
  • to match the behavior of the default constructor. Re: issue #2317, thanks to Logan Buth.
  • 2018-04-29
  • Made "change term" link in the currently advising box nicer, with more CSS selectors available.
  • 2018-04-26
  • Small change in system.module, to make theme selection easier (radio buttons instead of having to type in location)
  • 2018-04-22
  • Fixed issue #2316 (special thanks to Logan Buth) in which outdated subs aren't always detected in cases
  • of combined degrees.
  • 2018-04-21
  • Fixed small bug where sometimes "courses added by advisor" result in a mysql error while advising, due to
  • the "degree_id" being blank and not "0".
  • 2018-04-16
  • Fixed bug in AdvisingScreen introduced by a previous commit, where I left off a line of code after rolling
  • back changes.
  • Restored a line of code I accidentally deleted in a previous commit, in _FlightPath.php.
  • 2018-04-14
  • Rolled back a modification made to AdvisingScreen, as described in ticket 2291, comment #36, and implemented
  • new changes from comment #42 (special thanks to Logan Buth). This was to deal with a subtle bug involving a
  • repeated course, where one of the attempts was substituted, the other not.
  • Re: ticket #2311, added array of group id's to the form_state, when a year of degree data is being duplicated.
  • Re: ticket #2312, fixed a bug where sometimes a group popup doesn't show the same branch as what the View screen
  • does. Special thanks to Logan Buth for discovering this issue and proposing the fix.
  • Re: ticket #2294, fixed a bug where var hour courses were being advised for zero hours. To fix this, had to add
  • a new bit of javascript to advise.js, as well as a new hidden variable per course in _AdvisingScreen's draw_popup_group_course_row()
  • 2018-04-11
  • Fixed an issue with "clean URLs" when site is hosted on a bare domain.
  • Updated install.php to have more instructions in the settings.php file for bare domain hosting.
  • Fixed small issues causing PHP Notice's to show up.
  • Fixed bug where substitutions were not displaying correctly in Display by Year view.
  • 2018-04-07
  • Fixed some small display issues in AdvisingScreen, to keep PHP notices from appearing.
  • Added new hook, hook_theme_advise_degree_header_row, with special thanks to Logan Buth.
  • 2018-03-29
  • Made a bug fix to where a pie chart would display 99 if its value was above 100. Instead, this was changed to 100.
  • Fixed a bug in get_term_structure() where the abbreviation and long description were switched.
  • Modified the CourseList::remove_previously_fulfilled() function, where it uses find_best_match() to find a match
  • for a course, instead of the parent's find_match() function. This allows for hooks to be used, as well as the
  • school's sorting/matching policy to be used. Special thanks to Logan Buth.
  • Added new methods & updated existing in CourseList: sort_largest_hours_first(), and made modifications to find_best_grade_match()
  • and sort_best_grade_first(). This was to correct a subtle bug which appeared if a student took a non-repeatable course twice,
  • and received the same grade both times, but had different hours. For example, if a student earned 0 hours on one attempt,
  • and 4 hours on the next. Special thanks to Logan Buth.
  • 2018-03-17
  • Fixed subtle bug where substitutions are sometimes displayed more than once in a group. Special thanks to Logan Buth.
  • 2018-03-15
  • Fixed bug with pie charts code (from older version of pchart) that was incompatible with PHP7.
  • 2018-03-14
  • Fixed bug where min grade requirements was being ignored for a newly-created course, when the original course was
  • partially filled by a substitution. Thanks to Logan Buth.
  • Added new load_degree_plan_ancillary() method to _DegreePlan. This lets us load just the 'ancillary' data for a degree-- title, advising weight, track
  • configs, etc., without having to load the entire degree. At the moment, it is used primarily on the What If selection form.
  • 2018-03-11
  • Fixed bug where track descriptions (when editing a degree) were having filter_markup applied twice, causing new lines to keep appearing.
  • Fixed a non-clean URL issue in comments.js, where deletion was not possible unless clean URLs was enabled.
  • 2018-03-09
  • Updated hook_fp_get_student_majors to have the same (newly added) arguments as the DatabaseHandler function. Similarly updated system.module's implentation
  • of the hook. Also updated student_search.module, to take advantage of this addition, to tell it not to join with the degrees table, as the student's listed
  • degree might not be present in that catalog year in the degrees table. This was to fix a bug.
  • 2018-03-07
  • Fixed bug where new_from_split courses were allowed to fill into other degrees, instead of going straight to 'excess credits', which is the
  • expected behavior.
  • Added $group_id to find_xyz_match functions in _CourseList. This is not used by core code, but is passed along to hooks, so that modules
  • can better decide to allow the course or not.
  • Added get_group_name function to _DatabaseHandler for quick lookups of a group's name by its id.
  • Fixed a bug where "combined" degree plans didn't retain their "db_allow_dynamic = 1" member variable. Thanks to Logan Buth.
  • Fixed typo for db_allow_dynamic in theme.inc. Thanks to Kim Sangwin
  • 2018-03-05
  • Added a new hook, hook_courselist_find_match_allow_course. This allows modules too hook in just before a "match" is found by _CourseList's match methods,
  • to determine if it should really keep the course or skip it. This was introduced to counter a bug. Special thanks to Logan Buth for the concept.
  • Added extra code to _Course::name_equals, to call load_descriptive_data if subject_id is not populated.
  • 2018-02-27
  • Fixed bug where selecting a track for a degree which already had a | in it would have failed.
  • Fixed bug for non-dynamic degrees and degree option (track) selection. It now uses the first "editable"
  • degree found for a student, if the primary non-editable degree is non-dynamic.
  • Added function get_degree_allow_dynamic() to _DatabaseHandler.php.
  • 2017-12-5
  • To fix an issue where groups with branches were not respecting the grade sort order, I added
  • a new method to _GroupList: sort_best_grade_first_by_student_grades(). This helps sort branches
  • based on grades the student has earned.
  • 2017-11-30
  • Fixed bug where courses with inf. repeats were not respecting minimum grades.
  • Fixed another bug with inf. repeats, where substitutions were interfering with inf. course logic.
  • 2017-11-26
  • Fixed missing child group issue, caused by previous work (special thanks to Logan Bluth)
  • 2017-11-15
  • Introduced concept of "infinite repeats" in groups, for courses with an excessive
  • amount of repeats allowed. This greaty helps speed up FlightPath's group logic when
  • loading a student.
  • Added various function caches, and re-wrote some queries, in an effort to speed
  • load time for FlightPath (special thanks to Logan Buth)
  • 2017-11-09
  • Added extra filtering to the filter_markup() function, which would repair
  • any mismatched or faulty HTML tags. This can happen when people paste incomplete HTML
  • from Word or an email into a Comment.
  • 2017-11-07
  • Fixed an issue related to how a GroupList creates a clone().
  • Added #group field to render array for course info popup.
  • Added get_course_id array to CourseList object.
  • Added extra option for Group::get_course_id()
  • 2017-10-30
  • Removed functionality of having a course always get selected by default in a popup group listing.
  • 2017-10-18
  • Made groups' internal machine name a required field, and forced them to be unique, in preparation of
  • functionality for the Conditional Requirements module, as well as any other module which needs to
  • identify groups by human-readable names.
  • 2017-10-15
  • Fixed bug when duplicating entire catalog year (typo in variable name for catalog_repeat).
  • Fixed bug where it 'Back to degrees' link was linking to the wrong year.
  • 2017-10-11
  • Fixed mysql error in system.module.
  • 2017-10-03
  • Added extra caching & other techniques to speed up load times. In some situations, load time has been decreased by 300%.
  • Added new function, fpmct(), which is short for fpm(fp_debug_ct($val));
  • 2017-09-24
  • Fixed notices on Not Found page. Re-ordered weight system and added new markup elements to degree edit form (to make it easier
  • for other modules, ie, Conditional Requirements, to form_alter).
  • 2017-09-23
  • Fixed PHP notices on update function
  • 2017-09-19
  • Fixing PHP warnings on install.
  • 2017-09-18
  • Fixed bug where "process all definitions" wasn't loading groups with branches correctly.
  • 2017-09-14
  • Added concept of "set catalog repeats" to groups, which will automatically set all repeatable courses to repeat.
  • Fixed popup_description bug for "checkbox" form element type.
  • 2017-08-22
  • Fixed PDO mysql error in student search when searching by major.
  • 2017-08-16
  • Fixed a bug where the "prevent_course_assignment..." setting wasn't working for groups. It involved fixing another bug I discovered,
  • where advising_weight of a degree wasn't being applied when it came to group assignments.
  • Added a new setting to School Settings screen, where you can decide to show a warning or not on the View screens, if a student's major
  • cannot be found.
  • 2017-08-09
  • Added a new option to Configure School Settings -- "prevent_course_assignment_to_both_degree_and_track". If set to "Yes", then
  • a course cannot be assigned to both a Level-1 degree and one of its direct tracks. Ex: ENGL and ENGL|_track1. It is set to "yes" by
  • default.
  • 2017-07-25
  • Made all major_code fields in the database be varchar(100), just to cover any weird ones which may be above 20 chars (the old limit).
  • 2017-07-18
  • Added extra CSS classes to course rows which were created from split substitutions.
  • 2017-07-05
  • Modified the admin_copy_degree_submit function to store degree id's in the form_state, for
  • other modules to use. Same for the admin_duplicate_year_form
  • 2017-07-02
  • Added new hook for when a new degree plan is loaded: hook_degree_plan_load(&$degree)
  • 2017-06-30
  • Large overhaul to the degree edit screen. In addition to being 100% FAPI now, you can add new
  • semester blocks on demand, rather than having to save and refresh the page for more. You can
  • also delete a semester block. Also, when a new degree is created, the first four semester blocks
  • are created by default.
  • 2017-06-27
  • Fixed bug where form parameters not being stored as hidden variables in the form were causing
  • the $form_state['values'] to be incomplete. Specifically on the degree edit form.
  • 2017-06-21
  • Made it to where if the SESSION var "scroll_top" is set, the value will be respected. This allows
  • FAPI forms to set the scroll top (like the degree edit form)
  • 2017-06-19
  • Tweaked the reduce_whitespace function to make it slightly smarter.
  • Working on new FormAPI form for editing degrees.
  • 2017-06-17
  • Fixed bug where remainder hours on a split substitution were showing as the full hours
  • in Excess credit.
  • 2017-04-21
  • Added a new behavior to when FlightPath saves advising session from POST. Instead of
  • simply continuing execution, it can now reload the page via fp_goto(). This prevents
  • certain bugs from appearing if the user hits "Refresh" on the browser, causing the
  • POST to submit again.
  • 2017-03-27
  • Fixed a bug where substitutions and moved courses were not showing up correctly
  • immediately after changing a degree option (like adding or removing a track). This
  • was due to the FlightPath object not using the same reference to the student object
  • after a non-cache load.
  • Fixed an issue where hooks could not always be invoked from hook_init. This was
  • because hook_init was being called as soon as the module was loaded. Instead, the logic
  • was changed so that all modules are loaded first, THEN hook_init is called.
  • 2017-03-15
  • Fixed another bug where courses worth zero hours were not showing up in lists correctly.
  • 2017-03-14
  • Fixed bug where course->load_descriptive_data() actually reset bool_ghost_hour booleans
  • for courses. This meant that courses worth MORE than zero hours in the database would show up as worth
  • 1 hour, even if they earned zero hours. Added a simple argument to disable that behavior, FALSE by default.
  • The same bug was causing ghost hour courses to show as worth "1 hour" in popups.
  • 2017-03-09
  • Fixed bug where course repeats were not being excluded correctly.
  • Fixed bug where a course could not be removed from a group if it was being used as a sub in a different degree's group.
  • 2017-03-05
  • Added new course sort policy (to be considered in 'beta' for the time being,
  • which allows to select highest grade, exclude other attempts.
  • 2017-02-19
  • Fixed bug in duplicating degrees re: groups with var hours.
  • Added a hook to allow modules to modify a term_id prior to getting its description.
  • 2017-02-11
  • Fixed another bug relating to the logic of pulling up a student when two advisors are
  • working on the student at the same time.
  • Modified some logic in _FlightPath to accomodate the double advisor issue bug.
  • 2017-02-07
  • Fixed advising session bug where advisors working at the same time on the same student might see
  • each other's draft work.
  • 2017-01-26
  • Fixed bug where duplicating an entire year of courses was skipping over the max hours, if they were
  • set to zero.
  • 2017-01-19
  • Fixed bug in duplicate degrees, where some of the new fields were not being included.
  • 2017-01-18
  • Fixed bug where advised identical courses in same semester, but in different degrees, FlightPath got confused about which
  • course to check.
  • Fixed bug where after clearing advising cache, an adviser showed invalid tabs.
  • Fixed bug with variable hour courses not being selected after changing hour selector.
  • 2017-01-14
  • Made more changes, to ensure that users cannot access another student's data by manipulating
  • URL variables.
  • 2017-01-04
  • Handful of extra changes to logout function, again, for Safari browser bug.
  • Added more HTML comments to the course_search_display_courses render api call, to give
  • more spots for custom modules to dig in and change/add content.
  • 2017-01-03
  • Added additional unsetting of SESSION vars when cache is cleared, to erase any potential problems.
  • Working on logout function, to address issue from Safari browser where SESSION is not being
  • destroyed correctly.
  • 2017-01-02
  • Altered the way the renderapi handles markup, so it always gets a CSS class we can
  • use later. Also, added weights to the AdvisingScreen's display_popup_course_descroption.
  • Made minor CSS tweaks in other places too.
  • Minor display bug in user module, list of majors for student
  • 2016-12-28
  • Minor changes to System to suppress PHP warnings in one area.
  • 2016-12-22
  • Fixed a bug with substitutions, where the required courses was the same in two different
  • degrees, and the substituted courses was ALSO the same. FlightPath was applying the sub
  • to the first instance of the course requirement, and not necessarily the one the user selected.
  • Worked on an issue where when two users are working on the same student, they should only pull up
  • draft changes that THEY made, not that the other user made.
  • To guarantee draft advising sessions aren't loaded inappropriately, when a faculty user loads
  • a student's advising session, the draft versions are deleted. This is to correct a bug.
  • Fixed display bug of student's catalog year, in what if, when it is set to the Student mode in
  • the settings.
  • Fixed SQL bug in system.install, user_roles table didn't have primary key set up correctly.
  • More work on advising sessions-- now saves a draft duplicate any time a new student is loaded. This
  • is to fix a bug which can occur when more than one advisor is working on a student in the same
  • time period.
  • 2016-12-16
  • Added a new feature to let What If save & load with any catalog year. Built into the system
  • are the options "Current" and "Student".
  • 2016-12-13
  • Fixed bug where zero-hour courses were not allowing repeats correctly.
  • Added more CSS classes and options to displaying degree titles.
  • 2016-11-20
  • Converted FlightPath and module licenses' to GNU AGPL Version 3.0. Generally, it is compatible
  • with the previous GPLv3 license, with one addition as it pertains to servers.
  • See more here: http://getflightpath.com/gnu-agpl
  • 2016-11-16
  • Added ability for a "locked" directive in the student_degrees table. It lets you lock an entire
  • degree classification from editing at a time.
  • 2016-11-14
  • Added minor CSS to "Change degree options" link.
  • 2016-11-09
  • Fixed minor PHP warning which pie charts were not enabled.
  • 2016-11-05
  • Made varius modifications to accomodate a student with no assigned major code, or, a major code which could
  • not be found in the designated catalog year.
  • 2016-11-01
  • Fixed bug where identical courses which had all been advised were not correctly
  • being counted as advised/fulfilled when only one was fulfilled, and before the advising term
  • was advanced.
  • 2016-10-28
  • Added a setting to Configure School settings, to hide advising checkmarks if the student has enrolled
  • in the course they were advised for (also works for completed as well).
  • Added a new permission (in Admin module section) for user to be able to Delete courses, groups, or degrees.
  • Also added those checks to the deletion functions for those forms.
  • Fixed a bug in the course_search module, which was negating any effort to NOT have course names automatically
  • capitalized.
  • 2016-10-24
  • Added new hook: hook_flightpath_can_assign_course_to_group(). It lets custom modules decide whether or not
  • to allow a course into a particular group at all.
  • 2016-10-19
  • Fixed bug where a course over the min hours of a group was being skipped over.
  • 2016-10-16
  • Fixed a bug where groups with min hours weren't correctly being limited by substitutions.
  • 2016-10-10
  • Corrected logic on the min hours in groups code.
  • 2016-10-08
  • Added default setting to stop filling courses into a group once the min hours are met.
  • Display of min hours correctly calculated in group select with min hours after advising.
  • 2016-09-29
  • Fixed a bug with pie charts where it was not taking a group's min_hours into account. Also, told it to ignore
  • the "hours_required_by_type" in pie chart calculations, since a group can only be assigned to one requirement type
  • at a time.
  • 2016-09-28
  • Fixed bug where searching for lastname, firstname broke the search.
  • 2016-09-23
  • Improved error handling for Execute PHP function.
  • 2016-09-22
  • Added extra documentation for the structure of term ID's setting, and an additional setting to the course search code to support the [Y+1]
  • year adjust code.
  • 2016-09-10
  • Made various changes so that pie charts are rendered using a hook-able theme function, similar to Course Row, Footnot, etc.
  • This allows outside modules to modify the pie charts.
  • Also, the pie charts by default now list out progress for every degree the student is enrolled in.
  • 2016-08-24
  • Changed system.install so that datetime field is given a real date (1970-01-01 00:00:01), not all zeros, by default. This was
  • necessary because on some MySQL configurations, zero dates are not allowed.
  • Fixed bug in stats and batch modules, where they were not using constant names correctly (this is to make compatible with MySQL 5.7+)
  • Made note in db errors that contain the text sql_mode= to see a documentation page regarding how to correct that.
  • Adjusted install.php, settings.php, and _DatabaseHandler so that the db_port is its own value now.
  • 2016-08-23
  • Removed mysql_* functions from installation and settings files, to make PDO compatible and PHP 7 compatible.
  • 2016-08-20
  • Added setting for default 'allow dynamic' value.
  • Fixed bug where draft mode wasn't being selected correctly when fetching degree_id.
  • Added more CSS class names to elements on degree edit page.
  • Adjusted CSS in packaged themes' style.css files for what if selection screen.
  • Fixed What If selection so it pays attention to whether or not the degree was allowed
  • to be combined with any other degree.
  • 2016-08-04
  • Fixed queries in admin (for viewing watchdog logs) to use better PDO system.
  • Made variable_get/set respect NULL values, to ensure more effience caching and fewer db calls.
  • Fixed issue where identical transfer courses with different specific titles for the same student were not being retreived
  • correctly.
  • 2016-08-01
  • Added jQuery includes in the print template files, in case they are needed for debugging.
  • Fixed bug in History view, where "view/print all" wasn't correctly loading advising sessions
  • in sequence.
  • 2016-07-26
  • Added ability to change popup window sizes in the System Settings form. Popup window options are
  • now stored in the FlightPath.settings javascript object.
  • 2016-07-23
  • Switched (much of) the course search module to use render arrays, so other modules can make changes.
  • Added "back" link from Substitute popup
  • 2016-07-16
  • Fixed bug where sometimes subs in groups were not showing hours correctly, especially for transfer credits. Was
  • fixed by ensuring the "req_by_degree_id" value was always passed along.
  • Fixed bug in subs where "split sub hours" were being incorrectly reported. This was because the course's data string
  • was not being assembled correctly.
  • Fixed issue where min/max hours for a group were not being displayed correctly.
  • Added new theme hook, so modules can theme group select rows, to have custom messages.
  • 2016-07-08
  • Made tweaks to advising screen to make CSS re-themeing easier, and to make adding "extra html" easier to the group
  • list popups as well as other areas.
  • Made it so that function module_implements_hook() caches what it finds, at least for that one page load. Helps speed up
  • a little bit.
  • Added new hook: hook_translate. Called by t() function.
  • 2016-06-29
  • Fixed bug in Substitution system for split transfer subs, where hours were not being reported correctly.
  • 2016-06-26
  • Fixed bug in substitution reporting, where it wasn't correctly finding the split sub hours for transfer credits.
  • Added new hook to core; to be able to alter footnotes.
  • 2016-06-17
  • Fixed bugs with substitution footnotes, in AdvisingScreenTypeView. Substitutions were not being accurately displayed for footnotes.
  • Added extra indexes to the box_array in AdvisingScreen, so it makes it easier to overwrite certain screen elements for other modules.
  • 2016-06-13
  • Made alterations to fix a bug where the group a course was substituted into was not being reported correctly.
  • 2016-05-25
  • Converted the process that runs all group definitions for a year to a Batch API process, for better memory management and UI.
  • 2016-05-24
  • Added extra logic so that test scores with a date of null or 0000-00-00 will be given an "N/A" date, as well as extra CSS to help
  • style the test scores.
  • 2016-05-20
  • Added setting to School Data form (system.module) for excluding degrees from "appears in" counts.
  • Added method to DatabaseHandler-- get_degree_ids().
  • 2016-05-19
  • Adding "appears-in" counts for group select rows as well.
  • 2016-05-16
  • Added a new hook to let other modules decide if a course should be assigned to a particular degree or not.
  • Removed some redundant database queries to help reduce queries per page load.
  • 2016-05-11
  • Added to AdvisingScreen so we add extra classes when a course appears in more than one degree.
  • 2016-05-10
  • Created an array in DegreePlan to keep track of every course that degree can possibly use.
  • Added to $theme when drawing course rows, so we can move the degree_plan around as well.
  • 2016-05-06
  • Fixed bug in _CourseList.php, where min_grade wasn't being accurately taken into account when searching for find_best_match() courses.
  • Added CSS class to the body tag to state what the student's rank is.
  • Made it so any rendered button gets its title as its class, for extra CSS styling.
  • 2016-04-22
  • Added ability to "view/print all" advising histories, just like the comments.
  • Added track descriptions to what if selection screen
  • 2016-04-19
  • Made various changes in AdvisingScreen, and added a new hook, so that course rows could be further themed by
  • modules, before they are drawn on screen. This is partially so that the prereqs module will more easily work.
  • Added better CSS to admin.degrees.inc.
  • 2016-04-14
  • Added extra functionality to CourseList.
  • 2016-04-09
  • To prepare for dealing with prereqs, I changed the way the draw_course_row function is written in AdvisingScreen,
  • to allow hooks to change elements of it.
  • 2016-04-06
  • Fixed isses with db queries which specified '?~?' or similar syntax, which is incompatible with the new PDO system.
  • Changed checkboxes to use spans with classes for graphics, so we can easily overwrite as needed.
  • 2016-04-05
  • Replaced some hard-coded values with constants.
  • Fixed bug with group titles in view and what if.
  • Fixed mysql bug in course_search.module, fixed various issues which were causing "notices".
  • 2016-04-04
  • Fixed bug in what if selection screen for tracks. Added new javascript function to create CSS-friendly strings.
  • Added ability in System Settings to show group titles on View and What If screens, not just in print mode.
  • 2016-04-01
  • Fixed a bug in user.student.inc where major codes were not being read correctly from student_degrees table.
  • 2016-03-31
  • Added option to CourseList function sort_alphabetical_order, to include the degree's advising weight of the degree the course requires first, to make
  • it also get sorted by degree.
  • Changed the way semester blocks are drawn in AdvisingScreen, to group degrees together by advising weight, then name, alphabetically.
  • Made similar changes to AdvisingScreenTypeView. Also added more CSS classes to elements, making it easier to target.
  • 2016-03-30
  • Added extra class names when drawing courses and group selection rows. Also, created new CSS class called "selection_highlight" that gets
  • added and removed over certain items. Updated theme css files to accomodate.
  • 2016-03-29
  • Fixed bug in what if selection screen.
  • Cleaned up student search module a little, added extra CSS so that major codes more stylable.
  • Also made student_search module PDO compliant, not relying on older mysql_real_escape_string function calls anymore.
  • 2016-03-28
  • Implemented hook for fp_get_student_majors().
  • Added extra CSS classes to degrees in the currently advising box, making it easier to hide them through CSS.
  • Improved the fp_get_machine_readable() function, altered how form elements are rendered in render.inc so that
  • elements with weird characters get safely handled.
  • 2016-03-27
  • Worked on What If selections screen, to work with new degree track selection configurations.
  • 2016-03-20
  • Fixed bug where permissions were not acting correctly in certain circumstances for viewing past advising sessions.
  • 2016-03-17
  • Added check on copy degree form to prevent accidental overwriting of existing degrees.
  • 2016-03-14
  • Added concept of min/max track selections to degrees. Now, the user will be stopped if they select a number of tracks
  • outside of the allowed range.
  • 2016-03-08
  • Added new permission checks to advise.module, and new permission-- limiting ability of user to only view their
  • specified advisee's advising sessions. Needed to make that change for something to do with the student_files module.
  • 2016-03-07
  • Fixed bug where current draft catalog year wasn't being read correctly in _Course->load_descriptive_data()
  • Fixed oversight where files input element didn't render attributes array, also added multiple=TRUE for files, too.
  • 2016-03-02
  • Made it to where if a group is worth more than 200 hours, its hour counts do not show in the group select row,
  • or in the popup.
  • 2016-03-01
  • Fixed bug where courses were not reflecting the correct group they were assigned, in a multi-degree scenario.
  • 2016-02-29
  • Fixed bug where on install, the admin password wasn't set correctly.
  • 2016-02-23
  • Fixed issue with Course Search where faculty_id wasn't being saved as CWID, and where
  • only first 20 rotation schedules were being returned instead of most recent 20.
  • 2016-02-19
  • Fixed bug in Copy Degree form submission, related to switch to PDO support.
  • Fixed bug where min hours for a group weren't making it obtain the correct CSS class.
  • 2016-02-18
  • Fixed stray mysql_insert_id() command in _FlightPath.php. Changed to db_insert_id().
  • Made it to where if you skipped semesters on the degrees page, it will still show the blank
  • boxes, at least before where you skipped.
  • Fixed issue so that public notes (on degrees) show up correctly, no matter how many degrees
  • are being combined.
  • 2016-02-17
  • Fixed bug where group id was not being maintained for certain groups in popup window.
  • Made various changes in an attempt to help speed up page loads.
  • 2016-02-15
  • Fixed bug in misc.inc which was causing a new database connection *every time* a connection was requested (instead of re-using the
  • global one).
  • 2016-02-13
  • Fixed bug in install script so that track major codes can have up to 20 characters.
  • Modified the add degree form, to check to make sure tracks and major codes don't contain spaces,
  • as well as fall below the 20 character limit.
  • Fixed but which was intruduced by removing submissions form sessions. As a result, forms which didn't
  • validate didn't retain values. Instead made it so only password fields were hidden from the session.
  • Added concept of an "advising weight" to degrees, and on the degree edit form. This lets the admin set
  • the order in which degrees are presented to a student. Lower weights appear first. Added new popup help
  • topics to the degree edit page to help explain.
  • 2016-02-11
  • Made it to where combined degrees will overwrite semester block titles if they are set to.
  • 2016-02-09
  • Fixed MySQL bug when editing groups. Fixed bug where group_min_hours_required should be group_min_hours_allowed in the database.
  • Fixed bug in degree list filter when not using clean URLs.
  • Fixed missing argument bug in db.inc for db_affected_rows().
  • 2016-02-01
  • Removed section from system.module where submissions were being temporarily stored in the session. It wasn't being used anyway,
  • and it presented a possible security issue on improperly secured servers.
  • 2016-01-19
  • Changed default password scheme to use new D7 inspired PHPass technique, instead of basic md5's. Added new password.inc file, virtually identical to the
  • one which ships with D7.
  • 2016-01-14
  • Converted the advising history tab to use the content render api, so other modules can add content to that page.
  • Also made it so that past advising histories appear in a collapsible fieldset, to save space.
  • 2016-01-11
  • Changed course popup description to use new content render API system.
  • Added "override_degree_hours" field to degrees and draft_degrees tables, and db_override_degree_hours in the _DegreeClass object,
  • for future use.
  • Made small tweaks to fix bugs so installation works correctly.
  • 2016-01-07
  • Workng on var hour groups, ie, "min_hours_allowed". Also, added in mechanism for changing the name of FlightPath to something else, if desired.
  • 2016-01-05
  • Beginning work on optional min hours for groups.
  • 2016-01-04
  • Creating new render api system, for rendering arrays similar to form arrays. This lets other modules hook in to make changes.
  • Changed forms.inc to render.inc
  • 2015-12-31
  • Initial commit of 5.x branch, from 4.10-dev branch. Enough has changed to warrent naming this a new core version.