Commit Graph

570 Commits

Author SHA1 Message Date
David Anderson ebfb1e8e3b - Validator framework: change get_output_file_path()
to return a struct FILE_INFO (including "optional")
    instead of just the filename.
    This lets you avoid erroring out if optional file is missing.
- Sample bitwise validator: support > 1 output file correctly

svn path=/trunk/boinc/; revision=15332
2008-05-29 20:11:43 +00:00
Matt Lebofsky 864f6f0b6a Added <email/> tag (so users can see which e-mail these reminders
were being sent to, as to hopefully avoid confusion)


svn path=/trunk/boinc/; revision=15297
2008-05-27 22:19:14 +00:00
Matt Lebofsky 9d9531a5f4 Bug fixes and added "count" command line option
svn path=/trunk/boinc/; revision=15086
2008-04-23 20:59:14 +00:00
David Anderson 6af9f66b4e - DB/feeder/scheduler: change app_version.xml_doc from blob to mediumblob,
and change the correspending structure field from 64KB to 256KB
    (could increase this if needed).
    This is needed to handle app versions with lots (> 100) of files
- change LARGE_BLOB_SIZE to BLOB_SIZE a bunch of places
- Change COPROCS from vector<COPROC> to vector<COPROC*>.
    Otherwise the right virtual functions of COPROCs don't get called

svn path=/trunk/boinc/; revision=14986
2008-03-31 16:19:45 +00:00
David Anderson bacf9512d1 - web: on completion of team foundership transfer,
clear ping_user and ping_time fields
- web: fix outdated update_forum_activities script

svn path=/trunk/boinc/; revision=14973
2008-03-28 03:05:19 +00:00
David Anderson 4e9fbac5e0 - admin web: touch reread_db in manage_app_versions.php
- DB code: remove "is_high_priority" stuff.
- scheduler: merge find_app_version() into get_app_version().
    Have the latter memoize its results (both positive and negative).
    Have it call app_plan() for apps with nonempty plan_class.
- scheduler: first steps towards improved selectability of log messages.
    It will eventually be like the client,
    where you can select among various types of messages.
