Commit Graph

355 Commits

Author SHA1 Message Date
james
b2c2fdb38b Add an option to DELETE a registration, removes everything to do with it from the database 2006-10-25 17:35:51 +00:00
james
95dc9eea5b Launch the scheduler with a lower priority (10) instead of hte default (0) 2006-10-25 03:25:31 +00:00
james
b65316c32e Changes to judging scheduler so the process runs smoothly
Dont let it start running if its already going
Properly handle the text when its done running
2006-10-25 03:19:54 +00:00
james
2bb5c2e2a4 Oops add the launcher 2006-10-25 02:41:56 +00:00
james
a871759129 Add the judges scheduler status page, updated automagically using AJAX
Redirect the scheduler link to a launcher link that lauches the scheduler then goes to the status page
2006-10-25 02:41:41 +00:00
james
5cf008adf6 s/precent/percent 2006-10-25 02:26:49 +00:00
dave
b883d2f389 - Fix the percent update in the judge scheduler 2006-10-25 02:23:53 +00:00
james
677132f307 Ooops, close php properly on the communication.inc.php file (sloccount told me so!) 2006-10-25 01:50:59 +00:00
james
cf1bf2cf9d change set_progress to set_percent 2006-10-25 01:48:32 +00:00
james
f687e4d889 Put the judge scheduler status in the "Judge Scheduler" category, instead of a new category (having it in a new category makes that new category show up on the configuration variables page, and since they are year=0 the page would be empty anyways. 2006-10-25 01:34:11 +00:00
dave
ea418624ba - Add status output to the judge scheduler in the form of 2 variables.
Completely untested because I don't have judge data here.  Will test when I
  get home and debug.
2006-10-25 00:53:02 +00:00
james
f3e8762f2e Only check if the cwsf division id is set once per project, not for each student 2006-10-19 23:31:28 +00:00
james
06cb40304b Add the link to the One-click CWSF registration
Also split the student display onto multiple lines
2006-10-19 23:12:11 +00:00
james
aa93c170db Actually send the data to the YSF server! 2006-10-19 22:54:26 +00:00
james
2019e24b89 Add the 'one click' CWSF registration code!
It current generates the XML but does not implement the sending to YSF (thats still to come!)
2006-10-19 21:39:30 +00:00
dave
9fbb3feb3b - A few simple fixes to make it work in default mode 2006-10-19 17:17:43 +00:00
dave
a9ca1718d1 - A new judge report generator.. it's completely broken and not done, but I
wanted to get it into the repository so maybe I can work on it elsewhere
  later today.
2006-10-19 17:16:31 +00:00
dave
9f9b612e5d - Added an option for the tableeditor to construct a LEFT JOIN when listing a
table
- Add complete and year options to the judge manager, filter by ALL, active and
  inactive for the current year, or active only.
- Add the "complete" status the the judge info page (the judge info popup page
  needs to be integrated with the new judge manager, somehow.. so we can remove
  the judges_judges list page).
2006-10-18 17:05:18 +00:00
dave
29a772ae5e - Add the judge manager to the judges admin page
- Put a total at the top of the judge manager list
- Add to the table editor:
	- Change the filter to accept a single argument, so we're not
	  restricted to the `$k`='$v' syntax, we want to be able to filter on a
	  table JOIN.
	- Add a additionalListTable variable, and additionalListTable()
	  function, to specify additional tables that should be part of the
	  table select statement.  I guess ideally the class would implmenent
	  their own if alternative behaviour was desired.  But this way is
	  pretty generic.  The table editor can now, for example, select judges
	  by year.
2006-10-18 07:50:23 +00:00
dave
29e14c2514 - Fix the tableeditor to do a string compare for determining if something
should be SELECTED in the select type.  If the keys are 0, and there is no
  data, PHP does a numeric compare and matches them, when they shouldn't
  actually be matched.
- Add Load/Save for the judge category preferences
- Enable saving to mysql.  It works.
- Update the tableeditor css to use the same colours as sfiab
2006-10-17 06:44:27 +00:00
james
b8f2e52401 Show inactive judges list - this will probably be replaced soon with the new
editor interface.  Fixes Bug #0000064
2006-10-16 17:50:28 +00:00
james
7143e9e01a Delete old school mailing labels and replace with a mailing label generator
that allows you to customize the size of the labels to suit _ANY_ label
stock paper.

Add to label generator the option to get judge mailing labels, and award
sponsor mailing labels, and make it easy to add more mailing labels
down the road (students? committee? etc?)

Add two default label stocks (Avery 1"x4" and Avery 2"x4")
2006-10-16 15:42:29 +00:00
james
4a5bc27532 Add salutation field to award contacts 2006-10-16 03:36:39 +00:00
james
83691b07b8 Add a header for "public email / private email" to the top of the committee list administration page. Fixes Bug #0000041 2006-10-16 02:36:20 +00:00
james
7e0720dffe Fix a typo 2006-10-15 21:52:58 +00:00
james
cbc01c020f Fix the filename of the awards ceremony CSV script - Fixes Bug #0000063 2006-10-15 21:33:32 +00:00
james
cb6f4a3dbb update database length of email field from 32 to 128
update maxlength attribute of phone/fax fields to 32 (from 16) to line up with the db fields
2006-10-15 20:42:02 +00:00
james
130f0f5786 Implement Bug #0000029 - Report to view school access codes and registration passwords 2006-10-15 20:07:18 +00:00
james
9eef488a5d Implement Bug #0000004 - Do not allow multiple committee members with the same email address 2006-10-15 19:36:33 +00:00
james
4ee617eb52 Add more school information to the schools database (school lanaguage, school level, principal and school email addresS) 2006-10-15 17:11:56 +00:00
dave
373b876b1b Hacked up the editor a bit more.
- Added a "multicheck" input type for languages (english, french)
- Added a proof of concept cross reference to the judge class, it pulls the
  languages out of the judges_language database
- Completely broke the save mechanism.
- Converted the tableeditor edit routines to read from the input class
- Converted the tableeditor edit routines to use assoc arrays, instead of ->
  (easier to pull from mysql and then add cross references to it.
2006-10-11 07:21:35 +00:00
dave
1e9f68a35e - Add the table editor class (not heavily modified for SFIAB yet)
- Add the table editor style sheet, and load it in the header (needs editing)
- Add a judge class (not complete)
- Add a judge manager php file that doesn't interfere with what's already in the system

THis is a proof of concept, it sorta works, but the table editor is still reading directly from the judges class.  It will be updated to make calls only into the calling class type, thus abstracting away all the SQL stuff, and allowing the group class (judge in this case) to hide
all the cross table references we need to make for loading, saving, deleting, etc.
2006-10-11 00:28:58 +00:00
james
952047cc11 Add a prize value field to award prizes, also add editor the the value, as well add editor for the contact position 2006-09-20 16:24:52 +00:00
james
951f801093 Add an AJAX powered translation dropdown to allow incorporation of single string translations in-line in any editor instead of having to manage the translations separately in the translation manager.
Add the translation dropdown to a few fields in teh award sponsors, awards and award prizes.
2006-09-19 22:40:46 +00:00
james
e6ed1c35b0 Account for spacing between labels when generating mailing labels for the schools
Also shrink the c/o line to better accomodate long names
2006-09-12 18:03:46 +00:00
james
a8d31a3603 Add report generation support for mailing labels
Add School Mailing Address Labels for Avery #05163 (4"x2" or 10.2 x 5.1 cm)
2006-09-11 18:05:35 +00:00
james
6ab58a1b8e Add a generic CSV reader that properly handles multi-line fields
Add a school importer to import school list from CSV file
2006-09-11 17:32:02 +00:00
james
050f2093fb Replace "Sex" with "Gender", and allow the db field to be null, instead of defaulting to "male"
BUG#105
2006-09-04 16:28:28 +00:00
dave
ebd4666f51 Add a function to the config editor to specify which variables the config
should contain.  If the config doesn't find those variables for the current
year, they are automatically copied in from year=-1.  This means that
we can update a database and add new config variables and not have to manually
add each variable to the current year.  It also means someone can't mess
up the system and accidentally delete config variables, because they 
will be recreated.
2006-09-03 21:36:28 +00:00
justin
808290f631 projects should be assigned a project number once registration forms have been received, whether or not they still owe money. Resolves issue 101. 2006-08-20 00:02:31 +00:00
justin
a169e422e6 Add support to choose what status a project must have to be used by the judge scheduler. Allows for any of open, payment pending or complete projects to be allowed. 2006-08-12 18:05:38 +00:00
dave
145c6f88ff If we manage to reach a 0 cost early, stop the annealer, there is no point
looking any further.  This significantly reduces the timeslot scheduling time.
In most cases we reach 0 in a couple thousand iterations, but we need high
effort because some timeslot scheduling problems are hard to assign.
2006-08-12 08:07:02 +00:00
dave
c247119663 Remove redundant config code. Use the judge scheduler options directly. 2006-08-11 21:10:33 +00:00
dave
7451483ddf Add he min teams requirement to the check too, not just the scheduler 2006-08-11 20:17:30 +00:00
james
14e93e0c12 Split the Configuration Variables page into separate 'Category' pages 2006-08-11 18:53:10 +00:00
dave
6d6dd8abb1 We must have a number of judging teams at least equal to the number
of times a project must be judged, to avoid assigning the same jteam to
the same project
2006-08-11 01:11:14 +00:00
dave
58e1b4a05e Really fix the problem this time... Stupid Typo 2006-08-09 02:06:36 +00:00
dave
e1c39dd0a3 This shoul dfix the case where there are no projects in a judging division 2006-08-09 02:01:43 +00:00
dave
be711441ea Recommend 15 minutes, not 10 for the php script run time. The annealer takes 12 minutes on my system with really high effort. 2006-08-08 07:03:03 +00:00
dave
dcefe6cdad Replaced the timeslot scheduler. This one is much faster, but it doens't actually compute cost for the number of judges the student has in a row. But, because it's totally random in layout multiple judges in a row should happen very infrequently. 2006-08-08 06:51:07 +00:00
dave
03acd9d8fc Use the annealer to assign projects and judges to timeslots. This should
prevent a project from getting too many judges in a row, and also a judge from
judging 2 projects at the same time (which would be more of a problem).

Still need to write a verifier to check all the results.  But the annealer
tests look pretty good.  Unfortunately it takes a pretty long time to run. :(
2006-08-08 03:21:08 +00:00
dave
b86bb3bc9a - Fix most issues with projects being judged multiple times. This should fix
all issues EXCEPT that the timetable scheduler may assign two judging teams
  to the same project at the same time.  I will fix that soon.  But everything
  else should now work.
2006-08-02 08:07:51 +00:00
dave
c79f16837b - Remove a debugging line. 2006-08-02 07:44:31 +00:00
dave
5438821b1c - Don't include judges that area already on a judging team (their ID appears in
judges_teams_link) in the pool of judges for the judges scheduler.
2006-08-02 07:43:02 +00:00
dave
d01a3eede6 - Delete the old divisional teams, links, award links, timeslot links earlier
in the scheduler so we can only select judges that are NOT already part of a
  judging team

- Fix a numbering issue where sometimes an divisional team created by the
  scheduler wouldn't get created because of conflicting team numbers.  Now, use
  MAX(num) to find the highest team number and increment team numbers from that
  number.
2006-08-02 07:36:21 +00:00
dave
e7d726355d The new judge scheduler.
- Missing: Having a project judged more than once by different judging teams is
  untested, I don't htink it'll work properly, still working on that part.
- Missing: Auto updating the configuration if any of the variables are missing.
- Missing: A way to preserve judging questions (like willing_chair), so the
  user doesn't delete them and break the scheduler, OR, notice saying that the
  question has been deleted and the scheduler won't use the chair calculations,
  then we need a way to add them back in with the click of a button.
2006-08-01 19:43:15 +00:00
dave
6fc83836af Implemented a judges division editor, to be used before the automatic judge scheduler to
set groups of divisions that judges can judge within.
2006-07-31 18:17:37 +00:00
james
ea82b61700 Only show the count of awards and contacts for a sponsor for the current fairyear. 2006-07-26 14:42:03 +00:00
james
7d7dd74b18 Show sponsors from all years, make the rollover script simply unconfirm all of the sponsors so they can be reconfirmed for the new year. 2006-07-26 14:38:21 +00:00
dave
228a1a0583 Implementation of configurable judges questions. 2006-07-11 20:22:42 +00:00
justin
e87a80e04a Add csv versions of the committee, judge and student nametags. Resolves issue 60. 2006-07-04 20:38:09 +00:00
justin
0e9a889e4f Schools and students were not being properly numbered in the Registration Summary. Ref: Bug 90 2006-04-09 13:47:04 +00:00
james
a3cec472ac Fix a critical bug with the judging team assignments, the team name needs to be rawurlencoded before put into the URL! 2006-03-30 17:46:37 +00:00
james
7ea92bbcb4 Properly handle empty judging teams 2006-03-30 17:05:36 +00:00
james
e97e22c6e3 Ooops! dont forget to clear out the variable each time through the loop! 2006-03-28 23:50:36 +00:00
james
cbfb9809c0 Add judges languages to the judges list export
Fixes BR#84
http://www.sfiab.ca/bugtracker/view.php?id=84
2006-03-28 23:48:08 +00:00
james
82a45a9d26 Commit Justin's code (modified slightly) for student info viewer
Fixes BR#82
http://www.sfiab.ca/bugtracker/view.php?id=82
2006-03-28 23:32:43 +00:00
james
cfd6fdf637 Dont bail out on empty judge teams 2006-03-16 20:15:50 +00:00
james
5e8aa4ca2b Add recipient "Judges not active for this year" to communication module 2006-03-08 22:12:55 +00:00
james
04e8f0d1c1 Add a project logistical requirements report to show which projects need electricity, tables, and othe rspecial requirements 2006-03-08 20:22:17 +00:00
james
82bae118b1 Handle multi-year data in award_types 2006-03-08 20:01:18 +00:00
james
220c7a6fb1 Fix the winners list when there's multi-year data in the award_types table. 2006-03-04 05:22:26 +00:00
james
f0fdca1ba0 Add a new report that shows each project/students on a per school basis, one school per page. 2006-03-04 05:09:05 +00:00
james
95c6381007 reorganize the send_communication script to be more efficient 2006-03-01 18:03:41 +00:00
james
4bf5cb909f Update the communication module with a few more options 2006-03-01 15:59:51 +00:00
james
d3090b934f Add a judges list to the judges management page, this list allows you to view the status of the judges as well as delete judges from the current year's fair (note: only deactivates their account for the fair, does not delete it completely) 2006-02-15 18:10:27 +00:00
james
db5b20d54a Fix a few bugs in the communication module 2006-02-07 20:56:54 +00:00
james
a85faefe2d Fix the judges report 2006-02-07 20:19:56 +00:00
james
4aff70ef17 Fix the broken sending emails -- aparently the "at" command had its syntax changed and now requires a base to add increments from
(at now + 1 minute)
2006-02-06 21:34:09 +00:00
james
d5fd002820 Update the judges automatic scheduler to honour filtering categories by divisions, so we only get teams for cat/div combos that we actually need 2006-02-06 16:45:39 +00:00
james
68ff1bdc2f Make the titles on the awards page a little more meaningful/correct 2006-02-01 05:12:07 +00:00
james
b375b4ae0d Implement Bug #0000001 - Have option to exclude awards and/or prizes from the awards ceremony script.
(An example could be honourable mentions that you dont call up on stage at the awards ceremony)
2006-02-01 05:06:48 +00:00
james
1833a63b15 Adjust the column widths a bit 2006-02-01 05:04:36 +00:00
james
738aaeb172 fix a few typos in the annealer, and bump up the moves to 1000 for better results 2006-01-31 23:31:40 +00:00
james
c5e55fad37 Remove the unneeded configuration params for timeslots from the scheduler
Separate the 'requirement check' into a separate file and run it on both the config  page, and as a double check on the actual annealer page incase they decide to manually type in the address or bookmark or somkething.
2006-01-31 22:34:04 +00:00
james
cf22c24c78 Add school district and school board fields to the schools database 2006-01-27 18:36:53 +00:00
james
eaa1444082 Make the scheduler config check for available timeslots
Make the scheduler actually insert the timeslot/project/team data into the database
2006-01-26 23:06:47 +00:00
james
7b5d56ce60 Update the judges timeslot editor to have a new field for 'allow divisional'. This specifies whether the automatic judges scheduler can use this timeslot to scheduler the divisional awards judging.
Add a new feature to the timeslot editor to add multiple timeslots at once, by specifying the start time, duration, and break time.
2006-01-26 21:42:04 +00:00
james
19b24cca36 Add scrollbars=yes to the judge info popup window, so its possible to scroll down! 2006-01-26 17:52:06 +00:00
james
fefd9c8e35 BUGFIX From Just Reardon:
If specialawardnomination is set to "none" (fair doesnt use special award self-nominations) then the pick winners page will instead show all projects that are eligible for the award to choose a winner, instead of those that are nominated for it (which is none).

Thanks Justin!
2006-01-26 15:04:25 +00:00
james
4d54bdbb1c Update translation manager to work with unlimited number of languages as defined in the languages table
Update i18n function to accept a third parameter, which is an array that describes the arguments in the string to make translation much easier
Update some of the config/admin pages to make sure i18n is properly used, and that argument descriptions are set
2006-01-19 17:15:07 +00:00
james
28ebf2ce30 Add a preliminary translation manager, mostly copied from another location that I use a similar system. It needs to be updated still to handle translations for the languages in the 'languages' table instead of only french. But this will at least allow us to begin the french translations 2006-01-19 01:58:37 +00:00
james
321a245670 Split school access and school participant invitations into separate files
Update invitation system to keep track of the number that have been invited and not allow the school to invite more than they are allowed
Update the schools editor, to allow specifying the max number of projects and whether the max is total for the school, or per age category
Add required fields to the schools table
Update the config variable for special awards registration to allow turning special awards registration off
2006-01-18 05:22:58 +00:00
james
515e615a8f Properly display the project number if registraiton fee is >0 2006-01-16 16:22:05 +00:00
james
bd274f6301 Add the 'back to admin' line to the committee manager 2006-01-16 05:24:14 +00:00
james
b4fc47f9b7 Add a huge warning about the scheduler not yet being complete. 2006-01-16 05:04:45 +00:00
james
3bccb5d163 Commit all of daves changes to the annealer - it is DEFINITELY NOT COMPLETE YET! DO NOT ATTEMPT TO USE IT YET! EXCEPT OF COURSE FOR TESTING PURPOSES :) 2006-01-16 04:58:43 +00:00
james
d763cd1636 Add a link to the generic prize template editor, right before the link to create all divisional awards based on the template. 2006-01-16 04:57:56 +00:00
james
5ff9494d48 Fix judges info to properly show the age category preference and areas of expertise 2006-01-16 04:55:46 +00:00
james
d17e145158 Only create the awards if a sponsor is selected 2006-01-16 04:44:30 +00:00
james
4953d2c13c fix the table labels report to work multi-yaer 2006-01-13 16:57:58 +00:00
james
635d0b6e2d Fix annealer to only use judges that are complete and from the current FAIRYEAR 2006-01-03 02:44:26 +00:00
james
112693c337 Fix the divisional award creator to load the right page :) 2006-01-03 02:33:36 +00:00
james
c53e130cc4 Fix the scheduler config to work with multi-year data 2006-01-03 02:33:11 +00:00
james
44a79493aa Get age category preference from judges as they register
Create scheduler configuration page to handle setup parameters for the automatic judge team assignments
Create the annealer to handle the actual assignments of judges to judging teams based on the lowest cost function of each individual team.  Currently takes into account: a) age category preference, b) divisional areas of expertise.  still requires: years of experience, language preference, and 'team captain' scheduling.
2006-01-03 02:08:23 +00:00
james
577789b117 Add functionality to auto-create the divisional awards for each division and age category, based on the default prize template 2006-01-03 02:02:52 +00:00
james
335098e5a7 Fix a few queries to handle multi-year data properly
Add link to edit the generic prize template
2006-01-03 02:01:20 +00:00
james
8ae58b5957 Fix the width of the teams display so they are all consistent 2006-01-03 01:50:23 +00:00
james
d8321449f9 Bug and Typo fixes are per John Meskes 2005-12-15 22:28:04 +00:00
james
b956f4c2d3 Add project details report - shows info for one project per page, with project details, mentor information, and project summary
Remove some leftover junk from tablelabels report
2005-12-08 18:00:30 +00:00
james
3f50a343af fix a few reports to make sure we dont duplicate results for multiple years 2005-12-08 16:17:12 +00:00
james
5bd24e3f8d Put phone numbers on multiple lines for PDF, and in multiple columns on teh same line for CSV 2005-12-08 16:05:25 +00:00
james
074b66274c Add student emergency contact report 2005-12-08 16:00:18 +00:00
james
a4faab66e0 Fix the divisions query to query the divisions from this year properly 2005-11-26 18:59:44 +00:00
james
e8353f011f Add the judge inviter to the judge administration section
Add the new judge invite email
2005-11-25 21:15:29 +00:00
james
860175ae79 NEW FEATURE: Participant Registration Type
Open - Anyone can register.

	Single password - Same password for all schools, they tell the 
		students that will register what the password is.

	School password - One password per school, they tell the students
		that will register what the password is.  School is 
		pre-selected based on their school password.  This will allow
		eventually the ability to restrict participation numbers on
		a per school basis

	Invite - The teachers at the schools must 'invite' the students 
		to register by logging in as the school and creating
		accounts for each student.  The student then logs in and
		finishes entering all of their information.  This will allow
		eventually the ability to restrict participation numbers on
		a per school basis

