Commit Graph

1188 Commits

Author SHA1 Message Date
james
1fed6629bd Use firstname for the names so they show in the "to" of the email 2008-01-09 17:28:11 +00:00
james
e7d436e409 Add ability to communicate (send emails to)
- school principals (via schools.schoolemail)
- school science heads (via schools.scienceheademail)
- teachers (via students.teacheremail) - this year, last year, or all years
2008-01-09 17:25:30 +00:00
dave
9a473041c8 - Be consistent with the header text 2008-01-07 05:51:54 +00:00
dave
48593842c6 - fix a typo in a link 2008-01-07 05:40:53 +00:00
dave
8c4b77cf41 - When saving committee orders, don't iterate through the order array if a
committee has no members.  Doing so just generates a PHP error.
2008-01-07 05:38:44 +00:00
dave
3cba628b51 - Disregard the year in award sponsors and contacts 2008-01-07 05:29:42 +00:00
dave
a364e9ea56 - Fix the Partner Name (first last) column 2007-12-30 23:02:41 +00:00
dave
f097559e9d - Fix some emergency contact headers 2007-12-30 22:32:58 +00:00
dave
7c5b53c268 - Fix the judges "Complete" header. Changed to "Cmpl" so it shows in the
header.
2007-12-30 22:30:28 +00:00
dave
e24bbb0bbc - Add a filter to the last commit, to not show the none tshirts.
- Add a 'total' option to the report generator, to signal that this column
  should be added up.
- If total is != zero, it shows the total at the bottom of each table, else, it
  shows the number of rows (changed the text to Total: for a total, and Rows:
  to show rows, if the total is 0)
2007-12-30 22:16:34 +00:00
dave
fcd6eedc1d - Add a new data field for counting the number of tshirts of each size
- Add a system report that lists the number of tshirts of each size
2007-12-30 21:45:04 +00:00
dave
d89c756427 - Add a grade column that uses the format "Grade x", instead of just the
number.  Fix the YSF stats report to use this column and show "Grade x" in
  the titles, not just "x", which was a bit confusing.
2007-12-30 21:20:36 +00:00
dave
eaad48d6d0 - Change how the num students report column works. It was failing when awards
were added because of the row duplication.
2007-12-30 21:05:54 +00:00
dave
ca52174cfe - Fix the grouping logic to handle the case where the group by column is also
selected as part of the display columns
2007-12-30 20:03:05 +00:00
dave
5bcd7cd1e1 - Obey the pagesize settings when generating actual reports, not just labels.
This makes landscape reports work.  This still ignores the margins (just like
  regular reports ignore the margins on 8.5x11 pages anyway)
2007-12-30 07:28:06 +00:00
dave
827887a0fd - Change the volunteer position description/meet_place colums to text from
tinytext.
- Change the icon_path to somethign SFIAB will like better in the tableeditor
  (was wondering why I had no icons in the tableeditor)
- Add a crude maxlength support for text areas
2007-12-29 19:43:56 +00:00
dave
aa1be324ad - The project number needs a titch more space for the GVRSF. :)
- Completely remove the old gvrsf_tablenumber report column.
2007-12-29 09:04:48 +00:00
dave
5aeaa6be0a - Also add the database update :) 2007-12-29 08:47:53 +00:00
dave
e8face39d6 - Update the project numbering system by also adding a sort field (defaults to
the project number field if blank).
- Add a new number option 'X', which counts among ALL projects, not just the
  ones in the same division/cat.
- Add a padding argument to N or X  (N0...N9) defaults to 2 for N, and 3 for X.
- Adds 3 columns to the project table:
	- projectsort: for storing the expanded text
	- projectnumber_seq: for storing the N or X number for projects
	- projectsort_seq: for storing the N or X number for the sort order
- Add a new config option for sorting, and expand the text for the
  projectnumber.
- Change the default sorting for reports and project lists to use the
  projectsort category.
- Remove the gvrsf_tn option from the database, it's not needed now.
2007-12-29 08:46:40 +00:00
james
a5998ca3dd Text update BUG239 2007-12-27 00:47:23 +00:00
james
8e91b16b63 Text update BUG238 2007-12-27 00:45:31 +00:00
james
67f3c2eda3 Text update BUG265 2007-12-27 00:43:40 +00:00
james
a13303afe9 text update BUG266 2007-12-27 00:40:59 +00:00
dave
f3f2747118 - Replace reports_acpresentation with a report from the report generator.
- Implementing a function call option to parse column data in the report
  generator as it comes out of the database.
2007-12-25 05:13:42 +00:00
dave
a912b7df99 - Clean up the award query.
- Fix a bug in the award query tha twas incorrectly linking judges teams with judges
- Add 'Judge Name' to the query so non mysql5 users can create an award report
  that lists the judge names for each award.
2007-12-24 21:18:08 +00:00
dave
1b0835a47f - Make the default report type 'student'. And load the necessary fields for that
- If the report type is changed, submit the form with a reload, to reload all the
  available fields.
