Commit Graph

248 Commits

Author SHA1 Message Date
james
343c70f633 Added the fair year rollover code to go from one year to the next 2005-11-21 19:36:48 +00:00
james
7fd17c8bbe properly compare dbcodeversion and dbdbversion (trim the newline from dbcodeversion) 2005-06-07 21:10:39 +00:00
james
79f3d7ead6 Fix common.inc.php to properly detect whether installation needs to go to step 2 or step 3 2005-06-07 21:07:52 +00:00
james
6a9b470698 Switch the database versioning code from a flat textfile (db/db.db.version.txt) to a record in the config table (var=DBVERSION, year=0)
This gives us a much more robust database versioning system
2005-06-07 21:03:55 +00:00
james
5ef9051c0a Nearly finished install3 - I think the installer is almost ready to be used.
also updated DB version 7 to include the language entries
also update common.inc.php to make sure install3 is installed (make sure there's entries in the config table!)
2005-06-07 01:23:15 +00:00
james
621f940b27 Whoops fix admin and config submenus that I broke on friday! 2005-05-29 22:48:21 +00:00
james
850be50973 Detect when the installation isnt complete 2005-05-27 21:26:51 +00:00
james
f0cbb618ec Move the db/code version check before the database connection in common.inc.php 2005-05-27 21:23:16 +00:00
james
3841d7c86c properly detect where the config.inc.php is even when we're in a known SFIAB subdirectory. 2005-05-26 19:20:24 +00:00
james
9604c35f4b Add the installer script - currently it only creates the data/config.inc.php database settings - it still needs to create the actual tables.
Add some extra sanity checking to the db updater

Add more sanity checking to the common.inc.php
2005-05-25 21:58:03 +00:00
james
db4a891b52 add sfiab version information, set it to 0.9 to start with 2005-05-25 19:08:50 +00:00
james
b30e70aaad Add the school access page for schools to login and update their own information 2005-05-13 18:23:31 +00:00
james
6d5f794e05 Add the winners viewer and make sure its robust so it doesnt allow people to see things they shouldnt! 2005-05-12 21:05:21 +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
917e374f0a Add judging timeslots
Add emit_date and emit_time functions
2005-04-15 20:33:13 +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
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
3a26881149 add important dates
remove weird leftover query in config/dates
2005-03-29 21:04:16 +00:00
james
d059f34835 Implement date checking for both participant and judge registration 2005-03-29 19:21:14 +00:00
james
81e1559b8d add the database updater code, and always ensure that the code and db are running the same version 2005-03-10 17:28:15 +00:00
james
a2b274f4b9 add two new js functions:
- fieldChanged
	- confirmChanges

call fieldChanged when any field in any of the registraiton forms are chagned
call confirmChanges when the "back to summary" link is changed, to warn them if they have any unsaved changes

remove "(discard changes") from the "back to summary" links.
2005-02-21 23:07:10 +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
42c58426dd create email_send function to pull emails from databaes and send
add ability to delete judge account - soft-delete

make sure when logging in, only non-deleted accounts can be used.
2005-02-11 18:25:59 +00:00
james
5aac09ae15 remove unneeded module= from links 2005-01-25 17:00:23 +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
0bfb617804 add email output javascript functions 2005-01-25 15:58:36 +00:00
james
324433ef23 Add GPL headers to ALL PHP files 2005-01-24 18:00:03 +00:00
james
abf8f8d7a7 switch judge info to use province selector 2005-01-05 16:28:42 +00:00
james
726f466ac1 add a province selector
switch student registration to use province selector
2005-01-05 16:23:11 +00:00
james
d73ea11215 Add images directory and size 16 icons dir
Update $config array to store the icon extension to use, based on whether MSIE or not.
  (IE cant do transparent PNG's, all other browsers can, so for IE, use GIF, else use PNG)
2004-12-20 16:36:25 +00:00
james
1b393c1bb0 Commit all work from the weekend:
- judges registration
 - small changes to participant registraiton
2004-12-19 23:16:46 +00:00
james
880d5b0a82 - display status on project and student pages to show if the section is complete or not
- add a new function happy() for displaying 'good' things... also the CSS to go with it.
   now we have:		error() - displaying bad things (in red)
   			notice() - displaying neutral things (in grey/blue)
			happy() - displaying good things (in green)
2004-12-08 20:34:02 +00:00
james
3a212ae5d5 - refactor duplicate code in main, create an ouputStatus function to do the work
- add participants project file
- add checks for project completeness
- add new status 'empty' for if the section has not been started yet
2004-12-07 14:20:42 +00:00
james
0b46ebb808 update todo
allow removing of students IF studentnumber > minstudentsperproject
add a class 'caution' to ues on links, such as 'remove student'
add confirmClick javascript function
2004-12-06 21:37:49 +00:00
james
3a2d49c959 remove the brackets around the OTHER i18n output for non-translated strings :) 2004-12-03 04:30:50 +00:00
james
e091cb2e51 Add emit month/day/year functions to common
Make students page show the number of forms for the number of students
2004-12-03 04:28:18 +00:00
james
0111d59bdf Add counter
Fix CSS
fix XHTML
start of code for student info
2004-12-02 23:15:42 +00:00
james
c17447ed70 registration summary table
summarytable css class
2004-12-02 19:03:53 +00:00
james
1509632d22 remove the brackets from non-translated strings 2004-12-02 17:40:37 +00:00
james
404157df30 participant registration authentication 2004-11-30 22:59:27 +00:00
james
86bad4961b - set proper SFIABDIRECTORY on all menu links (so they work from inside subdirs)
- add config directory, update config.inc.php
2004-11-30 19:06:35 +00:00
james
efdf49d000 add registration pages 2004-11-30 18:55:39 +00:00
james
0e93f59524 add default language and language detection
xhtml 1.0 transitional compliance changes
2004-11-30 18:52:31 +00:00
james
23b938d6fb setup i18n and multi-language support 2004-11-30 18:34:25 +00:00
james
ace55ad45a setup the layout same as the SFIAB development page... for now at least 2004-11-30 17:46:39 +00:00
james
f52b4f3848 Make XHTML 1.0 transitional 2004-11-10 15:31:30 +00:00
james
5b65814e7c Initial sources
removed proposal - doesnt need to be made public
2004-11-10 13:52:01 +00:00