Bump version number (0.9.3-svn)
2005-11-24 20:21:55 +00:00
james
2e125d263c 2005-05-13 17:36:01 +00:00
james
c93a18ea4e only show nominated special awards instead of eligible special awards when assign projects to teams timeslots 2005-05-12 19:47:08 +00:00
james
32e36648b4 When adding a winner for a special award, only show choices of those who nominated themselves for that award (instead of all eligible projects) 2005-05-12 19:06:12 +00:00
james
ed663e77eb Wow I dont even know what all is in this commit: few things i do know:
1) add (preliminary) special awards nominations for students
2) add css right-margin to summarytable class
3) add new table for projets-specialawards-link
4) move projects.inc.php from admin/ to / (so particpant registration can use it)
2005-05-11 04:13:27 +00:00
james
b1810d05a2 commit this file so i can mov eit 2005-05-10 21:51:22 +00:00
james
c7e1ec708c Only show projects that are eligible for an award that the team is judging for 2005-05-06 20:26:15 +00:00
james
e91dbdf4c9 factor out functions to get projects that are eligible for an award 2005-05-06 20:02:20 +00:00
james
1476031aea get teams project assignments ready to handle only displalying projects that are eligible for the awards that are assigned to that team 2005-05-06 19:14:56 +00:00
james
7af110337a Add the awards at the top of the judging teams view tables 2005-05-06 18:05:10 +00:00
james
b3cad6ebd3 show error if team is empty
add ability to empty entire teams
switch 'delete' button from a form button to the standard cancel icon (saves vert space)
2005-05-06 16:34:13 +00:00
james
a947ff8e85 Whew! Add a new interface to link judging teams with the awards that they are
judging for.  Can now auto-create judging teams based on awards list (one team per award).

