Commit Graph

110 Commits

Author SHA1 Message Date
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
8d6d653567 Add a new date 'judge schedule available' to specify when judge assignments and schedules become available to judges. When the chief judge is playing with the scheduler he doesnt want to have judges thinkign they are assigned to their final teams/projects/timeslots, so only make them available to judges after this date has passed.
The default (as always) maintains old behaviour, so if this date is not explicitly set, it'll always show the schedule
2010-04-06 14:29:50 +00:00
dave
2332d89736 Generate JPG logos too. PDF uses JPG internally, so for TCPDF it's handy
to have a JPG logo around (TCPDF takes FOREVER to generate a JPG
internally, because it uses GD.  :p  )
2010-03-31 05:52:52 +00:00
james
9499418eea Remove config->external award sources from CONFIG
Remove award_sources table from database
Rename STO->YSO and YSF->YSC
2010-02-12 16:48:45 +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
7e99c85bfe Don't allow changing FISCALYEAR variable, and update the braces formatting on the file 2009-10-22 17:03:27 +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
a2018771e7 Implement jquery datepicker! woohoo 2009-09-10 04:24:47 +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
db76fa01f7 Use -resize instead of -sample - gives MUCH nicer image resizing 2009-04-14 17:11:48 +00:00
james
59d42980e1 Fix i18n on the date config errors 2008-10-30 17:08:21 +00:00
james
b3bfb560f9 Add a bunch of missing i18n()'s 2008-10-06 19:09:00 +00:00
james
ffa116bb5d Add backup/restore functionality - need to add icon still
Fix bug where title was leaving room for an icon even if there was no icon
2008-09-24 21:56:11 +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
5fd8680f4e Oops, fix pagetexts auto-insert of default values 2008-09-02 17:12:13 +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
c87ea3b37e Add administration and configuration icons 2008-08-26 21:42:17 +00:00
james
d5ff3be6b9 Use page text description instead of the database page text name on the page text editor list. (BUG 198) 2008-08-26 21:06:05 +00:00
james
e2b8bf21a5 Put the icon on each page 2008-08-22 20:34:38 +00:00
james
c29e490639 Add the rest of the config icons! :) 2008-08-22 20:10:39 +00:00
james
2d20b0887b Add about 1/2 the icons for the config page 2008-08-22 19:12:53 +00:00
james
cbf1c371ff Move cms from config to admin
Add icon and link it into the admin index
2008-08-22 17:21:35 +00:00
james
44d88e646e Commit mostly working CMS 2008-08-21 20:30:20 +00:00
james
8b5fc1c905 Shrink the summarytable headers a bit in size
Add the content management front-end file
Add the content management back-end file - its not quite done yet
2008-08-20 20:25:42 +00:00
james
3992b68029 Update page text's to do multiple languages, instead of storign the text's in the separate language editor
Also - force it to use the newly auto-installed fckeditor, and reduce the height a bit becuase there's now
more than one per page.
2008-08-18 21:08:23 +00:00
james
a7ca82ff23 Add a preview option to the signature page config. 2008-01-28 23:01:41 +00:00
dave
4b9d67fffe - Fix division saving for the case when a committee decides to drop a division
and the remaning ones need renumbering.  (It was not properly saving the new
  id)
2008-01-24 08:59:04 +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
dave
e74c4ce64d - Another GVRSF change. Optionally include registration fee information on the
signature page.
2007-12-23 01:33:09 +00:00
dave
c514d7910a - Alternate colours on the variable editor categories 2007-12-17 22:25:54 +00:00
james
63c5f3b2ff Rework the variables display a bit 2007-12-17 21:57:26 +00:00
justin
b366d7bf4e Change varaibles.php to use a vertical section menu; slightly rough initial version. 2007-12-17 19:31:09 +00:00
james
9fe86bf408 Rollover the project categories-divisions links 2007-12-07 22:12:16 +00:00
james
fab18eb0c7 Add enabled and website (for help) to external sources
Update source editor
Make downloader only check enabled source
Make downloader check for username/password before attempting
Add extra instructions
2007-11-29 18:38:06 +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
33471e80ee Add award source configuration
Add stub for award downloader
2007-11-23 22:07:55 +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
fb9a23a0e2 Check that the logo images were actually created before giving a message that they were. If they arent, give an error message and a possible reason 2007-11-15 16:58:31 +00:00
james
4cd4738a4f Detect versions that are NEWER than the most recent release as development versions 2007-10-25 15:54:32 +00:00