james
e99b57c4fa
Breakout the stats for agecategory/division into a nicer-to-view table format
2007-12-12 20:57:51 +00:00
dave
9fffa6755d
- Call them 'fair's not 'region's.. to assist linking fairs together.
...
- This patch references some config variables that don't exist yet, that's ok,
we dont' want anyone turning these on yet.
2007-12-12 04:15:17 +00:00
james
5e4a31c50c
Clarify wording "input received signature forms"
...
Remove redundantly redundant header heading
2007-12-11 19:44:18 +00:00
james
8a1a67f1be
Error checking on judges_teams_timeslots when no teams/timeslots are selected to assign
2007-12-11 19:38:25 +00:00
james
5d81818815
Error adding report to list if no category is specified
...
ALWAYS exit; after a header("Location:");
2007-12-11 18:23:15 +00:00
james
53847c37bf
Make this page more readable with the right css classes
2007-12-11 18:22:27 +00:00
james
16dfbc934c
Fix the breadcrumb trail
2007-12-10 22:06:41 +00:00
james
cf594b7f42
Clear the comments for a custom report
2007-12-10 21:48:37 +00:00
james
a1208d205a
Fix the JSON "invalid label" problem for firefox
2007-12-10 21:47:05 +00:00
james
5d8632b07e
refactor the standard ajax stuff to a common file
...
implement an ajax report fetcher for the my reports editor page using JSON to select the right stock/type defaults
2007-12-10 20:53:41 +00:00
james
7bbea6351a
1) Properly handle "filterdivisionbycategory" checks for divisional awards
...
2) Properly handle cases where there's MORE than one award for a certain div/cat combo
2007-12-10 19:21:21 +00:00
james
b146a9c773
OOps border isnt supposed to be there, its overrridden by the class anyways, but no point having it there taking up bandwidth
2007-12-10 18:26:03 +00:00
james
a38cda2c05
Make the reports page much more real-estate friendly
2007-12-10 18:23:00 +00:00
dave
c1e0353ec2
- Add a separate file for award ceremony scripts. I doubt this will ever end
...
up in the report system, so it might as well have its own home. Also, there
will be lots of options added to this in the future.
2007-12-10 09:40:34 +00:00
dave
4eb5098d59
- Move admin/reports.php to admin/reports_old.php
...
- Move admin/committee_reports.php to admin/reports.php
- Add some text explaining how the new system works
- Fix all linkage
2007-12-10 09:38:54 +00:00
dave
9bd50a5e5a
- Do a reload on report selection when adding a report. FIXME: I need to find
...
a way to make this page not jump back to the top after the reload.
2007-12-10 09:14:48 +00:00
dave
85c3ad8694
- Add an "All Reports" section to the My Reports page, just like the top of the
...
(soon to be old) reports.php
2007-12-10 08:05:57 +00:00
dave
d554e116fd
- Add some avery labels, and another custom report
2007-12-10 08:00:15 +00:00
dave
e384a48ea6
- Instead of using big ugly "Generate" buttons, just make the report names
...
clickable.
2007-12-10 03:28:42 +00:00
dave
5b282980ee
- Fix the fairname in the sql queries for students and volunteers
2007-12-10 03:08:08 +00:00
dave
c44803e365
- Do something more intelligent when the report query fails, like, print a
...
friendly message with the failed query.
2007-12-10 03:05:35 +00:00
dave
4cacf1b945
- Add a link to try each report before adding it, so the committee member can
...
see what it looks like.
2007-12-10 02:59:47 +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
e00a3a9d4b
Fix judge teams add page -award query for MySQL 5.x
2007-12-08 17:07:51 +00:00
dave
c61a0d3d36
- Delete the old custom report
2007-12-08 00:00:57 +00:00
dave
e6b7b3beb0
- Add the fields for the school access report
...
- Change the report generator to accept an 'sid' (system report id)
- Use the sid, not the report id, for the custom reports that aren't custom
reports anymore.
- Use the generator's school access report, not the custom one.
2007-12-08 00:00:26 +00:00
james
17b10cc269
Fix a parse error - dave you need to check these when you commit!!
2007-12-06 17:38:29 +00:00
james
f1706322d7
Rename heading "# of Prizes" to just "Prizes"
2007-12-06 04:10:09 +00:00
james
79915dd278
Properly fix the crumbtrail on the award sponsor contacts page
2007-12-06 04:03:32 +00:00
james
e2c2ccd7e2
Make position field display bigger and increase maxlength (it was already bigger in the db)
2007-12-05 16:10:07 +00:00
james
e592098311
Add missing breadcrumb
...
BUG#0000187
2007-12-05 15:54:12 +00:00
james
9ea749ceb9
lol fix the ysf affiliation stats since dave moved the committee members over to the new system
2007-12-05 04:21:57 +00:00
dave
d65bf7642e
- Make "Contact Phone" sorter, so it fits in the header of the PDF
...
- Add an "export" option to the report editor.. so any custom report can be
exported.. and sent to us, and we can insert it as a system report.
2007-12-03 22:07:23 +00:00
dave
6d7f06bd0f
- Add more columns to the school report generator
2007-12-03 21:04:35 +00:00
james
7a6294cb95
Handle error cases when uploading award data to external sources
2007-11-30 18:20:02 +00:00
james
389a3660c4
Add award winner uploader to send winners info back to external award sources
2007-11-29 22:30:35 +00:00
james
5ba77a6868
Fix a $_SESSION collision with a $variable when register_globals is ON
2007-11-29 18:49:34 +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
a70413b92d
Distinguish externally imported prizes from manually added ones
2007-11-28 22:06:17 +00:00
james
566c1d1573
Show awards imported from external sources differently in the awards list
...
Better handle award identifiers
Add a missing <br /> on import
2007-11-28 21:55:14 +00:00
james
3f3d242f6d
Dont try to process awards if there is no awards to process
...
Change the class on the prize edit page to be tableview and tableedit instead of summarytable and none (for consistency with the awards page)
2007-11-28 21:04:36 +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
4917bc3a75
Fix postback field on award update
2007-11-27 23:02:40 +00:00
james
c7a3628f4a
Update the sponsor if it changes for an existing award
...
Dont check year on the sponsors table
2007-11-27 22:55:45 +00:00
james
0f198346aa
Update fake scripts for 2008
...
Add external award downloader functionality
2007-11-27 22:47:06 +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
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
68f52562e5
- Fix the header and top navbar on the awards management/editor page
2007-11-23 20:23:46 +00:00
dave
30d944f968
- Fix a typo
2007-11-21 22:31:34 +00:00
dave
44205d5039
- Disable the save and delete option for system reports, and print a message
...
saying that the report can only be saved as a new report.
- Add checks to the report_save and report_delete fucntions to ensure system
reports cannot be saved/deleted.
2007-11-21 22:30:19 +00:00
dave
ac3e50f94e
- Fix a bug in the student report generation
...
- Simplify the report generation logic for report types.
2007-11-21 21:55:31 +00:00
dave
0ff8489d58
- include user.inc.php before using user_auth_required()
2007-11-21 17:02:09 +00:00
dave
f61dbd294e
- Fix another one
2007-11-21 16:46:19 +00:00
dave
5eb9c81f36
- Add a missing header
2007-11-21 16:44:50 +00:00
dave
9a2c37f7f0
- Add text boxes for order and title for each member on each committee
2007-11-20 20:46:05 +00:00
james
cf2c345e03
cannot use $users_id since its a session variable, and with register_globals ON $users_id overwrites $_SESSION['users_id']
2007-11-19 21:45:08 +00:00
james
25de3ace41
only go through the columns if there are columns to go through
2007-11-19 21:14:56 +00:00
dave
04e70ceb33
- Use user_auth_required() for authentication to check for committee access
...
(needed for multirole users)
- Add the top navbar to all pages
2007-11-18 23:50:23 +00:00
dave
9882ca09c6
- Fix a missing ')'
2007-11-18 23:20:00 +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
james
40fe6cb88c
Do some checks for system() and error out where applicable
2007-11-16 17:58:59 +00:00
dave
dfd0371d92
- Add the volunteer positions editor
...
- Add the report type for volunteers
2007-11-16 05:32:04 +00:00
james
347d46b86d
Add sponsor organization to awards ceremoney script
...
Add ability to specify an award type to only generate a script for that type
Add ability to specify a year to get the awards ceremony script for that year
Add links to the new options on the main reports page
2007-11-15 20:25:05 +00:00
james
cb23d603f3
MySQL5 Fix for Report 17 (Emergency Contacts)
2007-11-15 17:35:04 +00:00
james
abe32b69ae
Fix report to work with mysql5 -- need to join tables in the correct order.
2007-11-14 22:44:01 +00:00
james
1cc99b4ef9
Add document manager, and update tableeditor to allow setting of a downloadlink for documents
2007-10-31 20:00:23 +00:00
james
1de8f94516
Add "committee members" to available email recipients in the communication system
2007-10-31 15:22:30 +00:00
james
6d635e89f7
Only get the recipients list once
...
Oh, the last commit also fixed a couple multi-year registrationnumber uniquedness problems, as well as a few register_global dependencies
2007-10-30 22:37:18 +00:00
james
4378f966ce
Add an email address verification function so we dont need to keep duplicating the regex everywhere
...
Add a function to get the email recipients for a given registration id, for now, it just gets the students, but downt eh road it should check if teachers, parents, emergency contacts, mentors, etc should receive fair updates as well.
Implement the code/replacement tags for the two new emails, one for 'forms received, with payment' and the other for 'forms received, without payment'
2007-10-30 22:35:00 +00:00
james
ab5180ef9e
Add two new emails: registration complete, registration payment pending
...
Whipe out all 'from' of info@sfiab.ca (the old default, we dont want others using it!)
When sending emails, if 'from' is empty, use the $config['fairmanageremail']
Add a warning on the communication page if the fair manager email has not been set
Set the default 'from' for new emails to be the fair manager email
NOTE/FIXME: i added the hooks for the two new emails to be sent, but still
need to fill in the substitution values as well as the "to" - no time now,
will do that tomorrow
2007-10-29 20:21:40 +00:00
james
d1c626e2b6
Add the award sponsor to the winners entry page
2007-10-29 19:13:52 +00:00
james
b8e4c38c2b
Make sure we have an ID and a Year before trying to make the report
2007-10-25 20:30:58 +00:00
james
213004783b
s/awarded/available
2007-10-25 20:23:28 +00:00
james
c5b2ae9f4c
Add "label" to list of report formats
2007-10-25 19:54:10 +00:00
james
54ca3a0eef
in mysql5, projects needs to be joined before the projectdivisions/projectcategories
2007-10-25 19:48:20 +00:00
james
e8aeb731ec
Clear some ambiguity in the term "# of prizes" vs "# awarded"
2007-10-25 18:48:35 +00:00
james
091c2ceffd
Judge list - delete now unlinks the judge from the current year
...
Judge manager - delete now deletes the judge completely
Judge list only shows judges active for current fairyear
Clarify a few issues on the judge registration page
2007-10-25 18:20:55 +00:00
dave
186c0525b7
- Add an option to view reports from previous years
2007-10-20 04:04:14 +00:00
james
1c0c51c7fc
Update all Avery templates, add new avery template for 1 1/3" x 4"
...
Fix a register_globals reliance
2007-10-09 17:42:00 +00:00
dave
f922adb9af
- Implement vertical alignment for labels
...
- Implement boxes around text for testing (and maybe for a purpose?)
2007-10-05 20:12:19 +00:00
james
30df2c8af8
Add "back to admin" links
...
Rename item in main admin menu to be more reflective of what it actually does
2007-10-05 18:44:48 +00:00
james
02a5ef7811
Add the xml.inc.php common file
2007-10-05 18:40:32 +00:00
james
dbcd4e955f
Update admin index to include One-Click Affiliation Stats
...
Factor XML functiosn out of cwsfregister into separate xml.inc.php
Add xml functionality to ysfstats, and fudge the male/female stats to include "not specificed" genders
Add submit functionality to ysfstats to actually send data to YSF
2007-10-05 18:40:07 +00:00
james
29f545f80f
The rest of the stats required for regional affiliation with YSF
2007-10-05 17:34:06 +00:00
james
c82126150e
Add a file to calculate stats required for YSF Regional Affiliation
...
(not complete yet)
2007-10-03 21:03:46 +00:00
james
4a3aaac8af
Properly address french mailing labels to schools
2007-09-27 15:29:48 +00:00
james
c4c57fde2b
Make sure the FAIRYEAR is 2008, and bump version number to 2.1.2
2007-09-20 17:31:43 +00:00
james
7f3a0ff528
Add a fix to re-roll award prizes that werent properly rolled over due to the rollover bug in 2.1.0
2007-09-20 17:26:18 +00:00
james
1e947cba16
- Add a school based report query, so things like mailing labels can be created for ALL schools, not just the ones attached to a student.
2007-09-13 18:57:56 +00:00
james
0de2bfeef0
Add a few more missing "exit" calls after a header("Location");
2007-05-10 19:18:01 +00:00
dave
878a29a9d1
- Another case where we depend on register_globals = 1
2007-04-11 22:09:17 +00:00
dave
9c1a16acc2
- Add assigned tour to the report generator
...
- Add prize names to the report generator
- Change award name to sort by name, if you want to sort by order, use the
Award--Order column. (Specifying a sort by prize name, and it actually
sorting by order doesn't make sense)
2007-04-10 15:53:48 +00:00
james
3f8d70d47d
Add a bunch of fields that allow you to create all the information on a single form for Sci-Tech Ontario award winners to submit to sci-tech ontario
2007-04-05 21:33:39 +00:00
james
6088779b37
Properly handle "quote" marks in the title if the page gets resaved after the initial save
2007-04-03 21:07:44 +00:00
james
f3ad2c7f26
Oops need to global $config for that last patch to work
2007-04-03 20:17:32 +00:00
james
31aebc743f
Only count a huge penalty for the team if there's no chair on the team if the minimum number of judges per team is greater than 1. If the minimum is 1, then essentially the "willing chair" stuff should get ignored.
2007-04-03 20:16:48 +00:00
james
eff30a5adb
Add an option on the winners selection page, to show all ELIGIBLE projects for a special award, not just the nomiated ones. Helps in teh case that an award was added last minute that nominations didnt happen for, or in a caase that the judges decided to choose a winner that didnt nominate to begin with.
...
Update the winners page to not duplicate students names :p
2007-04-03 20:10:00 +00:00
james
e7776a6b9c
CSV of award winners - we used this at ORSF to do a Mail-Merge into a MS publisher template which export to a PDF to create a presentation for the awards ceremony... Next year we should automate this to create an OpenDocument Presentation (.odp)
2007-04-03 20:05:39 +00:00
dave
35ccf2a2ad
- Fix an instance where we rely on register_globals to be on
2007-04-03 19:53:30 +00:00