james
fa3a661b62
Allow superuser to edit other peoples accounts
...
Show pending email if there is one
2011-02-23 17:09:39 +00:00
james
6b37f4b721
Move user_editor_window to the root, so it can share a common user_edit_tabs.inc between user_edit (for the logged in user) and user_editor_window (for admins to edit users)
...
Start fixing the school editor (not done yet)
Update jqueryui (1.8.9) and jquery (1.4.4 - NOT 1.5 - 1.5 causes conflicts with autocomplete and validaotor plugins)
2011-02-23 16:45:00 +00:00
james
79baaa37b6
Make password optional for create account (it'll pick a random one if not specified)
2011-02-23 16:42:08 +00:00
james
a484939f1b
Move openeditor() to sfiab.js common file, and update references to it
2011-02-23 16:40:17 +00:00
dennis
ee657d49a1
Dennis. Changes allow 'installation' in windows servers (and others) Complete functionality in windows servers still 'in work'
2011-02-22 21:54:34 +00:00
jacob
6c0e0cb0ca
Added emergency contact info as an array member of the user object.
...
Updated register_participants_emergencycontact.php to link emergency contacts directly to the users, and allow multiple emergency contacts for a single user.
Added the users_id field to the emergencycontact table, allowing that direct link.
2011-02-22 20:52:54 +00:00
james
ab566836e7
Upgrade jquery and jqueryui, so we can use built-in autocomplete
2011-02-22 17:50:14 +00:00
james
a451a47a94
Fix displaying science head emails, and add them to the list-view as well for convenience
2011-02-22 15:49:06 +00:00
james
7eb89d98a2
use addTable instead of add_table for consistency between interfaces
2011-02-22 15:24:19 +00:00
james
1d2642527e
Add a simple index to the top of the APIDOC page
2011-02-21 22:17:58 +00:00
james
8d7eb7ca72
add api/project/signatureform API
2011-02-21 22:07:06 +00:00
james
8aaff3cbd7
Add another missing semi-colon
2011-02-21 21:40:52 +00:00
jacob
f22dfb3c93
Added project mentor management to the api, and functions for testing it
2011-02-21 19:42:13 +00:00
james
e06eb7dbd8
Add missing ; to 194
...
Remove duplicate INSERT of roles (its in 193, no need to do it again?!)
2011-02-21 16:22:29 +00:00
jacob
64ef61d88f
Added api functionality for disconnecting a user from a registration : api/project/remove
2011-02-18 21:53:07 +00:00
jacob
f785a71be2
Oops - removed debug output from the project/new api.
...
Updated getProject to take userId as a parameter, rather than the registration number.
2011-02-18 20:48:56 +00:00
jacob
40e139b7a1
Fix for logical error in how I connected users to registrations. Had the wrong ID field connecting them.
2011-02-18 20:25:47 +00:00
jacob
e6dfe1c476
Added joinProject function in register_participants.inc.php, and added the api for it at /api/project/join
2011-02-18 19:19:56 +00:00
jacob
c1d248dbd3
Added the soulmate for a lonely opening brace.
2011-02-18 17:12:32 +00:00
jacob
6519392bd5
Added getRegistrationsId() function, returning the registration ID for the specified user
2011-02-18 17:05:07 +00:00
james
96f36d4681
Implement project\/view
2011-02-18 16:56:35 +00:00
jacob
340a45127b
Added code preventing users from creating more than one registration/project
2011-02-18 16:46:44 +00:00
james
3c0151263f
Convert project/edit to pass a 'project' object as JSON instead of individual fields
2011-02-18 16:37:11 +00:00
jacob
ef4a14a386
modified the project/add API to not expect any data, but simply create the project.
2011-02-18 16:14:23 +00:00
jacob
3745d8cfd9
Added api functionality for creating and saving projects
2011-02-17 22:04:47 +00:00
james
b71a0dc994
email_send should send html version of email if we have it, also dont translate the subject & body thorugh i18n()
2011-02-17 16:36:17 +00:00
jacob
dfb54ec9df
Added date of birth, food requriements, t-shirt size and medical alert info to the users table as student fields
2011-02-16 19:08:58 +00:00
james
93f4703b71
Add 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
2011-02-16 18:39:59 +00:00
james
4ac3a8f974
Revert Dennis's commit - improper line endings caused the whole files to be replaced
2011-02-16 16:59:33 +00:00
dennis
ce35d4ccee
Changes 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.
2011-02-10 14:46:58 +00:00
james
221213e1d8
Add grade to participant required fields
2011-02-02 23:19:15 +00:00
james
ebc7d7ad1d
Fix the other two places that used the array_diff_assoc incorrectly (by simply removing it)
2011-02-01 21:59:06 +00:00
james
b4d018f771
Fix 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
2011-02-01 20:10:11 +00:00
jacob
347b12ab2e
Oops - 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
2011-01-28 20:16:43 +00:00
james
8714fe7a1d
Fix invitation emails
2011-01-28 20:02:21 +00:00
jacob
ceb55a49a6
Add 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.
2011-01-28 19:57:09 +00:00
james
462427c1b1
Fix divisions insert check
2011-01-28 18:22:18 +00:00
james
cb6796b95d
Languages group fix
2011-01-28 18:12:30 +00:00
james
349af780ed
Email address fix for user_list (now show accounts.username and accounts.email)
2011-01-28 18:01:31 +00:00
jacob
552ce74d96
Couple 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
2011-01-27 22:55:42 +00:00
james
a5bd01f621
Bunch of fixes
2011-01-26 23:15:58 +00:00
james
97076cbe32
Add 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
2011-01-11 20:10:51 +00:00
james
9230b559db
Forward port mysql 5.1 16 character username limit difference
2010-12-30 14:24:05 +00:00
james
e0f0a5dd90
Re-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?!?!
2010-12-21 23:16:20 +00:00
james
8f2e8f985b
Adjust wording slightly
2010-12-21 22:57:46 +00:00
james
beac7bb44e
Forward port the "auto-select novice" change
2010-12-16 16:56:49 +00:00
james
459eb17e98
Add a hidden config option (put it in data/config.inc.php) to not require API access over SSL
2010-12-08 21:18:07 +00:00
james
8f17e80169
If there's less than 2 conferences (specifically, 1 conference) then dont show the conference selector in the header
2010-12-07 19:29:02 +00:00
james
673b0b51f8
Make conference saving work again
2010-12-07 19:26:39 +00:00
james
e278505bc0
Simplify the user list and make it work again
2010-12-06 20:26:39 +00:00