db bumped to v6

moved judges_teams to judges_teams_members
judges_teams is now the new interface
2005-05-06 16:13:37 +00:00
james
c171fe752d enter winning projects
new database files
update PDF addText to go to next page when necessary
awards ceremony script
2005-05-04 21:23:00 +00:00
james
0127061871 Remove border from team captain icons 2005-05-02 20:56:49 +00:00
james
098649c8a3 Add Presenter to awards 2005-04-26 18:59:38 +00:00
james
7c95c37d21 Committee Nametags 2005-04-22 19:51:47 +00:00
james
65c4600bec Judges nametags 2005-04-22 19:14:37 +00:00
james
95e13e966a make the div/cat on the nametags a bit smaller 2005-04-22 18:01:13 +00:00
james
fe1217ba6b Whew! LPDF Nametag support & nametags for students... that took 5 hours! 2005-04-22 17:37:19 +00:00
james
1d3c7294e4 Add the project table lablels report 2005-04-22 14:20:29 +00:00
james
b7b9064810 Create report to show judging times for each project. One project per page. 2005-04-21 22:12:35 +00:00
james
db6b2dad28 LPDF: fix bug when one line of text is added with addtext
LCSV: add addtext, newpage functions

Create new report containing judging team project assignments, one team per page.
2005-04-21 20:29:08 +00:00
james
3120d31841 add the ability to show ALL or only UNASSIGNED projects when assigning projects to judging teams timeslots 2005-04-21 17:00:49 +00:00
james
e812d1d783 more code to add projects to the teams 2005-04-19 19:22:25 +00:00
james
57ec92392a Add judges team timeslots assignments (finished)
Add judges team projects assignments (in progress)
2005-04-19 18:36:03 +00:00
james
229f2670f1 whoops fix big bug which prevented project numbers from being assigned properly! 2005-04-19 18:20:10 +00:00
james
57ed732bd0 Factor getJudgesTeams into a function since we seem to need to use it all over the place :) 2005-04-18 17:56:46 +00:00
james
917e374f0a Add judging timeslots
Add emit_date and emit_time functions
2005-04-15 20:33:13 +00:00
james
44f40885e5 LCSV: add heading() and nextline()
Add judging teams list and judging teams view reports

