7.4.14

Aus BC-Wiki
Zur Navigation springen Zur Suche springen

7x

  • 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.client: set work requests for coprocs specified in cc_config.xml. We weren't copying the request fields from RSC_WORK_FETCH to COPROC. Do this, and clean up the code a bit. Note: the arrays that parallel the COPROCS::coprocs array are a bit of a kludge; that stuff logically belongs in COPROC. But it's specific to the client, so I can't put it there. Maybe I could do something fancy with derived classes, not sure.
  • Manager: use same color scheme for statistics as for disk usage
  • Manager: color tweak