Commit Graph

385 Commits

Author SHA1 Message Date
jacob
a2239d84da Modifications to fix db update problems 2010-06-08 20:31:52 +00:00
dave
ce1d289a31 Convert labels to new format and millimeters. Drop now-unused columns
"face" and "lines".
2010-06-08 18:49:21 +00:00
jacob
6504d09886 Added updates for converting from Latin1 to utf8 character encoding 2010-06-04 20:23:59 +00:00
james
36024b63ca Sneak in one more update to 172 2010-06-03 19:29:31 +00:00
james
14308b5991 Start of adding 'conferences' and ability to switch between running conferences 2010-06-03 19:21:27 +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
james
2f38386967 set enable_stats to 'no' for YSO 2010-03-30 17:03:58 +00:00
dave
a821cd3e3c typo 2010-03-25 04:36:47 +00:00
dave
8ee1f36f90 TCPDF support library and label generation code that uses TCPDF. All
other stuff still works, this only adds on.  And on second thought, I
should probably disable the report type that would let someone use this.
2010-03-25 04:27:33 +00:00
dave
217ce8e175 And finally, update the db, which resyncs my git to svn HEAD. :) 2010-03-02 22:55:51 +00:00
dave
af96e75f25 And finally the db file 2010-03-02 22:50:52 +00:00
dave
e9398f4895 UPdate code version 2010-03-02 22:50:51 +00:00
james
471b358f2f Aparently some emails use "webmaster@sfiab.ca" -- wipe that out as well to force them to set a proper from address or use the fair manager's email 2010-03-02 20:18:39 +00:00
dave
89547f902a Some fairs did a rollvoer before the NULL was fixed (I think it was
fixed), and reset some award sources to 0 instead of NULL.
award_source_fairs_id can never be 0 anyway (unless someone edits the DB
manually), so just set them back to NULL so the existing code works.
2010-02-22 18:45:57 +00:00
dave
15c9c5619a Database table for computing floor locations 2010-02-22 18:45:55 +00:00
james
74905273cc If anyones emails are still set to come from 'website@sfiab.ca' wipe that out, which will force it to default to the fair manager's email address when sending - we dont want anything coming from that address! 2010-02-18 16:13:36 +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
d8375c0c5f Add ability to cancel emails in the queue to be sent 2010-02-11 15:58:26 +00:00
james
5dcbc28d54 Fix email sending to not fail if a single email fails, instead, flag it as failed and continue on
Better track email sending as well, and add fields for tracking bounces (not implemented yet)
2010-02-10 17:05:49 +00:00
dave
faa3742bda Support Highest, High, Indiffernt (short and long), and expertise 5,4,3
(short and long) all with the same two functions.
2010-02-04 17:55:07 +00:00
james
fd4e72e1f4 Fix judge invite only text on user_new to actually show up 2010-02-03 00:30:24 +00:00
dave
5c8bbe16b6 Remove the typepref selection, it turned into
users_judge.special_award_only.
2010-02-02 17:48:59 +00:00
dave
7d611e531f Add a 'per_fair' option to the awards, so an award can be treated as a
separate award for each feeder fair, allowing the maximum prize
assignments from each fair.
2010-01-27 20:24:17 +00:00
james
522ea8206d Change projects.projectdivisions_id and project.projectcategories_id from TINYINT to INT so they match what is allowed in the division and category configuration 2010-01-22 04:03:02 +00:00
james
684a7962f2 Set the database charset in the UPDATE script so the conversions will actually work - that only took 8 hours to figure out! 2009-12-03 20:55:16 +00:00
james
e51b7fc1b2 Move the email table updates to the PHP file, we need to fetch data, convert db, then update data 2009-12-03 19:52:59 +00:00
james
cb9e783071 Oops name the function properly 2009-12-03 19:43:18 +00:00
james
fde1debf6d COnversion script to convert all emails to UTF8, but still display properly on the site by back-encoding them to ISO-8859-1 (until such a time that we can switch the entire system to UTF8) 2009-12-03 19:41:25 +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
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
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
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
james
e58ce49aed - These are fair-specific now, dont' need them as config options. 2009-11-06 02:11:58 +00:00
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
james
15cb1f9782 If there's no entry for the current fairyear, insert the default entry
Delete all instances of index from the pagetexts, not just the current year
2008-08-22 17:11:20 +00:00
james
7e84ab0222 Add cms table, and move the 'index' pagetext to cms
Add .htaccess rules for the cms
Add cms page display code and convert index.php to pull from the cms
If no page title is passed to send_header(), output the fair name in the <title> tag
2008-08-19 21:13:29 +00:00
james
3d33d976c3 Create a Localization Category for config variables, and move the Province/State, Postal/Zip there
Add new config variables for dateformat and timeformat
2008-08-18 21:33:30 +00:00
james
fca09d86c0 Update the database to store the page texts in multiple languages 2008-08-18 21:09:12 +00:00
james
517455ee13 Migrate css to a theme and setup to allow multiple themes
Begin adding icons to the default theme and reorganizing the admin index
2008-07-24 16:20:16 +00:00
james
40bc5f93ef Oops and add the db update for the new config options 2008-07-16 17:24:19 +00:00
james
651d6235a4 Add config options for Province/State and Postal Code/Zip Code 2008-07-16 17:23:53 +00:00
james
0dc2862fa0 VERY important update to reports_items that dave must have missed.. took me THREE HOURS to track down why alignment wasnt being saved from the report editor! 2008-03-27 06:22:11 +00:00
dave
6454f86aa9 - Add judge_scheduler_activity and judge_scheduler_percent to the config, if
they don't already exist.
2008-02-28 20:03:48 +00:00
dave
15a56ce13f - Add First Aid and CPR data collection to the user table.
- Modify the config so a committee can enable it for volutneers and committee
  members
