Commit Graph

1000 Commits

Author SHA1 Message Date
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
james
ebeadd6470 Registraiton list
Fix received forms to accept paid/not paid
2005-01-07 04:45:17 +00:00
james
15cbc2597a implement actually changing the status of the registration to 'closed' 2005-01-06 04:56:33 +00:00
james
ce66249238 received forms implementation nearly complete 2005-01-05 22:57:49 +00:00
james
4f1265e38d add stub for registration administration 2005-01-05 20:08:56 +00:00
james
a64638ec03 admin index page 2004-11-10 13:59:32 +00:00