Commit Graph

68 Commits

Author SHA1 Message Date
barton26 1a19a3811f ClientGUI typos 2021-10-06 14:42:17 -04: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
Christian Beer 818a40f4d5 Manager: remove extra whitespace 2018-01-29 21:08:50 +01:00
Christian Beer 27bb3c9e89 Manager: support wxWidgets without webview component
This is a combination of contributions by Jan Engelhardt (#2093) and Olly Betts (https://anonscm.debian.org/cgit/pkg-boinc/boinc.git/commit/?id=60f4cd232522db0750b2dff56bd327dc44a51534) to make the Manager work without webview support. This is mainly needed for Linux distributions that are migrating to a newer webkitgtk library.
2018-01-29 21:08:50 +01:00
Charlie Fenton 96be5aca48 MGR: Fix notices display under Mac OS 10.12.4 2017-04-09 02:50:11 -07:00
Rom Walton 114ff72111 MGR: Remove references to target="_blank" from notices, it causes a failure to fire our own event handler when the link is clicked. 2014-08-22 19:25:34 -04:00
Rom Walton b6510c3b40 MGR: Do not skip an HTML link clicked event that we are also trying to veto. 2014-05-06 00:06:24 -04:00
Rom Walton b8a7d0e9d3 MGR: Make the HTML page we inject notices into a valid HTML page 2014-05-06 00:02:35 -04:00
David Anderson 3aa9ae0e16 Manager: display notices in Helvetica font; message tweak 2014-01-14 23:30:08 -08:00
Charlie Fenton 03e039357b MGR: Fix compile break on Mac 2013-11-12 03:45:39 -08:00
Charlie Fenton 4ed5476f25 MGR: Fixes for wxWebView-based notices:
- Fix protocol-relative URLs under MS Windows
 - Put dividers between notices, but not before first or after last
2013-11-12 03:23:26 -08:00
Charlie Fenton 18e1c72561 MGR: Fix “more…” links in wxWebView-based Notices 2013-11-11 07:35:31 -08:00
Charlie Fenton 82d7c575a1 MGR: Rewrite Notices (Advanced and Simple Views) to use wxWebView (in progress) 2013-11-11 06:36:30 -08:00
Charlie Fenton 06dff8df7b MMGR: Implement accessibility on Mac for Statistics and Disk (Resources) tabs
- CPaintStatistics class
 - wxPieCtrl class
 - Remove obsolete accessibility code
2013-10-24 05:49:59 -07:00
Charlie Fenton d8fdda9f91 MGR: Fix errors from previous merge of master into into charlief/wxwidgets30 branch 2013-10-22 03:56:48 -07: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 afdfc215d7 Manager: remove the last call to https_to_https() 2013-07-18 12:41:36 -07:00
Rom Walton ce77d0623f MGR: Support following HTTP and HTTPS links. We just launch a browser anyway. 2013-07-18 15:31:52 -04:00
David Anderson 30f0f67b3d Manager: change https:// to http:// in notices; the WxWidgets HTML renderer doesn't handle https://
Programming styles notes:
- string utility functions shouldn't be members of MainDocument.cpp
- don't overload features into 1 function; use separate functions
- use descriptive names rather than "clean", "sanitize" etc.
- use void for functions that don't return anything
- if you copy and paste code, fix the comments
2013-07-18 11:30:24 -07:00
Charlie Fenton 8e21e028e3 MGR: Fix build break. 2013-06-14 04:54:46 -07:00
Rom Walton 21349c19c0 MGR: Use the skin's application short name instead of 'BOINC' for notices from the client.
MGR: Remove potential buffer overrun.
2013-06-14 00:28:14 -04:00
David Anderson 78f7610f6e remove dependency of boinc_api.h on str_replace.h (and hence config.h)
Any files that use strlcpy() or strlcat() must directly include str_replace.h
2013-06-06 17:31:46 -07:00
David Anderson 846b8c7757 all components: change strcpy() to strlcpy() when possible.
This commit should cover the client and manager code.
2013-06-03 20:24:48 -07:00
Charlie Fenton 4a9f81d6ce MGR: clear Simple View Notices when disconnected and don't display "Fetching notices" until connected to client 2013-03-05 13:33:27 +01:00
Charlie Fenton c3ed0d8103 MGR: when selecting a new client, clear Notices tab and don't display "Fetching notices" until connected to new client 2013-03-05 13:33:27 +01:00
Charlie Fenton c399b24e1f Fix file permissions 2013-03-04 17:46:54 +01:00
Charlie Fenton 0cbbfc68e5 Mgr: When closing Simple View notices, wait for all Async Internet access to complete before calling the notices panel destructor 2013-03-04 17:24:18 +01:00
Charlie Fenton cfe37e985e Mgr: Add all the new notices features to the Simple View notices dialog 2013-03-04 17:24:18 +01:00
Charlie Fenton 7b931b5232 Mgr: Display a message and "Retry now" button if some images or other items within notices failed to load from the Internet; if network activity is suspended, say so in the message 2013-03-04 17:24:17 +01:00
Charlie Fenton d95bf6945a Mgr: Clear our internal Internet cache when selecting a different computer; when removing entries from hash table, delete data to avoid memory leaks 2013-03-04 17:24:17 +01:00
Charlie Fenton b37c720661 Mgr: Display "Fetching notices..." instead of "There are no notices" while getting notices. Display "There are no notices" only if we have actually determined there are no notices 2013-03-04 17:19:40 +01:00
Charlie Fenton d90d77a9c0 Mgr: More robust way to display "No notices" message 2013-03-04 17:19:39 +01:00
Charlie Fenton 8749a08804 Mgr: Fix delay displaying notices 2013-03-04 17:19:39 +01:00
Charlie Fenton 2d78d37328 Fix corrupted line endings 2013-03-04 15:23:37 +01:00
Charlie Fenton fdaaddb76a Mgr: Fix some rare issues on Windows (including a possible memory leak) when switching to a client on a different computer after trying to display notices without an Internet connection 2013-03-04 15:23:37 +01:00
Rom Walton 243dc79b52 wxWidgets 2.9/3.0 changes 2013-02-04 13:03:49 -05:00
David Anderson 81ca21c828 - manager: show notice create time rather than arrival time
- client: don't show "need network" notice if we don't need it

svn path=/trunk/boinc/; revision=23133
2011-03-02 18:53:18 +00:00
Rom Walton e05d9ff77c - MGR: Properly handle the case where the only notice in the manager
is the 'no notice' notice and then we transition to a single notice
        from another source.

    clientgui/
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=23132
2011-03-02 18:47:24 +00:00
David Anderson a7c51c6340 - client and manager: fix notice titles
- code cleanup: please use standard coding conventions

svn path=/trunk/boinc/; revision=22607
2010-10-29 18:58:26 +00:00
Rom Walton 8f58adc057 - MGR: Add missing keyboard shortcut for the Event Log
- MGR: Add missing ellipses for the new instance of BOINC Manager and
        Event Log.
    - MGR: Display a simple message when saying that there are no notices
        to be displayed when the client reports there are zero notices.

    clientgui/
        AdvancedFrame.cpp
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22558
2010-10-19 19:28:29 +00:00
Charlie Fenton 945470d3ba - MGR: Allow Notices tab to scroll smoothly, disallow selection of items in Notices tab
svn path=/trunk/boinc/; revision=22242
2010-08-15 14:17:01 +00:00
Charlie Fenton ac21aca5fa MGR: clear notices display when selecting a different host to force display of new host's notices
svn path=/trunk/boinc/; revision=22105
2010-08-03 09:17:39 +00:00
Rom Walton 0ab3ef3cee - MGR: Take another stab at the z-order problem when both the event log
and main window are open.
    - MGR: Don't replace control characters for regular messages.
    
    clientgui/
        BOINCGUIApp.cpp, .h
        DlgEventLog.cpp
        MainDocument.cpp, .h
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22054
2010-07-23 23:42:25 +00:00
Rom Walton 7e8ca91dc5 - MGR: Enable the manager to be able to deal with any size notice.
clientgui/
        DlgEventLog.cpp
        MainDocument.cpp, .h
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22053
2010-07-23 22:57:54 +00:00
David Anderson 6b8a569d6d - client/scheduler: fix a group of bugs related to the new mechanism
where the client tells the scheduler which app versions
    its queued jobs use
    (this is needed, e.g., to enforce per-app or per-resource job limits).
    In this mechanism, the client sends an array of <app_version>s,
    and each <other_result> includes an index into this array.

    - The wrong index was being sent (client).
    - If an <app_version> had a non-existent app name
        (e.g. because that app had been deprecated)
        it wasn't getting put in the array, invalidating array indices
        Furthermore, an erroneous message was being sent to the user

        Fix: if parse error for <app_version>,
        put it in the array anyway, but with cav.app = NULL,
        meaning that it's a place-holder.
        Send a message to user only if anon platform.

- manager: increase notice buffers to 64K

svn path=/trunk/boinc/; revision=22052
2010-07-23 17:43:20 +00:00
Rom Walton e30a71b8e3 - MGR: Add some padding to each notice.
clientgui/
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22043
2010-07-22 22:00:15 +00:00
David Anderson ef044d6841 - client/manager: add the ability to associate URLs with
client-generated notices.
    Use this as appropriate: e.g., for errors about cc_config.xml syntax,
    direct user to the web page describing this syntax.

svn path=/trunk/boinc/; revision=22024
2010-07-21 19:04:46 +00:00
David Anderson a33d6a6f8b - client: don't do two RSS fetches at once
- manager: WxWidget's HTML renderer doesn't seem to like \n's.
		For example, if you try to render
			foo
			<img src=...>
			blah
		all it shows is foo.
		Work around this by replacing \n's with <br>

svn path=/trunk/boinc/; revision=22017
2010-07-20 23:13:26 +00:00
Charlie Fenton 8f0632f5c0 MGR: Add a comment
svn path=/trunk/boinc/; revision=21890
2010-07-10 08:02:00 +00:00
Charlie Fenton 994f17933d MGR: More code cleanup, optimization and bug fixes
svn path=/trunk/boinc/; revision=21889
2010-07-10 07:38:44 +00:00