Commit Graph

2132 Commits

Author SHA1 Message Date
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