Commit Graph

1660 Commits

Author SHA1 Message Date
Rytis Slatkevičius a77c127f50 - Transparent donor crown
- Fix possible SQL injection vulnerability (introduced in [12906])

svn path=/trunk/boinc/; revision=12923
2007-06-13 13:31:51 +00:00
Janus B. Kristensen 0f1b2f0504 A test HTML-interface giving clues about potential misconfigurations in the BT serverside setup.
svn path=/trunk/boinc/; revision=12914
2007-06-13 07:59:58 +00:00
Eric J. Korpela 8df44a7e30 Fixed top hosts query to use index on sorting column.
svn path=/trunk/boinc/; revision=12906
2007-06-12 16:04:19 +00:00
David Anderson dd6ec58155 - Project initialization: create project home page
and schedulers.txt file in a way that will work
    with UMTS ISPs (which strip out comments)

html/user/
    sample_index.php
py/Boinc/
    setup_project.py

svn path=/trunk/boinc/; revision=12896
2007-06-11 22:19:02 +00:00
Janus B. Kristensen 78e3c55f9c Id property
svn path=/trunk/boinc/; revision=12890
2007-06-11 18:30:19 +00:00
Janus B. Kristensen d046a24720 Id property
svn path=/trunk/boinc/; revision=12889
2007-06-11 18:29:57 +00:00
Janus B. Kristensen c1f14e0b53 Id property
svn path=/trunk/boinc/; revision=12888
2007-06-11 18:29:40 +00:00
Janus B. Kristensen 7cb97a4c6d Id property
svn path=/trunk/boinc/; revision=12887
2007-06-11 18:29:23 +00:00
Janus B. Kristensen d87fa93503 Common code for checks used in both the tracker and the scrape mechanism.
svn path=/trunk/boinc/; revision=12885
2007-06-11 18:27:24 +00:00
Janus B. Kristensen 9c065a8228 Fixed a small display issue (workunitid-column was displaying resultid)
svn path=/trunk/boinc/; revision=12836
2007-06-06 18:19:13 +00:00
David Anderson ad6c38f6d4 - new <platform> elements in get_project_config.php
confuse the client because their <name> element
    gets parsed as the project name.
    Work around by changing to <platform_name>.

Note: here (and everywhere else) if we get an unparsed XML tag
    we should skip to past the close tag.
    I'll put this in soon.
    
html/user/
    get_project_config.php