Fix judges team number assignments to assign new teams the next available number, filling empty/missing numbers.
2005-04-15 16:12:00 +00:00
james
ab424f244f automatically assign a new team captain if the current team captain is removed from the team 2005-04-15 14:50:18 +00:00
james
3f471bde41 Add judge team captains, bump db version 2005-04-15 14:27:18 +00:00
james
c632070d6e implode on ", " instead of "," 2005-03-30 18:24:20 +00:00
james
354ab22d92 add some space before the popup footer
change judge info popup size (make it bigger)
2005-03-30 18:21:48 +00:00
james
dc8fad6320 onload popups now get focus 2005-03-30 18:19:31 +00:00
james
ed9b3d577f add new css class - viewtable - nearly the same as summarytable but
will be used for viewing information.

also switch the judge info button to just say the name when a person is selected
2005-03-30 18:13:58 +00:00
james
abcd327e5a remove brackets from subdivisions
change areas of expertise table to use class=summarytable
2005-03-30 18:05:53 +00:00
james
05a9ae0bf6 add judges info popup box, also new common functions send_popup_header and send_popup_footer 2005-03-30 18:02:45 +00:00
james
0545126b9d whoops definitely need to reset the arrays! 2005-03-30 16:07:33 +00:00
james
2813dcaa7a add divisions and subdivision info to the judge list report. 2005-03-30 16:04:32 +00:00
james
584e7fe8f1 whoops screwed that one up :p 2005-03-29 21:09:34 +00:00
james
e19cb49b3e replace both \r and \n when exporting 2005-03-29 21:08:47 +00:00
james
5641edd8d2 use LEFT JOIN's instead of EQUAL joins 2005-03-29 20:51:37 +00:00
james
392dcf94dc show cat/div preference names instead of their ID's
fix address1 to address
2005-03-29 20:44:28 +00:00
james
c8149a40d5 finish messign around with team naming 2005-03-29 20:28:35 +00:00
james
09cf68145c add team names to messages 2005-03-29 20:01:21 +00:00
james
14e5e4f7d6 defaults for adding team name 2005-03-29 19:53:48 +00:00
james
a5198a8c59 can name judging teams however the chief judge wants 2005-03-29 19:38:58 +00:00
james
d059f34835 Implement date checking for both participant and judge registration 2005-03-29 19:21:14 +00:00
james
58ce32ccf5 rip out any newlines in the textboxes that allow multiple lines 2005-03-10 19:48:41 +00:00
james
ea6ea22b23 only show complete judges in the export CVS as well 2005-03-10 19:47:07 +00:00
james
258db162c7 implement system to keep track of which judges are complete
make judge teams only list complete judges
2005-03-10 19:43:49 +00:00
james
f89b130fd3 only show the judges in the list if their firstname and lastname is set
this is a bit of a workaround, there should be a "complete" flag somewhere that is set/unset as the judges go through their profile and this should only query those that are complete
2005-03-09 23:29:00 +00:00
james
26f6e8ffef whoops move the HR divider to the top 2005-03-09 23:26:50 +00:00
james
f5ec84a499 move the "add judges to new team" button to the top instead odf the bottom of the teams list 2005-03-09 23:25:15 +00:00
james
ffd0f36e13 judging teams management 2005-03-09 23:20:44 +00:00
james
7e1321ee1d add judge ID to judges export 2005-03-09 20:33:16 +00:00
james
2212b9c98d award prizes system 2005-03-04 03:40:03 +00:00
james
cbf768067c aparently i forgot to add the checkin export file 2005-03-02 18:48:01 +00:00
james
7dc41dc17f Add all the communication emails stuff to send emails to people 2005-03-02 18:47:19 +00:00
james
3d3c3f08bf Add the awards editor 2005-02-25 19:16:05 +00:00
james
79ff112a9d add award contacts system
link it to awards and award_sponsors
2005-02-23 23:00:45 +00:00
james
537fdb2139 Add awards subsystem
Add award sponsors
2005-02-23 22:03:56 +00:00
james
6d58c108c0 add judges CSV report (it would be waaaaay too wide to make into a PDF)
update lcsv to send content-type: text/x-csv