2007-12-24 19:38:06 +00:00
dave
7ff0b4b104 - Add more fields to the committee report type
- Sort the report by the first field if no sort field is given
2007-12-24 19:20:01 +00:00
dave
b47ac24ed1 - Decrease the cost of students not from the same school +5 could lead to a
large penalty (5*20=100) which exceeds the cost of a 1st vs. 2nd choice tour.
  This could cause a student to be bumped to a 2nd choice tour for no reason
  other than to fix the schools.  The idea for duplicate schools is to only
  prefer to have 2 students from the same school on a tour if there's
  a choice that oculd go either way, this will break that tie.
2007-12-23 19:15:50 +00:00
dave
8972b5219f - Fix the db update 2007-12-23 01:52:18 +00:00
dave
e74c4ce64d - Another GVRSF change. Optionally include registration fee information on the
signature page.
2007-12-23 01:33:09 +00:00
dave
ebbac49b4b - Add the database stuff for the name check.. oops. 2007-12-22 23:44:46 +00:00
dave
6fc2118646 - Snazz up the important dates page a bit. Also add a unix timestamp query to
show how we could, eventually, use that to format the date.  But for now,
  leave it printing the ISO date.
2007-12-22 23:42:25 +00:00
dave
8ef21626f2 - Add a participant name check page for students to double check their name.
- Fix a bug in tour printing after tours have been assigned (it would show both
  students in a pair project on the same tour, always.)
2007-12-22 23:28:14 +00:00
dave
60df636517 - Reorder/Rename some of the judge columns for clarity
- Add an option to NOT filter a judge report by year if the report already
  includes a year filter.  This allows one to FITLER by judges.year!='0', and
  get every judge that has ever judged at the fair (should probably add a
  distinct(judges.name) or something, because a judge that has judged in two
  past years would appear twice in that list.
2007-12-22 22:16:12 +00:00
dave
0b782d467d - Unclutter the judge query
- Add project info, timeslots, and students to the judge query.
2007-12-22 21:50:25 +00:00
dave
edf26caf1e - Avoid a divde by zero in label generation
- Never allow the number of lines for text data to be zero in the first place.
2007-12-22 20:49:33 +00:00
dave
801e70cb0c - Fix the awards query
- Add prize amounts to the report editor
- Add a column to compute the number of students who worked on a project to the
  report editor
2007-12-22 19:12:43 +00:00
dave
8ef6f7ea45 - Update the admin judge page to make the order of things a bit more clear. 2007-12-22 10:17:16 +00:00
dave
fd9da0845b - Add special award selection editing to the judge manager 2007-12-22 09:56:46 +00:00
dave
1aadc76ebc - The awards store whether to schedule judges for a special award
(schedule_judges).  We should obey that even though it's always set to 'yes'
  and there's no way for a user to change it.. yet.
2007-12-22 09:36:23 +00:00
dave
3c9253dd9d - Add a config option to disable printing the cash/scholarship amount on the
public winners page.  (defaults to ON, which is the current behaviour)
- Fix pluralization of "Students" for one student. :)
- Change the effort option for judges and tours to a pulldown menu Low=100,
  Med=1000, High=10000
2007-12-22 05:11:42 +00:00
dave
e7a5ad183d - Add the grade and school of each student to the signature page. 2007-12-22 04:20:17 +00:00
dave
0d0e6bbb0f - Clean up the participant tour selection. Don't allow participants to select
tours after the assignemnts are done 
- Always report the Tour status as complete if tour assignments have been done
  (rank 0 tours exist)
- Inform the participant of their tour assignment if assignments are done
2007-12-22 04:03:17 +00:00
dave
7b7c6c0db2 - Use pdf_fit_image instead of pdf_place_image.
- The docs say pdf_place_image is deprecated (and so is
	  pdf_open_image_file.. apparently)
	- By using pdf_fit_image we can define a box where we would like the
	  image to fit, then use the highest quality image (logo.gif) and tell
	  pdflib to scale and center the image within that box.
2007-12-22 03:31:02 +00:00
dave
2cfbcc2b41 - Add an 'X' button to the "REmove this mentor from this project". To clean up
the oldest bug in the tracker. :)
2007-12-21 19:24:12 +00:00
dave
c6e90a0ffa - Add regular expression checking for each field. And refuse to save user
personal info unless the regexp matches.
- Also add error reporting so the user knows which field is in error, and what
  the proper format is.
2007-12-21 09:47:18 +00:00
dave
7f7c3c53e1 - Change the password expiry mechanism to always check
{$type}_password_expiry_days.  This allows the $config variable to be updated
  and everyones password will expire based on the new value.  To implement
  this, the password expiry column in the users table has been changed to
  passwordset, and a PHP script is used to convert the expiry dates to set
  dates (based on the _password_expiry_days)
- Cleanup the password entry checking
- Load all config variables for the db_update.php script.  Just in case an
  update script wants access to $config
2007-12-21 08:38:13 +00:00
dave
a420a18143 - Skip some session variables on logout, clear everything else. 2007-12-21 01:16:30 +00:00
dave
3f2c4d95f3 - Remove an extraneous table, so that the "change password" link appears on the
page, instead of below it (or not at all)
2007-12-21 01:03:31 +00:00
justin
2f443868d0 equality, not assignment operators would help I guess 2007-12-21 00:35:31 +00:00