svn path=/trunk/boinc/; revision=12834
2007-06-06 14:10:28 +00:00
David Anderson 601403d9aa - Client (Unix) show process exit codes as negative numbers also
(e.g., to show BOINC error codes correctly)
- get_project_config.php: add an element that lists the
    platforms supported by this project
    (i.e. for which there's a non-deprecated app version)
    Cache this info in a file (cache/platform_list.xml)
    so that it will be available even when the project's DB is down.
- Rename sample_get_project_config.php to get_project_config.php;
    a project should no longer need its own version of this file.
    Change setup_project accordingly.

client/
    app_control.C
html/user/
    get_project_config.php (new)
    sample_get_project_config.php (removed)
py/Boinc/
    setup_project.py

svn path=/trunk/boinc/; revision=12814
2007-06-04 20:32:47 +00:00
Rytis Slatkevičius bcf948a03d user web: add a separate preference for private message notification emails.
'''NOTE: needs DB update, see html/ops/db_update.php'''

(Fix #167)

svn path=/trunk/boinc/; revision=12813
2007-06-04 19:35:11 +00:00
Rytis Slatkevičius de6758aad3 Fix #232: someone really had fun adding height limits to forum table cells. Remove them.
svn path=/trunk/boinc/; revision=12810
2007-06-04 08:11:38 +00:00
Rytis Slatkevičius 594da3cc4c Fix #217
svn path=/trunk/boinc/; revision=12806
2007-06-02 17:11:19 +00:00
Rytis Slatkevičius 3c2e3c4668 Fix #225
svn path=/trunk/boinc/; revision=12798
2007-06-01 13:13:58 +00:00
Rytis Slatkevičius 04fdafc548 Add example donations.inc and donor.png
svn path=/trunk/boinc/; revision=12797
2007-06-01 13:05:18 +00:00
Rytis Slatkevičius 237df33b9a Fix PayPal return URLs
svn path=/trunk/boinc/; revision=12792
2007-05-31 18:15:33 +00:00
Rytis Slatkevičius 9a5d664d59 Donations:
- Do not limit donations to integer amounts;
- Use PayPal with https;
- (Hopefully) fix PayPal Instant Payment Notification.

svn path=/trunk/boinc/; revision=12789
2007-05-31 11:14:49 +00:00
David Anderson 0c3e0e90fc - add token protection to the previous checkin;
for prefs edit, don't demand token if only showing form.
    (opt_out.php doesn't supply tokens)

html/user/
    prefs_edit.php
    merge_by_name.php

svn path=/trunk/boinc/; revision=12786
2007-05-30 21:35:14 +00:00
David Anderson f2fd5da3ff - user web: added new feature to merge hosts by name.
This is handy if you have a lot of hosts,
    and every now and then they get a new host ID
    (e.g. because you delete and reinstall BOINC).
    You can now merge all of them with a single click.
    
html/
    inc/
        host.inc
    user/
        host_edit_action.php
        merge_by_name.php (new)
        hosts_user.php

svn path=/trunk/boinc/; revision=12785
2007-05-30 20:30:28 +00:00
David Anderson 88860ed316 - user web: fix bug in host merge function
- core client: fix bug in set_debt() GUI RPC
- scheduler: some of the "quick checks" in scan_work_array()
    are applicable to locality scheduling also,
    so they should be moved to wu_is_infeasible().
    I did this for one: the check for one result
    per user (or host) per WU.  Should do for others.
    
client/
    gui_rpc_server_ops.C
html/
    host_edit_action.php
    host_edit_form.php
sched/
    sched_array.C
    sched_send.C,h

svn path=/trunk/boinc/; revision=12784
2007-05-30 17:25:51 +00:00
Rytis Slatkevičius 683c25e04f Wrong USD index in the donation page, and some formatting.
svn path=/trunk/boinc/; revision=12781
2007-05-30 11:22:58 +00:00
David Anderson c4069d8097 - user web: host-merging logic was wrong for Intel CPUs
with MHz instead of GHz in their names.
- user web: it no hosts eligible for merging, say so
    instead of showing blank table
    
html/
    inc/
        host.inc
    user/
        host_edit_form.php

svn path=/trunk/boinc/; revision=12760
2007-05-29 04:38:54 +00:00
Rytis Slatkevičius 2b8478b457 Remove files that apparently have never been used (seems to be part of never completed donation system)
svn path=/trunk/boinc/; revision=12756
2007-05-27 17:55:51 +00:00
Rytis Slatkevičius 670bbd92d7 Donations system (running via PayPal).
Implements #211.
NOTE: DB updated needed. Documented in http://boinc.berkeley.edu/trac/wiki/PayPalDonations

svn path=/trunk/boinc/; revision=12754
2007-05-27 17:33:06 +00:00
David Anderson 56408dbbbe - Add GUI RPC to set projects debts (short and long term).
Lets you set all of them at once, as suggested by Nicolas Alvarez.
    fixes #131

client/
    gui_rpc_server_ops.C
html/user/
    sample_index.php
lib/
    boinc_cmd.C
    gui_rpc_client.h
    gui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12749
2007-05-26 21:15:58 +00:00
Rytis Slatkevičius b3e3ce4c43 Include quick link to block PMs from a specific user (fix #188).
svn path=/trunk/boinc/; revision=12748
2007-05-26 17:00:01 +00:00
Rytis Slatkevičius e06635f97d - Tweak ops page index HTML a bit;
- Show latest revision number (code addopted from ChristianB; fix #202);
- Show warning if SYS_ADMIN_EMAIL is not set (from Eric Myers).

svn path=/trunk/boinc/; revision=12747
2007-05-26 16:01:22 +00:00
Janus B. Kristensen 991bafa2e5 Added IllegalArgumentException and the class representing .torrent-files
svn path=/trunk/boinc/; revision=12726
2007-05-23 15:45:34 +00:00
Janus B. Kristensen edaace3d6e Added IllegalArgumentException and the class representing .torrent-files.
svn path=/trunk/boinc/; revision=12725
2007-05-23 15:44:59 +00:00
Janus B. Kristensen a07054742d Added version trackers and the BString class for BEncoded strings.
svn path=/trunk/boinc/; revision=12709
2007-05-22 07:44:39 +00:00
Janus B. Kristensen 4953106559 Added utility class for BEncoded lists
svn path=/trunk/boinc/; revision=12698
2007-05-20 13:25:44 +00:00
David Anderson d09ece4105 - fix bugs in job_times.php; it shows the correct mean and stdev now.
html/ops/
    job_times.php

svn path=/trunk/boinc/; revision=12695
2007-05-18 22:48:00 +00:00
David Anderson 826e65f8d0 - client simulator: fix cpu_sched_rr_only bug
- boinc_cmd: canonicalize URLs
- user web: fix link to Top Teams
- back end: remove code related to alternate download dir

client/
    cpu_sched.C
    sim.C
html/
    inc/
        stats_sites.inc
    user/
        stats.php
lib/
    boinc_cmd.C
sched/
    file_deleter.C
    sched_config.C,h

svn path=/trunk/boinc/; revision=12694
2007-05-18 22:02:51 +00:00
Rytis Slatkevičius 1740f526d9 Encode UTF characters into HTML entities (from ChristianB, fix #57).
NOTE: teams that have name display issues will have to edit their description once the projects update the code.

svn path=/trunk/boinc/; revision=12691
2007-05-18 15:02:02 +00:00
Rytis Slatkevičius c7cf11d4af Show forum name list instead of asking for a numeric ID (from Willy de Zutter)
svn path=/trunk/boinc/; revision=12690
2007-05-18 14:49:10 +00:00
Rytis Slatkevičius 9b07b4a46e Remove unused files, fix forum rows being invisible in IE because of height issues
svn path=/trunk/boinc/; revision=12689
2007-05-18 14:20:58 +00:00
David Anderson c2edcd489e - sort team-lookup results by avg credit desc
html/user/
    team_lookup.php

svn path=/trunk/boinc/; revision=12685
2007-05-18 05:13:57 +00:00
David Anderson 477834b425 don't error out if no svn version file
svn path=/trunk/boinc/; revision=12674
2007-05-15 21:48:48 +00:00
David Anderson 293176d656 - user web: add
$s = '$s';
    at top of compiled translation files,
    to allow re-ordering of format codes
    (from H. Komori)

html/inc/
    translation.inc

svn path=/trunk/boinc/; revision=12673
2007-05-15 21:41:59 +00:00
Rytis Slatkevičius 56871331a5 - Fix #189: add links to send PMs below user name in the forum, in the user overview and in user profile page.
- Change "CVS" into "SVN" in the CVS version tracker (automatically generated comment in the pages showing page revision number)

svn path=/trunk/boinc/; revision=12666
2007-05-15 10:06:38 +00:00
David Anderson 8f25fdf2a1 David 14 May 2007
- API: Eric Myers reported that my 4 May checkin
        (which increased worker thread stack size to the limit
        returned by getrlimit())
        broke his app on several Linux platforms.
        So I added a worker_thread_stack_size element to BOINC_OPTIONS.
        If you want an increased stack size, set this.
    - web RPC: add <url> and <local_revision> elements to
        the XML returned by get_project_config.php

    html/user/
        sample_get_project_config.php
    api/
        graphics_impl.C


svn path=/trunk/boinc/; revision=12664
2007-05-14 19:52:00 +00:00
Rytis Slatkevičius 5f7ed5b8fc Remove redundant search boxes from the bottom of the forum pages
svn path=/trunk/boinc/; revision=12660
2007-05-13 18:41:34 +00:00
Rytis Slatkevičius 79e77f1de5 Fix non-unique user name handling in private messages
svn path=/trunk/boinc/; revision=12657
2007-05-11 20:34:16 +00:00
David Anderson 3612fe184f - web RPC: show lots more info in team_lookup.php, XML version
html/inc/
    xml.inc


svn path=/trunk/boinc/; revision=12656
2007-05-11 18:41:36 +00:00
David Anderson fca5836088 - web RPC: fix bug in XML variant in show_user.php, bad-ID case.
html/user/
    show_user.php


svn path=/trunk/boinc/; revision=12653
2007-05-11 17:42:33 +00:00
David Anderson 0daa5a8802 - translation.inc: backed out change of 7 May;
we need to use " to expand $PROJECT var
- scheduler:
    take work_buf_min into account in deciding whether
    a result will be reported by its deadline.
- all back end programs:
    better error message if can't parse config file

html/inc/
    translation.inc
sched/
    *.C

svn path=/trunk/boinc/; revision=12652
2007-05-11 16:30:13 +00:00
Rom Walton 2e944052a6 - Add a project config.xml option to allow moderators to ban
accounts.
        
      <moderators_allowed_to_ban>1</moderators_allowed_to_ban>
      
    html/inc/
        forum.inc
        forum_moderators.inc

svn path=/trunk/boinc/; revision=12643
2007-05-11 02:43:57 +00:00
Janus B. Kristensen ac80942579 BEncoded integers for the Bittorrent stuff.
svn path=/trunk/boinc/; revision=12640
2007-05-10 21:56:38 +00:00