Commit Graph

1009 Commits

Author SHA1 Message Date
dave
fddce24de3 - Fix the paper type in system report 44
- Add 2 new paper types (Ledger 11x17 + landscape)
2008-01-25 05:31:27 +00:00
james
6a2683d92d Add ability to get registration list for previous years (only via appending &year=year to the URL) there is currently no user interface to access this feature. Also add the school board in brackets after the school name 2008-01-24 18:51:05 +00:00
dave
4b9d67fffe - Fix division saving for the case when a committee decides to drop a division
and the remaning ones need renumbering.  (It was not properly saving the new
  id)
2008-01-24 08:59:04 +00:00
dave
125437dd55 - More GVRSF stuff that I missed. Add two fields to the award_awards:
'self_nominate', and 'schedule_judges'.
- self_nominate defaults to 'yes' for all new and existing awards.  If turned
  off, the award will not appear in the student self-nomination pages.
- schedule_judges specifies whether an award should have judges or not, we have
  some special awards that students can nominate for but do not require judges
  to find the winner.  Similarly we have some awards students cannot nominate
  for but do require judges to determine a winner.  This allows both cases to
  be handled.
2008-01-24 07:46:12 +00:00
dave
446b54f693 - Properly construct the WHERE clause in the table editor 2008-01-23 20:20:54 +00:00
dave
df38d87b40 - Columns for school report 2008-01-23 19:30:05 +00:00
dave
98d6c7b493 - Report to export school CSV data in the format used by the CSV importer 2008-01-23 19:27:46 +00:00
james
7370a9387c Fix rollover comment :) 2008-01-23 19:00:26 +00:00
dave
b14ec011d4 - use the correct limit 2008-01-23 18:42:35 +00:00
dave
3f3475d407 - fix the limit on the special awards self nomination query
- add a rollover for regfee items
2008-01-23 18:40:59 +00:00
dave
58df28ba9a - Fix drawing label boxes around text items
- Add the ability to draw a static label box (without text)
- Add "self nominated award" 1 through 5 to the student reports
- Add a new report demonstrating how to use the above (this is of the format
  Sudbury sent us).
2008-01-23 18:32:31 +00:00
dave
735e5e0999 - Add a registration fee item editor
- Allow students to choose items from the optional registration items
2008-01-23 07:53:10 +00:00
dave
4357280ffb - Typo in the ordering 2008-01-23 06:02:10 +00:00
dave
78fa4ad6ac - Add support for short project titles in addition to the regular project
titles (defaults to off)
- Renumber the order of the config variables in Participant Registration, it's
  getting a bit crowded 
- Fill in some missing types for config variables
2008-01-23 05:54:03 +00:00
james
8411d614d5 Add the schoolaccess page to the page text editor 2008-01-22 19:22:51 +00:00
james
086ee99c8f Lets bump version number to -r2 for 'stable fixes & changes' 2008-01-22 18:46:18 +00:00
james
856c86367a Remove the fair name from the title on the index page.. it doesnt need to be there, because its right above it! 2008-01-22 18:26:46 +00:00
james
1464751fb7 If the registration list is sorted by project number, sneakily sort it by projectsort (then fall back to projectnumber) 2008-01-15 18:20:56 +00:00
james
9c2955bf94 FIX a major error with the judge class - typo in the table name 2008-01-15 17:34:36 +00:00
james
658929d1d7 Update CHANGES
Increase version to 2.1.8
2008-01-11 22:08:14 +00:00
james
7eb4ad1ecc Fix install3 after dave's commit of the tour assigner config values as default year=0
The install3 script detects an 'existing' install vs a 'fresh' install by checking for config entries with year=0... originally it expected only one DBVERSION and if any others existed then this must not be a fresh install, but now since things exist there, we need to forcefully check only the vars we're looking for.
2008-01-11 21:36:25 +00:00
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