- feeder: if can't unlink the reread_db trigger file, exit
    (else we'd go into an infinite loop)

svn path=/trunk/boinc/; revision=14940
2008-03-18 21:22:44 +00:00
David Anderson 815b8fc043 Various preparation for handling multithreaded apps
and apps that use coprocessors.
There now can be several app_versions for the same
(app, platform, version_num) combination.
This changes a number of things.

- Added app_version.plan_class field to DB
- update_versions now looks for a :plan-class in the
    file or directory name, and puts it in the app_version's DB record
- Change uniqueness constraint to include plan_class
- Feeder: the feeder was putting non-deprecated app_versions
    in shared mem, and leaving it to the scheduler to
    find the latest version for a given platform.
    This is dumb.
    Instead, for each app/platform pair the feeder now
    finds the highest version number of a non-deprecated app version,
    and enumerates all non-deprecated app_versions with that
    app/platform/version
- Scheduler: add a BEST_APP_VERSION data structure that keeps track,
    for each app, what the best app_version is for this host.
    This saves the work of recomputing it for each job.

svn path=/trunk/boinc/; revision=14906
2008-03-13 22:57:24 +00:00
David Anderson 546c0b899a - server: fix botched checkin from 7 March.
The new field (workunit.rsc_bandwidth_bound)
    goes at the END of the record.
    Always do it this way!
- make_work: after creating a batch of new WUs,
    we were waiting 60 sec for the transitioner to
    create the results for them
    (so that our next count of unsent results would be correct).
    This is bogus; if e.g. the transitioner isn't running,
    we'll never get the results, and we'll keep creating WUs forever.

    Instead: explicitly wait for there to be results for
    the last WU from the batch just created.

- scheduler: parse <allow_non_preferred_apps>, <allow_beta_work> correctly.

svn path=/trunk/boinc/; revision=14875
2008-03-10 17:03:15 +00:00
David Anderson 95772cba77 - removed boinc_ncpus_available() and boinc_nthreads() calls.
The design has been changed to constant #threads per app version
    Various changes from Kevin Reed/WCG:
    - server: add workunit.rsc_bandwidth_bound: if nonzero,
        send this WU only to hosts with that much download bandwidth
    - assimilators: if a handler returns DEFER_ASSIMILATION,
        the WU remains in INIT state and will be handled when the
        next instance completes.
        Useful if you want the assimilator to see all instances.
    - scheduler: when setting result.outcome = DETACHED,
        set received_time to now
    - scheduler: removed the reliable_time and reliable_min_avg_credit
        options
    - scheduler/web: add optional <allow_non_preferred_projects>
        in project preferences.
        If present, user will accept work from non-selected apps
        if no work is available for selected apps
    - scheduler: improved messages for projects with multiple apps
    - scheduler: added config options
        <granted_credit_weight> and <granted_credit_ramp_up>.
        Used in calculating host.claimed_credit_per_cpu_sec,
        but I'm not sure how.
    - Added two new credit-granting formulas (validate_util.C):
        stddev_credit() and two_credit()
    - server DB: add rollback_transaction() and affected_rows() to DB_CONN

    NOTE: DB update required

svn path=/trunk/boinc/; revision=14870
2008-03-07 21:13:01 +00:00
David Anderson 0dadf8d62f - admin web: fix profile screen form formatting
- web: remove get_transform_settings_from_user().
    There's only get_output_options()

    NOTE: why is text_transform() doing stripslashes()?
    The slashes shouldn't be in the DB in the first place.
    There's some fundamental confusion here.

- web: fix uotd.php


svn path=/trunk/boinc/; revision=14866
2008-03-07 04:38:06 +00:00
David Anderson 4e3764df34 - server: debugged single-job submission feature.
It works, at least in my test case.
- boinc_submit script:
    show status every 10 seconds until completed
    add --wait option to show status for previous submission
- Added get_logical_name() in validate_util.C
- create_work: change default target_nresults from 5 to 2,
    max_error_results from 10 to 3,
    max_total_results from 20 to 10,
    max_success_results from 10 to 6
- boinc_cmd: show full usage if no args
- project setup: copy single_job_assimilator

svn path=/trunk/boinc/; revision=14847
2008-03-05 20:16:10 +00:00
David Anderson b20f2d915c - server: added a mechanism for submitting jobs as:
> boinc_submit --infile foo --outfile blah program --args
    This will run "program" on a remote host,
    with the given input, output files, and command-line args

    It manages everything for you.
    You don't have to worry about apps, app_versions,
    template files, wrapper job files, etc.
    See: http://boinc.berkeley.edu/trac/wiki/SingleJob

    Initial checkin - not debugged yet.

svn path=/trunk/boinc/; revision=14842
2008-03-04 23:50:38 +00:00
David Anderson 1106da6ec6 - transitioner: we're not supposed to ever see "assigned" WUs.
But if we do, set their transitioner time to plus infinity
    so that we don't see them again.
    (otherwise we go into an infinite loop)
- DB code: remove "high_priority" from queries not from scheduler
    (should probably remove them from there too)
- file_deleter: print error msg if apache user doesn't exist

svn path=/trunk/boinc/; revision=14835
2008-03-03 19:33:32 +00:00
David Anderson 86857a5452 - Scheduler: fix bugs in work assignment feature
svn path=/trunk/boinc/; revision=14810
2008-02-27 22:26:37 +00:00
David Anderson d77e8a093c - Bolt maps
svn path=/trunk/boinc/; revision=14778
2008-02-22 20:09:23 +00:00
David Anderson 79f6720547 - scheduler: add <max_ncpus> config option.
Use this with N=1 if your application primarily uses a coprocessor

svn path=/trunk/boinc/; revision=14772
2008-02-21 20:10:10 +00:00
David Anderson 54519a4ee1 - Server: add "job assignment" feature.
Lets you assign a WU to a particular host,
    to one or all hosts belonging to a user or team, or to all hosts.
    See http://boinc.berkeley.edu/trac/wiki/AssignedWork
    Disabled unless you include <enable_assignment> in config.xml
    Uses a new DB table.
    Tested but only a little.
- Server: code cleanup; moved result-handling to a new file,
    and removed the PLATFORM_LIST arg to everything
    (put it in SCHEDULER_REQUEST instead)

svn path=/trunk/boinc/; revision=14767
2008-02-21 00:47:50 +00:00
David Anderson 0bcaa761f0 - rename cgi.log to scheduler.log
- fix ops login

svn path=/trunk/boinc/; revision=14747
2008-02-15 15:25:44 +00:00
David Anderson 02adbc4d49 - web: remove all references to the PHP "session" mechanism,
which added only confusion.
    Implement login directly, using cookies.
- All cookie setting/clearing now goes through two functions,
    send_cookie() and clear_cookie().
    These deal with path and expiry
    (e.g. if you want to have different language or forum settings
    on two projects on the same server, that now works).

svn path=/trunk/boinc/; revision=14735
2008-02-13 19:02:44 +00:00
David Anderson b543bcc3c4 svn path=/trunk/boinc/; revision=14730 2008-02-13 04:25:52 +00:00
David Anderson 35dab13859 - client code: my next-to-last checkin was flawed
svn path=/trunk/boinc/; revision=14725
2008-02-12 20:33:05 +00:00
David Anderson 51286a03dc - Initial checkin of Bossa code
svn path=/trunk/boinc/; revision=14716
2008-02-11 23:38:31 +00:00
David Anderson a1664cc070 - scheduler: simplified Carl's checkin (avoid virtual destructors)
- API: small tweak for standalone

svn path=/trunk/boinc/; revision=14679
2008-02-05 21:26:43 +00:00
David Anderson 904cbe5a4f - Add Bolt admin page
- added "hidden" flag to courses


svn path=/trunk/boinc/; revision=14660
2008-02-01 23:11:09 +00:00
David Anderson e9c716debe - web: fixed screwed-up UOTD logic.
The meaning of the <screen_profiles> config flag is:
    If set:
        profiles must be screened by admins before their photo is shown.
        When this is done, profile.verification is set to 1
        (and they become eligible to be UOTD)
    If not set:
        profile photos are always shown.
        Profiles must be screened by admins before
        they are eligible for UOTD.
        When this is done, profile.verification is set to 1
    So default_uotd_candidates_query() is the same in either case.
- web: fix profile_screen_form.php
    (admin page for screening profiles)
- web: make a copy of login_action.php in ops/

svn path=/trunk/boinc/; revision=14561
2008-01-15 22:14:07 +00:00
David Anderson cf0bd5911c - tweak credit_study.php
svn path=/trunk/boinc/; revision=14516
2008-01-09 20:29:09 +00:00
David Anderson 3d5ab321d4 - Fix the credit_study.php script to 1) be correct and
2) explain its output

svn path=/trunk/boinc/; revision=14515
2008-01-09 20:12:13 +00:00
David Anderson d642cd6815 - small web fixes; fixes #421
svn path=/trunk/boinc/; revision=14485
2008-01-07 23:33:48 +00:00
David Anderson fef16a7498 - web: bug fixes
svn path=/trunk/boinc/; revision=14474
2008-01-06 18:09:23 +00:00
David Anderson 57f0bbc6e5 - make_project: prepend "./" to config.xml script names in case "." is not
in Apache's search path
- web: show UOTD text correctly
- web: memoize profile_screening() in attempt to fix out-of-memory error
    when building profile pages on S@h
- web: move gallery.inc into update_profile_pages and remove it

svn path=/trunk/boinc/; revision=14460
2008-01-03 17:24:28 +00:00
David Anderson b542785c1e - web: My Account page, other user account page, and profile pages
now have community info in a 2nd column on the right.
    This accomplishes two things:
    1) it puts community info in more places;
    2) it provides a reasonable way to format long lists of friends;
        they just continue down the right column.