2008-02-23 03:28:43 +00:00
dave
414a85ccb2 - Add number checking (and parsing) to the config editor
- Change the type of $config['regfee'] to 'number'
2008-01-28 21:48:44 +00:00
dave
fddce24de3 - Fix the paper type in system report 44
- Add 2 new paper types (Ledger 11x17 + landscape)
2008-01-25 05:31:27 +00:00
dave
125437dd55 - More GVRSF stuff that I missed. Add two fields to the award_awards:
'self_nominate', and 'schedule_judges'.
- self_nominate defaults to 'yes' for all new and existing awards.  If turned
  off, the award will not appear in the student self-nomination pages.
- schedule_judges specifies whether an award should have judges or not, we have
  some special awards that students can nominate for but do not require judges
  to find the winner.  Similarly we have some awards students cannot nominate
  for but do require judges to determine a winner.  This allows both cases to
  be handled.
2008-01-24 07:46:12 +00:00
dave
98d6c7b493 - Report to export school CSV data in the format used by the CSV importer 2008-01-23 19:27:46 +00:00
dave
58df28ba9a - Fix drawing label boxes around text items
- Add the ability to draw a static label box (without text)
- Add "self nominated award" 1 through 5 to the student reports
- Add a new report demonstrating how to use the above (this is of the format
  Sudbury sent us).
2008-01-23 18:32:31 +00:00
dave
735e5e0999 - Add a registration fee item editor
- Allow students to choose items from the optional registration items
2008-01-23 07:53:10 +00:00
dave
4357280ffb - Typo in the ordering 2008-01-23 06:02:10 +00:00
dave
78fa4ad6ac - Add support for short project titles in addition to the regular project
titles (defaults to off)
- Renumber the order of the config variables in Participant Registration, it's
  getting a bit crowded 
- Fill in some missing types for config variables
2008-01-23 05:54:03 +00:00
james
8411d614d5 Add the schoolaccess page to the page text editor 2008-01-22 19:22:51 +00:00
dave
e24bbb0bbc - Add a filter to the last commit, to not show the none tshirts.
- Add a 'total' option to the report generator, to signal that this column
  should be added up.
- If total is != zero, it shows the total at the bottom of each table, else, it
  shows the number of rows (changed the text to Total: for a total, and Rows:
  to show rows, if the total is 0)
2007-12-30 22:16:34 +00:00
dave
fcd6eedc1d - Add a new data field for counting the number of tshirts of each size
- Add a system report that lists the number of tshirts of each size
2007-12-30 21:45:04 +00:00
dave
d89c756427 - Add a grade column that uses the format "Grade x", instead of just the
number.  Fix the YSF stats report to use this column and show "Grade x" in
  the titles, not just "x", which was a bit confusing.
2007-12-30 21:20:36 +00:00
dave
827887a0fd - Change the volunteer position description/meet_place colums to text from
tinytext.
- Change the icon_path to somethign SFIAB will like better in the tableeditor
  (was wondering why I had no icons in the tableeditor)
- Add a crude maxlength support for text areas
2007-12-29 19:43:56 +00:00
dave
5aeaa6be0a - Also add the database update :) 2007-12-29 08:47:53 +00:00
dave
e8face39d6 - Update the project numbering system by also adding a sort field (defaults to
the project number field if blank).
- Add a new number option 'X', which counts among ALL projects, not just the
  ones in the same division/cat.
