Commit Graph

132 Commits

Author SHA1 Message Date
james
86ab58acac Fixes to maek signature page work 2011-03-02 16:50:28 +00:00
james
462427c1b1 Fix divisions insert check 2011-01-28 18:22:18 +00:00
jacob
54070f1836 Several updates on migrating from fair years to conference id's 2010-11-02 20:35:47 +00:00
james
241618c74f Fix saving active/deactive roles
Fix the session roles when roles are modified and only put 'active' ones into the session roles array
2010-10-14 20:31:10 +00:00
james
4ddbffe4bb Oops, guess i should test before committing -- this fixes the syntax error, as well as allows more weird chars to be properly set and saved as division/category titles 2010-10-05 20:18:32 +00:00
james
4f42407073 migrate categories/divisions/subdivisions from FAIRYEAR to conferences_id
rename API call /config to /config/variables
update API with /config members for divisions/subdivisions/categories
2010-10-05 19:43:30 +00:00
james
70d359c15b PHP 5.3 DEPRECATED split() so, convert all split()'s to explode()'s 2010-09-10 19:38:56 +00:00
justin
024cd25fa6 added warning when registrations have started (issue 255) 2010-07-13 03:33:58 +00:00
dave
2a4b64588d Update /config files too 2010-07-13 03:30:23 +00:00
james
c086e7e0bb refactor config into config & super pages, 'config' page is now 'conference config' specifically for the conference, all non-conference related tasks are moved to the superuser page 2010-06-23 21:18:06 +00:00
james
4faa4b8dc4 Migrate all dates to use conferences ONLY, instead of dual conference/FAIRYEAR setup 2010-06-23 16:06:01 +00:00
james
b7f3274543 Massive overhaul of the configuration variables
- split into system variables and conference variables
- rely on conference_id instead of year
2010-06-22 21:32:03 +00:00
james
86a43e909a Implement conference specific logos 2010-06-09 20:24:52 +00:00
james
703cc18425 Make JPG files using GD so it handles transaprency, but keep making the GIF/PNG's from convert binary 2010-06-09 19:23:27 +00:00
james
20382fc44a Remove old superconfig
Remove Age Categories from config for scienceolympics -- for now, all science olympics ive heard of just use the grades as designations
2010-06-04 17:12:38 +00:00
james
cf05b063c1 A few more tweaks to the date config - if we have a conference year should be 0, if we dont have a conference, conference should be 0 and year should be set. 2010-06-04 17:09:35 +00:00
james
b51b4420db Update dates configuration for science olympics 2010-06-04 16:45:56 +00:00
james
14308b5991 Start of adding 'conferences' and ability to switch between running conferences 2010-06-03 19:21:27 +00:00
james
c47eb2ac30 Movethe link somewhere a bit better, still requires config access to get to 2010-05-27 20:41:33 +00:00
james
8aae3b3522 Add a (non-working for demo only!) superconfig page to turn on/off the science fair and science olympics components 2010-05-27 20:33:08 +00:00
dave
05be59f62b Delete JPG images too. 2010-05-06 17:13:56 +00: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
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