svn path=/trunk/boinc/; revision=14452
2008-01-01 22:29:10 +00:00
David Anderson f183b6f47f - web: add general-purpose notification mechanism.
Users can choose whether to get 1 email per notification,
    a daily "digest" email, or no email.
    (All notifications are shown on the Account page).
    Currently used for:
    - Friend requests and confirmations
    - Posts to subscribed threads
    - Private messages

    NOTE: To implement the "daily digest" feature, projects must add
    a periodic task for html/ops/notify.php to config.xml
- web: have project_footer() generate links for
    Account Page and Message Boards as well as Home
    NOTE: projects that want this change
    will have to modify their own project.inc.

svn path=/trunk/boinc/; revision=14447
2007-12-30 22:02:16 +00:00
David Anderson f125e7e2de - web: don't require login for show_user.php
- web: add app selection to example project-specific prefs
    (commented out by default)
- web: in prefs, flag too-low numeric values as errors,
    rather than just setting to min value
- web: fix bug when add new venue from "columns" view

svn path=/trunk/boinc/; revision=14442
2007-12-24 21:34:21 +00:00
David Anderson bcf062975c - make_project: don't create symbolic link html/user_profiles/user_profiles.
If there was ever a need for this, it has disappeared.
    Fixes #524
- fix bug in BOINC-wide team export script

svn path=/trunk/boinc/; revision=14441
2007-12-24 17:32:54 +00:00
David Anderson dcce4d6717 - user web: bug fix in code to limit posting rate
- admin web bug fixes

svn path=/trunk/boinc/; revision=14416
2007-12-19 21:28:58 +00:00
David Anderson 13baee4302 - user web: add "friend" and "notification" features
- user web: code cleanup in Profile area
- GUI RPC: add missing "/" in auth2 RPC

svn path=/trunk/boinc/; revision=14394
2007-12-18 20:28:08 +00:00
David Anderson 3f41f9a88d - Add weak account key mechanism.
Each account has an associated weak account key.
    The user can see it by visiting weak_auth.php.
    If you put the weak account key in the account file on a computer
    (instead of the regular account key)
    the computer will attach to the account.
    But the weak account key cannot be used to log in
    to the account on the web, or to do web RPCs, or anything else.

    Note: this involves a scheduler change.

svn path=/trunk/boinc/; revision=14367
2007-12-07 23:23:25 +00:00
David Anderson cea8e84c7b - ops: in team import script, send email to team founder
when creating team
- web: if user changes email addr, clear email_validated

svn path=/trunk/boinc/; revision=14353
2007-12-04 22:16:37 +00:00
David Anderson dc774182b1 - web: if a team forum is deleted, delete all the threads and posts
beneath it.
    Otherwise you get "zombie" posts, and e.g. when we should a user's
    posts, they might all be hidden.
    Also added a script to retroactively clean up these.

svn path=/trunk/boinc/; revision=14325
2007-11-30 00:00:44 +00:00
David Anderson 68ec6e6ce6 svn path=/trunk/boinc/; revision=14319 2007-11-29 02:56:10 +00:00
David Anderson 17949271a1 svn path=/trunk/boinc/; revision=14296 2007-11-24 05:11:43 +00:00
David Anderson 19267f06e1 - team import: fix string-escaping bugs
- user web: don't show links to sched logs if they don't exist
- user web: add new team types

svn path=/trunk/boinc/; revision=14295
2007-11-24 04:51:03 +00:00
David Anderson 4a81532043 - DB: add fulltext index on team.name
- user web: improve "team search" function,
    and get rid of the superceded "search by name" function
- user web: don't show team founder link to initiate transfer
- user web: show team types
- user web: fix "top teams by type" function
- client: tread NOT_FOUND error on file upload as transient;
    it means the project is missing its file_upload_handler

svn path=/trunk/boinc/; revision=14272
2007-11-20 22:58:14 +00:00
David Anderson 615d4dcf22 - user web: the "private-message notification by email" flag
should default to off.
    Note: it's necessary to clear everyone's flag.
    Projects will need to notify users (e.g. via a news item)
    that they need to explicitly set this pref if they want email
    notification of PMs

svn path=/trunk/boinc/; revision=14255
2007-11-19 02:17:57 +00:00
David Anderson 512af1d30e - user web: don't append "/" to URL_BASE.
URL_BASE is assumed to end with a /.
    If you put another /, you end up with // in URLs.
    This leads to a situation where you can have
    one cookie for // and another for / - bad.

    If this causes problems for any projects,
    they should edit their project.inc accordingly

