| 22 | | * Visit the account manager site, set up a 'meta-account' (name, email, password), |
| 23 | | browse a list of projects, and click checkboxes to select projects. |
| 24 | | * Download and install the BOINC client software from the account manager. |
| 25 | | * Enter the meta-account name and password in a BOINC client dialog. |
| | 22 | * Visit the account manager site, set up a 'meta-account' (name, email, password), |
| | 23 | browse a list of projects, and click checkboxes to select projects. |
| | 24 | * Download and install the BOINC client software from the account manager. |
| | 25 | * Enter the meta-account name and password in a BOINC client dialog. |
| 35 | | 1. The participant sets up his meta-account and selects projects. |
| 36 | | 2. The account manager issues a create account RPC to each selected project. |
| 37 | | 3. the participant downloads and installs the BOINC client software from the account manager. |
| 38 | | The install package includes a file (specific to the account manager) containing the URL of the account manager. |
| 39 | | 4. The BOINC client runs, and asks the participant to enter the name and password of his meta-account. |
| 40 | | 5. The BOINC client does an RPC to the account manager, obtaining a list of accounts. |
| 41 | | It then attaches to these accounts and proceeds. |
| | 35 | 1. The participant sets up his meta-account and selects projects. |
| | 36 | 2. The account manager issues a create account RPC to each selected project. |
| | 37 | 3. the participant downloads and installs the BOINC client software from the account manager. |
| | 38 | The install package includes a file (specific to the account manager) containing the URL of the account manager. |
| | 39 | 4. The BOINC client runs, and asks the participant to enter the name and password of his meta-account. |
| | 40 | 5. The BOINC client does an RPC to the account manager, obtaining a list of accounts. |
| | 41 | It then attaches to these accounts and proceeds. |
| 288 | | * Maintain a host table with columns |
| 289 | | * user ID |
| 290 | | * project ID |
| 291 | | * DBID |
| 292 | | * CPID |
| 293 | | * On each account manager RPC, for each reported project, |
| 294 | | look up (user ID, project ID, DBID) in the host table (where 'DBID' is the one passed in the RPC request). |
| 295 | | If no record is found, create one. In any case, update the record with the CPID from the RPC request. |
| 296 | | * To show the user a list of their hosts, with current per-project credit: |
| 297 | | do a show_user.php RPC to each project to get a list of hosts. |
| 298 | | Update the corresponding records in the host table, based on the DBIDs returned by show_user.php. |
| 299 | | Delete any host table entries for this user/project that don't appear in the RPC reply. |
| 300 | | Ignore the CPIDs returned by the show_user RPC (they may not be consistent). |
| 301 | | Then do a query on the host table, grouping by CPID. |
| | 286 | * Maintain a host table with columns |
| | 287 | * user ID |
| | 288 | * project ID |
| | 289 | * DBID |
| | 290 | * CPID |
| | 291 | * On each account manager RPC, for each reported project, |
| | 292 | look up (user ID, project ID, DBID) in the host table (where 'DBID' is the one passed in the RPC request). |
| | 293 | If no record is found, create one. In any case, update the record with the CPID from the RPC request. |
| | 294 | * To show the user a list of their hosts, with current per-project credit: |
| | 295 | do a show_user.php RPC to each project to get a list of hosts. |
| | 296 | Update the corresponding records in the host table, based on the DBIDs returned by show_user.php. |
| | 297 | Delete any host table entries for this user/project that don't appear in the RPC reply. |
| | 298 | Ignore the CPIDs returned by the show_user RPC (they may not be consistent). |
| | 299 | Then do a query on the host table, grouping by CPID. |