Commit Graph

918 Commits

Author SHA1 Message Date
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
984c9776ef - Separte the action handler from the config emitter (but tie them together so
that the old functionality remains)
- Run the action handler separately in the tour annealer and judge annealer
  config so that the page can be refreshed immediately after an update, so
  the  config variables (that may have changed) are reloaded.
- Skip updating config variables that haven't changed.
2007-12-20 08:20:29 +00:00
dave
c8d01cb8fb - Handle the case where a student doesn't use all their tour rankings. 2007-12-20 04:29:16 +00:00
dave
1dd573ab63 - Add the tour annealer config/launcher 2007-12-20 01:14:21 +00:00
dave
7841190240 - Remove the old tour reports from the old report page 2007-12-20 01:13:24 +00:00
dave
5a3d7de0b6 - Return emergency contact info to a component in the query. 2007-12-20 01:09:16 +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
aa2f8883e3 - Fix the overlapping text in table layout when trying to fit it in multiple lines
- Fix an infinite loop if the text will never fit in the width provided.
2007-12-20 00:56:57 +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
dave
5ad72acabf - Finish the cost function explanation 2007-12-19 19:58:15 +00:00
dave
c5887eb432 - A working tour annealer.. Now I just have to glue it all together. 2007-12-19 19:52:11 +00:00
dave
dba389618d - Move the tour manager into a tours subsection of admin
- Add a tour assignment editor, basically a copy of the judge team editor
2007-12-19 07:49:38 +00:00
dave
2af3482ecf - Also quote a field if it contains a newline. 2007-12-18 19:52:13 +00:00
dave
1b83ff4c12 - Add a bit more error reporting, and do the error report before attempting to
use the result.
2007-12-18 19:50:12 +00:00
justin
2363a38120 Add an actual form to the ceremony script setup page. 2007-12-17 23:20:21 +00:00
dave
c514d7910a - Alternate colours on the variable editor categories 2007-12-17 22:25:54 +00:00
james
63c5f3b2ff Rework the variables display a bit 2007-12-17 21:57:26 +00:00
james
1d6c0c9530 Remove committee auth check and replace with commandline only check -- This allows the judges scheduler to actually run again! 2007-12-17 21:37:22 +00:00
justin
b366d7bf4e Change varaibles.php to use a vertical section menu; slightly rough initial version. 2007-12-17 19:31:09 +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
james
4043df2e66 set a minimum on config editor input text size, so if all fields are empty the text boxes are bigger than 1 characer long 2007-12-14 15:46:01 +00:00
james
25c6251c65 Fix dave's typo on inputttype (inputtype) so 'date' fields will work again! 2007-12-14 15:38:03 +00:00
james
13ef318f27 eliminate an array_keys warning if $$fieldvar isnt set 2007-12-14 15:28:54 +00:00
james
160acc97d0 Garrrrr, fix syntax error 2007-12-14 15:25:51 +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
2da2753758 Make it say "Contact Us" instead of just "Contact"
and remove the "you are here" stuff, its not needed here.
2007-12-13 19:55:57 +00:00
james
00eed557cd Move the contact link out of the centered div, so it looks like the rest of the menu items 2007-12-13 19:54:19 +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
c9fb9f1084 - Fix bug 0000128, the order of the languages in the judging team names 2007-12-13 19:21:41 +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
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