Commit Graph

43 Commits

Author SHA1 Message Date
davidpanderson 8b852cb2c9 Win code cleanup; no functional changes
Platform-wide #defines belong in .h files, not .cpp
Also fixed a couple of compiler warnings.
2020-08-31 13:56:15 -07:00
davidpanderson d754c09d47 client: if project_init.xml specifies project and account, attach to it
without involving the Manager.
2020-08-20 17:49:29 -07:00
davidpanderson 75f463aa2a Manager: clean up "Welcome page" 2020-08-01 21:23:49 -07:00
David Anderson 5726e700a7 Manager: remove cookie-based autoattach schemes
A long time ago we tried auto-attach schemes (project and AM)
where web sites sent cookies with account info,
and the manager looked for these.
We dropped this idea because browsers kept changing how they stored cookies,
and we couldn't keep up.

Remove this code.  Also, we no longer need sqlite anywhere.
2020-06-14 15:23:48 -07:00
Juha Sointusalo c5e4eca3af client,mgr: pass on consent to terms to project
Let the project know that the user consented to the project's terms of
use when a new account is created for the user. The project can record
the consent for GDPR compliance.
2018-11-21 00:12:32 +02:00
Charlie Fenton 0266fae8c8 Mgr: Fix code to restore lost support for <title> tag under <attach_to_account_manager> tag in skin, so that the Attach to Project Wizard and Attach to Account Manager Wizard dialogs can have different titles 2018-07-03 21:49:11 -07:00
Vitalii Koshura baf51fa685 Fix issue #1510: MGR: Ensure start page is in page stack when launching in auto-attach mode 2016-09-26 01:17:40 +03:00
Rom Walton 9f640d5645 MGR: Fix-up the previous attempt to push the account info page on the stack and reduce the complexity of the page transition mechanism now that we only have one wizard. 2016-02-19 23:26:53 -05:00
Rom Walton 62d38d3d3c MGR: Bring up the attach wizard project welcome page if the project url has been tampered with by the installer.
If the project URL is embedded in the installer via project_init.xml (and presumably code-signed by somebody) we can allow the software to automatically attach to that project with a setup cookie or authenticator.  If somebody attempts to use that installer for another project, we need to make sure the volunteer knows which project the client is going to attempt to attach to.
2016-02-19 11:02:53 -05:00
Rom Walton 6beafff693 WCG: New feature 'cookieless installs'
See: http://boinc.berkeley.edu/trac/wiki/SimpleAttach#CookielessInstalls

Signed-off-by: Rom Walton <romw@romwnet.org>
2016-02-08 15:51:33 -05:00
Rom Walton d3d57cae99 MGR: Prevent the 'back' button from being enabled on the project and account manager info pages. 2015-05-01 12:31:44 -04:00
Rom Walton a879de776a MGR: Bug fixes for previous wizard changes. 2015-04-29 16:18:55 -04:00
Rom Walton 2d8fd11fac MGR: Remove welcome page from wizard and split the attach wizard into two menu items. 2015-04-27 19:00:15 -04:00
David Anderson 5ef03c7553 manager, VDA: fix some cppcheck warnings (from Julien Nabet) 2015-01-15 13:10:34 -08:00
Rom Walton 4aef6a2126 MGR: Reduce confusion in the attach wizard by making CWizardAttach the authoritative source for project and account information. 2015-01-12 15:08:36 -05:00
Rom Walton dadf68977d MGR: On connecting to the CC, check to see if we have any simple attach cookies. If found we should launch the attach wizard to attach to the project. 2014-12-01 13:20:55 -05:00
David Anderson ae8b014d71 Manager: add more info to simple attach page 2014-10-05 21:07:24 +02:00
Rom Walton 525e25241b MGR: Add check for the "attach_known" cookie used by the 1-click attach mechanism 2014-10-05 19:30:33 +02:00
David Anderson 4111661d2c Manager: in simple attach, get inst and desc cookies also 2014-10-05 19:25:34 +02:00
Rom Walton d549682e87 MGR: Finish skeleton 1 click attach functionality. Final text TBD. 2014-10-04 17:25:53 +02:00
Rom Walton 65ea84546e MGR: Remove validator resets when cancel is pressed, apparently it is no longer needed. 2014-04-08 17:03:29 -04:00
Rom Walton 3bceafe8af MGR: Re-enable cancel confirmation dialog in the wizard. 2014-04-08 16:37:39 -04:00
Charlie Fenton ade41889a4 MGR: Fix some errors in Attach Wizard 2014-04-08 02:56:56 -07:00
Charlie Fenton 6fc68e94ae MGR: Use only native controls in AccountManagerInfoPage so it is accessible.
- The custom CProjectListCtrl was difficult to make accessible under wxCocoa
- The descriptions were only in the tooltips and so were not accessible to screen readers, etc.
- Using wxListBox greatly simplifies the code
2013-10-23 04:49:43 -07:00
Rom Walton baff4f554b MGR: Align the sync with account manager functionality with the attach to account manager functionality with regards to account manager name location. Currently to print random stack stuff on the completion page. 2013-08-23 14:02:58 -04:00
Kevin Reed c7de1efaf5 Fix bug in WCG version of client when using the project_init.xml
file it initiate auto-attach to World Community Grid.
2013-04-10 09:52:24 -05:00
David Anderson f431c28c16 - Manager: fix build breaks on Win. You can't just say "#elif". 2013-03-15 13:38:44 +01:00
Kevin Reed a9f62ce5fc Modify the GUI for the Attach to Project Wizard for the World Community Grid
version of the client.  These changes should make clearer the difference
between attaching to a new BOINC project vs changing which applications a
user is choosing to run at World Community Grid.
2013-03-15 13:38:44 +01:00
Rom Walton b0706d702f MGR: Properly handle the back button on the wizard page that asks for credentials. We'll need to revisit this issue for cookie and automatic attach situations though. 2013-03-05 14:52:38 +01:00
Charlie Fenton 1085c5ab86 MGR: Continue partial fix for wizard problem when a client automatically attempts to attach to an account manager via cookies
svn path=/trunk/boinc/; revision=24835
2011-12-20 11:49:12 +00:00
Rom Walton aaade7b57d - MGR: Partial fix for wizard problem when a client automatically attempts to attach
to an account manager via cookies.  This fix is good enough for the 6.8 client.
        We'll need to do a little more for 7.x and beyond.
        
    clientgui/
        WizardAttach.cpp

