Commit Graph

267 Commits

Author SHA1 Message Date
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
5df07701a0 NEW FEATURE: Judge Registration Type
Judge registration type can now be one of:

	Open - Anyone can register as a judge

	Single Password - A password is selected by the committee and 
		is given to any potential judges.  The judge must enter
		this judge registration password before they will be
		allowed to create an account

	Invite - Judges must be invited by the committee, judges will
		not be allowed to create new accounts.
2005-11-25 20:07:21 +00:00
james
6eb1a39d0b add the ability for schools to invite participants IF participant_registration_type=="invite"
also switch the new participant email to read from the emails table instead of hardcoded from the file
2005-11-25 19:37:10 +00:00
james
122194d296 Change installer to look for an older version of the "full" database if the newest (required) version cannot be found. The user will then need to manually update from whatever version is installed to the newest (using db_update.php) 2005-11-25 15:16:47 +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
3362e14b4e Also rollover the schools, when we do the fairyear rollover 2005-11-24 20:12:43 +00:00
james
288dd58c9c Make sure we always have all of our configuration variables defined. If a new one is added as a default with year -1, it needs to be automatically created for the current FAIRYEAR as well. 2005-11-24 20:12:06 +00:00
james
599f740cd3 Only display Divisions from the current FAIRYEAR 2005-11-24 19:06:38 +00:00
james
2c859da295 Add the full 8 database version for installations to use 2005-11-22 14:21:53 +00:00
james
d4156acc9d bump version number 2005-11-22 14:04:16 +00:00
james
b24d579424 dont show the form again after running 2005-11-21 21:30:10 +00:00
james
5843be049d close the php tag 2005-11-21 21:27:52 +00:00
james
76513f9ffb Fix version detection. 2005-11-21 21:11:34 +00:00
james
35761a542b wow i scrwered this one up :) this should work now 2005-11-21 21:00:31 +00:00
james
d6256d7c11 whoops wrong filename! 2005-11-21 20:39:59 +00:00
james
b639308993 Add page text functionality, to define arbritary page text to be displayed on pages without having to edit the actual files.
Also shrunk the padding on summarytable, 4px seemed just way too big of a waste of space :)
2005-11-21 20:33:18 +00:00
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
bd4f8b6739 whoops, the code for the fairmanager was messed up - should be fixed now
also set the fair manager to the superuser on installation
2005-06-07 21:36:07 +00:00
james
3c621ece84 bump version to 0.9.1 2005-06-07 21:21:17 +00:00
james
bfbc33898b Dont allow the user to change DBVERSION via the variables configuration 2005-06-07 21:12:01 +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
7509f5f7c1 hmm there was a duplicate of all the config options for some reason in the full.7 - remove those dups!
also add the provinces to full/update 7
2005-06-07 20:30:38 +00:00
james
ac3053318d when creating the superuser, make sure they get admin/config/super=Y
also fix the config/dates insert queries so they will work
2005-06-07 20:22:25 +00:00
james
7df9e6e444 ask for and save the 'fairname' configuration variable 2005-06-07 20:12:27 +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
0f4616c2da remove the ID's from the dates INSERT in the FULL 7 file as well 2005-06-06 19:01:06 +00:00
james
047175d4df whoops, remove the ID's from the dates INSERT lines 2005-06-06 18:58:32 +00:00
james
abf46c9e7c Setup defaults in config and dates table to be year=-1
The config and dates pages now need to be updated to read defaults, and insert new config parameters as FAIRYEAR if they dont exist already
Bumped version to 7
2005-06-06 18:56:19 +00:00
james
65954a35b9 Fix the file that gets imported for step 2, add more checking to step 3 2005-06-06 17:19:17 +00:00
james
4034991742 Add the start of installation step 3
remove ability in config/variables to change the fair year -- this needs to be done via the rollover functionality
2005-06-06 17:07:35 +00:00
james
621f940b27 Whoops fix admin and config submenus that I broke on friday! 2005-05-29 22:48:21 +00:00
james
8a59a293b2 Finish install2 script, now just need to populate the db with installer step 3 2005-05-27 21:42:32 +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
8407f7dab9 Update the installer, and split it into two steps (maybe a third to come?)
1) create the data/config.inc.php database connection file
2) create all the tables
2005-05-26 21:05:26 +00:00
james
85e2569446 Add the full database structure for db version 6 2005-05-26 20:32:42 +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
9867b507b2 3 number version 0.9.0 2005-05-25 19:59:20 +00:00
james
f78676f5c7 move config.inc.php TO config.inc.php.template 2005-05-25 19:36:33 +00:00
james
192f1775f5 remove database configuration information from SVN 2005-05-25 19:27:51 +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
9ea5843646 whoops last messgae should hav ebeen : add schools management
this one fixes the db to use province_code instead of province
2005-05-13 17:36:29 +00:00
james
2e125d263c 2005-05-13 17:36:01 +00:00
james
a32964de2d whoops fix the students to stop concatenating them all together 2005-05-12 21:25:12 +00:00
james
1428c42f00 add student name and school to the winners page 2005-05-12 21:23:50 +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