svn path=/trunk/boinc/; revision=14254
2007-11-18 22:42:47 +00:00
David Anderson 9564dc0931 - user web: bug fix in moderation email send (fixes #485)
- BOINC-wide teams: HTML-escape user-supplied text (fixes #487)


svn path=/trunk/boinc/; revision=14240
2007-11-17 16:35:02 +00:00
David Anderson 25288d5ca6 - added optional code for user-submitted jobs (from M.F. Somers)
- added some scripts in ops/ for managing HR, and for blocking hosts.
    (from M.F. Somers; these should be documented in the WIki
    and perhaps added to ops/index.php)

svn path=/trunk/boinc/; revision=14229
2007-11-16 16:49:19 +00:00
David Anderson 9970e2c71b - user web: bug fixes
svn path=/trunk/boinc/; revision=14204
2007-11-14 21:55:05 +00:00
Bernd Machenschalk 4459dda859 - added features to pass_percentage_per_platform:
1. distinguish between Darwin x86 and Darwin PPC
      2. lists the "fail rates" for individual client states to allow to
         distinguish between download errors, computing errors and aborts
      3. optionally list individual "unknown" OS by name
      4. optionally list "unofficial" application versions
      3. and 4. are probably rather confusing on open-source projects like SETI,
      but I found them helpful e.g. on Einstein


svn path=/trunk/boinc/; revision=14169
2007-11-13 12:44:59 +00:00
David Anderson aa7b9f2547 - DB: fix typo in schema
svn path=/trunk/boinc/; revision=14141
2007-11-12 16:00:37 +00:00
David Anderson bf227ea8b1 - DB: remove "lang" from schema - not used
- DB: added parent_type to forum
- user web: BoincUser uses caching by default
- client: fixed small memory leak in statistics parsing

svn path=/trunk/boinc/; revision=14130
2007-11-10 00:32:42 +00:00
David Anderson fb8b4ffabb - user web: added the notion of "Team Admin": team members,
appointed by the founder, who have most of the same
    rights as the founder (edit team info, view/remove users).
    They can't, however, change the founder, or select/remove Admins.
- user web: added the ability for founder to delete an empty team
- user web: count/show all team members, not just those with credit
- user web: Team Search returns top team if form fields left blank
- Added db_update.php entry for Eric's banishment_vote stuff

svn path=/trunk/boinc/; revision=14108
2007-11-07 17:23:29 +00:00
Rytis Slatkevičius 6fd7ba0532 - user web: style server status page with CSS, some cleanup of the stylesheet (fix #457).
svn path=/trunk/boinc/; revision=14078
2007-11-03 16:39:23 +00:00
Rytis Slatkevičius c1fb4934ec - user web: convert translations from tokens to strings; update Lithuanian translation.
- ops pages: add user removal feature (for spammers).

svn path=/trunk/boinc/; revision=14020
2007-11-02 14:43:02 +00:00
David Anderson 26138742c6 - Initial checkin for Bolt
svn path=/trunk/boinc/; revision=13998
2007-10-30 22:31:13 +00:00
Rytis Slatkevičius 59d5f0df58 Ops pages: add a page to list recently registered users
svn path=/trunk/boinc/; revision=13983
2007-10-29 11:30:47 +00:00
David Anderson 27a7659f36 - Bossa: changed the DB infrastructure to let Bossa tables
live in a different database (and/or server) than the BOINC tables.
    Also eliminated the need to call a DB init function.
    This involved:
    1) adding <bossa_db_host> etc. entries to config.xml
    2) prefixing DB name to table name in all Bossa queries
        (this is needed if Bossa DB is on same server as BOINC DB,
        since we're using persistent connections)
- user web: added Montenegro, and changed Serbia and Montenegro to Serbia
    (requires DB update to make latter change in existing records)


svn path=/trunk/boinc/; revision=13962
2007-10-25 21:34:13 +00:00
David Anderson 094eb0095e - Bossa:
JSON-encode stuff
    use text instead of varchar(255) a couple of places
    create Bossa class for utility functions

svn path=/trunk/boinc/; revision=13908
2007-10-18 21:43:25 +00:00
David Anderson b079d40cb9 - API, Unix: call getrusage() from the timer thread,
not the worker signal handler.
    There's no reason to call it from the signal handler -
    it returns the CPU for the entire process, not the calling thread.
    And it may be asynch-signal-handler-unsafe.
- API: comment out checks for bad CPU times.
    I don't think this is needed now, and in some cases it's wrong
    (multi-threaded apps can accumulate CPU faster than real time)
- API, Unix: in boinc_calling_thread_cpu_time(), don't retry getrusage().
- Bossa: switch to better class structure (suggested by Nicolas Alvarez).
    Haven't switched to mysqli yet, but will later.
    Also various other Bossa fixes

svn path=/trunk/boinc/; revision=13855
2007-10-16 23:02:13 +00:00
David Anderson ad2fe67886 - Initial checkin of Bossa code.
This isn't part of BOINC and eventually
    it should go in a different repository,
    but for now I'm putting it here.

svn path=/trunk/boinc/; revision=13851
2007-10-16 17:12:48 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +00:00
David Anderson 38ba2854a0 svn path=/trunk/boinc/; revision=13750 2007-10-02 16:26:39 +00:00
David Anderson 2272891035 - user web: add "team search" page, which does a multi-criteria
search (keywords, country, type).
    Have the new-user scenario route the user through this page.
    Also, link to it rather than team.php for existing users.
- user web: use cookies rather than URLs to identify new users,
    and show "Welcome to X" when they reach their user page.
- user web: don't show user intermediate page for join/quit team.
    Just take them to their user page.

svn path=/trunk/boinc/; revision=13731
2007-10-02 03:19:03 +00:00
David Anderson aee80d8fea - simplify sql query
svn path=/trunk/boinc/; revision=13676
2007-09-26 17:54:35 +00:00
Rytis Slatkevičius 4b8aeabf91 User web: fix an annoyance when team founder transfer is requested and the requester leaves the team.
NOTE: DB UPDATE REQUIRED.

svn path=/trunk/boinc/; revision=13673
2007-09-26 15:46:54 +00:00
David Anderson bc5b979afb - Added new script "update_versions_v6"; use this instead of
update_versions to add version 6 apps.
    It looks for API_VERSION string in main executable,
    adds the API version to the app_version XML,
    and sets min_core_version to 6 for version 6+ apps
- API: include API_VERSION string
- convert tabs to spaces here and there
- scheduler: parse unused elements in <net_stats>
- ops/show_log.php: if no URL args, just show form (fixes #415)
- client: parse and store api_version (not used yet)

svn path=/trunk/boinc/; revision=13627
2007-09-21 18:10:54 +00:00
David Anderson 8dfcc20101 user graph
svn path=/trunk/boinc/; revision=13576
2007-09-12 13:12:41 +00:00
David Anderson b1cd060e07 - added prototype page for showing info about user population
svn path=/trunk/boinc/; revision=13565
2007-09-11 12:39:31 +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
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 71e081f97f - mode changE
svn path=/trunk/boinc/; revision=13224
2007-07-26 21:57:42 +00:00
David Anderson 2d9df04429 - more team stuff
svn path=/trunk/boinc/; revision=13223
2007-07-26 21:50:45 +00:00
David Anderson 3990e817e3 - add support for "BOINC teams" (to be explained later)
svn path=/trunk/boinc/; revision=13218
2007-07-25 20:58:36 +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
Rytis Slatkevičius e7f63142cb Display transitioner backlog as 0 if database is empty
svn path=/trunk/boinc/; revision=13110
2007-07-06 17:07:40 +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
David Anderson 477008a3c1 - user web: added Burma to country list
- admin web: removed deprecated create-account scripts

html/
    inc/
        cache.inc
        country.inc
    ops/
        create_account_form.php (removed)
        create_account_action.php (removed)
        show_log.php

svn path=/trunk/boinc/; revision=12941
2007-06-15 23:54:25 +00:00
David Anderson 46f999f0ba - Added project.xml entry for Playstation 3 / Linux
- Server status page: if the scheduler isn't running,
    it's almost certainly because "stop_sched" is present,
    not because Apache isn't running.
    Get rid of the use of "sched_pid".
    
tools/
    project.xml
html/ops/
    sample_server_status.php

svn path=/trunk/boinc/; revision=12931
2007-06-13 21:16:27 +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 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
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
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 be74515c58 - Server status page: fix bug that showed most daemons as not running
on FC6; needed to trim white space from pid
    - Server status page: show server software SVN revision

svn path=/trunk/boinc/; revision=12569
2007-05-05 03:11:35 +00:00
Matt Lebofsky 136ce49b84 svn path=/trunk/boinc/; revision=12536 2007-05-02 23:17:52 +00:00
Matt Lebofsky 846ec9fbb0 svn path=/trunk/boinc/; revision=12532 2007-05-02 18:51:51 +00:00
David Anderson e4f26ad2c4 - UOTD code: don't generate a static page; add uotd.php
html/
        ops/
            update_uotd.php
        inc/
            uotd.inc
        user/
            uotd.php (new)

svn path=/trunk/boinc/; revision=12505
2007-04-30 15:29:14 +00:00
Rytis Slatkevičius c0bf6fe21a Fix for ticket #125 - problems with websites using PHP setting short_open_tag (additional files)
svn path=/trunk/boinc/; revision=12500
2007-04-29 14:45:44 +00:00
Rytis Slatkevičius 4332736ae9 Private message functionality for the forums.
NOTE: needs database update.

svn path=/trunk/boinc/; revision=12499
2007-04-29 14:22:28 +00:00
David Anderson f42e2ee623 - Major rewrite of email-sending programs.
Instead of editing their source (ugh!)
        you can now use command-line args to get testing functionality.
        
    html/ops/
        remind.php
        mass_email_script.php

svn path=/trunk/boinc/; revision=12494
2007-04-27 23:05:48 +00:00
David Anderson 04b3417483 make scripts executable (SVN change)
svn path=/trunk/boinc/; revision=12489
2007-04-26 20:47:37 +00:00
David Anderson b5b155e557 David 26 Apr 2007
- server: fix bug that causes PHP scripts not to run from Cron
        Fixes #129.  From Christian Beer.

    html/ops/
        update_profile_pages.php
    tools/
        run_in_ops

svn path=/trunk/boinc/; revision=12488
2007-04-26 20:24:47 +00:00
David Anderson 7e2b39c4db David 24 Apr 2007
- Server: add new database field host.error_rate.
        Stores a dynamic estimate of the fraction of the hosts's
        results that fail validation (updated by the validator).

    client/
        sim.C
        cs_prefs.C
    db/
        boinc_db.C,h
    html/ops/
        db_update.php
    sched/
        handle_request.C
        sched_msgs.h
        validator.C

svn path=/trunk/boinc/; revision=12466
2007-04-24 23:21:42 +00:00
David Anderson fe32380dcf David 23 Apr 2007
- make_project: remove --no_test_app option, add --test_app option
    - make_project: initial config in all cases has
        one_result_per_user_per_wu = 0
    - sample_assimilator: make it able to handle > 1 output file
    - boinc_cmd: make --help output more readable
    - User web: fix some undefined vars in translation.inc
        Rytis: let's try to fix PHP runtime warnings
    - DB: add default values for app table (avoid MySQL warnings)

    db/
        schema.sql
    html/
        inc/
            translation.inc
            uotd.inc
        ops/
            update_forum_activities.php
    lib/
        str_util.C
        boinc_cmd.C
    py/Boinc/
        setup_project.py
    sched/
        sample_work_generator.C
        sample_assimilator.C
    tools/
        make_project
        uc_wu, uc_result (new)

svn path=/trunk/boinc/; revision=12450
2007-04-23 16:14:47 +00:00
David Anderson e8aded2135 David 20 Apr 2007
- str_util: don't use std::transform, since it causes problems
        with VC++ express edition

    clientgui/
        sg_SGUIListControl.h
    html/ops/
        db_update.php
    lib/
        str_util.C,h

svn path=/trunk/boinc/; revision=12433
2007-04-20 18:49:40 +00:00
David Anderson 1880a50cc5 David 19 Apr 2007
- Change things so that make_project installs a test application
        (uppercase) and the daemons to go along with it
        (sample_work_generator, sample_bitwise_validator, sample_assimilator).
        This is mostly working, not completely.

    apps
        upper_case.C
    html/ops/
        mass_email_script.php
    py/Boinc/
        setup_project.py
    sched/
        sched_config.C,h
        sample_work_generator.C
    tools/
        make_project
        project.xml
        Makefile.am

svn path=/trunk/boinc/; revision=12422
2007-04-19 22:11:25 +00:00
Matt Lebofsky 591a93ebe1 svn path=/trunk/boinc/; revision=12419 2007-04-19 17:06:02 +00:00
David Anderson 35676da0d8 *** empty log message ***
svn path=/trunk/boinc/; revision=12358
2007-04-12 21:56:24 +00:00
David Anderson 773d149d4a *** empty log message ***
svn path=/trunk/boinc/; revision=12357
2007-04-12 21:53:59 +00:00
David Anderson 8bf3b76717 *** empty log message ***
svn path=/trunk/boinc/; revision=12356
2007-04-12 21:40:41 +00:00
David Anderson 6e9da77bca *** empty log message ***
svn path=/trunk/boinc/; revision=12355
2007-04-12 20:41:46 +00:00
David Anderson eaa534bbd7 *** empty log message ***
svn path=/trunk/boinc/; revision=12350
2007-04-12 02:57:09 +00:00
David Anderson 6b43ad0cbc *** empty log message ***
svn path=/trunk/boinc/; revision=12346
2007-04-11 18:05:26 +00:00
Matt Lebofsky 2e42393be9 *** empty log message ***
svn path=/trunk/boinc/; revision=12342
2007-04-10 22:57:17 +00:00
Rytis Slatkevičius d72c002779 Update manage_user.php and get rid of security stuff currently only used in Pirates@Home.
svn path=/trunk/boinc/; revision=12286
2007-03-29 19:17:13 +00:00
David Anderson 8b496d5b97 *** empty log message ***
svn path=/trunk/boinc/; revision=12269
2007-03-25 03:25:57 +00:00
Matt Lebofsky 0a720c1da0 *** empty log message ***
svn path=/trunk/boinc/; revision=11935
2007-01-22 22:39:22 +00:00
Matt Lebofsky 1ca0535532 *** empty log message ***
svn path=/trunk/boinc/; revision=11933
2007-01-22 21:49:55 +00:00
David Anderson 420e00f137 *** empty log message ***
svn path=/trunk/boinc/; revision=11860
2007-01-15 19:25:23 +00:00
David Anderson ed1d97c01b *** empty log message ***
svn path=/trunk/boinc/; revision=11837
2007-01-11 17:13:19 +00:00
David Anderson 75af81175b *** empty log message ***
svn path=/trunk/boinc/; revision=11717
2006-12-22 20:34:58 +00:00
Rytis Slatkevičius 1259b6dbe8 Getting rid of PHP Warning (from Eric Myers)
svn path=/trunk/boinc/; revision=11693
2006-12-17 17:19:29 +00:00
Rytis Slatkevičius 6abdb08250 Ops page changes (from Eric Myers)
svn path=/trunk/boinc/; revision=11547
2006-11-17 19:52:09 +00:00
Rytis Slatkevičius d4d93cdc25 Show UOTD counter in the ops page (from Eric Myers)
svn path=/trunk/boinc/; revision=11533
2006-11-16 19:03:07 +00:00
Rytis Slatkevičius 67b3f9a911 Forum thread locking
svn path=/trunk/boinc/; revision=11514
2006-11-10 17:09:09 +00:00
Rytis Slatkevičius cc0eae7bc6 Layout changes (from Eric Myers)
svn path=/trunk/boinc/; revision=11470
2006-11-04 19:57:56 +00:00
Rytis Slatkevičius f007ab0d75 Count team members on the fly, remove team_update_nusers()
svn path=/trunk/boinc/; revision=11424
2006-10-31 20:07:09 +00:00
Rytis Slatkevičius f7767052b3 Add a new notification area
svn path=/trunk/boinc/; revision=11422
2006-10-31 19:10:24 +00:00
Rytis Slatkevičius 81a2e9cd7d DB update was skipped in the last CVS checkin for team page update :(
svn path=/trunk/boinc/; revision=11410
2006-10-31 09:06:58 +00:00
Matt Lebofsky 9a9d3514e2 *** empty log message ***
svn path=/trunk/boinc/; revision=11344
2006-10-23 22:05:56 +00:00
David Anderson 190f7d177a *** empty log message ***
svn path=/trunk/boinc/; revision=11337
2006-10-22 01:46:33 +00:00
Reinhard Prix 3cc5bae558 checkin for Bernd Machenschalk:
This adds a new link to the OPS page called "List all-error Workunits".
The php script it calls scans the database for Workunits that got at
least min_quorum+1 (number can be configured withing the script)
client errors returned and no successful result (yet). The idea is to
detect problems in the workunit generation or data files.
Scanning the whole result table the script stresses the database a bit,
so some caching has been incorporated (300 sec by default).

svn path=/trunk/boinc/; revision=11250
2006-10-05 12:43:29 +00:00
David Anderson f8ea3e0797 *** empty log message ***
svn path=/trunk/boinc/; revision=11213
2006-09-28 18:51:52 +00:00
David Anderson 38e5c621ba *** empty log message ***
svn path=/trunk/boinc/; revision=11212
2006-09-28 18:01:29 +00:00
David Anderson efa7b7a3ad *** empty log message ***
svn path=/trunk/boinc/; revision=11175
2006-09-19 12:57:57 +00:00
David Anderson aef50da4f1 *** empty log message ***
svn path=/trunk/boinc/; revision=11154
2006-09-14 00:18:13 +00:00
David Anderson dede65e8f0 *** empty log message ***
svn path=/trunk/boinc/; revision=11094
2006-09-04 17:51:42 +00:00
David Anderson 886604d12c *** empty log message ***
svn path=/trunk/boinc/; revision=11038
2006-08-29 20:39:44 +00:00
David Anderson 93cd221a35 *** empty log message ***
svn path=/trunk/boinc/; revision=10914
2006-08-14 22:57:59 +00:00
David Anderson b8c02cd8af *** empty log message ***
svn path=/trunk/boinc/; revision=10913
2006-08-14 22:50:51 +00:00
David Anderson 44658e81e5 *** empty log message ***
svn path=/trunk/boinc/; revision=10912
2006-08-14 22:11:53 +00:00
David Anderson 0328bd2122 *** empty log message ***
svn path=/trunk/boinc/; revision=10867
2006-08-08 20:32:37 +00:00
David Anderson c94a867c8b *** empty log message ***
svn path=/trunk/boinc/; revision=10820
2006-08-02 21:33:19 +00:00
David Anderson 568f39f21c *** empty log message ***
svn path=/trunk/boinc/; revision=10789
2006-07-28 16:09:10 +00:00
David Anderson 55d1aaa2f1 *** empty log message ***
svn path=/trunk/boinc/; revision=10702
2006-07-20 20:30:05 +00:00
David Anderson 7eb21f34e2 *** empty log message ***
svn path=/trunk/boinc/; revision=10701
2006-07-20 20:27:21 +00:00
David Anderson dd093341ac *** empty log message ***
svn path=/trunk/boinc/; revision=10676
2006-07-18 20:08:25 +00:00
David Anderson 6a5f70b7ba *** empty log message ***
svn path=/trunk/boinc/; revision=10651
2006-07-13 23:40:10 +00:00
David Anderson 913bc77221 *** empty log message ***
svn path=/trunk/boinc/; revision=10649
2006-07-13 16:48:44 +00:00
David Anderson cc5c1189c0 *** empty log message ***
svn path=/trunk/boinc/; revision=10623
2006-07-11 21:56:53 +00:00
David Anderson 440c667e8a mass email
svn path=/trunk/boinc/; revision=10580
2006-07-05 21:38:08 +00:00
David Anderson 091b57c6c1 *** empty log message ***
svn path=/trunk/boinc/; revision=10380
2006-06-16 23:53:56 +00:00
David Anderson 923075d005 *** empty log message ***
svn path=/trunk/boinc/; revision=10258
2006-06-06 18:45:40 +00:00
Bruce Allen 9f19882046 HTML ops page: properly display queries containing '<' and '>'.
svn path=/trunk/boinc/; revision=10249
2006-06-04 12:48:35 +00:00
David Anderson 15fe106670 db_cleanse.php
svn path=/trunk/boinc/; revision=9795
2006-04-04 20:11:22 +00:00
David Anderson 72b6a1d828 *** empty log message ***
svn path=/trunk/boinc/; revision=9787
2006-04-03 18:02:48 +00:00
David Anderson a43babc42d user web fixes
svn path=/trunk/boinc/; revision=9768
2006-03-30 00:45:24 +00:00
Bruce Allen 4a571ea68c Ops page bug fix from Carl Christensen for manage special users page.
svn path=/trunk/boinc/; revision=9431
2006-02-09 20:37:13 +00:00
Bruce Allen 8d7b03381d Made debug mode default, fixed typo
svn path=/trunk/boinc/; revision=9418
2006-02-08 03:40:45 +00:00
Bruce Allen f4d284c679 Added a script (originally provided by DA, I think) to
send mass email to project participants.  The script allows
one to select the TYPE of user, including 'all', 'active',
'lapsed', 'unsuccessful' and so on.  Also appends a 'how to opt
out' message at the end. Do NOT use this script without testing it.

svn path=/trunk/boinc/; revision=9417
2006-02-08 03:30:46 +00:00
David Anderson f6f1835534 *** empty log message ***
svn path=/trunk/boinc/; revision=9368
2006-01-31 22:21:11 +00:00
David Anderson 782d76dd30 moved server status pages
svn path=/trunk/boinc/; revision=9241
2006-01-16 05:48:11 +00:00
David Anderson 1959fbe160 don't leak fds to apps
svn path=/trunk/boinc/; revision=9084
2005-12-18 02:00:15 +00:00
Janus B. Kristensen 96f82f3a4f Display only last Y posts if thread has more than X posts in total.
svn path=/trunk/boinc/; revision=8925
2005-11-24 16:36:12 +00:00
David Anderson 17617df915 *** empty log message ***
svn path=/trunk/boinc/; revision=8780
2005-11-01 04:13:22 +00:00
David Anderson 4a53269531 profile fixes
svn path=/trunk/boinc/; revision=8684
2005-10-17 03:03:48 +00:00
Bruce Allen ce6426026c Fix bug in cancel WU script
svn path=/trunk/boinc/; revision=8653
2005-10-11 19:27:37 +00:00
Matt Lebofsky 54d9ce7cb0 ps w -> ps ww
svn path=/trunk/boinc/; revision=8537
2005-10-06 20:22:21 +00:00
Janus B. Kristensen 8e9a59767f *** empty log message ***
svn path=/trunk/boinc/; revision=8389
2005-10-01 11:29:31 +00:00
Bruce Allen cb260c471b More utiliites for converting things to bbcode. This was needed because
otherwise the stuff in the signatures was totally messing up the forum pages.

svn path=/trunk/boinc/; revision=8348
2005-09-30 01:29:58 +00:00
David Anderson 941d7e21d8 fix DEBUG symbol collision
svn path=/trunk/boinc/; revision=8189
2005-09-26 23:28:48 +00:00
David Anderson 5d9e3a61fd profile picture verification
svn path=/trunk/boinc/; revision=8169
2005-09-25 05:47:48 +00:00
David Anderson 66ef4a6b49 *** empty log message ***
svn path=/trunk/boinc/; revision=8168
2005-09-24 22:30:19 +00:00
David Anderson adf9748d99 Macedonia
svn path=/trunk/boinc/; revision=8150
2005-09-22 23:27:08 +00:00
David Anderson 5aa258b629 *** empty log message ***
svn path=/trunk/boinc/; revision=8059
2005-09-20 17:54:53 +00:00
David Anderson 331d273b36 *** empty log message ***
svn path=/trunk/boinc/; revision=8057
2005-09-20 17:54:52 +00:00
David Anderson 379cea1b2a bbcode convert script
svn path=/trunk/boinc/; revision=8052
2005-09-20 05:36:35 +00:00
Bruce Allen 4185f363ed Web pages. To control the posting of offsensive pictures, do not
display any user profile pictures until they have been verified by
project admin.  When user enters or modifies picture, only they can
see if.  If not yet verified, they will see a message saying that
other users can't see it until it has been verified by the project.
If admins have rejected it, user will see a message saying that they
must replace their picture or no one but themselves can see it.

The only known side effect of this is that selection of UOTD is now
includes users with no credit.  I will try to fix this.

svn path=/trunk/boinc/; revision=7967
2005-09-11 07:31:42 +00:00
David Anderson 8a72aef655 remove email munge code
svn path=/trunk/boinc/; revision=7518
2005-08-26 22:26:26 +00:00
David Anderson 041b6f24c6 *** empty log message ***
svn path=/trunk/boinc/; revision=7492
2005-08-25 23:07:58 +00:00
David Anderson b3dc4bcbe4 new account setup
svn path=/trunk/boinc/; revision=7205
2005-08-07 01:33:15 +00:00
Bruce Allen 79d98f8afa Print a warning if a user hits the upper boundary on claimed credits
svn path=/trunk/boinc/; revision=6496
2005-06-29 15:13:23 +00:00
Bruce Allen f403368dcd Clearer output
svn path=/trunk/boinc/; revision=6495
2005-06-29 14:01:41 +00:00
Bruce Allen 3083f28348 Added a php script grant_credit.php. Running this will grant credit
to users/hosts/teams for workunits that have been cancelled or have
otherwise failed with some problem (error_mask!=0).  The script
can be run multiple times without doing any harm.  Documentation
contained within as a comment.

svn path=/trunk/boinc/; revision=6475
2005-06-28 15:29:41 +00:00
David Anderson ca08a07ff9 *** empty log message ***
svn path=/trunk/boinc/; revision=6450
2005-06-26 23:13:48 +00:00
David Anderson 6a0176e6c8 *** empty log message ***
svn path=/trunk/boinc/; revision=6415
2005-06-23 07:42:45 +00:00
David Anderson 1ae7d9b042 *** empty log message ***
svn path=/trunk/boinc/; revision=6026
2005-05-04 22:38:14 +00:00
Janus B. Kristensen 1de42d1500 Ability to ignore sticky posts (don't reorder them in forum list)
svn path=/trunk/boinc/; revision=5990
2005-04-30 10:20:49 +00:00
Bruce Allen 219fab8a5c Put 'do another' at the top not bottom of the page
svn path=/trunk/boinc/; revision=5930
2005-04-25 15:06:22 +00:00
David Anderson 615982f0b4 *** empty log message ***
svn path=/trunk/boinc/; revision=5910
2005-04-20 22:46:47 +00:00
Janus B. Kristensen f1a7efccf8 Stickies and new forum rules
svn path=/trunk/boinc/; revision=5906
2005-04-20 21:25:18 +00:00
Bruce Allen 35acc96c5a Forgot to check in modified ops/index.php page
svn path=/trunk/boinc/; revision=5896
2005-04-19 20:48:43 +00:00
Bruce Allen 615d8aea5c Better error reporting from problem_host.php reporting page, if
host does not exist.  Thanks to Christian Beer.

svn path=/trunk/boinc/; revision=5895
2005-04-19 19:56:23 +00:00
Bruce Allen ffcebd559f Added ops page script to email owners of 'problem' hosts. Thanks to
Christian Beer for writing this.

svn path=/trunk/boinc/; revision=5888
2005-04-18 18:26:14 +00:00
Bruce Allen 01f30efe26 Made default choice 'ACCEPT' for screening user profiles for UOTD.
svn path=/trunk/boinc/; revision=5882
2005-04-18 02:36:35 +00:00
David Anderson fbea520885 *** empty log message ***
svn path=/trunk/boinc/; revision=5872
2005-04-15 22:58:32 +00:00
David Anderson 33a36d367f *** empty log message ***
svn path=/trunk/boinc/; revision=5871
2005-04-15 22:52:19 +00:00
David Anderson 0dd0664134 *** empty log message ***
svn path=/trunk/boinc/; revision=5764
2005-04-02 18:37:22 +00:00
David Anderson 46d84b5802 *** empty log message ***
svn path=/trunk/boinc/; revision=5709
2005-03-23 23:58:43 +00:00
David Anderson f949aa0e35 *** empty log message ***
svn path=/trunk/boinc/; revision=5556
2005-03-03 19:36:32 +00:00
Bruce Allen 77411a83ab Added ops page to manage special users (from Christian Beer)
svn path=/trunk/boinc/; revision=5555
2005-03-03 17:48:16 +00:00
David Anderson d1c93a45ec *** empty log message ***
svn path=/trunk/boinc/; revision=5552
2005-03-02 17:57:20 +00:00
David Anderson b152c3f453 *** empty log message ***
svn path=/trunk/boinc/; revision=5530
2005-02-26 00:24:37 +00:00
David Anderson 7be3f2711b *** empty log message ***
svn path=/trunk/boinc/; revision=5500
2005-02-23 00:42:14 +00:00
David Anderson 1e808b012c *** empty log message ***
svn path=/trunk/boinc/; revision=5494
2005-02-22 19:37:55 +00:00
Bruce Allen 8dc13cd1e6 Turn off ops pages that update the data base. These now issue a message
informing the project admin that they need to be explicitly edited to
enable updating the database.  This will help prevent inadvertent use.
Thanks to David Hammer.

svn path=/trunk/boinc/; revision=5373
2005-02-09 18:09:26 +00:00
Bruce Allen 849f83488b Checking in the right versions of these files....
svn path=/trunk/boinc/; revision=5353
2005-02-08 04:38:31 +00:00
Bruce Allen 1cb56d0f52 - Add new validate_state==TOO_LATE to ops pages summaries and result table
choice selection menus
    - Ops pages fixes from Christian Beers and David Hammer:
      * some rearrangement of index page
      * fix pass percentage by platform pages to show only non-deprecated apps
      * all platforms now appear in summary pages of failures

svn path=/trunk/boinc/; revision=5351
2005-02-08 03:33:35 +00:00
David Anderson cc63aaf090 *** empty log message ***
svn path=/trunk/boinc/; revision=5182
2005-01-21 07:54:15 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson 81febcb444 *** empty log message ***
svn path=/trunk/boinc/; revision=5159
2005-01-20 19:45:46 +00:00