Commit Graph

95 Commits

Author SHA1 Message Date
barton26 1a19a3811f ClientGUI typos 2021-10-06 14:42:17 -04: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
davidpanderson 07dda83f2e Client and manager, Win: fix crashes and runtime warnings with VS2019
In VS2019, making CRT calls like printf after main.cpp() has returned
raises and exception.  Don't do this.

Also, there were some runtime warnings from WxWidgets about bad flags
for vertical spacers.  Fix these.
2020-06-03 22:39:57 -07:00
Vitalii Koshura 33f0c64a23
[Manager] Fix 'Next' button on previous pages after failed login
If while using Wizard try to login to the project with wrong credentials
'Next' button is disabled forever.
This is fixed by enaling 'Next' button on AccountInfoPageby default.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-05-29 00:52:21 +03:00
Vitalii Koshura af86bc8a54
Manager: Change back 'Forgot your account info?' to 'Forgot your password?'
This reverts #2197 pull request after the discussion on #1049.
Fixes #1049.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-11-21 02:20:32 +02:00
Vitalii Koshura a6a195e352
Manager: 'Add Project Wizard': Change label from 'Forgot your password?' to 'Forgot your account info?'
This fixes #1049.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-10-29 05:53:53 +02:00
Charlie Fenton 0a5381789d Manager: Fixes to allow building 64-bit application on Macintosh. 2017-10-20 18:27:29 +02:00
Rom Walton 05624e73d8 MGR: Make sure we populate the static control texts on either the 'next' or 'back' events. 2016-02-19 23:35:44 -05:00
Rom Walton 404020cd25 MGR: Make sure we use the correct string when we construct the min password length text, setting the static control to an empty string causes asserts among other things. 2015-12-11 18:21:22 -05: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
David Anderson d0fb0184e8 client/manager/server: finish LDAP support
- get_project_config.php: if project supports LDAP,
  advertise this to the client.
- Manager: if project supports LDAP, say "Email address or LDAP ID"
  in Attach Project wizard,
  and don't do email address validation.
- lookup_account GUI RPC (client side): if passing an LDAP ID,
  don't lowercase it, and don't hash passwd
- lookup_account GUI RPC (server side): if passing an LDAP ID,
  pass appropriate URL args to Web RPC
- lookup_account Web RPC: in LDAP case, pass "ldap_auth" arg,
  and pass "ldap_uid" and "passwd".
  Handle these appropriately.
2014-10-18 23:53:27 -07:00
David Anderson dfe1e5eb5d Manager: string tweaks
- Let's use "web site" instead of "website"
2013-11-17 12:29:11 -08:00
Rom Walton 0256ee32cb MGR: Only display an error dialog in the AccountInfo page if the sanity checks actually fail. 2013-11-15 17:05:12 -05:00
Charlie Fenton 5314522ac1 Merge commit '03cc6849c7d32f0028869a581ad03916ceb4d8b5' into charlief/wxwidgets30
# By David Anderson (617) and others
# Via Oliver Bock (56) and others
* commit '03cc6849c7d32f0028869a581ad03916ceb4d8b5': (1943 commits)
  remote job submission: add C++ interface to estimate_batch function
  translation stuff
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 1563 of 2856 strings translated (190 fuzzy).
  Commit from Pootle Demo by user admin.: 2741 of 2859 strings translated (45 fuzzy).
  Commit from Pootle Demo by user admin.: 1097 of 2859 strings translated (154 fuzzy).
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2831 of 2859 strings translated (1 fuzzy).
  Commit from Pootle Demo by user admin.: 1097 of 2859 strings translated (154 fuzzy).
  Commit from Pootle Demo by user admin.: 3158 of 3183 strings translated (2 fuzzy).
  client: Remove build environment changes that attempted to detect Android, it wasn't needed.
  client: fix Android OS detection
  client: only add the pthread libs if not linking for Android
  android: Bulk import of localization text
  android: Bulk import of localization text
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2817 of 2859 strings translated (4 fuzzy).
  Commit from Pootle Demo by user admin.: 2830 of 2859 strings translated (1 fuzzy).
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2741 of 2859 strings translated (95 fuzzy).
  ...

