Commit Graph

1468 Commits

Author SHA1 Message Date
james
75e721bb81 Don't process basic UTF-8 Characters into HTML Entities, makes it impossible to obtain plain text version!! 2009-12-03 19:16:37 +00:00
james
c0f6031904 FCKEditor always does UTF8, so force the Rmail encoding into that
Also calculate the email TEXT from the email HTML, its not perfect but pretty darn good.

TODO: need to do an update script that converts the encoding of ALL existing emails in the databse from ISO-8859-1 to UTF-8
DO NOT UPDATE TO THIS VERSION UNTIL I CAN ADD THAT CONVERSION SCRIPT
2009-12-02 23:11:25 +00:00
james
148bc61320 Don't need this file anymore :) 2009-12-02 22:19:42 +00:00
james
99114c7242 Completely convert the old communication module over to the new system... (almost).
TODO: switch the "send" to the new dialog-style preview and confirmation, instead of the old one, but at least it works!
2009-12-02 22:17:20 +00:00
dave
06d9e74190 - Pull the science head user properly for the school table display. 2009-12-02 01:22:47 +00:00
james
e9e04ad944 Add a link to the status page from the main communication page, since it now has history as well 2009-12-01 22:07:50 +00:00
james
01b05576b5 Remove some debug 2009-12-01 22:04:23 +00:00
james
838f61a948 Working email sending from fundraising module, and implement new emailqueue system. None of the existing emails are migrated to the new system yet, and both old and new work in parallel until we can finish migration 2009-12-01 22:02:03 +00:00
james
0854c50f4e Allow to logout even if the session has already timed out 2009-11-30 20:15:00 +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
078d8bdb0e Make config editor for themes work on sfiab.com 2009-11-30 19:00:04 +00:00
james
9bad26096d Tweak the avery 5162 template a bit, lines up perfectly now 2009-11-30 18:46:48 +00:00
james
785f5bbf35 Show display and save the "preferred language" field. 2009-11-28 20:07:02 +00:00
james
2e65273b97 Make the status on the judge other and judge expertise pages work.
A few updates for consistency when embedded in the editor popup
2009-11-26 19:09:37 +00:00
james
dbad8ae320 Update the status on save and on page load 2009-11-26 18:29:03 +00:00
james
d954d148d6 Add all the missing judge registration fields, and let them be configurable.
Notify user if invalid regexp's are entered in fields (there was no feedback as to why it wasnt saving!)
Also make the space in the postalcode optional

FIXME: still need to change the "incomplete" to "complete" message once everything is saved properly, it stays as incomplete right now until they navigate away and come back.
2009-11-26 17:50:00 +00:00
james
471d0f7d78 Fix broken 151 db update 2009-11-13 21:25:40 +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
dave
f06523ec74 Forgot a closedir() 2009-11-06 22:13:51 +00:00
dave
f67b485d6d - Separate the icons out of the colour themes
- Detect the theme directories and use dropdown boxes to select the theme and theme_icons, so no one can type in random stuff and screw their sfiab.
- Add 2 missing icons.
2009-11-06 22:10:06 +00:00
dave
2adc23658f - Explain that option a bit more. 2009-11-06 09:00:02 +00:00
dave
bf3485c24a - Add an advanced options tab to the report generator
- Add an advanced option: Include Incompelete Registrations - Ignores the
  registrations.status and just includes everyone.  Downside: registrations
  must have a division and category selected because the mysql query matches on
  cat.year and div.year too.
2009-11-06 08:57:13 +00:00
dave
ba808050d0 - Use the report generator dialog all the time 2009-11-06 08:24:54 +00:00
dave
3bead26bf8 - This is important for the last commit 2009-11-06 08:24:31 +00:00
dave
c9de622b6c - Move the jquery-ui-custom from start/ into the toplevel theme dir
- Add a classic theme.  My committee doesn't like the new wild and crazy default colours.
- Delete old files.
2009-11-06 08:20:57 +00:00
james
62fc1a9cb2 - Add stats to the user editor window
- Go right to the fair editor from the Admin panel.
2009-11-06 07:32:51 +00:00
james
2de42b9377 Dont' change the font size on the my reports list, it's small enough now. 2009-11-06 04:26:30 +00:00
james
e17c1a6162 - Fair statistics on the server-side SFAIB. For feeder fairs that don't use sfiab or can't upload stats automatically. 2009-11-06 04:07:12 +00:00
james
81a9d3ecfd Don't send back the username 2009-11-06 02:24:38 +00:00
james
cb7033f7ae Fix fair login for remote commands 2009-11-06 02:24:04 +00:00
james
e58ce49aed - These are fair-specific now, dont' need them as config options. 2009-11-06 02:11:58 +00:00
james
37bbcf312b - Name the science fair login "Science Fair" not "Other Fair"
- Since science fairs are attached to users now, it doesn't make sense to allow
  the user to choose from a list of fairs, since there could be more than one
  with access to a fair (and we don't want to start putting names in there), so 
  fairs can login with a user/pass like everyone else.
2009-11-06 02:07:52 +00:00
james
6e04220d36 Only foreach if something exists 2009-11-02 18:45:22 +00:00
james
eb7b4e1754 Send trophy info to the client on a getaward 2009-11-02 05:45:39 +00:00
dave
59942138d9 - Download trohpy status from the server 2009-11-02 05:45:08 +00:00
james
1e0f079c01 use UID not ID when posting title and sort orders, now saving acgtually works 2009-10-29 21:02:17 +00:00
james
a4fbff953c Add a link to reload list (we severly need to fix this whole page!)
Show email addresses in the management list as well, so when we add users and dotn give them names they wont just show blank.
2009-10-29 17:16:47 +00:00
james
ec5ab0a26b Fix a few other popup windows for IE 2009-10-29 17:07:56 +00:00
james
bb7cfe3629 Second arg for popup windows cant have spaces, its an internal window name, IE errors out when it sees a space
Also, focus the popup window once its loaded, incase they have it open still in behind
2009-10-29 17:05:15 +00:00
james
bd2eede7fa jquery local for popup windows too 2009-10-28 18:52:38 +00:00
james
2395a0f42c Add local jquery, and move sfiab.js to the js folder too 2009-10-28 18:51:17 +00:00
james
b629e511bc Use local jquery 2009-10-28 18:51:02 +00:00
james
2f670becf6 Of course, we cant re-use the old one, due to function name collisions, DUH! what the hell was i thinking, i just went through this. 2009-10-22 20:46:12 +00:00
james
cf6bea5727 stripslashes 2009-10-22 20:40:35 +00:00
james
101c3c7723 Check if they are alreayd a parent and dont re-add if they are
Also fix levengshtein distances for mere and pere with UTF8
2009-10-22 20:31:52 +00:00
james
f165f39870 Add a 149 update script to convert emergency contacts to parents
And update the 146 user inc so we can just use that instead of having to make another new one
2009-10-22 19:54:53 +00:00
james
3632e29b6a Remove debug 2009-10-22 19:41:03 +00:00
james
dca4872481 Oops use the right POST vars and the right function names 2009-10-22 19:39:08 +00:00
james
fa2a70b470 Oops use the right phone fields 2009-10-22 19:28:05 +00:00
james
10fa7919c4 Create and maintain parent records for emergency contacts that are parents 2009-10-22 19:22:53 +00:00