ea287cd7af
WIP PDO and Warnings
2024-12-18 11:48:09 -05:00
974eb738f3
errors
2024-12-17 01:34:35 -05:00
f7c6c506a1
Mysql conversion
2024-12-10 19:40:23 -05:00
dave
14df5adc39
Remove debug line
2010-04-16 09:46:03 +00:00
dave
29db8ac071
Make the roll() function able to determine all fields to roll, and
...
properly handle fields that could be NULL. Use the roll() to roll
awards and prizes, both had potential NULL fields that were rolling to
'0', causing downloaded awards/prizes to be unrecognized after rollover.
This also means we can add fields and rollover will continue to work properly.
2010-04-16 09:43:26 +00:00
james
fc394ba683
Fix the broken school rollover after the principal and science head change
2009-11-30 19:10:14 +00:00
james
6e1294cbba
Fix a bug in the awards rollover! egads.. i wonder how many have run their rollover with this in place.. ugh...
2009-11-13 21:20:14 +00:00
james
663420b078
All of tonights wackload of changes
2009-10-11 03:32:14 +00:00
james
01fde584be
Do a lot of database re-working, renaming and reorganization
...
Database now refers to everything by donor/donation .. and apparently just as i complete this, carolyn has decided to go to both donor/sponsor instead of just donor.. ugh..
2009-10-02 16:46:13 +00:00
dave
c47f53ad93
- Fix rollover for award sources that are NULL
...
- Add 2 more fields to award rollover
2009-09-25 23:55:11 +00:00
james
eb05b3eaa5
Add a nice notice about maybe making a backup before doing the rollover
2009-09-09 02:50:00 +00:00
james
00d43f0e9a
Fix two bugs in the rollover
2009-09-09 01:57:22 +00:00
james
2f0deca246
Update rollover script to roll sponsors & awards properly
...
Switch all mysql_escape_string to mysql_real_escape_string
2009-09-09 01:44:55 +00:00
james
f963dbf276
Merge all changes from branch r1284:1498 into trunk
2009-09-09 00:26:12 +00:00
james
7dcb9ef8b0
Fix the config variables rollover so it uses the previous year's data instead of the defaults!
...
Also add some intval()'s for rollover year sanity checking
2008-09-02 17:34:32 +00:00
james
f89fdffb12
Rollover the pagetext last-update date/time
...
Auto-create a pagetext entry in each language if they dont exist
2008-08-27 20:01:07 +00:00
james
5341801ce7
Properly rollover:
...
1) Page Texts - with descriptions and languages
2) Age Categories - short form
3) Divisions - short form, cwsf division id
2008-08-27 19:33:56 +00:00
james
e2b8bf21a5
Put the icon on each page
2008-08-22 20:34:38 +00:00
james
7370a9387c
Fix rollover comment :)
2008-01-23 19:00:26 +00:00
dave
3f3475d407
- fix the limit on the special awards self nomination query
...
- add a rollover for regfee items
2008-01-23 18:40:59 +00:00
james
9fe86bf408
Rollover the project categories-divisions links
2007-12-07 22:12:16 +00:00
james
ef2cc85c8c
Rollover the extern award/prize identifiers from year to year
2007-11-29 18:25:56 +00:00
dave
f6cc5d7326
- Cleanup how variables are handled/rolled/etc. Convert the require_vars
...
function in the config editor to one that checks where ALL variables marked
with year=-1 exist for FAIRYEAR. If it doesn't, it creates them. This
function gets called in three places:
- On installation
- On rollover
- Whenever the database is updated
We should, now, be able to just insert new variables with year=-1, and they
will be automatically updated for the current year with the default value.
(no more going into the variable editor to make sure the copy is done).
- Fix the superuser account creation in the install script
2007-11-25 19:53:15 +00:00
james
2305a44d57
Rollover award description
...
Rollover award prizes trophies
2007-11-23 21:25:52 +00:00
dave
f864826ee4
- Add user.inc.php here too
2007-11-21 17:04:35 +00:00
dave
5d56e802a0
- Change auth_required to user_auth_required to check for committee access too
...
- Add a top navbar to every page
2007-11-19 00:33:38 +00:00
james
620353e8fa
properly install config types and type values
...
properly rollover config types and type values
2007-09-26 20:21:13 +00:00
james
abbfe00e82
Fix a bug that prevented the award prizes from being rolled over properly
2007-09-20 16:53:06 +00:00
james
19c5c43b87
Fix a bug that prevented judging questions from being added
...
Fixed a bug when rolling over fair years with configuration variables not coming over properly
2006-10-30 20:03:38 +00:00
james
31fc7a0866
Update the rollover script to rollover the new fields that were added recently
2006-10-25 01:16:48 +00:00
james
1519b427d2
Properly rollover the schools, allow 'lastlogin' to be NULL
2006-07-26 14:51:30 +00:00
james
7d7dd74b18
Show sponsors from all years, make the rollover script simply unconfirm all of the sponsors so they can be reconfirmed for the new year.
2006-07-26 14:38:21 +00:00
dave
228a1a0583
Implementation of configurable judges questions.
2006-07-11 20:22:42 +00:00
james
3362e14b4e
Also rollover the schools, when we do the fairyear rollover
2005-11-24 20:12:43 +00:00
james
b24d579424
dont show the form again after running
2005-11-21 21:30:10 +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