Commit Graph

816 Commits

Author SHA1 Message Date
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
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
dc74872293 Add a .htaccess to turn register_globals OFF (if the server is configured to allow .htaccess to do such things) 2007-11-29 19:15:57 +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
dave
75669d9c08 - Make the default username == to the email address
- Remove required field 'username'
- Put a little note beside the username to encourage most people to just leave
  it alone.
2007-11-29 18:37:40 +00:00
james
a2105c30f4 Make website fields into links 2007-11-29 18:26:37 +00:00
james
ef2cc85c8c Rollover the extern award/prize identifiers from year to year 2007-11-29 18:25:56 +00:00
dave
39611473ba - Make username a requried field for the superuser 2007-11-29 17:54:09 +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
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
9eca885410 - Allow multiselect to select nothing 2007-11-26 02:25:39 +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
2305a44d57 Rollover award description
Rollover award prizes trophies
2007-11-23 21:25:52 +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
3479ab4e7f - Add missing i18n() to the top bar 2007-11-23 20:56:59 +00:00
dave
071ded90b0 - Remove "Home >>" from the top nav bar, and simplify the logic 2007-11-23 20:55:29 +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
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
james
edcf42443c Fix wording for open or invite registration type on schoolaccess page.
Bug #0132
2007-11-21 21:09:16 +00:00
dave
f864826ee4 - Add user.inc.php here too 2007-11-21 17:04:35 +00:00
dave
0ff8489d58 - include user.inc.php before using user_auth_required() 2007-11-21 17:02:09 +00:00
james
e0b50f8128 revert my last chaange 2007-11-21 16:48:10 +00:00
dave
f61dbd294e - Fix another one 2007-11-21 16:46:19 +00:00
james
012939f975 Need to require user.inc.php or else required functions dont exist. 2007-11-21 16:45:35 +00:00
dave
5eb9c81f36 - Add a missing header 2007-11-21 16:44:50 +00:00
dave
3ba0d061f7 - Remove auth_has_access($access) completely, use
committee_auth_has_access($access) now.
- Remove unused committee_login and committee_auth.php
- Simplify the left bar logic for the committee links
2007-11-21 07:41:09 +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
7e45665d6c This should be an error, not a notice 2007-11-19 21:52:56 +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
1937045874 Fix the "My Profile" link 2007-11-19 21:29:32 +00:00
james
93011c9883 Cannot check for valid password when authenticating, because people might have passwords that dont match the "new" requirements
Also simplify some of the code (why bother assigning temp vars just to compare?)
2007-11-19 21:28:15 +00:00
james
25de3ace41 only go through the columns if there are columns to go through 2007-11-19 21:14:56 +00:00
james
8a0a3dbc74 Save organization in users table
Dont save emailprivate in users table (its in users_committee)
2007-11-19 21:12:09 +00:00
dave
82b957eee4 - Fix a bug in multirole 2007-11-19 17:11:47 +00:00
dave
1a246cba5d - Fixup the location: redirections in user_auth_required() 2007-11-19 07:01:51 +00:00