Changes between Version 3 and Version 4 of SimpleAttach
- Timestamp:
- Jan 6, 2015, 10:33:35 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SimpleAttach
v3 v4 1 1 [[PageOutline]] 2 = Improved attachprocess =2 = Simplified registration/download process = 3 3 4 This document proposes changes to the process by which volunteers attach to projects. 4 This document proposes changes to the process by which volunteers 5 download BOINC and attach to projects. 5 6 6 7 == Current attach process == … … 37 38 Problems with this design: 38 39 39 * In each case there are a lot ofsteps, and we lose a fraction of volunteers at each step.40 * In each case there are many steps, and we lose a fraction of volunteers at each step. 40 41 * If the computer is of a type for which the project has no apps, 41 42 the user doesn't learn this until BOINC has already been installed. 42 43 Ideally they should learn this immediately. 43 * I t doesn't take into account whether the project uses !VirtualBox.44 If it does,the user should be required to download BOINC+VBox.44 * If the project requires !VirtualBox, 45 the user should be required to download BOINC+VBox. 45 46 * The scheme applies to non-Android computers. 46 For Android users the process is similar, except that BOINC must be downloaded from47 the Google or Amazon app store.47 For Android users the process is similar, 48 except that BOINC must be downloaded from the Google or Amazon app store. 48 49 The standard project front page says nothing about Android. 49 50 … … 52 53 == Project front page == 53 54 54 If the user's computer is of a type for which the project has no apps, 55 they see a message like 56 57 '''This project doesn't currently support Mac OS X computers. 58 A list of supported computer types is [here].''' 55 The project front page has a "Join" button, linked to a page described below. 59 56 60 57 === Android case === 61 58 62 For Android devices, the front page says 59 On the Join page: 60 if project has no Android apps, show a message like 61 62 '''This project doesn't currently support Android devices 63 A list of supported computer types is [here].''' 64 65 Otherwise show: 63 66 64 67 * '''[Download BOINC]''' (link to Google or Amazon app store) 65 68 * '''Open BOINC, select Add Project, and choose (project name)''' 66 69 70 Note: we can probably improve this. 71 67 72 === Non-Android case === 68 73 69 For non-Android computers, the front page says:74 Join page: 70 75 71 * '''To participate, the BOINC software must be installed.''' 72 * (big green button): '''Join (install BOINC)''' 73 * (smaller text): '''If BOINC is already installed, click [here]''' 76 if the project has no app versions for the platform, show 74 77 75 If the project has VBox apps for this platform, the above is replaced with 78 '''This project doesn't currently X computers. 79 The supported computer types are: xxx" 76 80 77 * '''To participate, the BOINC and !VirtualBox software must be installed.''' 78 * (big green button): '''Join (install BOINC and !VirtualBox)''' 79 * (smaller text): '''If BOINC and !VirtualBox are already installed, click [here]''' 81 Otherwise show a create account / login page: 80 82 81 For new volunteers, the process is: 83 * Create account: please enter your email address and a password. 84 * If you already have an account, please log in (links for forgot passwd etc.) 82 85 83 1. Visit project web site, click on '''Join (install BOINC)'''. 84 Download happens, browser remains on project web site (see below). 85 Possibly (depending on OS/browser) goes to a page describing how to 86 run the installer after download is done. 87 1. When download is done, click on installer. 88 1. Click on Defaults in installer 89 1. Manager runs and brings up Attach wizard at the "enter email/password" page; 90 no need to select project etc. 91 This page also has name/info of project. 92 Enter email/password. 86 On completion, show a "download page": 93 87 94 Existing volunteers click on the "already installed" link, 95 and see a page telling them to open the BOINC Manager and select Add Project. 88 * To participate in X, your computer must have BOINC (and VBox) installed. 89 * [Download BOINC (and VBox)] (link to concierge.php). 90 This goes to a page explaining how to install after download. 91 * [BOINC (and VBox) are already installed]. 92 This goes to a page saying to open the Manager and select Add Project. 93 94 So for new volunteers, the process is: 95 96 1. Visit project web site, click on '''Join". 97 1. Enter email/passwd 98 1. Click Download 99 1. Click on installer, choose defaults 100 1. Manager runs, brings up dialog showing project and account info, 101 asks for confirmation. 96 102 97 103 === What projects must do === … … 103 109 In the home page: 104 110 105 * Call '''browser_platform_supported()'''. 106 If this returns false, show the "platform not supported" text, 107 and link to '''supported_platforms.php'''. 108 * Call '''join_button()''' as: 109 {{{ 110 list($url, $text) = join_button(); 111 }}} 112 and display a button linking to the returned URL. 113 '''$text''' is either "BOINC" or "BOINC and !VirtualBox". 114 * Show the "already installed" link, pointing to '''attach.php'''. 111 * put a button linking to join.php 115 112 116 113 == Implementation == 117 114 118 === '''browser_platform_supported()''' === 119 120 This gets the platform from the user agent string, 115 Join page: 116 get the platform from the user agent string, 121 117 then finds the supported platforms by enumerating 122 118 the app_version and platform tables. 123 119 124 === join_button() === 125 126 This extracts from config.xml: 120 Download page: extract from config.xml: 127 121 * the master URL 128 122 * the project name … … 130 124 * the project institution 131 125 132 It seeswhether VBox is used by enumerating the app_version table.126 See whether VBox is used by enumerating the app_version table. 133 127 134 128 These data are passed as URL args to a URL on the BOINC web server (concierge.php). … … 169 163 If this is present, it puts up the Attach Wizard, 170 164 at the email/password page. 171 172 == Comments ==173 174 There are actually four scenarios, corresponding to:175 176 1. Whether the user has installed BOINC on the computer.177 1. Whether the user has an account on this project.178 179 This design is geared to the cases where 2 is false.180 We should handle the other cases as well.181