Commit Graph

2300 Commits

Author SHA1 Message Date
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
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