Commit Graph

2272 Commits

Author SHA1 Message Date
David Anderson fbabb7cee7 - web: tweaks to host list
- scheduler: condition lots of log file writes on config flags
    (i.e. divide "debug" output into a bunch of categories, individually selectable)

svn path=/trunk/boinc/; revision=15101
2008-04-26 23:34:38 +00:00
David Anderson 9a29a80161 web fix
svn path=/trunk/boinc/; revision=15099
2008-04-26 03:04:36 +00:00
David Anderson d13824a47f web fixes
svn path=/trunk/boinc/; revision=15098
2008-04-26 00:13:38 +00:00
David Anderson c3ea696662 - web: restore OS/CPU details to host list; add Tasks link
fixes #630


svn path=/trunk/boinc/; revision=15097
2008-04-25 23:56:39 +00:00
David Anderson 68f535d033 - user web: send no-cache headers except if we're doing
whole-page caching.  Fixes #626

svn path=/trunk/boinc/; revision=15089
2008-04-24 16:16:36 +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 f66ec3932b - user web: clear team founder change if requester left team
- user web: check for deleted thread in subcription list
- user web: fix founder change link

svn path=/trunk/boinc/; revision=15070
2008-04-21 14:04:01 +00:00
David Anderson 753b20a67f - client: do the /proc/interrupts stuff (see above)
only on Linux-like systems;
    use device_idle() only on non-Linux Unix systems

