Commit Graph

5154 Commits

Author SHA1 Message Date
Rytis Slatkevičius 2678dcc331 User web: fix XSS vulnerability in team join/quit/lookup code.
svn path=/trunk/boinc/; revision=13450
2007-08-24 15:41:01 +00:00
Rom Walton b12fa77267 svn path=/trunk/boinc/; revision=13443 2007-08-23 20:11:20 +00:00
David Anderson db08d30fee - scheduler: update host.n_bwdown
(this was omitted for some reason).
    From Kevin Reed.


svn path=/trunk/boinc/; revision=13431
2007-08-21 20:41:29 +00:00
David Anderson c99833a7c9 - scheduler: don't show resource share in msgs in cases where
it's not used.
- db_purge: add "no_archive" option

svn path=/trunk/boinc/; revision=13430
2007-08-21 20:07:50 +00:00
Charlie Fenton 1bae24b1e8 Mac SG: Ugly hack for unknown alignment problem on Mac, requested by Kevin Reed
svn path=/trunk/boinc/; revision=13424
2007-08-21 05:04:05 +00:00
Charlie Fenton 9ddaaa89f4 Mac Uninstaller: Display new image in "Are you sure" dialog showing new BOINC logo going into the trash for non-English speaking users.
svn path=/trunk/boinc/; revision=13423
2007-08-21 03:11:30 +00:00
Charlie Fenton 74d7e474b9 Mac Uninstaller: Display new image in "Are you sure" dialog showing new BOINC logo going into the trash for non-English speaking users
svn path=/trunk/boinc/; revision=13421
2007-08-21 03:00:50 +00:00
Rom Walton 8da726aa13 SCR: Only choose applications that are currently being
exected.
    Win SCR: Update screensaver logo.
    Win SCR: Reduce the amount of time the screensaver is stuck in startup mode
      from 10 secs down to 2 secs. It still takes a second or two to download
      state information from the CC.
    
    clientscr/
        screensaver.cpp
        screensaver_win.cpp
    clientscr/res/
        boinc.bmp