Conflicts:
	checkin_notes
	clientgui/AsyncRPC.cpp
	clientgui/BOINCGUIApp.cpp
	clientgui/DlgEventLog.cpp
	clientgui/DlgEventLogListCtrl.cpp
	clientgui/DlgEventLogListCtrl.h
	clientgui/MainDocument.cpp
	clientgui/NoticeListCtrl.cpp
	clientgui/mac/MacBitmapComboBox.cpp
	clientgui/mac/SetVersion.cpp
	clientgui/mac/templates/SystemMenu-Info.plist
	clientgui/sg_BoincSimpleFrame.cpp
	mac_build/boinc.xcodeproj/project.pbxproj
	win_build/example_app_multi_thread.vcproj
	win_build/gr_boinc_ss.vcproj
	win_build/sleeper.vcproj
	win_build/uc2.vcproj
	win_build/uc2_graphics.vcproj
	win_build/vboxwrapper.vcproj
	win_build/wrapper.vcproj
2013-10-22 03:53:45 -07:00
David Anderson 0c42225e28 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2
Conflicts:
	clientgui/AccountInfoPage.cpp
2013-08-26 11:19:43 -07:00
David Anderson 1429e8c3dc Manager: message tweaks 2013-08-26 11:18:01 -07:00
Rom Walton 2788770bc9 MGR: When a project uses usernames check the length of the string in the username control and not the password control. Same with the email address control. 2013-08-26 11:32:06 -04:00
Charlie Fenton 7d372d2803 Fix warnings of class or global variables shadowed by local variables or arguments 2013-07-29 01:31:09 -07:00
David Anderson 89ccacd589 Manager: show project name in account-info page 2013-05-16 11:00:07 -07:00
Charlie Fenton c5368a62d9 Mgr: Flush Manager settings to Windows Registry or user prefs when practical to do so 2013-04-30 04:35:45 -07:00
Rom Walton b3390d73fb MGR: Enforce a minimum username/email address length when we are prompting for a username or email address. 2013-04-15 15:35:32 -04:00
Charlie Fenton f21bf16545 Fix more bad wxFlexGridSizers, etc. in Attach Wizard, Advanced Preferences. Fix assert caused by Clear() of empty Project Categories wxComboBox. 2013-03-06 16:14:17 +01:00
David Anderson 878ec29353 - client: improve text of "message from server" notices
- manager: change "add account manager" to "use account manager".
		"Add" is confusing, because you can't add multiple account managers
		like you add projects.
	- client: recognize a few new ATI GPU models
		from Robert Kreß

svn path=/trunk/boinc/; revision=22843
2010-12-17 18:56:10 +00:00
David Anderson cbdb2a536b - manager: if attaching to existing account,
don't check min passwd length

svn path=/trunk/boinc/; revision=22600
2010-10-28 04:55:04 +00:00
David Anderson f6e9a3c0c1 - fix a few absolutely last messages with "attach", "detach"
svn path=/trunk/boinc/; revision=22462
2010-10-06 20:13:34 +00:00
Rom Walton 34b63a5e16 - MGR: Set the email text box validator to a simple text validator when
the project in question only supports usernames.
        
    clientgui/
        AccountInfoPage.cpp

svn path=/trunk/boinc/; revision=22265
2010-08-18 06:56:09 +00:00
Charlie Fenton 2a2acfa3e4 MGR: fix compiler warnings, some of which predict incorrect operation
svn path=/trunk/boinc/; revision=22106
2010-08-03 09:47:49 +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
David Anderson 852ab0444c - manager: change "Attach to project" to "Add project"
svn path=/trunk/boinc/; revision=22086
2010-08-01 03:37:17 +00:00
Rom Walton 303a640cae - MGR: wxHyperlinkCtrl doesn't accept an empty url and title
at the same time when building a debug build.
        
    clientgui/
        AccountInfoPage.cpp

