cvs commits from today
Did quite a lot of real, actual work today. I coded for most of the day again. The backend to the registration process is getting more robust. I have made changes to the DB structure and the various shared classes that operate on them. Should be more efficient, and cause less anomalies.
This finally solves the race condition when the next available IP in a subnet is picked. There is a brief period before the IP is actually recorded as registered, and other students could grab the same IP to register. The new holding table method insures that only one IP is picked and registered at the same time.
1.4 +5 -3 styx/frontend/admin/links.php
- condense something
1.5 +1 -1 styx/frontend/admin/links.php
- fix that one time that I totally <BAD WORD> up quotes in PHP
1.10 +7 -1 shared/restek.css
- CSS for form in sidebar
1.11 +5 -1 shared/restek.css
- OMG style the form more
1.6 +6 -0 styx/frontend/admin/index.php
- add in box for getting an IPs graph
1.13 +2 -1 styx/frontend/admin/graph.php
- fix infinite loop when there is no data in the DB for that time period
1.1 +11 -0 sluice/log.php (new)
- add a php script to ACTUALLY <BAD WORD> MADE THE STUPID DB INSERT.
1.91 +1 -3 shared/sluice/Sluice.pm
- instead of making a simple SQL insert, call a different script, in a different programming language to make the SQL insert.
1.4 +12 -9 styx/frontend/admin/sluice/config.php
- use db clas s
1.2 +0 -11 sluice/log.php (dead)
- move file
1.1 +11 -0 sluice/cronscripts/log.php (new)
- move file
1.29 +5 -5 shared/styx/limitHistory.php
- use seperate config db handle
1.10 +1 -1 styx/frontend/admin/sluice/graph.php
1.39 +3 -2 styx/frontend/admin/sluice/numLimited.php
- fix, by using seperate config db handles
1.9 +2 -2 CVSROOT/cfg_local.pm
1.8 +2 -1 CVSROOT/rcstemplate
- don't show tasktrack stuff
1.68 +75 -0 shared/Ipreg.php
- new holding code
1.28 +2 -31 ipreg/hallserver/frontend/register.php
- OMG redo pick IPs. We are now awesome.
1.69 +2 -9 shared/Ipreg.php
- correct type detection in register();
1.70 +1 -1 shared/Ipreg.php
- )) is not a line ending ); is
1.18 +5 -0 shared/RegException.php
- add dummy getPidnum function
1.19 +1 -1 shared/RegException.php
- exceptions are pidnum 1
1.71 +1 -1 shared/Ipreg.php
- setName(), not checkName()
1.72 +18 -1 shared/Ipreg.php
- use correct type names
1.27 +17 -10 ipreg/cronscripts/makeDhcpConfig.php
- perform holding
- sort by ip
- don't check for blank mac address
1.30 +1 -1 ipreg/hallserver/frontend/register.php
- fix Student registering