svn path=/trunk/boinc/; revision=13417
2007-08-20 19:54:42 +00:00
Rytis Slatkevičius 6c71f08c6f Private messages: preview function before sending (fix #227)
svn path=/trunk/boinc/; revision=13416
2007-08-20 17:59:24 +00:00
Charlie Fenton 88da6e04e8 New Mac application icons built with artwork from Michal Krakowiak.
svn path=/trunk/boinc/; revision=13414
2007-08-19 21:48:19 +00:00
Rytis Slatkevičius bc17c8ab45 Fix previous checkin to conform to RFC (Location header expects complete URL)
svn path=/trunk/boinc/; revision=13413
2007-08-18 16:45:54 +00:00
Rytis Slatkevičius 882d20b226 Forums: return user to the same page after selecting "Mark all threads as read".
svn path=/trunk/boinc/; revision=13412
2007-08-18 16:14:53 +00:00
Charlie Fenton 9e70619846 MGR: Disable Simple GUI if the screen height < 600 (instead of== 480)
svn path=/trunk/boinc/; revision=13409
2007-08-18 00:22:21 +00:00
David Anderson 449e3fa257 - client: change the way upload/download throughput
estimates are maintained.
	The old way took concurrency into account but ignored compression;
	the new way does the converse.
- client: maintain new stat: recent average transfer rates.
	This track average up/down throughputs
	(over wall clock time, not just while xfers are active)
	with a half-life of 1 day.
	Will eventually add a new pref: don't fetch new work if
	either of these is above a threshold

svn path=/trunk/boinc/; revision=13407
2007-08-17 18:05:39 +00:00
David Anderson 9debbe3b4f screensaver fix
svn path=/trunk/boinc/; revision=13395
2007-08-16 23:52:40 +00:00
Charlie Fenton 91a660f5e9 New Mac application icon
svn path=/trunk/boinc/; revision=13393
2007-08-16 23:15:55 +00:00
Rom Walton f292a46980 - SCR: Move the call to kill_program to ShutdownSaver instead
of waiting for the data thread to poll for keyboard and
        mouse activity. If the saver's window proc detects keyboard
        or mouse activity it'll start the shutdown proceedure.
        
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=13392
2007-08-16 23:09:03 +00:00
Rom Walton c553674e19 - MGR: Make sure all the dialogs contain the application name
and do not have BOINC Manager hard coded in them.

    clientgui/
        AdvancedFrame.cpp
        DlgAbout.h
        DlgAdvPreferencesBase.cpp, .h
        DlgOptions.cpp, .h
        DlgSelectComputer.cpp, .h

svn path=/trunk/boinc/; revision=13391
2007-08-16 20:06:50 +00:00
Rom Walton e6d7d911ec - MGR: Update skin manager for the following changes:
project name = application short name
             company name = organization name
             company website = organization website
             added organization help url.
             
           See http://boinc.berkeley.edu/trac/wiki/ManagerSkin
             for details.
             
    clientgui/
        AdvancedFrame.cpp
        BOINCBaseFrame.cpp
        BOINCDialupManager.cpp
        BOINCTaskBar.cpp
        CompletionPage.cpp
        DlgAbout.cpp
        DlgAdvPreferences.cpp
        sg_BoincSimpleGUI.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        sg_ProjectsComponent.cpp
        SkinManager.cpp, .h

svn path=/trunk/boinc/; revision=13389
2007-08-16 18:53:42 +00:00
David Anderson bd29314eb0 screensaver fix
svn path=/trunk/boinc/; revision=13388
2007-08-16 18:37:38 +00:00
David Anderson 4e1f0b7019 - client: add a <data_dir> option in cc_config.xml;
tells the client to use this as the data directory
- scheduler: improve the message telling the client that
    more disk or memory is needed;
    tell them the minimum amount needed to
    send any of the jobs rejected,
    rather than the amount needed for the first job rejected
- manager: fix text in "connect now" dialog

svn path=/trunk/boinc/; revision=13387
2007-08-16 17:33:41 +00:00
Rom Walton 078d788108 - MGR: Update taskbar icons.
clientgui/res/
        boinc.xpm
        boincdisconnect.xpm
        boincsnooze.xpm
    clientgui/res/templates/
        boincsnooze.ico (deleted)
        boincdisconnect.ico (deleted)
        boinc.gif (added)
        boincdisconnect.gif (added)
        boincsnooze.gif (added)

svn path=/trunk/boinc/; revision=13327
2007-08-15 21:38:42 +00:00
Rom Walton 82c765437d - MGR: Fix the synchronize button and variables.
clientgui/
        sg_ProjectsComponent.cpp, .h
        SkinManager.cpp, .h
    clientgui/res/skins/default/graphic
        synchronize_button.xpm
        synchronize_clicked_button.xpm
    clientgui/res/templates/skins/
        btnSynchronize.png
        btnSynchronizeClick.png

svn path=/trunk/boinc/; revision=13324
2007-08-15 18:06:18 +00:00
Rom Walton 05cee3eb0d - SCR: Fix the new screensaver so that it doesn't start a new
graphics window every second.
    - LIB: CreateProcess always returns a 1 on success, which means
           the last part of the run_program function was never being
           executed.
    
    clientscr/
        screensaver_win.cpp
    lib/
        util.C

svn path=/trunk/boinc/; revision=13323
2007-08-15 15:25:52 +00:00
Charlie Fenton 0e305ec1fe Mac MGR: Work around bugs in wxMac 2.82 - 2.8.4 to fix wxPieCtrl to work correctly on wxMac 2.6.3 - 2.8.4.
svn path=/trunk/boinc/; revision=13321
2007-08-15 10:50:59 +00:00
David Anderson d5a4824db3 - XML RPC: add user name, ID to team_delta.php XML version
svn path=/trunk/boinc/; revision=13320
2007-08-15 03:07:35 +00:00
Rom Walton f841b17404 SCR: Enable V6 style applications, screensaver is no longer
compatible with v5 style graphics.
    
    clientscr/
        screensaver.cpp, .h
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=13318
2007-08-14 17:23:30 +00:00
Charlie Fenton 82f1708512 Create boinc_exec() function for invoking switcher and setprojectgrp utilities instead of calling system()
svn path=/trunk/boinc/; revision=13311
2007-08-14 10:08:36 +00:00
Charlie Fenton a5c5b732e3 Fix compiler warnings.
svn path=/trunk/boinc/; revision=13309
2007-08-14 02:38:38 +00:00
Rom Walton 3986e47fa9 - SCR: Move screensaver related files out of the CC directory
structure and put it into its own directory structure.
        
    client/win/
        boinc.scr.manifest (deleted)
        boinc_ss.h (deleted)
        boinc_ss.rc (deleted)
        boinc_ss_2003.rc (deleted)
        win_screensaver.cpp, .h (deleted)
    clientscr/
        boinc.scr.manifest (added)
        boinc_ss.h (added)
        boinc_ss.rc (added)
        boinc_ss_2003.rc (added)
        win_screensaver.cpp, .h (added)

svn path=/trunk/boinc/; revision=13308
2007-08-13 19:57:18 +00:00
Janus B. Kristensen 9645039c56 BT filetable creation query
svn path=/trunk/boinc/; revision=13298
2007-08-11 10:33:32 +00:00
David Anderson c148085143 - Manager: change "Retry communications" to "Do network communication"
- client: use gethostname() to get host name on Linux

svn path=/trunk/boinc/; revision=13295
2007-08-11 03:34:38 +00:00
David Anderson 4a2e57e552 - Manager: show the AMS name, not the skin name, in Wizard
svn path=/trunk/boinc/; revision=13294
2007-08-11 03:30:03 +00:00
David Anderson 2cd158a358 - client: timezone reflects daylight savings time (Win)
from David Barnard; fixes #334
- GUI RPC: add <success/> replies for ops that don't return anything
- GUI RPC: check args for project_attach
- GUI RPC: return error (not blank) if no prefs override file
- add error string for ERR_TOO_MANY_EXITS

svn path=/trunk/boinc/; revision=13293
2007-08-10 16:02:09 +00:00
Rom Walton 00cc8c516e - MGR: Update taskbar icons.
clientgui/res/
        boinc.xpm
        boincdisconnect.xpm
        boincsnooze.xpm
    clientgui/res/templates/
        boincsnooze.ico
        boincdisconnect.ico

svn path=/trunk/boinc/; revision=13272
2007-08-08 16:21:29 +00:00
Rom Walton c8d4216006 - MGR: Respect the disallow_attach and simple_gui_only status
flags in both the simple GUI and advanced GUI.
    - MGR: Enable the syncronize button in the simple GUI which
        just causes an account manager update request.
    - MGR: Fix an overactive assert in debug builds

    clientgui/
        AdvancedFrame.cpp
        Events.h
        sg_BoincSimpleGUI.cpp
        sg_ProjectsComponent.cpp, .h
        SkinManager.cpp
        WelcomePage.cpp
    clientgui/res/skins/default/graphic
        syncronize_button.xpm (Added)
        syncronize_clicked_button.xpm (Added)
    clientgui/res/templates/skins
        btnSynronize.png (Added)
        btnSynronizeClick.png (Added)

svn path=/trunk/boinc/; revision=13271
2007-08-07 20:10:36 +00:00
David Anderson f96db2c656 svn path=/trunk/boinc/; revision=13270 2007-08-06 23:06:16 +00:00
Rom Walton 00c88b6c8a - DIAG: Disable symbol server technology for applications where a symbol
server isn't specified.
    - MGR: Provide some additional text to the begining of the attach to project
        wizard when the client is attached to an account manager. Warn the user
        that the AMS will not know about the project or its stats.
    - MGR: Fix dialog titles for the Simple GUI dialogs.
    - MGR: Eliminate bogus error messages when using the default skin.
    - MGR: Introduce new logo into the manager
    - MGR: Introduce the notion of the syncronize button in the Simple GUI.
        NOTE: This button will replace the 'attach to project' button when
        the manager detects that the client is attached to an account manager.
    
    client/win/res/
        icon.ico
    clientgui/
        DlgAbout.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        SkinManager.cpp, .h
        WelcomePage.cpp
    clientgui/res/
        boinc.xpm
        boinc_logo.xpm
        BOINCGUIApp.ico
    clientgui/res/templates/
        boinc.ico
        boinc16.bmp
        boinc32.bmp
        boinc48.bmp
        boinc128.bmp
        boinc256.bmp
        boinc_logo.gif
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=13263
2007-08-02 20:03:21 +00:00
Charlie Fenton 063f4608e4 Changes for Manager to update Global Preferences from Client when needed.
svn path=/trunk/boinc/; revision=13259
2007-08-02 08:10:04 +00:00
Charlie Fenton cf14e1ca00 MGR: Populate Simple and Advanced Preference dialogs with current values of preferences (including any overrides), not with defaults or old (possibly stale) values.
svn path=/trunk/boinc/; revision=13258
2007-08-02 02:15:43 +00:00
David Anderson b4241eadd6 - GUI RPC: added get_global_prefs_network()
and get_global_prefs_working()

svn path=/trunk/boinc/; revision=13257
2007-08-01 20:26:08 +00:00
David Anderson 71fc375d1b - feeder: created shared mem seg with 0666 rather than 0660.
In principle 0660 should work (assuming apache belongs to admin group)
    but apparently on some Linux systems it doesn't,
    and the feeder gets "can't attach to shared mem" errors.
- scheduler: print uid/gid info if can't attach to shared mem
- user web: fix bug in team founder transfer form

svn path=/trunk/boinc/; revision=13255
2007-08-01 15:35:08 +00:00
Charlie Fenton e0b4dfea33 Graphics API: Don't render graphics when application is suspended to reduce CPU usage
svn path=/trunk/boinc/; revision=13249
2007-07-31 13:07:10 +00:00
Charlie Fenton e47ae76cce Manager: don't call GetWorkCount() repeatedly in CViewProjectsGrid
svn path=/trunk/boinc/; revision=13244
2007-07-31 03:29:40 +00:00
David Anderson ac5b3b8455 - client: don't crash if use --detach_project option
(fixes #283)
- client: canonicalize URLs in all cmdlines
- db_update.php: don't prompt for DB name/host; get it from config file
    (fixes #356)

svn path=/trunk/boinc/; revision=13243
2007-07-31 03:25:59 +00:00
Charlie Fenton 5a581cffe8 Manager: don't call GetWorkCount() repeatedly in CViewTransfersGrid and CViewMessagesGrid.
svn path=/trunk/boinc/; revision=13242
2007-07-31 02:54:56 +00:00
David Anderson cda95fd0ba - client: fix bug where if you get no work from a project
with zero delay_request,
    the client immediately requests more work

svn path=/trunk/boinc/; revision=13237
2007-07-28 22:15:31 +00:00
David Anderson 14bc500cab - user web: added mechanism for recording team membership changes.
These are stored in a new DB table, "team_delta".
    The team founder can view the history in HTML or XML
    (links on Management Functions page)

svn path=/trunk/boinc/; revision=13231
2007-07-27 18:30:10 +00:00
David Anderson 803152369a - client: fix bug that caused "no shared memory segment" errors,
introduced in 20 July checkin

svn path=/trunk/boinc/; revision=13230
2007-07-27 18:22:52 +00:00
David Anderson 2d9df04429 - more team stuff
svn path=/trunk/boinc/; revision=13223
2007-07-26 21:50:45 +00:00