svn path=/trunk/boinc/; revision=20007
2009-12-22 05:14:56 +00:00
Rom Walton 791040689d - MGR: Remove some old wxWidgets 2.4 cruft for dealing with Hyperlinks.
wxWidgets now natively supports them.
        
    clientgui/
        AccountInfoPage.cpp, .h
        AccountManagerInfoPage.cpp
        AdvancedFrame.cpp
        BOINCBaseFrame.cpp, .h
        BOINCGUI.cst (deleted)
        BOINCGUI.pjd (deleted)
        BOINCTaskBar.cpp
        BOINCWizards.h
        DlgAbout.cpp, .h
        DlgAdvPreferences.cpp
        DlgEventLog.cpp
        hyperlink.cpp, .h (deleted)
        ProjectInfoPage.cpp
        sg_BoincSimpleGUI.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        sg_ProjectsComponent.cpp
        sg_StatImageLoader.cpp
        stdwx.h
        ViewProjects.cpp
        ViewWork.cpp
        WelcomePage.cpp
        WizardAttachProject.cpp
    win_build/
        boinc_ss.vcproj
        boincmgr.vcproj
        libboinc_staticcrt.vcproj

svn path=/trunk/boinc/; revision=19982
2009-12-19 05:16:41 +00:00
Charlie Fenton 81f5437ef1 MGR: Attach Wizard's accessibility support ignores extra panels in several pages to improve clarity for disabled users
svn path=/trunk/boinc/; revision=19654
2009-11-19 11:58:35 +00:00
Rom Walton e7bb9b2a7c - MGR: Remove bitmap that is part of the Wizard.
clientgui/
        AccountInfoPage.cpp
        AccountManagerInfoPage.cpp
        AccountManagerProcessingPage.cpp
        AccountManagerPropertiesPage.cpp
        AlreadyExistsPage.cpp
        BOINCBaseWizard.cpp, .h
        CompletionErrorPage.cpp
        CompletionPage.cpp
        NoInternetConnectionPage.cpp
        NotDetectedPage.cpp
        NotFoundPage.cpp
        ProjectInfoPage.cpp
        ProjectProcessingPage.cpp
        ProjectPropertiesPage.cpp
        ProxyInfoPage.cpp
        ProxyPage.cpp
        TermsOfUsePage.cpp
        UnavailablePage.cpp
        WelcomePage.cpp
        WizardAttachProject.cpp
        wizardex.cpp, .h
    win_build/
        boincmgr.vcproj

svn path=/trunk/boinc/; revision=19588
2009-11-17 19:19:50 +00:00
Rom Walton 7f7cb4a41a - MGR: Make the Account Manager Properties page and the Project
Properties page the start for all automated wizard processes
        so that we can successfully handle the need to check for
        proxy servers.  When directly advancing to the Processing
        pages the proxy server checks were being skipped.
    - MGR: Add some more smarts to the terms of use page which should
        advance to the processing pages and skip the Account Info
        page when the desired credentials are already known.

    clientgui/
        AccountInfoPage.cpp
        AccountManagerPropertiesPage.cpp, .h
        ProjectPropertiesPage.cpp, .h
        TermsOfUsePage.cpp, .h
        WelcomePage.cpp
        WizardAttachProject.cpp

svn path=/trunk/boinc/; revision=18464
2009-06-19 16:30:08 +00:00
Rom Walton cf8e4c5e89 - MGR: Massive wizard cleanup
- Remove diagnostic framework, it wasn't being used anymore
            and basically cluttered things up.
        - Remove the notion of the Account Manager Remove wizard,
            it hasn't ever been used.
        - Simplify the welcome page
        - Trim down the height of the wizard by hiding the new
            cookie controls on the Account Info page.  The wizard
            needs to stay compatible with small displays.
    - MGR: Only display the 'This is not a BOINC project' on an
        HTTP 404 error.  For a gethostbyname, xml parsing, and
        socket connect error display the 'project is temporarly
        unavailable'.
        
    clientgui/
        AccountInfoPage.cpp
        AccountManagerInfoPage.cpp
        AccountManagerProcessingPage.cpp
        AccountManagerPropertiesPage.cpp
        BOINCBaseWizard.cpp, .h
        BOINCWizards.h
        CompletionPage.cpp
        ProjectInfoPage.cpp
        ProjectListCtrl.cpp
        ProjectProcessingPage.cpp
        ProjectPropertiesPage.cpp, .h
        UnavailablePage.cpp
        WelcomePage.cpp, .h
        WizardAttachProject.cpp