svn path=/trunk/boinc/; revision=24827
2011-12-19 22:16:49 +00:00
Rom Walton 778ab31ea2 - MGR: Update the project list in the wizard to make use
of more of the information contained in the all projects
        list and also make it more accessible than the previous
        implementation.
        
    clientgui/
        ProjectInfoPage.cpp, .h
        WizardAttach.cpp, .h
    clientgui/res/
        linuxicon.xpm
        macosicon.xpm
        windowsicon.xpm
    clientgui/res/skins/default/graphic/
        advanced_link_image.xpm
    win_build/
        libboinc.vcproj
        libboincapi_staticcrt.vcproj

svn path=/trunk/boinc/; revision=23727
2011-06-15 21:00:02 +00:00
Rom Walton 79f9ad8866 - MGR: Prepopulate both the username field and the email address
field with the cookie information since we do not know ahead
        of time which format the account manager uses.  Once the
        get_project_config RPC has completed, we'll know which one
        is the correct one.
        
    clientgui/
        WizardAttach.cpp

svn path=/trunk/boinc/; revision=23557
2011-05-17 23:48:25 +00:00
Rom Walton f696d90893 - MGR: Remove UserDisagreesPage from the wizard, replace functionality
by enabling/disabling the next button as needed.
    - MGR: Fix a couple of warnings.

    clientgui/
        sg_CustomControls.cpp
        sg_DlgMessages.cpp
        TermsOfUsePage.cpp
        UserDisagreesPage.cpp, .h (Deleted)
        WizardAttach.cpp, .h

svn path=/trunk/boinc/; revision=23293
2011-03-29 19:28:27 +00:00
Charlie Fenton 46ae89b7f4 MGR: Add a new page to Attach Wizard to be displayed if the user rejects the Terms of Use
svn path=/trunk/boinc/; revision=23225
2011-03-11 12:34:59 +00:00
Charlie Fenton 77773a81f8 MGR: Add a new page to Attach Wizard to display if user reject Terms of Use
svn path=/trunk/boinc/; revision=23218
2011-03-11 11:52:04 +00:00
Rom Walton a373ae12db - MGR: In the future I need to be more careful when I flatten a
class hierarchy. I broke the ability to get the latest
        project configuration from account managers. Fix that.
        
    clientgui/
        WizardAttach.cpp

svn path=/trunk/boinc/; revision=22257
2010-08-17 18:39:33 +00:00
Rom Walton 0495e392cc - MGR: Don't allow the Create function of the Wizard to be called twice,
it'll basically lead to both an assert and a memory leak.
    - MGR: Don't create the wizard unless we are going to use it.
        
    clientgui/
        AdvancedFrame.cpp
        sg_BoincSimpleGUI.cpp
        WizardAttach.cpp

svn path=/trunk/boinc/; revision=22194
2010-08-11 17:05:18 +00:00
Rom Walton bf2712ed15 - MGR: Possible fix for vtable reference issue.
clientgui/
        WizardAttach.cpp, .h


svn path=/trunk/boinc/; revision=22179
2010-08-10 19:37:03 +00:00
Rom Walton 870564fdb0 - MGR: Possible fix for vtable reference issue.
clientgui/
        WizardAttach.cpp, .h


svn path=/trunk/boinc/; revision=22178
2010-08-10 19:30:58 +00:00
Rom Walton 6e2ffcf6ac Quick Updates
svn path=/trunk/boinc/; revision=22177
2010-08-10 19:19:13 +00:00
Rom Walton 7f053ac240 - MGR: Possible fix for vtable reference issue.
clientgui/
        WizardAttach.h

svn path=/trunk/boinc/; revision=22176
2010-08-10 19:10:24 +00:00
Rom Walton 6a2d7a88e3 - MGR: Remove any remaining hints that their were two wizards at one time.
- MGR: Save the username and email address in different places in the
        registry
    
    clientgui/
        <Various Wizard Files>

svn path=/trunk/boinc/; revision=22092
2010-08-02 16:01:09 +00:00