- Add a padding argument to N or X  (N0...N9) defaults to 2 for N, and 3 for X.
- Adds 3 columns to the project table:
	- projectsort: for storing the expanded text
	- projectnumber_seq: for storing the N or X number for projects
	- projectsort_seq: for storing the N or X number for the sort order
- Add a new config option for sorting, and expand the text for the
  projectnumber.
- Change the default sorting for reports and project lists to use the
  projectsort category.
- Remove the gvrsf_tn option from the database, it's not needed now.
2007-12-29 08:46:40 +00:00
dave
f3f2747118 - Replace reports_acpresentation with a report from the report generator.
- Implementing a function call option to parse column data in the report
  generator as it comes out of the database.
2007-12-25 05:13:42 +00:00
dave
8972b5219f - Fix the db update 2007-12-23 01:52:18 +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
ebbac49b4b - Add the database stuff for the name check.. oops. 2007-12-22 23:44:46 +00:00
dave
3c9253dd9d - Add a config option to disable printing the cash/scholarship amount on the
public winners page.  (defaults to ON, which is the current behaviour)
- Fix pluralization of "Students" for one student. :)
- Change the effort option for judges and tours to a pulldown menu Low=100,
  Med=1000, High=10000
2007-12-22 05:11:42 +00:00
dave
7f7c3c53e1 - Change the password expiry mechanism to always check
{$type}_password_expiry_days.  This allows the $config variable to be updated
  and everyones password will expire based on the new value.  To implement
  this, the password expiry column in the users table has been changed to
  passwordset, and a PHP script is used to convert the expiry dates to set
  dates (based on the _password_expiry_days)
- Cleanup the password entry checking
- Load all config variables for the db_update.php script.  Just in case an
  update script wants access to $config
2007-12-21 08:38:13 +00:00
dave
49a19c9d44 - Fix report stock when the report stock keys were updated
- Add a missing stock number
- Fix a report where distinct was missing
2007-12-20 09:25:43 +00:00
dave
998fe35d67 - Add a tour number to the database, and modify the tour editor to include the
number, and an option to create numbers automatically
- Completely remove all references (hopefully) to the Tour ID
- Add a Tour type report
- Rework the student report query so it actually makes sense.  It really should
  be a whole bunch of left joins based on the students.  Using comma (cross)
  joins creates situations where if the right side of the join doesn't have
  information, it wipes out the left side.  (Happened before with emergency
  contact info).
- Remove the (two) old custom tour reports
- Add 4 new tour reports to the database:
	- ALL tours for the committee, tour list for students, 
	student emergency contact info for tour coordinators, and 
	a list of tour assignments for students
2007-12-20 01:05:04 +00:00
dave
5c594a9d85 - Sneak in a change to the report tables, we're going to create tour reports
next
2007-12-19 21:16:58 +00:00
dave
b0338f9fdf - Add 3 config variables: An effort for the tour annealer, and the updater
activity and percent.
- Add the status update and links to automatically start the "tour assigner".
  (Didn't want to call it a scheduler, because someone might thing it's for
  assigning tours to timeslots or something)
2007-12-19 21:12:57 +00:00
justin
18aafbea9c Add support for a minimum number of words in the project description. Resolves RFE 162. 2007-12-17 18:19:08 +00:00
justin
30072d182d Add support to omit unawarded awards and prizes from the awards ceremony script. Resolves RFE 136.
-Note: currently adds two configuration variables and a new category, they didn't seem to fit elsewhere.
2007-12-17 17:35:19 +00:00
dave
1dad6505eb - Select the first contact for each sponsor as the primary
- Prevent the user from setting zero, or more than one, primary contact.
- Add a primary column to the contacts table, so they can see the automatic
  set/unset operations on the primary contact.
2007-12-13 21:50:31 +00:00
dave
dcfcd358fc - Add a primary contact field to the award contacts
- Use the primary contact in award reports
2007-12-13 21:23:29 +00:00
dave
4c9d23e513 - Add sponsor information to the report generator awards report.
- Add a system report that dumps all sponsor info to a csv.
2007-12-13 19:56:44 +00:00
james
6c864d1b93 Bump version for development 2.1.7
Create page text entry for 'invite only' volunteer registration
Create a contact page to contact committee members, and link it into the committees page, and the bottom of the left side menu
2007-12-13 19:52:27 +00:00
dave
57f349b1b1 - Add a year field to the users db, we'll need it eventually
- Add a designate field to the schools, to indicate an independent, standard,
  private, etc. school.  It's not editable yet, but.. eventually.
