Commit Graph

251 Commits

Author SHA1 Message Date
james
6e04220d36 Only foreach if something exists 2009-11-02 18:45:22 +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
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
e33c39a011 Add a FULL DB 148 version, so we dont need to upgrade from 52 everytime anymore! 2009-10-22 17:00:07 +00:00
james
c9db2c0f83 Update 131 update to properly create the sponsorship logs and award donations for past years
Update the search results to LEFT JOIN the user, instead of JOINING
Add some missing i18n's and fix some typos
2009-10-22 16:46:32 +00:00
james
a7041ea154 Switch 129 update to use the new db129 functions
Copy over the 146 user inc and rename all its functions
Switch the 146 update to use the new db146 functions
2009-10-22 16:20:17 +00:00
james
ed863286cd Fix 129 update user inc to avoid collisions in functions names 2009-10-22 16:14:29 +00:00
james
233ee6ca95 add the copied file 2009-10-20 20:42:05 +00:00
james
3bc56cb67a Include the appropriate version of user.inc 2009-10-20 20:41:39 +00:00
james
e23149dccc HOpefully fix the 118 update to convert sponsor_contacts to users_sponsor 2009-10-20 19:40:55 +00:00
james
ac3f5f9eb4 Add todo list for receipts and database to track receipts 2009-10-20 19:09:54 +00:00
dave
f73215fede - Enable maxyear user filtering. unfortunately it needs to be specified
manually (done this way because i don't want to start integrating changes
  with the report system right now.)
2009-10-16 18:39:39 +00:00
dave
7c6e52c8ef update the db code version too 2009-10-16 17:18:10 +00:00
dave
4efb335654 - Add a report for fundraising mail labels
- Add the ability to specify a filter when calling for a report generation
  (e.g., so we can dynamically filter a report for a specific fundraising
  campaign)
2009-10-16 17:17:45 +00:00
james
2eea87c350 Fix broken db update 2009-10-14 20:34:13 +00:00
james
027c03b297 - commit all outstanding changes 2009-10-14 19:53:09 +00:00
james
5486317f53 Add missing update 146 php file 2009-10-11 19:49:21 +00:00
james
bdf2ea7577 Donations tab for campaigns 2009-10-11 19:49:04 +00:00
james
663420b078 All of tonights wackload of changes 2009-10-11 03:32:14 +00:00
james
ff9d802b6e Database updates 2009-10-08 19:20:07 +00:00
jacob
a4d4cc11cc Updated fundraising_campaigns table to use "fundraising_goal" field instead of "fundraising_goal_id" 2009-10-06 20:49:37 +00:00
james
cf2affcc03 Update default fundraising goals, and insert defaults if none exist 2009-10-06 19:04:45 +00:00
james
9bb5465ac2 Oops commit the db files too 2009-10-02 17:24:53 +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
james
15cf8e1401 Oops remove the database name from the query 2009-10-01 17:02:07 +00:00
james
3974636d1c DB update for donors add new fundraising main page 2009-10-01 16:52:36 +00:00
dave
21882281c0 - do it properly 2009-09-27 08:43:36 +00:00
dave
67bb3eed85 - Sneak in the report change for the last db change too 2009-09-27 08:40:35 +00:00
dave
e4c632a380 - Sneak a change into the db update, misnamed field 2009-09-27 08:25:22 +00:00
dave
9b1ea927e6 - Delete sponsor_confirmed entries from reports (it's in one system report),
that field doesn't exist anymore.
2009-09-27 02:55:08 +00:00
dave
0f31f72f07 - Add two more fields:
- additional_materials: if there are additional materials required if a fair assigns a winner to this award.
	- register_winners: to tell the feeder fair that this award is for winners who will participate at the upstream fair
2009-09-25 04:29:41 +00:00
dave
97c489646e - Turn the uploader into a popup window
- Add the ability to select category/division mappings specific for each upstream server
- Add some auto-determining code if the cat/div mappings don't exist
2009-09-23 05:53:33 +00:00
dave
5ec38a7314 - Server-side award uploading. Tag registrations, proejcts, and students with
a fair_id.  This is ignored for regular operation, but now needed to have
  multiple students from multiple feeder fairs attached to the same award. (so
  we know which ones to delete when we update the winners)
2009-09-21 07:20:49 +00:00
dave
9e348d9b0c - For the first time probably ever, DELETE a config variable :O
- Rename the user/pass for fair type=ysc so it's more familiar (asks for YSC ID and pass)
- Convert cwsfregister to use the fair entry data.
2009-09-19 06:53:49 +00:00
dave
ed04710018 - Rename YSF to YSC
- Add the help websites we lost somewhere for STO and YSC
- Copy the $config ysf login data into the fairs data
2009-09-19 06:12:48 +00:00
james
98755a5e4a Make sponsorships table able to handle either an organization sponsor (linked to sponsors) or an individual sponsor (linked to users) 2009-09-18 15:12:10 +00:00
dave
35ac906671 - Change the report name to be consistent with other naming 2009-09-18 05:37:21 +00:00
dave
7a2e0b2b7e - Add a feeder fair statisics report type and report 2009-09-18 05:35:13 +00:00
dave
6bd4d03941 - Selection screen to select what stats to download from feeder fairs 2009-09-17 07:00:09 +00:00
dave
e9d3d4ce03 - Database update for feeder fair award info
- Load/Save feeder fair awards in the award editor
- Fix all the POSTs in the award editor.   .load automatically does a POST if
  the data is an array, so we need to call .serializeArray() when we want a
  post to happen.
2009-09-13 07:08:12 +00:00
james
183531ada0 Fix 131 2009-09-09 02:38:57 +00:00
james
f963dbf276 Merge all changes from branch r1284:1498 into trunk 2009-09-09 00:26:12 +00:00
james
f569ed3e13 Fix Quebec province translation so its country code is properly set. 2008-10-06 18:50:18 +00:00
james
91bc77d640 Add the start of the isef form collection page for participant registration and the database setup in db.999 until its ready to go live 2008-09-28 18:36:56 +00:00
dave
54aa1b7658 - One more quick fix, make it "special award only", instead of "awards",
because a judge that wishes to judge a specific special award is only allowed
  to choose one.
2008-09-15 15:46:22 +00:00
dave
15f9d0cb89 - Remove my testing database name from the CREATEs 2008-09-15 03:59:53 +00:00
dave
f8f9964fba - Non-invasive commit, ground work for moving judges to the user backend. 2008-09-15 03:51:52 +00:00
james
9995867f1d Add countries table and populate
Add countries_code field to provinces table and fix canadian provinces
Populate US States into provinces table
Add config option to Localization tab to enter a 2 letter country code (how to lookuup from countries table?!)
Update emit_province_selector to use country config entry
2008-08-28 21:41:31 +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