svn path=/trunk/boinc/; revision=18456
2009-06-19 06:42:36 +00:00
Charlie Fenton 741e2a8476 Mac: uninstaller doesn't delete data; fixes for PTP installer
svn path=/trunk/boinc/; revision=18405
2009-06-13 00:54:29 +00:00
Rom Walton 674437a3bc - MGR: Introduce the cookie detection failure URL to the
acct_mgr_logon.xml file. If the cookies cannot be found provide
        a hyperlink control on the AcctountInfo page in the wizard
        which will point to a fallback URL the user can go to to
        find out what logon credentials to use.
        
    client/
        acct_mgr.cpp, .h
        gui_rpc_server_ops.cpp
    clientgui/
        AccountInfoPage.cpp, .h
        BOINCWizards.h
        WizardAttachProject.cpp, .h
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=18400
2009-06-12 21:34:33 +00:00
Rom Walton 06da777ef5 - MGR: Introduce the notion of a Return URL to the attach to
account manager wizard.  When successfully attached the
        account manager can have the manager launch a browser to
        a given URL by way of a cookie. It only works if the logon
        credentials were also given to the manager by way of a cookie.
        
    clientgui/
        AccountInfoPage.cpp
        AccountManagerProcessingPage.cpp
        browser.cpp, .h
        CompletionPage.cpp
        WizardAttachProject.cpp, .h

svn path=/trunk/boinc/; revision=18399
2009-06-12 17:50:03 +00:00
Rom Walton 689bfc61bd - MGR: Accept Unicode input for usernames and password in the
manager now that the manager is Unicode enabled.  Input will
        show up as UTF-8 strings in the CC and project.
        
        Fixes #452
        
    clientgui/
        AccountInfoPage.cpp
        AccountManagerInfoPage.cpp
        ProjectInfoPage.cpp

svn path=/trunk/boinc/; revision=18291
2009-06-04 05:48:01 +00:00
David Anderson a2f8cb66f2 - manager: compile fix
svn path=/trunk/boinc/; revision=18281
2009-06-03 22:05:55 +00:00
Charlie Fenton 6e527a0891 MGR: finish changes to combined attach wizard
svn path=/trunk/boinc/; revision=18273
2009-06-03 08:59:24 +00:00
Charlie Fenton d07db51551 MGR: cosmetic changes to combined attach wizard, partial fix to "Forgot password" link for accoount managers
svn path=/trunk/boinc/; revision=18272
2009-06-03 04:01:29 +00:00
Charlie Fenton c7970d19ef MGR: Finish merging "Attach to account manager" functionality into "Attach to project" wizard
svn path=/trunk/boinc/; revision=18112
2009-05-15 08:21:04 +00:00
Charlie Fenton 8d8bf6f0c0 MGR: Merge "Attach to account manager" functionality into "Attach to project" wizard; Synchronize and Remove Acct Mgr not yet merged.
svn path=/trunk/boinc/; revision=18088
2009-05-13 12:42:05 +00:00
Rom Walton 809adc7e68 - MGR: Save and Restore the last email address/user id used to attach
to a project or account manager
    
    clientgui/
        AccountInfoPage.cpp

svn path=/trunk/boinc/; revision=17068
2009-01-29 15:44:45 +00:00
Rom Walton 08a41ed986 - MGR: Remove the Account Key page from the Wizard.
- MGR: Add a Terms of Use page to the Wizard.
    
    clientgui/
        AccountInfoPage.cpp
        AccountKeyPage.cpp, .h (removed)
        AccountManagerPropertiesPage.cpp, .h
        BOINCWizards.h
        ProjectProcessingPage.cpp
        ProjectPropertiesPage.cpp, .h
        ProxyPage.cpp
        TermsOfUsePage .cpp, .h (added)
        WizardAccountManager.cpp, .h
        WizardAttachProject.cpp, .h
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=16560
2008-11-25 22:58:14 +00:00
Charlie Fenton f3146210d7 MGR: async GUI RPCs: Create SafeMessageBox function to suspend periodic RPCs during modal dialogs
svn path=/trunk/boinc/; revision=15901
2008-08-20 16:07:06 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
Eric J. Korpela 47ff3d9bd4 Fix for compilers that can't concatenate a normal character string
to a wide character string.  For example L"Hi "  "There" works in GCC
but not in some compilers because L"Hi " has a different type than
"There". This primarily shows up in SunStudio compilers.  The fix is
ugly, but it works.


svn path=/trunk/boinc/; revision=15568
2008-07-08 20:05:07 +00:00