dfb54ec9dfAdded date of birth, food requriements, t-shirt size and medical alert info to the users table as student fields
jacob
2011-02-16 19:08:58 +00:00
93f4703b71Add account_list (temporary hack) user_invite can find users by username OR by email address if the account is found, but user_load fails, thats okay, it just means that they dont have any roles yet
james
2011-02-16 18:39:59 +00:00
d58e8f4a1eRevert Dennis's invalid line endings commit
james
2011-02-16 17:00:55 +00:00
4ac3a8f974Revert Dennis's commit - improper line endings caused the whole files to be replaced
james
2011-02-16 16:59:33 +00:00
19304cf75aWhen adding a user with user_create, we need to set deleted='no', also, update user_load to catch an empty 'deleted' field, instead of only looking for !='no' becuase now we have users in the system without any deleted field. fuck.
james
2011-02-16 16:49:53 +00:00
ce35d4cceeChanges by Dennis. Required to provide for a clean install on Windows server ISPs (also my Windows xp workstation with PHP and mySQL). There should be NO changes to functionality.
dennis
2011-02-10 14:46:58 +00:00
727bae005bSome fairs with LOTs of divisions may exceed the 255 char limit on the judge division preferences saving.
dave
2011-02-09 18:39:14 +00:00
b791499b18dennis: Modifications to allow installation on Windows servers.
dennis
2011-02-05 22:35:44 +00:00
9730d79ab6Update on curl.inc.php to fix a reported bug when downloading awards
jacob
2011-02-04 16:37:34 +00:00
221213e1d8Add grade to participant required fields
james
2011-02-02 23:19:15 +00:00
ebc7d7ad1dFix the other two places that used the array_diff_assoc incorrectly (by simply removing it)
james
2011-02-01 21:59:06 +00:00
b4d018f771Fix user_save to properly update the status of all roles that the user has Fix special awards tab to load&save properly Fix volunteer positions tab to load&save properly
james
2011-02-01 20:10:11 +00:00
347b12ab2eOops - only update the session user id for the newly created user if it's the same account and the same conference as the one doing the user creation
jacob
2011-01-28 20:16:43 +00:00
8714fe7a1dFix invitation emails
james
2011-01-28 20:02:21 +00:00
ceb55a49a6Add a user id to the session when someone adds a role (and thus a user) to an account that does not currently correspond to any user records.
jacob
2011-01-28 19:57:09 +00:00
462427c1b1Fix divisions insert check
james
2011-01-28 18:22:18 +00:00
cb6796b95dLanguages group fix
james
2011-01-28 18:12:30 +00:00
349af780edEmail address fix for user_list (now show accounts.username and accounts.email)
james
2011-01-28 18:01:31 +00:00
552ce74d96Couple of quick fixes: - the "languages" field needed to be regrouped when applied to a Science Olympics account - Modified account/create api to test all errors and return them as a group, rather than exiting on the first error
jacob
2011-01-27 22:55:42 +00:00
a5bd01f621Bunch of fixes
james
2011-01-26 23:15:58 +00:00
f1c8b9919fHack to get around upgraded version of PHP not accepting pass-by-reference that isn't explicitly stated on both sides. This allows judge registration to complete
dave
2011-01-24 06:00:32 +00:00
2813377014Also need to substr the long usernames in the installer, doh!
james
2011-01-20 19:32:00 +00:00
95d57c25bfBump version number for more development
james
2011-01-19 19:54:00 +00:00
c53e9611e5Fix for adding users that have been deleted.... i think.
james
2011-01-19 19:46:48 +00:00
f47f2c4cebprepare version 2.3.0
james
2011-01-17 18:34:42 +00:00
97076cbe32Add function to copy schools from a different conference. fix the user_load_by_uid calls, but im not sure if simply replacing them with user_load() is the 'right' fix.. but at least the page loads now :p
james
2011-01-11 20:10:51 +00:00
c048e33f6aFix access codes for schools
james
2011-01-05 21:05:31 +00:00
54a5cc8da4Add school access code to email replacement tags
james
2011-01-05 20:35:31 +00:00
e6cd95ebfcFix science head and principal queries in branch
james
2011-01-05 20:25:14 +00:00
afc836e214Add the 16 char username truncate fix to the update script too
james
2011-01-03 17:17:18 +00:00
9230b559dbForward port mysql 5.1 16 character username limit difference
james
2010-12-30 14:24:05 +00:00
79513c6d29Add a fix for new MySQL 5.1 where it doesnt truncate at 16 characters before comparing, so all our long usernames were failing (mysql internally only supports 16 characters)
james
2010-12-30 13:56:50 +00:00
e0f0a5dd90Re-do user_invite to allow users to be invited by admin/config's - its not complete, but its working, it still needs to send emails though to tell the user of their new role, but i need to think on how to do that because if its a new account then it could be just a username/password without an email, but if its invited then the email __IS__ the username, but we shouldnt rely on the email being valid until its been confirmed via the email confirmation.. ugh?!?!
james
2010-12-21 23:16:20 +00:00
8f2e8f985bAdjust wording slightly
james
2010-12-21 22:57:46 +00:00
beac7bb44eForward port the "auto-select novice" change
james
2010-12-16 16:56:49 +00:00
c1afa5f00fStart with all the divisions set to "novice", this way, they dont specifically need to put something in every row, they only need to change the ones that they know.
james
2010-12-16 16:49:41 +00:00
459eb17e98Add a hidden config option (put it in data/config.inc.php) to not require API access over SSL
james
2010-12-08 21:18:07 +00:00
8f17e80169If there's less than 2 conferences (specifically, 1 conference) then dont show the conference selector in the header
james
2010-12-07 19:29:02 +00:00
673b0b51f8Make conference saving work again
james
2010-12-07 19:26:39 +00:00
e278505bc0Simplify the user list and make it work again
james
2010-12-06 20:26:39 +00:00
39ff0dd2ceMore fixes to (hopefully) allow a superuser to add admin/config roles
james
2010-12-06 19:33:38 +00:00
0acf5a5661Allow superuser to always access admin/config even if its not in their session roles
james
2010-12-06 18:33:02 +00:00
8817e5eb86Updated the user loading to only include fields that are relevant to the roles, accounting for the fact that certain roles (eg. juge) have different fields for different conference types.
jacob
2010-12-02 20:28:19 +00:00
336cec80e0Quick fix for an error showing up in some field types for the api Added an error catch, re-indexing the languages array when a user is saved, to ensure that the indecies are numeric
jacob
2010-12-02 18:43:35 +00:00
77a3c77e69oops - forgot to remove debugging remarks
jacob
2010-12-02 17:54:01 +00:00
dfd468505cModified the api loging for better readability and to include the output
jacob
2010-12-02 17:50:16 +00:00
128fc6a3b5Added logging to the API, and separated the log file creation into a common function
jacob
2010-12-02 17:25:23 +00:00
a6544f40c4Added an error check in saving the user, avoiding duplicate keys on an insert if bad data is passed in. Touched up the error output to make finding errors a pinch easier.
jacob
2010-12-02 16:33:04 +00:00
6b94ef5c76Added abillity to uninvite a user from a particular role where allowed, and api function (/user/uninvite) Added function user_list_modifiable, which returns a list of user info that the current user is allowed to modify (users.inc.php) Added api for calling user_list_modifiable (/user/list)
jacob
2010-12-01 19:40:45 +00:00
39f53e4168Added teacher abillity to add/remove students Updated the user_save to output more meaningful errors Updates on 'questions' and 'pagetext' tables to change the 0 conference ID to -1, matching the -1 year
jacob
2010-11-29 22:54:12 +00:00
1e1fa0097aUpdated super/conferences.php, adding a rollback if there are errors in copying a conference. Added compvars.php, which is a test script for comparing data after it's been rolled over from one conference to another - used to test the rollover in super/conferences.php. Updated usage of the role "student", replacing it with "participant".
jacob
2010-11-26 16:50:17 +00:00
57561c829dAdd copyoriginal and copyparent to API
james
2010-11-25 20:47:32 +00:00
46b39f81e0Add copyoriginal, copyparent, and notes(currently unused) to conferences table Add code in create conference and copy conference to set copyoriginal and copyparent Add missing json_decode to API (we expect ALL arrays being POSTED to be json encoded)
james
2010-11-25 20:45:44 +00:00
e9f46edb0eAdded code for inviting users, access to it through the api
jacob
2010-11-23 20:58:38 +00:00
c098354179Add the warnings back in! eeek!
james
2010-11-22 19:00:41 +00:00
d0d9fe4d60Add ability to see WHO the recipients of a communication will be
james
2010-11-22 18:40:50 +00:00
4f388734a9Add special award subset of sponsors that can be contacted
james
2010-11-22 18:14:03 +00:00
6e955082e9Re-Add some report fields that were added in 2077 (after the 2072 branch)
james
2010-11-19 15:34:23 +00:00
8f255f4eb8Added an icon for conference management. Added fields in the config for teachers
jacob
2010-11-18 22:46:46 +00:00
0720cb0ae0Updated super/conferences to properly manage existing conferences, and touched up it's UI to fit the site theme
jacob
2010-11-18 20:44:48 +00:00
63178e596bAdd dictionary documentation Update Test API page to link to apidocs and dictionary
james
2010-11-18 17:24:18 +00:00
1701e965efAdded a quick link to test api/registration/dictionary
jacob
2010-11-18 17:10:53 +00:00
8b15620f69Added the api/registration/dictionary functionality
jacob
2010-11-18 17:00:26 +00:00
e730a5ab05Added the rollover for the fiscal year, and removed the rollover for the fair year
jacob
2010-11-18 16:38:12 +00:00
f6eee9666aUpdated to properly use the user_save function
jacob
2010-11-18 16:02:11 +00:00
31baeaa715SQL error fix
jacob
2010-11-18 15:59:22 +00:00
a8b0adce05fix typo
james
2010-11-17 23:47:37 +00:00
2c9baf185aAdded code for a fiscal year rollover, as well as an icon for linking to it.
jacob
2010-11-17 22:53:40 +00:00
1b098f85b3The API depends on a return value from the user_save function, which was not being generated. Updated user_save to return 'ok' on success, and an error message otherwise. Updated api.php to make use of user_save's retun value.
jacob
2010-11-17 21:02:32 +00:00
65ecdcac05Add branch for 2.3 starting at trunk 2072 We'll probably use this for 2011 fairyear and will have to svnswitch every sfiab install to this branch. ONLY BUGFIXES TO THIS BRANCH and ALL COMMITS should go to TRUNK as well
james
2010-11-17 19:21:46 +00:00
6c5669c3f4Arg - accidentally committed with a data dump...
jacob
2010-11-17 16:37:44 +00:00
1972323a65Correction on how the multiselect fields are described
jacob
2010-11-17 16:12:10 +00:00
2848ed177dQuick correction on how lang is described in the user_get_fields function
jacob
2010-11-17 15:52:02 +00:00
0ff766175bUpdates on the data that gets returned when describing the user structure Modified user code to properly save the volunteer availability data Updated the UI to properly use the user_save function to update judge and volunteer info
jacob
2010-11-16 22:51:42 +00:00
61fba8a93cjson_decode always returns an object unless you tell it to give you an associative array (2nd parameter) give multi-select-lists as full object's where appropriate (might be more too? special awards?)
james
2010-11-16 21:19:16 +00:00
a0c64963e0small mod on user save function
jacob
2010-11-16 20:54:46 +00:00
cf2e2eb6dbModified some of the user preference data as it's stored in the user array
jacob
2010-11-16 20:42:40 +00:00
1e2340beb1Some updates on the interface for creating conferences Modified the user object, correcting some issues with judging availability and volunteer availability.
jacob
2010-11-16 19:53:26 +00:00
7113a3df95Oops, i never committed this before - add configerence id as an optional parameter to /auth/login
james
2010-11-16 04:29:16 +00:00
00f380483bRewrote the installation script to deal with conferences Writing UI components to create conferences from within the user interface - still buggy
jacob
2010-11-10 23:05:24 +00:00
a3b72f7aa3Altering tables projectdivisions, projectsubdivisions, and projectcategories, changing their primary keys from (year, id) to (conferences_id, id)
jacob
2010-11-10 19:25:46 +00:00
a7a7735347Added grouping to the list of user information fields
jacob
2010-11-10 18:47:01 +00:00
769d5ee969A quick fix. The award_awards_table had the conferences_id set to 0 where the year was -1. Modified it to match.
jacob
2010-11-05 17:48:19 +00:00
88c6d9a0ddFurther updates in migrating to conference id
jacob
2010-11-03 20:59:03 +00:00
c3cf698524Updates converting from year to conference id.
jacob
2010-11-03 17:18:02 +00:00
54070f1836Several updates on migrating from fair years to conference id's
jacob
2010-11-02 20:35:47 +00:00
1c1a0673c3Adding conferences_id to the last two tables that need it
jacob
2010-11-02 16:24:04 +00:00
89475dae93A quick function update
jacob
2010-11-01 21:51:27 +00:00
e4d94ffca2Updated the communication queries in communication.inc.php to use the conferences system rather than fair years.
jacob
2010-11-01 21:23:17 +00:00
5e0886c812Minor correction
jacob
2010-11-01 17:21:58 +00:00
ca0e700952More conversions from fair year to conference id
jacob
2010-11-01 17:14:42 +00:00
d8df2be109Quick patch on my last commit.
jacob
2010-11-01 15:28:51 +00:00
21261a99afMany updates of queries, switching from usage of FAIRYEAR to conference_id.
jacob
2010-11-01 15:24:59 +00:00
4f35702bbfAdded API function for modifying account information
jacob
2010-10-28 21:22:12 +00:00
d0d3c7b7c4Separated the functionality of school selection from the pages, implemented it in the API
jacob
2010-10-27 16:40:17 +00:00
f1b9123835Added a couple of field descriptions in the user fields
jacob
2010-10-26 19:38:08 +00:00
92d46976f7Separating judging timeslot selection into the user object
jacob
2010-10-26 18:15:04 +00:00
0bcd811101Fix passing in role list by ids
james
2010-10-25 23:58:48 +00:00
3971df267fAdd registration field roles to testapi.php page Fix char(2) field detection
james
2010-10-25 23:55:38 +00:00
19e146547fFix api registration fields when roles ar epassed in roles can be passed in as array of ids or array of types
james
2010-10-25 23:12:35 +00:00