reduce duplicate code by using same variable for both kinds of reports, then $rep->addTable and $rep->output are the same for both pdf and csv
2005-02-23 14:55:01 +00:00
james
353835d402 add a class to export the reports to CSV - modelled after the PDF class so the two will be easy to use together
update the checkin reports to export to CSV as well
2005-02-23 14:29:28 +00:00
james
923c62f307 remove the messages about admin/config being left open for all, as they no longer are. you must login as a committee member to see them 2005-02-17 15:00:29 +00:00
james
3b1febd3fb make sure only a superuser can access the access controls 2005-02-16 22:59:31 +00:00
james
82780d85f8 only a superuser can access the access controls for users 2005-02-16 22:55:37 +00:00
james
3deae5e029 Implement authorizaiton for admin/config sections
Use committee members for authorization
Add auth required checks in all admin/config sections
2005-02-16 22:50:43 +00:00
james
35d9cf9e25 escape the name
save the password
2005-01-25 19:20:13 +00:00
james
5da526552f remove unused code
add password input box
2005-01-25 19:08:41 +00:00
james
e40bbeda96 more xhtml compliance fixes
add access controls to committee member editor
2005-01-25 18:58:00 +00:00
james
7368a22975 Add committee page and committees management
make committee management fully XHTML compliant
2005-01-25 16:44:25 +00:00
james
324433ef23 Add GPL headers to ALL PHP files 2005-01-24 18:00:03 +00:00
james
0f5e201b97 assign the project number based on a config format when the form is received
fix checkin report to show the projectnumber
2005-01-21 19:27:28 +00:00
james
5dcf403421 whoops missed this file 2005-01-21 16:13:08 +00:00
james
421e7f43d9 fix some alignment issues with the table, make sure it moves down the appropriate amounts at the appropriate times! 2005-01-18 17:45:26 +00:00
james
f7d40b115a add config options:
regfee = number
regfee_per = (student,project)

hide things to do with registration/payment if regfee == 0
2005-01-14 20:56:51 +00:00
james
2c0fb0f90d add logo to reports 2005-01-14 20:41:22 +00:00
james
d3b1223e92 Make registration list sortable
Make links in summarytable header be white
(something in pdf?)
2005-01-14 17:00:24 +00:00
james
2c3f6e745f add a script to populate the db with some fake data
update divisions to accept 'shortform'
some updates to PDF
2005-01-13 23:59:22 +00:00
james
0e10fcda45 factor out PDF code into a separate PDF class
implement new PDF class in reports_checkin
2005-01-13 22:00:34 +00:00
james
54098a8aab Add registration statistics to the registration_list 2005-01-13 18:00:36 +00:00
james
a8167f4dae reverse the order of the status select box 2005-01-13 17:28:30 +00:00
james
1555f19293 separate the division and category from the main query so we can make sure we match up the div/cats with the proper FAIRYEAR
without using crazy joins and still making sure the record is displayed if no cat/div is specified yet
2005-01-13 16:51:43 +00:00
james
de95ff761f i18n the registration list page 2005-01-13 15:56:27 +00:00