Commit Graph

2018 Commits

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