- Fix generatePassword to use proper string indexing, and remove the
  possibility of indexing beyond the end of the string.
- Add "Invite" and "SinglePassword" modes for volunteer registration.
- Update the admin section, add a new volunteers page to contain links to all
  volunteer options
2007-12-13 18:09:22 +00:00
james
ab76d8b329 switch the stock entries in the database if anything's usign the old values 2007-12-13 17:10:11 +00:00
james
4c801ff1ba Fix dave's broken database code 2007-12-12 18:29:51 +00:00
dave
659dba8321 - Add db stuff for 'fairs' 2007-12-12 04:48:22 +00:00
dave
1dc1b47d05 - Fix multirole creation. If a user tries to create an account, and they
already exist, they will be guided through the process of adding a role to
  their existing account.
- Do a database update, and merge anyone who has managed to create 2 accounts
  into a single account.
- Still testing this, but it seems to be working
2007-12-12 03:01:44 +00:00
dave
92a57b0577 - Query the proper report id using the system_report_id, instead of inserting
the report_id directly.
2007-12-10 17:40:34 +00:00
dave
d8e112cc4c - Sneak in a change to number and add a 2nd category, just to demonstrate how
it works.
2007-12-10 09:36:41 +00:00
dave
1e6ffcfa7f - Also add a default set of reports (most of the same reports that were on
reports.php) to existing committee members.  New members will get to build
  their list up from scratch, but we dont' want to confuse old members that are
  use to seeing this list.
2007-12-10 09:13:48 +00:00
dave
3e3c28268c - Implement "My Reports". Committee members (with admin access, because
reports require admin access) can define a list of reports out of all the
  reports, and tag each one with a category and comments.  
- Add all except the ceremony scripts as "Custom" reports.  The My Reports
  system can handle links to custom reports now, but not the ceremony scripts.
  They're too special.  I think they should be moved out of the Reports Area.
- Clean up some report variables to avoid collisions with local names
  ($options, and $stock)
- Implment a new screen for report generation that lets the user set the
  format, stock, and year of the report.
2007-12-10 02:50:53 +00:00
james
78a97236f7 Add the email address to the new participant email 2007-12-09 21:06:55 +00:00
dave
4029fcf563 - Add a schools access code report to the database 2007-12-07 23:58:51 +00:00
dave
5bf1171f17 - Add a new school report to list ALL schools (name, address, contact, and phone).
- Clarify the Schools labels report.. it is only for schools attached to registered students.
2007-12-03 22:04:06 +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
325c909432 Dont check CURL support inside the loop and dont allow checking to be called without CURL support
Remove awards that were previously added but now dissappeared from the XML import
2007-11-28 18:46:32 +00:00
james
0f198346aa Update fake scripts for 2008
Add external award downloader functionality
2007-11-27 22:47:06 +00:00
dave
55983aca38 - Change the user editor, read the fields and required fields from a config
variable, this will allow the committee to specify exactly what they
  wish to collect (and which fields are requried)
- Insert config variables for volunteers and committee
2007-11-26 02:28:45 +00:00
dave
57f62f7ab4 - Add a multiselect option to the config editor 2007-11-25 23:30:51 +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
7619a8fed5 Update DB version 2007-11-23 21:21:55 +00:00
james
0551a65e93 Add trophy selection (student keeper, student return, school keeper, school return) to prizes
Add description to award & update awards ceremony script to include description if available
2007-11-23 21:21:37 +00:00
dave
311d9475dc - Add a system_report_id field to the reports, and set it to the reports.id
for ids <= 34 (all the reports the system inserts by default)
2007-11-21 21:21:10 +00:00
dave
ad9f954f68 - Correctly copy over NULL password expiry dates (passwords never expire) 2007-11-18 08:20:51 +00:00
dave
190adc2a6d - Update the way php scripts are called.. we need to avoid collisions if the
updater runs in a loop.
- Fix the 62 update script to use the new format
2007-11-18 08:01:05 +00:00
dave
2715d67aef - Fix login check for an expired password
- Allow user_personal.php to handle committee members
- Add password field if the editer in user_personal has access_super
- Allow a committee member to edit anyone in user_personal.php
- Convert auth_required to user_auth_required, and check for both a user type
  and an access level (if committee)
- Convert the committee to the new user system (BIG change :)
- Remove the ^M from admin/committees.php
2007-11-17 21:59:59 +00:00