Commit Graph

259 Commits

Author SHA1 Message Date
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
james
192d98f7b7 whoops same as last msg forgot this file. 2005-05-12 19:47:50 +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
570d7714dc Dont allow submitting the forms after the registration is closed 2005-05-12 17:32:50 +00:00
james
c3896013c1 checks for dates on special award nominations
checks for maximum number of nominations
allow logins of users when registration is closed
2005-05-12 15:47:21 +00:00
james
d9d82ce1f5 show the awsards on the registration summary main page 2005-05-11 21:39:39 +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