Commit Graph

885 Commits

Author SHA1 Message Date
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
89f074052c correct & combine same-size label templates 2007-12-13 17:03:35 +00:00
dave
d9135ec036 - Fix label names 2007-12-13 16:50:53 +00:00
james
1441f24891 Make province work 2007-12-12 23:56:33 +00:00
dave
998c8b9af5 - Use a list of checkboxes instead of multisel. If the list is large, it puts
in in 3 columns under the config option.. if it's small it goes beside it
  where the config widgets normally go.
2007-12-12 23:49:50 +00:00
james
7a7f87f892 Better statistics, less database queries 2007-12-12 23:35:51 +00:00
dave
89675213bf - Make address2 never required, and setup the system so we can easily add more
fields that shoudl never be required.  I do it this way so I don't have to duplicate
  the field select array in user.inc.php for the requried fields too.
- Swap the City and Address2 locations so that Address1 and Address2 are on top
  of each other, instead of beside each other.
2007-12-12 22:50:54 +00:00
james
5207a0d6e2 Oops use the correct totalprojects variable 2007-12-12 21:00:12 +00:00
james
e99b57c4fa Breakout the stats for agecategory/division into a nicer-to-view table format 2007-12-12 20:57:51 +00:00
dave
4c71598eab - Sort schools by city for the students. When your schools list is 2000+
schools, with 8 "MacKenzie King Elementary School"s it makes the correct
  school much easier to find.
2007-12-12 20:37:05 +00:00
james
2aeaf7bea9 unbreak the broken addText() that was introduced in r977 2007-12-12 20:35:03 +00:00
james
a54776a6a3 Version 2.1.6 2007-12-12 18:45:56 +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
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
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
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
fb10ed7447 Dont put leading spaces into an i18n()
wq
2007-12-11 19:17:11 +00:00
james
08f5d64179 Fix the login so it authenticates on the right record -- there is probably other stuff wrong if this is happening, but this is the easiest fix for now. There should never be two records in the users table with the same username/emailaddress, it should use the multi-role stuff... but this change will also work with multi-role anyways once the cause of this is fixed (registering as a volunteer when you're already a committee member creates a new record in the users table, instead of attaching you to the old one). 2007-12-11 19:13:11 +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
d4e6b63c2e Dont get stuck in an infinite loop if the text doesnt fit, just break out and forgetaboutit 2007-12-11 18:21: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
dave
03d5e23496 - Use the new bold font instead of the old hack. 2007-12-10 21:29:53 +00:00
dave
a62a8bbbfb - Add a bold font option to pdf generation 2007-12-10 21:28:17 +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
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
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
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
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
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
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
d024d30793 Revert the isEmailAddress change so emails will actually send out again 2007-12-09 22:18:29 +00:00
james
9496c0fcf6 Substitute EMAIL on new_participant email 2007-12-09 21:31:50 +00:00
james
78a97236f7 Add the email address to the new participant email 2007-12-09 21:06:55 +00:00
james
883b53c71b Send new participant email on invitation by school to the contactemail as well as the student email 2007-12-09 20:47:44 +00:00