Add constants NO_USER_URL and NO_USER_COUNTRY.
If you set these to true (in project.inc)
there will be no query or display of user web site URL
and user country, respectively.
We need to let users have https:// URLs.
Originally http:// was assumed, and the URLs were stored without the prefix.
For compatibility, allow either form to exist in the DB
Also update the "other account info" form to user bootstrap.
Consensus is that showing team member addrs to team admins is bad for privacy,
even if members can opt out.
So: omit email addr from all forms of member list.
Instead, add a feature where team admins can send a PM to all team members.
We don't know what the PHP error message contains so we enclose it in a CDATA block so the response is still valid XML and can be parsed using standard tools.
PHP error messages may contain sensitive information that should not be publicly visible. This option gives each project a simple switch to turn error messages in Web RPCs on or off.
The way errors were being handled in submit_rpc_handler.php,
the replies could end up looking like:
<error>
...
</error>
<actual_reply>
...
</actual_reply>
which doesn't parse with PHP's simplexml because there's no outer element.
So the PHP interface to job submission didn't work in some cases.
To fix this, I changed the RPC replies to have an enclosing element,
which is the name of the RPC, e.g.
<submit_batch>
<error>
...
</error>
... other stuff
</submit_batch>
RPC replies should now always be valid XML, errors or not.
- If handling an XML RPC, use set_error_handler() to output PHP warnings as XML.
Otherwise they appear as strings in the XML reply, making them not parse.
- suppress warnings from PHP function calls where we're already checking errors
- add a PHP interface for lookup_account()
- PHP interfaces return error number as well as message
(messages change; numbers don't)
- using symbolic error codes instead of hardwired numbers in PHP code
- client: if acct mgr sends us an account with no authenticator,
show an error message instead of trying to attach
svn path=/trunk/boinc/; revision=25608
don't show his email address to team founder
- user web: change wording on project prefs page to clarify
that emails may come from project OR team
- user web: let team founder delete message board
svn path=/trunk/boinc/; revision=14232
email addresses to team admins,
also show the user's "send_email" flag,
indicating whether the agreed to get "email newsletters"
from the project.
If this is set, teams should NOT send email to that user.
Ideally, we should have a separate preference for whether
to get email from team
(or show email address to team admins at all)
Fixes (more or less) #479
svn path=/trunk/boinc/; revision=14220