svn path=/trunk/boinc/; revision=15059
2008-04-15 22:42:23 +00:00
Jens Seidler 0bb18a9b6c svn path=/trunk/boinc/; revision=15057 2008-04-15 19:02:35 +00:00
Jens Seidler 2bb1c00585 svn path=/trunk/boinc/; revision=15055 2008-04-15 18:39:23 +00:00
Rytis Slatkevičius 0333d3d598 user web: change flush statement to function call in translation system (fixes #425).
svn path=/trunk/boinc/; revision=15054
2008-04-15 16:52:23 +00:00
David Anderson d439244f3f - fixes for gcc 4.3
svn path=/trunk/boinc/; revision=15020
2008-04-06 03:15:36 +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 13400c9516 Changes for multithread app support:
- update_versions: use __ (not :) as separator for plan class
- client: add plan_class to APP_VERSION;
    an app version is now identified by platform/version/plan_class
- client CPU scheduler: don't assume apps use 1 CPU
- client: add avg_ncpus, max_cpus, flops, cmdline to RESULT
- scheduler: implement app planning scheme

Other changes:

- client: if symlink() fails, make a XML soft link instead
    (for Unix running off a FAT32 FS)
- client: don't accept nonpositive resource share from AMS
- daemons and DB: check for error returns from enumerations,
    and exit if so.  Thus, if the MySQL server goes down,
    all the daemons will soon exit.
    The cron script will restart them every 5 min,
    so when the DB server comes back up so will the project.
- web: show empty max CPU % as ---
- API: get rid of all_threads_cpu_time option (always the case now)


svn path=/trunk/boinc/; revision=14966
2008-03-27 18:25:29 +00:00
David Anderson 9de3ad8a9a - updated GeoIP stuff
svn path=/trunk/boinc/; revision=14951
2008-03-20 22:48:29 +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 32022aa71e - web: fixed bugs in Bulgarian translation file
svn path=/trunk/boinc/; revision=14916
2008-03-14 21:40:18 +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
Jens Seidler db1175f5c3 Localization: BOINC distribued web site language files updated: Chinese simplified(zh_CN), Spanish(es)
svn path=/trunk/boinc/; revision=14898
2008-03-12 06:21:47 +00:00
David Anderson 90d83d78d9 - web: show venues in private host list
- compile fixes

svn path=/trunk/boinc/; revision=14897
2008-03-11 20:27:19 +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 09558a5ffa - web: error-check the destination thread for moderation moves
svn path=/trunk/boinc/; revision=14868
2008-03-07 04:54: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
Rytis Slatkevičius 98274b2496 User web: translate some strings in forum.inc (fix #496).
svn path=/trunk/boinc/; revision=14861
2008-03-06 18:16:30 +00:00
David Anderson 5805d5f13a - web: minor code cleanup
svn path=/trunk/boinc/; revision=14854
2008-03-06 00:40:48 +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 d6ec0b2b5b - web: fixed typo that cause bad (and slow) query
when notifying user of friend acceptance on web

svn path=/trunk/boinc/; revision=14840
2008-03-04 21:17:09 +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 577e4ac47d - make_project: initialize send_result_abort=1 in config file
- web: "least recent" => "oldest", "most recent" => "newest"
- scheduler: change DELAY_NO_WORK_CACHE from 20 min to 0.
    Otherwise, a host that has max_wus_in_progress,
    completes one, and sends a work request before the upload is finished
    will delay (and maybe sit idle) for 20 min.
    Better to have a few extra scheduler requests
    and let the client's backoff take care of things.

svn path=/trunk/boinc/; revision=14822
2008-02-28 21:22:50 +00:00
Rytis Slatkevičius 320a0bff3f - User web: fix (at least part of) long threads issue.
svn path=/trunk/boinc/; revision=14816
2008-02-28 18:45:50 +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 5a5e2f41f1 - web: fix message
svn path=/trunk/boinc/; revision=14770
2008-02-21 16:51:54 +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 c98a8c6665 - web: typo in bbcode.php
svn path=/trunk/boinc/; revision=14762
2008-02-19 16:42:31 +00:00
David Anderson 2e4c7ee41a - web: fix in XML RPC to get pending credit
fixes #558


svn path=/trunk/boinc/; revision=14758
2008-02-18 23:48:07 +00:00
David Anderson 4ea0acb65e - web: single quotes in team name HTML didn't work
because of magic quotes (need stripslashes()).

svn path=/trunk/boinc/; revision=14754
2008-02-17 16:12:03 +00:00
Jens Seidler bca55b5e67 Localization: BOINC Manager and BOINC distribued web site language files updated: Japanese(ja), Italian(it), Dutch(nl), Polish(pl), Chinese simplified(zh_CN)
svn path=/trunk/boinc/; revision=14750
2008-02-15 17:18:43 +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
Jens Seidler 87804b8236 Correcting a error
svn path=/trunk/boinc/; revision=14742
2008-02-14 06:38:32 +00:00
David Anderson 8f3e114f8d - web: make "next URL" mechanism work when user creates new account
instead of logging in

svn path=/trunk/boinc/; revision=14737
2008-02-13 19:54:54 +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 ee34cf3ab7 - client: removed sprawl
svn path=/trunk/boinc/; revision=14721
2008-02-12 15:04:27 +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 a323eba986 - scheduler: fix bone-head mistake in HR code
svn path=/trunk/boinc/; revision=14715
2008-02-10 05:17:57 +00:00
David Anderson f77420c2c0 - scheduler: do "careful update" of workunit.hr_class
in case someone else changed since we read it.
    Hopefully this will fix a race condition
    where WU results get sent to different HR classes.
    (Alternatively we could use transactions,
    or acquire the semaphore during read/update,
    but this could impact performance).

svn path=/trunk/boinc/; revision=14710
2008-02-08 17:20:09 +00:00
David Anderson 936c729b9b - Bolt: fixed bugs in review and repeat
svn path=/trunk/boinc/; revision=14707
2008-02-07 23:21:31 +00:00
David Anderson abd1f1e752 - implemented question mechanism
svn path=/trunk/boinc/; revision=14695
2008-02-07 01:09:30 +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 e56ed1430f - DB code: safe_atof() was returning a float,
causing a potential loss of precision.
    Change it to double (same as atof())
- When moderator locks a thread, let them specify reason

svn path=/trunk/boinc/; revision=14662
2008-02-02 17:01:57 +00:00
David Anderson b8877e887e - add weak auth to am_get_info web RPC (from Nicolas)
svn path=/trunk/boinc/; revision=14661
2008-02-02 15:38:59 +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 d2a0353a00 - manager: fix unix build (new file)
svn path=/trunk/boinc/; revision=14658
2008-01-31 23:43:37 +00:00
David Anderson 4cfba489df - implement the review mechanism
svn path=/trunk/boinc/; revision=14653
2008-01-30 19:29:51 +00:00
David Anderson c715d51bff - web: add "% of CPUs to use on multiprocessors" pref
- client: enforce the above pref; remove the max_cpus pref.

svn path=/trunk/boinc/; revision=14639
2008-01-29 21:01:04 +00:00
David Anderson a463661f6b - web: add "max CPU % for graphics" project-specific preference.
Projects should copy or merge
    project.sample/project_specific_prefs.inc
- screensaver: change
        Running research for PROJECT
        Workunit: X
    to
        Computing for PROJECT
        Task: X

svn path=/trunk/boinc/; revision=14637
2008-01-29 20:04:38 +00:00
David Anderson f682236bd9 - API: fix Win build error
- API: fix Makefile.am
- add LGPL license on some files

svn path=/trunk/boinc/; revision=14629
2008-01-28 22:42:05 +00:00
David Anderson 2b7314c574 - comment out URL login stuff for now
svn path=/trunk/boinc/; revision=14627
2008-01-28 16:18:19 +00:00
David Anderson fa69876916 - web: fix bug in handling of links on "forget password?" emails
- web: show number of friends

svn path=/trunk/boinc/; revision=14626
2008-01-28 16:12:28 +00:00
David Anderson ebed572d4f - API: allow Win apps to have icon
svn path=/trunk/boinc/; revision=14625
2008-01-28 15:48:09 +00:00
Rytis Slatkevičius 6877f17dea User web: fix donations page with multiple donation targets.
svn path=/trunk/boinc/; revision=14611
2008-01-22 13:20:59 +00:00
David Anderson bf2a1df1fc - web: fixed extremely minor bug in forum search; fixes #539
svn path=/trunk/boinc/; revision=14603
2008-01-19 13:25:47 +00:00
David Anderson 1e5b72068e - make old-style graphics (though not supported) still compile
svn path=/trunk/boinc/; revision=14588
2008-01-17 18:09:30 +00:00
David Anderson cf4e42b4a3 - client: restore proper sense of --check_all_logins
(should this be set by default?)
- web: removed addslashes() when building language translation arrays.
    These caused 's to be displayed as \' everywhere.
    They may serve some purpose, but I can't think of what it is.
- web: changed max profile image dimensions from 800x600 to 640x480.
    The new profile page puts a column to the right
    of the image, so it shouldn't be quite that wide.

svn path=/trunk/boinc/; revision=14562
2008-01-15 22:22:08 +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
Mark Somers 5fbc198fa2 Update some of the code and added some documentation...
svn path=/trunk/boinc/; revision=14554
2008-01-15 08:36:59 +00:00
David Anderson 8490214d48 - server/web: the weak auth scheme had a major flaw:
It didn't work on a host's first scheduler RPC
    (when it passes an auth but no host ID).
    How do we look up user in this case?
    The weak auth is not stored explicitly in the DB.
    Solution: include the user ID in the weak auth.
    (this invalidates existing weak auths)

svn path=/trunk/boinc/; revision=14546
2008-01-14 16:32:34 +00:00
Jens Seidler 642c12a376 Localization: BOINC distributed websites and BOINC Manager language updated: Dutch(nl), Russian(ru), Spanish(es), Chinese Simplified(zh_CN), Chinese Traditional(zh_TW),
svn path=/trunk/boinc/; revision=14545
2008-01-14 05:55:40 +00:00
David Anderson 2be6f8e53a - Client: add <run_apps_manually> config flag.
This is for debugging apps (currently works only in Unix).
    What it does: when running an app,
    the client does everything except actually fork/exec the app,
    i.e. it sets up the slot dir, creates shared mem segment etc.
    It then continues as if the app were actually running,
    and you can then manually run your app under a debugger
    in the slot directory.
    Note: the client won't notice the termination of your app.
- API, Unix: in situations where the timer thread wants to exit
    (e.g. it notices a missing heartbeat).
    don't directly call boinc_exit(),
    since this touches data structures that the worker thread
    may be using concurrently.
    Instead, set a flag telling the worker thread to call boinc_exit()
    (which it will do from its signal handler)
    This is an attempt to fix problems reported by Bernd;
    I haven't tested it.
- scheduler: add config flag for uploading usage data
- web: show account key and weak account key on user page
- added some code for multithread support (not finished)

api/
    boinc_api.C


svn path=/trunk/boinc/; revision=14542
2008-01-13 00:12:14 +00:00
David Anderson 26ef4ac7d3 - web: in host merge pages, provide "Show details" button,
which shows the reasons why pairs of hosts
    were not eligible for merging

svn path=/trunk/boinc/; revision=14539
2008-01-12 00:15:24 +00:00
David Anderson 037c0f0ff9 - web: fix bug there message link not correct in search results; fixes #539
svn path=/trunk/boinc/; revision=14537
2008-01-11 23:11:07 +00:00
David Anderson fd80e135a0 - client: don't count header in bytes_xferred for file uploads
(this causes confusing output in the Manager,
    bytes xferred greater than file size)
- API and client: make boinc_sleep() work regardless of signals
- some code cleanup in http_curl.C

svn path=/trunk/boinc/; revision=14522
2008-01-10 23:27:42 +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 d47c5c1e2f - API, Unix: fix bug where boinc_sleep() hangs forever.
This was because SIGALRM always interrupts sleep()
    and keeps boinc_sleep() stuck in its while loop.
    Solution: change boinc_sleep() so that it works even if
    rapid signals (e.g. interval timer) are happening
- API: remove deprecated graphics files from Makefile.
    Old-style graphics are no longer supported.
- web: add empty show_user_donations_private() to donations.inc

svn path=/trunk/boinc/; revision=14513
2008-01-09 17:32:02 +00:00
Jens Seidler 642a18d26b BOINC distributed and homepage website language files updated: Catalan(ca)
svn path=/trunk/boinc/; revision=14510
2008-01-09 06:17:32 +00:00
David Anderson 6e0b797d69 - web: add "Mark all threads as read" button to Help Desk (fixes #531)
- add "self" link to RSS notify feed
- web: if fail to send email, don't show error message
    (might reveal recipient's email addr)

svn path=/trunk/boinc/; revision=14487
2008-01-08 00:34:55 +00:00
David Anderson 1885f888fe - web: if user A is ignoring user B,
don't accept a friend request from B to A
- boinc_cmd: --help fix

svn path=/trunk/boinc/; revision=14486
2008-01-08 00:20:30 +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 afafb94aee - added Isle of Man to country list
svn path=/trunk/boinc/; revision=14480
2008-01-07 20:16:40 +00:00
David Anderson fef16a7498 - web: bug fixes
svn path=/trunk/boinc/; revision=14474
2008-01-06 18:09:23 +00:00
David Anderson 7651ec301e - add notify_rss.php
svn path=/trunk/boinc/; revision=14469
2008-01-04 23:24:31 +00:00
David Anderson 757c41b1fa - web: add RSS feed for notifications
- make_project: disable community-related periodic tasks
    for newly-created projects

svn path=/trunk/boinc/; revision=14468
2008-01-04 22:59:21 +00:00
David Anderson 2d40b5722d - web: fix broken link for profile like/don't like.
TODO: currently these don't do anything useful.  Fix this.

svn path=/trunk/boinc/; revision=14461
2008-01-03 17:37:38 +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 0a6753ad0f - web: add "Find friends" link to private friends list
- web: in user search form, give input focus to name field

svn path=/trunk/boinc/; revision=14459
2008-01-02 17:52:21 +00:00
Jens Seidler 3899174501 BOINC distributed and homepage websites and BOINC Manager language files updated: Chinese Simplified(zh_CN), Chinese Traditional(zh_TW), Spanish(es), Catalan(ca), Italian(it)
svn path=/trunk/boinc/; revision=14453
2008-01-02 06:26:21 +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 dddd1fc501 - fixed bug in upgrade
svn path=/trunk/boinc/; revision=14451
2008-01-01 18:07:13 +00:00
David Anderson 945b160992 - web tweaks
svn path=/trunk/boinc/; revision=14450
2007-12-31 22:56:39 +00:00
David Anderson 3ce776ba81 - web: bug fix in notification digest email
svn path=/trunk/boinc/; revision=14448
2007-12-30 22:30:31 +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 40f594b07c - upgrade script: fix it, and add --web_only option (fixes #527)
- web: replace "Result" by "Task" a couple of places

svn path=/trunk/boinc/; revision=14446
2007-12-28 05:23:52 +00:00
David Anderson 55c0ee22a0 - web: default for user_links() is to not show profile pic.
Show the pic only in the context of friends list.

svn path=/trunk/boinc/; revision=14444
2007-12-27 18:37:22 +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 f9d0d3364a - web: don't show profile pics in forums,
since we already show avatars there.

svn path=/trunk/boinc/; revision=14440
2007-12-24 17:26:00 +00:00
David Anderson ed6aecf9bb - user link tweaks
svn path=/trunk/boinc/; revision=14439
2007-12-24 03:45:20 +00:00
David Anderson 724e89ebab - web: if user has profile photo, use it instead of head_20.
svn path=/trunk/boinc/; revision=14438
2007-12-23 23:09:10 +00:00
David Anderson 11dac5e80c - make_project: add --web_only option.
This lets you create a project for Bossa or Bolt
    without compiling the C++ stuff, which is not used by Bossa or Bolt.
- DB schema: change type= to engine= to avoid MySQL warning messages

svn path=/trunk/boinc/; revision=14437
2007-12-21 23:39:25 +00:00
David Anderson f211caf8ae - user web: when creating cache dir, chmod() so that
protections are right regardless of umask.
    From Nicolas Alvarez; fixes #344

svn path=/trunk/boinc/; revision=14435
2007-12-21 21:01:13 +00:00
David Anderson 32a69ba042 - fix PHP warning in forums
svn path=/trunk/boinc/; revision=14431
2007-12-21 17:10:46 +00:00
Rytis Slatkevičius 97d08681ab -user web: update Lithuanian translation, fix typo in html/user/info.php.
svn path=/trunk/boinc/; revision=14428
2007-12-20 13:16:53 +00:00
Jens Seidler 73d7277a77 Localization: BOINC distributed and homepage websites, Spanish(es), Catalan(ca), Italian(it)
svn path=/trunk/boinc/; revision=14424
2007-12-20 06:30:41 +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 c3491a40d9 David Dec 19 2007
- May as well start keeping checkin notes for Bolt.
        At this point the fundamental structure of Bolt is
        more or less complete, I hope; many features are missing.

    Items for this particular checkin:

    - Make things work right when you resume a course at an
        exercise answer page.
        This creates a new View, whose prev_view_id link points
        to the exercise view, not the answer page view
    - When leave a page using "Up", terminate the view accordingly.
    - Rather than using $_GET, Form vars are now passed to exercise primitives
        in a global variable $bolt_ex_query_string, which they must parse.

svn path=/trunk/boinc/; revision=14414
2007-12-19 16:31:41 +00:00
David Anderson 2f3d70a228 Bolt: added mechanism to view old answer pages
svn path=/trunk/boinc/; revision=14396
2007-12-18 23:37:26 +00:00
David Anderson 2cd5dba886 Bolt stuff
svn path=/trunk/boinc/; revision=14395
2007-12-18 21:48:36 +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 bed9ce8307 minor code cleanup
svn path=/trunk/boinc/; revision=14375
2007-12-12 04:52:30 +00:00
David Anderson 69042c3284 - bolt stuff
svn path=/trunk/boinc/; revision=14374
2007-12-12 04:43:04 +00:00
David Anderson 820eb30596 - compile fixes
svn path=/trunk/boinc/; revision=14373
2007-12-10 22:13:48 +00:00
David Anderson 4e9fa4f0c6 - tweaked weak-auth page (from Nicolas Alvarez)
svn path=/trunk/boinc/; revision=14372
2007-12-09 04:13:24 +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 b082f8686f svn path=/trunk/boinc/; revision=14361 2007-12-05 19:13:21 +00:00
David Anderson c962ad507d - web: edit team page was rejecting valid HTML team names
svn path=/trunk/boinc/; revision=14354
2007-12-04 23:19:39 +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
Jens Seidler de60bc19aa Localization: BOINC distributed websites, Spanish(es), Italian(it)
svn path=/trunk/boinc/; revision=14347
2007-12-03 05:40:19 +00:00
David Anderson 6587298725 - client: hopefully fix keyboard input detection on Linux
(may fix #463)

svn path=/trunk/boinc/; revision=14346
2007-12-03 02:27:30 +00:00
David Anderson aaa6e6659d - web: if user is banished, don't show their posts except to mods,
don't show their name in thread headers,
    and don't show their profile

svn path=/trunk/boinc/; revision=14344
2007-12-02 21:11:17 +00:00
David Anderson fa601671b6 - web: show explanation if try to change team name to one in use
- web: don't allow bad tags in team name HTML

svn path=/trunk/boinc/; revision=14339
2007-12-01 22:43:11 +00:00
David Anderson 966a64523e - web: put "mark all threads as unread" on the forum index,
since it applies to all forums.

svn path=/trunk/boinc/; revision=14338
2007-12-01 01:22:14 +00:00
David Anderson 2a2ba6e19d - web: escape single-quotes in javascript strings
svn path=/trunk/boinc/; revision=14337
2007-12-01 00:52:26 +00:00
David Anderson 4b44a3935e svn path=/trunk/boinc/; revision=14330 2007-11-30 04:28:36 +00:00
David Anderson 7e15cca7a2 - web: include thread title in mod email subject
svn path=/trunk/boinc/; revision=14329
2007-11-30 04:26:55 +00:00
David Anderson 2ebf90fabd svn path=/trunk/boinc/; revision=14327 2007-11-30 00:38:38 +00:00
David Anderson b191ba9e33 - web: fix this forum prefs reset problem again; this time for sure
svn path=/trunk/boinc/; revision=14326
2007-11-30 00:32:29 +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 be20ad2af2 - web: updating forum prefs would undo banishment,
reset #posts, and clear moderator flags.  Fixed.


svn path=/trunk/boinc/; revision=14324
2007-11-29 23:26:49 +00:00
David Anderson a09e01d10f - web: include private message content in email notification
svn path=/trunk/boinc/; revision=14321
2007-11-29 18:14:56 +00:00
David Anderson 27ba7bf0e8 - web: clean up forum prefs forum, and add a Confirm when reset
svn path=/trunk/boinc/; revision=14320
2007-11-29 16:47:56 +00:00
David Anderson 68ec6e6ce6 svn path=/trunk/boinc/; revision=14319 2007-11-29 02:56:10 +00:00
David Anderson 5229a414f2 - web: clean up moderation emails for post hide/unhide.
TODO: other moderation emails
- web: fix small bug in host merge function

svn path=/trunk/boinc/; revision=14316
2007-11-28 17:40:28 +00:00
Eric J. Korpela 2ca04c07e0 Added function to project.inc, project_forum_post_rules() which returns
additional project specific posting rules.


svn path=/trunk/boinc/; revision=14315
2007-11-28 17:40:08 +00:00
Jens Seidler 957546281a Localization: BOINC distributed websites, Russian(ru)
svn path=/trunk/boinc/; revision=14311
2007-11-28 06:18:56 +00:00
Jens Seidler 8e3eef809d Localization: BOINC distributed websites, Spanish(es), Russian(ru), Chinese Simplified(zh_CN)
svn path=/trunk/boinc/; revision=14306
2007-11-26 18:02:41 +00:00
David Anderson 2c5666df86 - web: when showing team forums, give link back to forum index
svn path=/trunk/boinc/; revision=14303
2007-11-26 04:12:15 +00:00
David Anderson 235ea7fdea - web: fix PHP errors, add translations strings
svn path=/trunk/boinc/; revision=14302
2007-11-26 03:05:27 +00:00
David Anderson 32f6e5d314 svn path=/trunk/boinc/; revision=14301 2007-11-26 01:14:01 +00:00
David Anderson c1ad7d8df5 - web: reorder and reword Your Account page and Forum prefs page;
rename General Prefs to Computing Prefs;
    rename Forum Prefs to Community Prefs
    add Prefs link if user doesn't have email PM notification
- remove forum low/high rating theshold stuff.
    Message rating was a failed experiment.

svn path=/trunk/boinc/; revision=14300
2007-11-26 00:51:00 +00:00
David Anderson 2a4ddf1c45 - user web: use enum_fields() when enumerating team members;
hopefully this will prevent running out of memory on large teams

svn path=/trunk/boinc/; revision=14299
2007-11-25 20:57:34 +00:00
David Anderson 44caa5886e svn path=/trunk/boinc/; revision=14298 2007-11-25 04:52:01 +00:00
David Anderson fc2784895d - user web: add <team_forums_members_only> config option.
If set, only team members can see team forums

svn path=/trunk/boinc/; revision=14297
2007-11-25 04:47:54 +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 da3671f0de - user web: when showing UOTD on front page,
strip HTML tags from text (e.g. to remove photos)
- user web: show_image(): separate title (tooltip text)
    from "alt" (replaces image if images disabled).
    The latter must be terse.
- user web: show_button(): make it work even if Javascript disabled

svn path=/trunk/boinc/; revision=14294
2007-11-23 21:05:52 +00:00
David Anderson 830db542f7 - user web: fix translation bug (from Nicolas Alvarez)
- user web: fix small bug in team search

svn path=/trunk/boinc/; revision=14293
2007-11-23 19:11:42 +00:00
David Anderson 4b9d17fdcd - prevent 2 forums for 1 team
svn path=/trunk/boinc/; revision=14292
2007-11-23 16:26:41 +00:00
David Anderson feb9433218 - user web: if user edits posts and content is empty, delete; fixes #504
svn path=/trunk/boinc/; revision=14291
2007-11-23 00:51:01 +00:00
David Anderson 8456c61a35 - user web: fix bug in user filter; fixes #505
svn path=/trunk/boinc/; revision=14290
2007-11-23 00:19:48 +00:00
Jens Seidler 3bad0ee460 svn path=/trunk/boinc/; revision=14289 2007-11-22 18:42:43 +00:00
David Anderson 85894f9c71 svn path=/trunk/boinc/; revision=14288 2007-11-22 17:22:38 +00:00
David Anderson 0eb842c021 - user web: URL fix
svn path=/trunk/boinc/; revision=14287
2007-11-22 17:18:46 +00:00
David Anderson 8f6ce0b043 - user web: show list of subscribed threads on forum index page
- user web: highlight subscribed threads using green background
- user web: hyperlink thread titles in search results

svn path=/trunk/boinc/; revision=14286
2007-11-22 04:13:59 +00:00
David Anderson 6c9c644da8 - user web: team admins receive email notification of
moderation and red-X events, as well as team founder
- user web: admins can view team join/quit history
    (which no longer contains email addresses)
- user web: update text describing admin privileges

svn path=/trunk/boinc/; revision=14285
2007-11-22 02:36:51 +00:00
David Anderson 6efd83fb4c - user web: send UOTD email using PHPMailer if available
- user web: don't show team forum in Q&A page
- scheduler: code (commented out) to recognize when
    a sched request is from an existing host
    (same IP/domain/RAM size) and reuse the host record;
    from Kevin Reed

svn path=/trunk/boinc/; revision=14283
2007-11-22 01:52:27 +00:00
David Anderson 609e81b56d - user web: fix WAP function
svn path=/trunk/boinc/; revision=14278
2007-11-21 03:55:42 +00:00
David Anderson de2efcbc38 - user web: disable feature where answered questions are
shown in green - not ready for prime time.

svn path=/trunk/boinc/; revision=14277
2007-11-21 00:46:54 +00:00
David Anderson 05fb140544 svn path=/trunk/boinc/; revision=14276 2007-11-21 00:17:56 +00:00
David Anderson 6ac91121d1 - user web: add a <profile_min_credit> config file option.
This specifies min average credit needed to create or edit a profile.

svn path=/trunk/boinc/; revision=14275
2007-11-21 00:12:55 +00:00
David Anderson ab6bcccf59 - user web: team search tweaks
svn path=/trunk/boinc/; revision=14273
2007-11-20 23:18:54 +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 dddc2ec6d2 - user web: clean up funky search result formatting.
For thread titles, show links to forum/category also
    For posts, show complete post, with search terms highlighted.
- user web: in display of posts for a user,
    show links to thread and forum also
- user web: posts/threads can become "orphaned" if their forum
    disappears, e.g. team message board is deleted.
    Handle this gracefully in search results and user post list
- user web: where HTML tags are allowed, say so
- user web: fix bug where wrap_postcounts weren't being shown in form
- DB: use "tinyint" instead of "tinyint(1) unsigned" etc.

svn path=/trunk/boinc/; revision=14267
2007-11-20 19:23:26 +00:00
Jens Seidler d8ca586650 Localization: BOINC distributed websites and homepage language translation files Czech(cs), Polish(pl)
svn path=/trunk/boinc/; revision=14266
2007-11-20 06:29:21 +00:00
David Anderson 6a745f209e - user web: when send an email with login URL,
don't include the account key in the URL.
    Rather, include the user ID, the time, and
    a have of the ID, time, and account key.
    Honor this for 1 day.

svn path=/trunk/boinc/; revision=14265
2007-11-20 03:08:35 +00:00
David Anderson 9041fd8507 - user web: use forum prefs (e.g. display images as links)
when displaying PMs.  fixes #497

svn path=/trunk/boinc/; revision=14264
2007-11-20 00:55:35 +00:00
David Anderson 79343260dd - user web: clean up logic for dealing with forgotten password:
- login form now has ONLY email/passwd
        ("login with account key" is gone)
    - "forgot password?" takes you to a page with two options:
        1) type in email address, get an email with login link
        2) instructions for recovering account key from BOINC account file
    - email is stripped-down, has login link and not much else

    fixes #190

svn path=/trunk/boinc/; revision=14263
2007-11-20 00:23:02 +00:00
David Anderson 36ec89fd5d - user web: don't show controls in user post list; fixes #494
svn path=/trunk/boinc/; revision=14262
2007-11-19 21:07:19 +00:00
Eric J. Korpela d28603a112 Fixed typo that was breaking email notifications regarding moderations.
svn path=/trunk/boinc/; revision=14261
2007-11-19 17:07:35 +00:00
David Anderson e5c3b749c4 - user web: tweak PM-related text
svn path=/trunk/boinc/; revision=14259
2007-11-19 16:44:24 +00:00
David Anderson e85f6d492e - user web: fix forum banishment vote stuff
svn path=/trunk/boinc/; revision=14256
2007-11-19 05:14:37 +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 f978ce2143 - user web: fix PM mass deletion
svn path=/trunk/boinc/; revision=14252
2007-11-18 22:17:39 +00:00
David Anderson bdf45c8ed6 - user web: fix bug in user list XML display
svn path=/trunk/boinc/; revision=14251
2007-11-18 22:06:45 +00:00
David Anderson 28a5f1e897 - user web: init DB in banishment vote page
svn path=/trunk/boinc/; revision=14250
2007-11-18 21:22:11 +00:00
David Anderson 990ce3e46f - user web: update post.modified when edit post (fixes #491)
svn path=/trunk/boinc/; revision=14248
2007-11-18 16:25:33 +00:00
David Anderson 09177a1357 - user web: send "red X" notifications on team boards
to project admins as well as team founder

svn path=/trunk/boinc/; revision=14246
2007-11-18 04:24:30 +00:00
David Anderson fd399c351d - user web: for moderation actions on team forums,
send email notifications to team founder (not project admin)
- user web: let project admins (S_ADMIN) moderate team forums

svn path=/trunk/boinc/; revision=14245
2007-11-18 04:10:37 +00:00
David Anderson c9429ad7a4 - user web: if join team while already in a team,
create outgoing delta also

svn path=/trunk/boinc/; revision=14244
2007-11-17 21:59:46 +00:00
David Anderson 3a6ef1d42b - user web: fix bug in edit forum prefs
svn path=/trunk/boinc/; revision=14243
2007-11-17 20:30:33 +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
Rytis Slatkevičius 547dd8d741 user web: add "Powered by BOINC" logo to the repository and update sample_index.php (fix #460).
svn path=/trunk/boinc/; revision=14239
2007-11-17 15:02:19 +00:00
David Anderson 2665221920 svn path=/trunk/boinc/; revision=14238 2007-11-17 00:59:11 +00:00
David Anderson 88dd698a0a svn path=/trunk/boinc/; revision=14237 2007-11-17 00:58:20 +00:00
David Anderson cca50422cd svn path=/trunk/boinc/; revision=14236 2007-11-17 00:44:21 +00:00
David Anderson 4f3b85803c - user web: let team founder edit title/description
of team message board

svn path=/trunk/boinc/; revision=14234
2007-11-16 22:23:16 +00:00
David Anderson b597e4d204 - user web: on team message board pages,
put a link to the top-level message board

svn path=/trunk/boinc/; revision=14233
2007-11-16 21:48:28 +00:00
David Anderson 877bec76ce - user web: if user unchecked "OK to send email" pref,
don't show his email address to team founder
- user web: change wording on project prefs page to clarify
    that emails may come from project OR team
- user web: let team founder delete message board

svn path=/trunk/boinc/; revision=14232
2007-11-16 21:31:43 +00:00
David Anderson c23eb176a6 - user web: fixes #482
svn path=/trunk/boinc/; revision=14231
2007-11-16 20:52:42 +00:00
David Anderson 8097ddefe4 - user web: change Team page:
- add more info about team message board (if it exists)
    - show list of admins
    - show list of new members (in last 24 hours)
    - show number of members total, with credit, and with average credit
    - move actual list of members to new page (team_members.php)

svn path=/trunk/boinc/; revision=14230
2007-11-16 20:43:07 +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
Rytis Slatkevičius 89cedeb94e Update Lithuanian user web translation
svn path=/trunk/boinc/; revision=14228
2007-11-16 15:06:29 +00:00
David Anderson 4cc5144f98 - user web:
show team message board on main Message Boards page

svn path=/trunk/boinc/; revision=14223
2007-11-16 01:14:55 +00:00
David Anderson c358151043 - user web: only team founders can see member email addresses
svn path=/trunk/boinc/; revision=14222
2007-11-16 00:26:48 +00:00
David Anderson 22c3f6949f - user web: fix #478
svn path=/trunk/boinc/; revision=14221
2007-11-15 23:56:24 +00:00
David Anderson 2f602575da - user web: in the various interfaces that show team member's
email addresses to team admins,
    also show the user's "send_email" flag,
    indicating whether the agreed to get "email newsletters"
    from the project.
    If this is set, teams should NOT send email to that user.

    Ideally, we should have a separate preference for whether
    to get email from team
    (or show email address to team admins at all)
    
    Fixes (more or less) #479

svn path=/trunk/boinc/; revision=14220
2007-11-15 23:25:43 +00:00
David Anderson d2124b9e33 svn path=/trunk/boinc/; revision=14219 2007-11-15 22:59:31 +00:00
David Anderson a49608a028 - user web: allow teams to create their own "team message board".
Team founder and admins have moderator power.
    Anyone can view a team message board,
    but only team members can write to it.
    Users cannot be banished from team message boards
    (due to database limitations).

svn path=/trunk/boinc/; revision=14218
2007-11-15 22:51:05 +00:00
David Anderson c83eeef1a5 - user web: factor out code for forum header (search forum and PM info)
into a separate function.
    Don't show subtitle bar for categories with no name.
    Rename search_post_titles() to search_post_content()

svn path=/trunk/boinc/; revision=14209
2007-11-15 00:27:02 +00:00
David Anderson 08c45ef7f1 - user web: change stylesheet so that when showing
item/value pairs in table, don't bolden values

svn path=/trunk/boinc/; revision=14208
2007-11-14 23:33:45 +00:00
David Anderson 1abb08ca65 - user web: remove debugging code;
remove odd use of tables in edit forum prefs forum

svn path=/trunk/boinc/; revision=14206
2007-11-14 23:22:01 +00:00
David Anderson 86ee8b723d - user web: bug fix in forum edit function; fixes #474
svn path=/trunk/boinc/; revision=14205
2007-11-14 22:49:31 +00:00
David Anderson 9970e2c71b - user web: bug fixes
svn path=/trunk/boinc/; revision=14204
2007-11-14 21:55:05 +00:00
Rytis Slatkevičius 6e57bbebc8 Fix #472 (charset not selected correctly from translation file)
svn path=/trunk/boinc/; revision=14203
2007-11-14 20:01:05 +00:00
David Anderson 000a3e5594 - user web: code cleanup, deleted unused files
svn path=/trunk/boinc/; revision=14200
2007-11-14 16:03:47 +00:00
Rytis Slatkevičius 8797fca96a - user web: fix typo in lookup_account.php, preventing attach (fix #471).
svn path=/trunk/boinc/; revision=14191
2007-11-14 12:29:16 +00:00
Jens Seidler 34fe524944 BOINC distributed website files: Spanish(es), Russian(ru), Chinese simplified(zh_CN)
svn path=/trunk/boinc/; revision=14190
2007-11-14 06:47:02 +00:00
David Anderson df2b79f400 svn path=/trunk/boinc/; revision=14176 2007-11-13 17:21:08 +00:00
David Anderson 83362a31ed - user web: change forum prefs editing to use new DB interface
svn path=/trunk/boinc/; revision=14175
2007-11-13 17:18:34 +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 75e5e0a1ee - user web: fixes
svn path=/trunk/boinc/; revision=14165
2007-11-12 22:39:56 +00:00
David Anderson 0616e75a02 - user web: update other code to use new-style DB interfaces
svn path=/trunk/boinc/; revision=14164
2007-11-12 22:28:17 +00:00
David Anderson a18dfc55a7 - user web: revise forum code to use new-style DB interface
svn path=/trunk/boinc/; revision=14160
2007-11-12 20:57:15 +00:00
David Anderson aa7b9f2547 - DB: fix typo in schema
svn path=/trunk/boinc/; revision=14141
2007-11-12 16:00:37 +00:00
Janus B. Kristensen 3f71604529 Factored out the supermassive if-sentence in show_post into a seperate function called should_show_post.
svn path=/trunk/boinc/; revision=14135
2007-11-11 19:22:35 +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 518203a933 - user web: set PHP memory limit to 64 MB
svn path=/trunk/boinc/; revision=14119
2007-11-08 00:13:11 +00:00
David Anderson 6328a94eb8 - user web: Team Admins can't remove members
svn path=/trunk/boinc/; revision=14118
2007-11-08 00:04:57 +00:00
David Anderson 3544a556e9 - user web: enhancements to the "foundership request" feature:
- If a request is pending, notify the current founder
        in red on their Account page.
        (previously there was no notification on the web;
        if the founder didn't get the notification email,
        they'd never find out; and if they read but lost the email,
        they'd lose the URL they needed to visit to decline).
    - Also notify current founder on the Admin Functions page
    - On the team page
        requesting user: show that request is pending, and the deadline.
        founder: show that request is pending, link to respond
        other users: show Deferred if can't make a request yet
    - Say 90 days instead of 60 days where appropriate;
        other text cleanup
- user web: team_change_founder_action.php was generating
    a different name for each element of a radio button group.
    That makes it not a radio button.

svn path=/trunk/boinc/; revision=14117
2007-11-07 23:59:08 +00:00
Janus B. Kristensen 2a6f6d0a30 Added green look to answered Q&A questions.
svn path=/trunk/boinc/; revision=14115
2007-11-07 21:57:14 +00:00
David Anderson 79b0934a55 - user web: protect Team Admin ops from cross-project link attacks
svn path=/trunk/boinc/; revision=14110
2007-11-07 17:54:27 +00:00
David Anderson d03d10537c svn path=/trunk/boinc/; revision=14109 2007-11-07 17:32:04 +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
Jens Seidler a827c24dad Localization: BOINC distributed website files: German(de), Spanish(es), Russian(ru), Chinese simplified(zh_CN)
svn path=/trunk/boinc/; revision=14102
2007-11-06 23:36:05 +00:00
Jens Seidler fe864b1692 Localization: BOINC distributed website files: German(de), Spanish(es), Russian(ru), Chinese simplified(zh_CN)
svn path=/trunk/boinc/; revision=14101
2007-11-06 23:34:22 +00:00
David Anderson fe50709901 - user web: bug prevented host delete
svn path=/trunk/boinc/; revision=14100
2007-11-06 23:21:55 +00:00
Matt Lebofsky aaad2cbc70 Corrected syntax errors/typos
svn path=/trunk/boinc/; revision=14099
2007-11-06 21:18:27 +00:00
David Anderson 71de03e6de - user web: BoincDb::get() checks if web activity is stopped,
and shows an error page (or XML error) if so.

svn path=/trunk/boinc/; revision=14098
2007-11-06 18:25:44 +00:00
David Anderson b737687660 - small tweak
svn path=/trunk/boinc/; revision=14084
2007-11-06 00:53:16 +00:00
David Anderson 17ebc7bb90 - user web: removed the "user search" option from profile_menu.php.
Added search-by-name to the user search page.

svn path=/trunk/boinc/; revision=14083
2007-11-06 00:45:45 +00:00
David Anderson c35f02e868 - user web: add a general-purpose user search mechanism.
This lets you lookup up users sorted by
        - descending join time
        - descending total credit, or
        - descending RAC
    and lets you filter them by
        - country
        - presence/absence of team
        - presence/absence of profile
    It's implemented in such a way that no more than N
    DB rows are examined
    (i.e. it doesn't necessarily show you all the results)
- PHP database: add enum_fields() member to DbConn and BoincUser.
    This is to select a limited number of fields
    e.g. to make large queries more efficient.
    Also added BoincTeam::lookup_id_cache(); this is an example
    of how to look up items likely to be repeated
    (like teams when you're showing a list of users)

svn path=/trunk/boinc/; revision=14082
2007-11-05 23:55:33 +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
David Anderson 87c0f98b10 - user web: a private message is considered "read" the
first time it's shown.
        No explicit "mark as read" action needed.
        Also, no confirmation for message delete.

svn path=/trunk/boinc/; revision=14077
2007-11-03 04:26:47 +00:00
David Anderson 84a2a077e0 - user web: add the ability to check/uncheck all PMs; clean up PM code
svn path=/trunk/boinc/; revision=14024
2007-11-02 20:51:39 +00:00
David Anderson 4c8b387791 - user web: change more links to buttons; fix PHP warning
svn path=/trunk/boinc/; revision=14023
2007-11-02 18:48:48 +00:00
David Anderson 017c3a45f8 - user web: <form> outside of <td> screwed up Opera
svn path=/trunk/boinc/; revision=14021
2007-11-02 15:57:19 +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 f46a06305d - user web:
- changed Private Messages interface so that you see
        all your messages on one page,
        and remove various redundant links
        (like the Inbox link on the Inbox page)
    - changed links to buttons for moderator functions

svn path=/trunk/boinc/; revision=14019
2007-11-01 23:04:39 +00:00
David Anderson 02a6928335 - see last commit
svn path=/trunk/boinc/; revision=14018
2007-11-01 20:41:24 +00:00
David Anderson 15238b5747 - user web:
- replace some links with buttons in forum pages; add hover text.
    - show "mark all threads as read" only in forum page
    - fix bugs in team creation

svn path=/trunk/boinc/; revision=14016
2007-11-01 17:54:44 +00:00
David Anderson 94f9b46fc9 - user web: make buttons look better;
add a function show_button() to display links as buttons
    with hover-based explanation.
    This should be used whenever clicking on something
    performs an action, rather than just going to a new page
    (sometimes the boundary is fuzzy)
- user web: fixed bug when send private message by user name
    

svn path=/trunk/boinc/; revision=14015
2007-10-31 23:50:21 +00:00
David Anderson 24869ae8d4 - user web: bug fix in forum banish
- user web: add link to boinc-team-founders Google group
    in founder management page


svn path=/trunk/boinc/; revision=14011
2007-10-31 19:26:02 +00:00
David Anderson 5360a8cfb1 - user web: bug fix in home.php
svn path=/trunk/boinc/; revision=14001
2007-10-31 03:40:15 +00:00