boinc/html/inc
David Anderson c56f284904 remote job submission: improve error handling.
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.
2016-07-31 23:00:24 -07:00
..
ReCaptcha Web: update the reCAPTCHA PHP client library to 1.1.2 2015-11-19 16:53:48 +01:00
GeoIP.dat
account.inc web: don't show "forgot email" link for non-compute projects 2015-11-04 11:54:38 -08:00
akismet.inc
bbcode_convert.inc
bbcode_html.inc web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
boinc_db.inc Merge branch 'master' of github.com:BOINC/boinc 2016-04-05 12:14:04 -07:00
bolt.inc - fix formatting in PHP code 2010-11-04 18:20:57 +00:00
bolt_cat.inc
bolt_db.inc web: fix SQL injection vulnerability in remote job submission 2014-11-21 15:37:40 -08:00
bolt_ex.inc
bolt_rnd.inc - fix formatting in PHP code 2010-11-04 18:20:57 +00:00
bolt_sched.inc
bolt_select.inc - fix formatting in PHP code 2010-11-04 18:20:57 +00:00
bolt_seq.inc - fix formatting in PHP code 2010-11-04 18:20:57 +00:00
bolt_snap.inc
bolt_util.inc web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
bolt_util_ops.inc web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
bolt_xset.inc - fix formatting in PHP code 2010-11-04 18:20:57 +00:00
bossa.inc - user web: fix security vulnerabilities 2013-03-04 17:39:24 +01:00
bossa_db.inc Bossa: use new DB interface; from Janus 2014-03-21 10:40:12 -07:00
bossa_example.inc web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
bossa_example2.inc web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
bossa_example3.inc
bossa_example4.inc
bossa_impl.inc - Bossa tweaks 2011-05-27 19:05:23 +00:00
cache.inc web: reimplement server status page to support remote daemons 2014-11-30 20:25:39 -08:00
cert.inc
common_defs.inc Web: fix display of error codes 2016-06-16 15:17:43 +02:00
countries.inc HTML: Make various variables accessible to Drupal by declaring them as global 2015-07-14 14:47:31 +02:00
credit.inc
db.inc web: show UTF8 chars in result stderr_out correctly (from Marius Millea) 2016-02-03 02:35:41 -08:00
db_conn.inc Web: add missing functions to DB layer 2015-12-07 15:43:13 +01:00
db_ops.inc Web: fix display of error codes 2016-06-16 15:17:43 +02:00
dir_hier.inc Improve error reporting for XML RPCs 2016-07-22 01:41:43 -07:00
email.inc Expand usage of HTTPS and fix a few URLs 2016-03-08 20:04:28 +00:00
forum.inc Allow admins to post even if not enough RAC 2016-02-22 17:11:58 +01:00
forum_banishment_vote.inc web PHP code: use mysqli everywhere if available 2014-09-04 12:00:09 -07:00
forum_db.inc web: don't accidentally write to read-only DB replica 2015-10-19 14:02:55 -07:00
forum_email.inc Web: use https urls everywhere 2015-11-30 09:36:29 +01:00
forum_rss.inc Web: use https urls everywhere 2015-11-30 09:36:29 +01:00
friend.inc Web: use https urls everywhere 2015-11-30 09:36:29 +01:00
geoip.inc
host.inc web: avoid using "%" in translatable strings 2015-03-03 10:52:42 -08:00
htmLawed.php web: fix DOS line endings in htmLawed.php 2014-10-03 07:37:17 -07:00
image.inc Web: fix GD detection 2016-05-09 11:36:44 +02:00
language_names.inc Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-04-30 15:39:25 -07:00
ldap.inc LDAP support: fixes from Ben 2015-01-22 09:38:48 -08:00
news.inc Web: use https urls everywhere 2015-11-30 09:36:29 +01:00
notify.inc Web: use https urls everywhere 2015-11-30 09:36:29 +01:00
page_translate.inc
pm.inc Web: use https urls everywhere 2015-11-30 09:36:29 +01:00
prefs.inc user web: don't gag if prefs have <venue> tag with no name attribute 2016-04-08 18:29:35 -07:00
prefs_project.inc HTML: Make various variables accessible to Drupal by declaring them as global 2015-07-14 14:47:31 +02:00
prefs_util.inc web: in prefs, change enabled default to 0:00 - 23:00 2015-03-04 12:59:40 -08:00
profile.inc user web: don't double-escape profile text 2016-04-08 13:22:22 -07:00
recaptcha_loader.php Web: update the reCAPTCHA PHP client library to 1.1.2 2015-11-19 16:53:48 +01:00
recaptchalib.php Web: update the reCAPTCHA PHP client library to 1.1.2 2015-11-19 16:53:48 +01:00
result.inc Web: display Windows error messages 2016-06-16 17:55:56 +02:00
sandbox.inc Optionally specify result template file name when submitting a job via RPC 2014-06-17 15:53:41 +03:00
sanitize_html.inc web: use htmLawed instead of kses for HTML sanitization 2014-10-02 08:16:28 -07:00
stats_sites.inc BOINC web site tweaks 2016-04-05 12:13:43 -07:00
submit.inc remote job submission: improve error handling. 2016-07-31 23:00:24 -07:00
submit_db.inc remove file mgt: small fix 2016-07-24 23:11:06 -07:00
submit_util.inc remote job submission: add notion of "expire time" for batches (for Condor) 2013-09-17 13:35:55 -07:00
team.inc Expand usage of HTTPS and fix a few URLs 2016-03-08 20:04:28 +00:00
team_types.inc Added missing include 2015-10-29 10:11:48 +01:00
text_transform.inc Web: change BBCode to add [github] tags and remove [trac] tags. 2015-10-07 12:21:12 -07:00
time.inc web: forums: display BBcode withing [pre] and [code]. 2014-09-10 15:46:58 -07:00
translation.inc Web: fix language selection mechanism 2015-10-07 12:17:07 -07:00
uotd.inc Web: fix last resort UOTD selection query 2016-01-11 14:20:45 +01:00
user.inc allow for 2 donation levels 2016-06-16 13:21:29 +02:00
util.inc Ops: update cancel_workunits scripts to use db layer 2016-03-17 14:37:59 +01:00
util_basic.inc remote job submission: improve error handling. 2016-07-31 23:00:24 -07:00
util_ops.inc Ops: enhance errorwus.php again 2016-03-18 10:51:09 +01:00
wap.inc - WAP interface to credit info: return correct timestamp, 2012-01-18 20:59:24 +00:00
web_rpc_api.inc Extend PHP interface for Web RPCs 2013-12-28 22:50:59 -08:00
xml.inc remote job submission: improve error handling. 2016-07-31 23:00:24 -07:00