boinc/sched
David Anderson 9f1625a0a7 scheduler and client: fix mechanism for exposing user CPID to GUI
A month or two ago I added code to put user CPID in the project info
exported via GUI RPC, so that GUIs (like BoincTasks) could link
to user pages on stats sites.

However, I completely forgot that the CPID known to the client
(PROJECT::cross_project_id) is the "internal CPID",
while what gets exported to stats is the "external CPID",
which is MD5(internal CPID, email addr).

Solution: include the external CPID in scheduler replies,
store it in the client state file,
and export it in GUI RPCs as PROJECT::external_cpid.

This will eventually work for BoincTasks,
but only after projects update their server software,
and volunteers update their client software.
2014-08-08 12:58:08 -07:00
..
Makefile.am server: shuffle code so that the file upload handler doesn't need MySQL 2014-06-17 18:07:45 -07:00
adjust_user_priority.cpp - show_shmem: show more stuff, and improve display 2013-03-04 17:48:45 +01:00
antique_file_deleter.cpp antique file deleter: skip no_delete WUs in finding oldest WU 2014-07-16 19:25:15 -07:00
assimilate_handler.h Einstein@home extensions: 2011-03-18 08:20:11 +00:00
assimilator.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
assimilator.py - python assimilator fix 2009-06-16 19:38:35 +00:00
census.cpp - scheduler: the p_fpops value reported by clients can't be trusted. 2012-01-09 17:35:48 +00:00
credit.cpp server: fix some compile warnings 2014-03-19 14:55:16 -07:00
credit.h server: fix some compile warnings 2014-03-19 14:55:16 -07:00
credit_test.cpp - fixes of various (non-critical) fd and memory leaks. 2012-06-10 05:38:34 +00:00
db_dump.cpp db_dump: fix typo in XML output 2014-06-02 13:35:15 -07:00
db_dump_spec.xml *** empty log message *** 2006-03-06 21:40:07 +00:00
db_purge.cpp db_purge: allow fractional values of min_age_days 2014-07-02 23:23:45 -07:00
delete_file.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
edf_sim.cpp - web: add advisory text to "Export as Notice" balloon 2013-03-04 17:24:18 +01:00
edf_sim.h remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
feeder.cpp feeder: 2014-05-26 14:13:34 +02:00
file_deleter.cpp scheduler: support OpenCL/CPU apps in the XML plan class spec mechanism 2014-06-04 23:39:10 -07:00
file_upload_handler.cpp file upload handler: message tweak 2014-06-03 13:59:39 -07:00
get_file.cpp server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00
handle_request.cpp scheduler: use config.maintenance_delay instead of 3600 for client backoff 2014-07-28 09:00:14 -07:00
handle_request.h scheduler: remove lock file when scheduler caught SIGTERM 2012-03-12 09:10:42 +00:00
hr.cpp - validator: -d 4 means -d 3 plus print all DB queries 2010-04-05 18:59:16 +00:00
hr.h - Updates Linux notifications to use current libnotify. 2011-09-27 19:45:27 +00:00
hr_info.cpp - eliminate use of alloca() and strdupa(). 2013-03-04 17:24:19 +01:00
hr_info.h - scheduler: the p_fpops value reported by clients can't be trusted. 2012-01-09 17:35:48 +00:00
make_work.cpp make_work: fix bug that prevented --max_wus from working 2014-04-30 15:35:04 -07:00
makefile_plan_class_spec - scheduler: debug plan_class_spec a little. 2012-06-06 03:47:13 +00:00
makefile_validator_test - fix many problems with validator_test 2012-04-19 08:47:38 +00:00
message_handler.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
plan_class_spec.cpp scheduler: fix bug in plan class spec logic 2014-07-25 15:04:04 -07:00
plan_class_spec.h plan class XML: added check for double precision fp math support (OpenCL) 2014-06-27 10:07:33 +02:00
plan_class_spec.xml.sample scheduler: sample code for the SSE3 plan class must check for "pni" rather than "sse3"; clients report "pni" 2013-08-08 11:00:29 -07:00
pshelper Remote server management: 2014-05-26 14:13:58 +02:00
put_file.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
pymw_assimilator.py - PyMW assimilator fixes from Jeremy 2009-07-01 23:58:04 +00:00
sample_assimilator.cpp - fix many problems with validator_test 2012-04-19 08:47:38 +00:00
sample_bitwise_validator.cpp validator: fixes and features 2014-03-20 12:38:29 -07:00
sample_db_dump_spec.xml *** empty log message *** 2004-06-21 05:03:56 +00:00
sample_dummy_assimilator.cpp - fix many problems with validator_test 2012-04-19 08:47:38 +00:00
sample_hr_info.txt - added sample host-distribution file for HR 2007-07-06 18:19:10 +00:00
sample_substr_validator.cpp server: add sample validator that checks for string in stderr 2014-03-18 19:12:13 -07:00
sample_trivial_validator.cpp server: add sample validator that checks for string in stderr 2014-03-18 19:12:13 -07:00
sample_work_generator.cpp sample work generator: wait until transitioner has processed jobs before creating any more 2013-12-14 16:36:18 -08:00
sched_array.cpp scheduler: don't send spurious "no tasks available" msgs w/ score scheduling 2014-06-16 16:53:49 -07:00
sched_array.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_assign.cpp scheduler: finish implementation of targeted jobs 2014-05-27 10:44:50 -07:00
sched_assign.h scheduler: assigned jobs should respect user app preferences 2013-10-06 21:23:28 -07:00
sched_check.cpp scheduler: preliminary support for generic coprocessors 2014-07-25 12:40:35 -07:00
sched_check.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_config.cpp scheduler: add <maintenance_delay> config option. 2014-07-14 14:13:33 -07:00
sched_config.h scheduler: add <maintenance_delay> config option. 2014-07-14 14:13:33 -07:00
sched_customize.cpp scheduler: fix S@h compile error 2014-08-07 14:47:17 -07:00
sched_customize.h - Double include protection added to sched_customize.h 2013-03-07 11:31:38 +01:00
sched_driver.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
sched_files.cpp server: fix compile warnings and file descriptor leaks 2014-01-08 22:00:13 -08:00
sched_files.h - scheduler: add feature for deleting no-longer-used sticky files. 2013-03-04 17:39:24 +01:00
sched_hr.cpp - scheduler: fix bug in the "homogeneous app version" (HAV) feature 2011-10-26 07:15:22 +00:00
sched_hr.h - scheduler: fix bug in the "homogeneous app version" (HAV) feature 2011-10-26 07:15:22 +00:00
sched_limit.cpp scheduler: enforce GPU job limits separately for each GPU type 2014-03-08 11:17:16 -08:00
sched_limit.h scheduler: fix bug that caused no jobs to be sent 2014-03-12 15:31:12 -07:00
sched_locality.cpp tweaks (fix comments, compile warnings) 2014-06-20 17:15:04 -07:00
sched_locality.h - API: remove BOINC_OPTIONS::worker_thread_stack_size 2008-12-19 18:14:02 +00:00
sched_main.cpp scheduler: use config.maintenance_delay instead of 3600 for client backoff 2014-07-28 09:00:14 -07:00
sched_main.h - code shuffling 2009-08-10 04:56:46 +00:00
sched_msgs.cpp - simulator work 2011-01-07 20:23:22 +00:00
sched_msgs.h - client: when selecting the "best" ATI GPU, factors are: 2010-06-23 18:16:19 +00:00
sched_nci.cpp scheduler: clean up job dispatch logging 2014-06-12 11:33:11 -07:00
sched_nci.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_resend.cpp scheduler: don't resent job if app is deprecated or user has de-selected it 2014-06-08 20:20:25 -07:00
sched_resend.h - API: remove BOINC_OPTIONS::worker_thread_stack_size 2008-12-19 18:14:02 +00:00
sched_result.cpp scheduler: don't penalize hosts for jobs aborted by server 2014-05-23 12:25:41 -07:00
sched_result.h - API: remove BOINC_OPTIONS::worker_thread_stack_size 2008-12-19 18:14:02 +00:00
sched_score.cpp scheduler: make matchmaker scheduling the default 2014-07-08 12:35:45 -07:00
sched_score.h example app: print "starting" message after boinc_init, so that it appears in stdferr file 2013-12-10 14:00:31 -08:00
sched_send.cpp scheduler: preliminary support for generic coprocessors 2014-07-25 12:40:35 -07:00
sched_send.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_shmem.cpp server: fix compile warnings and file descriptor leaks 2014-01-08 22:00:13 -08:00
sched_shmem.h - Moved definitions of some scheduler paramerters from .cpp file to 2013-03-07 11:28:43 +01:00
sched_timezone.cpp server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00
sched_timezone.h - API: remove BOINC_OPTIONS::worker_thread_stack_size 2008-12-19 18:14:02 +00:00
sched_types.cpp scheduler and client: fix mechanism for exposing user CPID to GUI 2014-08-08 12:58:08 -07:00
sched_types.h scheduler: preliminary support for generic coprocessors 2014-07-25 12:40:35 -07:00
sched_util.cpp server: shuffle code so that the file upload handler doesn't need MySQL 2014-06-17 18:07:45 -07:00
sched_util.h server: shuffle code so that the file upload handler doesn't need MySQL 2014-06-17 18:07:45 -07:00
sched_util_basic.cpp server: shuffle code so that the file upload handler doesn't need MySQL 2014-06-17 18:07:45 -07:00
sched_util_basic.h server: shuffle code so that the file upload handler doesn't need MySQL 2014-06-17 18:07:45 -07:00
sched_version.cpp scheduler: preliminary support for generic coprocessors 2014-07-25 12:40:35 -07:00
sched_version.h - server: change the following from per-host to per-(host, app version): 2010-04-15 03:13:56 +00:00
show_shmem.cpp - server: change the following from per-host to per-(host, app version): 2010-04-15 03:13:56 +00:00
single_job_assimilator.cpp server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00
size_regulator.cpp Add support for multi-size apps 2013-04-25 00:27:35 -07:00
start server: 2014-06-03 09:25:13 +02:00
target_batch.cpp server: fix some compile warnings 2014-03-19 14:55:16 -07:00
testasm.py - server: improve the Python assimilator framework; 2009-06-12 03:06:01 +00:00
time_stats_log.cpp - server programs: print error message instead of numeric retval 2010-11-08 17:51:57 +00:00
time_stats_log.h - code shuffling 2009-08-10 04:56:46 +00:00
transitioner.cpp transitioner: don't exit if fail to find expected host_app_version record. 2014-07-10 20:51:46 -07:00
transitioner_catchup.php tweaks (fix comments, compile warnings) 2014-06-20 17:15:04 -07:00
trickle_credit.cpp - validator: add a --credit_from_runtime option. 2011-09-13 21:01:42 +00:00
trickle_deadline.cpp deadline-extension trickle handler: message tweaks 2013-11-11 13:24:09 -08:00
trickle_echo.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
trickle_handler.cpp trickle handler daemon: mark message as handled even if handler returns error. 2014-03-29 09:25:01 -07:00
trickle_handler.h - validator: add a --credit_from_runtime option. 2011-09-13 21:01:42 +00:00
update_stats.cpp - wrapper: tell the client when we checkpoint 2011-05-06 12:33:12 +00:00
validate_util.cpp server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00
validate_util.h - fix many problems with validator_test 2012-04-19 08:47:38 +00:00
validate_util2.cpp SCHED: modified scheduled log output to use unsigned format for WU and RESULT 2013-06-19 10:15:08 -07:00
validate_util2.h - server: create a harness for testing validator code. 2012-04-10 00:32:35 +00:00
validator.cpp scheduler: don't resent job if app is deprecated or user has de-selected it 2014-06-08 20:20:25 -07:00
validator.h server: add sample validator that checks for string in stderr 2014-03-18 19:12:13 -07:00
validator_test.cpp - fix many problems with validator_test 2012-04-19 08:47:38 +00:00
wu_check.cpp server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00