Commit Graph

914 Commits

Author SHA1 Message Date
Rytis Slatkevičius a48027767f User web: new functions to show table rows (and headers) with unlimited number of columns (table_row() and table_header())
User web: show credit information in team member list

svn path=/trunk/boinc/; revision=13464
2007-08-26 12:01:41 +00:00
Rytis Slatkevičius 0623635a9e User web: update web RPC so that project specific preferences are preserved if they are missing in the request but present in previous settings (to reset them AMS should send <project_specific></project_specific>)
svn path=/trunk/boinc/; revision=13463
2007-08-26 11:15:44 +00:00
Rytis Slatkevičius f5ac3f8631 Do not allow blank or NULL countries
svn path=/trunk/boinc/; revision=13462
2007-08-26 10:29:08 +00:00
Rytis Slatkevičius 87f0b0665c User web: allow projects to add custom text to rules and policies page without modifying the source (so that it is not overwritten after code update).
svn path=/trunk/boinc/; revision=13461
2007-08-25 15:28:39 +00:00
Rytis Slatkevičius 31901159fc Make private message functions translatable, using newly added string-based translation method.
Update English and Lithuanian languages.

svn path=/trunk/boinc/; revision=13460
2007-08-25 15:04:29 +00:00
Rytis Slatkevičius 2667e5844d Add host id to pending credits page (fix #377)
svn path=/trunk/boinc/; revision=13453
2007-08-24 19:26:33 +00:00
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
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
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
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
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
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 2d9df04429 - more team stuff
svn path=/trunk/boinc/; revision=13223
2007-07-26 21:50:45 +00:00
David Anderson 12ed1228d2 - user web: code cleanup related to user creation.
Make a single function that creates users and cleanses args.

svn path=/trunk/boinc/; revision=13216
2007-07-25 15:11:14 +00:00
David Anderson 2af893b0f2 - user web: code cleanup related to team creation.
Make a single function that creates teams
    and cleanses arguments.
- API: don't include config.h in parse.h.
    This file is included from apps
    (indirectly, via graphics_api.h)
    so it shouldn't assume that config.h exists

svn path=/trunk/boinc/; revision=13212
2007-07-25 03:17:31 +00:00
David Anderson ef247eed41 - user web: moved functions to send specific messages out of email.inc
- user web: code cleanup involving team founder transfer,
    and improved the text of some messages

svn path=/trunk/boinc/; revision=13210
2007-07-23 20:30:30 +00:00
David Anderson 391ea79384 - back out my last change
svn path=/trunk/boinc/; revision=13185
2007-07-18 23:26:49 +00:00
Rytis Slatkevičius f9ccdeb264 Rework HTML of index page a little
svn path=/trunk/boinc/; revision=13183
2007-07-18 19:57:52 +00:00
Rytis Slatkevičius b24c43f06f - user web: add a feature to mark all threads as read (forums). (fix #52)
svn path=/trunk/boinc/; revision=13182
2007-07-18 15:48:07 +00:00
David Anderson 4eb40183f2 - user web: team founder transfer request requires nonzero total credit
svn path=/trunk/boinc/; revision=13181
2007-07-18 15:16:04 +00:00
Matt Lebofsky 260f3bf026 svn path=/trunk/boinc/; revision=13160 2007-07-16 17:41:37 +00:00
David Anderson 2cb1a64fe3 - user web: fix image URL on home page. Fixes #340
svn path=/trunk/boinc/; revision=13154
2007-07-14 19:34:33 +00:00
Rytis Slatkevičius 6e8089b170 Allow users to change signature option when editing posts (close #226).
svn path=/trunk/boinc/; revision=13124
2007-07-08 12:31:13 +00:00
Janus B. Kristensen 965e1b1583 Fixed an issue causing people to appear anonymous although they weren't.
svn path=/trunk/boinc/; revision=13122
2007-07-08 11:54:17 +00:00
Rytis Slatkevičius 1d89096c3f Fix #268: use fullpage cache for WAP stats, cache interval USER_PAGE_TTL (default 60 minutes)
svn path=/trunk/boinc/; revision=13111
2007-07-06 17:26:26 +00:00
Rytis Slatkevičius b04aeea7d6 user web: make sure that all links that have URL_BASE have slashes after it. This makes a slash in the end of URL_BASE definition in project/project.inc no longer necessary.
svn path=/trunk/boinc/; revision=13106
2007-07-05 19:37:33 +00:00
Janus B. Kristensen 64d3460314 Added translation awareness
svn path=/trunk/boinc/; revision=13102
2007-07-05 11:14:10 +00:00
Rytis Slatkevičius 099db90101 Parse BBCode and get rid of slashes in the profile zone.
svn path=/trunk/boinc/; revision=13071
2007-07-02 13:57:46 +00:00
Rytis Slatkevičius 05ac7c0903 Fix #304.
svn path=/trunk/boinc/; revision=13066
2007-07-02 11:19:29 +00:00
Rytis Slatkevičius 62ba94f0cf Fix #303 (was introduced in [12691])
svn path=/trunk/boinc/; revision=13052
2007-06-29 16:11:59 +00:00
Matt Lebofsky fc34e4398b svn path=/trunk/boinc/; revision=13022 2007-06-25 22:46:22 +00:00
David Anderson c912a6506b - user web: fixed bug in private-message code
- back end: moved HR_INFO to a separate file;
    did some debugging in HR code

html/
    inc/
        forum_user.inc
        util.inc
    user/
        forum_pm.php
sched/
    Makefile.am
    census.C
    feeder.C
    hr.C,h
    hr_info.C,h (new)

svn path=/trunk/boinc/; revision=12978
2007-06-22 03:46:42 +00:00
David Anderson 45f04aa04b - back end: make it possible to run multiple instances of make_work,
for WUs of different applications
    (need to count unsent results separately by app)
- feeder: major code cleanup
    - application interleaving (for -allapps) is now done
        by building a static slot-to-app array "app_indices".
        Fractional weights now work correctly.
    - enum sizes (for -allapps) are now precomputed
        in an array "enum_sizes"
    - rename "found" (confusing!!) to "collision"
    - swapped the names of mod_select_clause and select_clause,
        to reflect what they actually are
- file deleter: in finding oldest WU, order by id instead of create_time
    (there's no index on create_time)
- user web: show "merge by name" only to host owner
- add cpu_scheduler_period() member to GLOBAL_PREFS
    (so you don't have to multiply by 60 everywhere)
- infinite() fix for HPUX

client/
    cpu_sched.C
    cs_cmdline.C
    cs_scheduler.C
    rrsim_test.C
    sim.C
    work_fetch.C
html/user/
    hosts_user.php
lib/
    parse.h
    prefs.h
sched/
    feeder.C
    file_deleter.C
    make_work.C
    sample_work_generator.C
    sched_util.C,h
tools/
    updater.C

svn path=/trunk/boinc/; revision=12968
2007-06-20 16:27:27 +00:00
Rytis Slatkevičius f3fa4978cc Fix formatting; display team founder transfer time, not only date.
svn path=/trunk/boinc/; revision=12952
2007-06-17 15:34:43 +00:00
Rytis Slatkevičius 2b3993fb40 Implement private message limits (fix #216).
svn path=/trunk/boinc/; revision=12937
2007-06-14 19:43:11 +00:00
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
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 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