Commit Graph

184 Commits

Author SHA1 Message Date
David Anderson 0630ffa054 - web: fix "seperator" spelling
svn path=/trunk/boinc/; revision=22650
2010-11-08 17:56:39 +00:00
David Anderson f4345f9dc4 - user web: various enhancements and fixes from Simek.
Fixes #1020

svn path=/trunk/boinc/; revision=22620
2010-11-03 21:48:39 +00:00
David Anderson 0894974aa7 Update Translations
svn path=/trunk/boinc/; revision=22275
2010-08-20 19:04:09 +00:00
David Anderson 7933287457 - user web: no limit on PMs for moderators, admins etc.
svn path=/trunk/boinc/; revision=21328
2010-04-29 15:28:27 +00:00
David Anderson a92b7a5c32 - client: attempt to fix bug where a GPU would be assigned
to multiple jobs at the same time.
    I fixed one error (reference arg to assign_coprocs())
    but I can't see why this would explain the problem.
    I added a lot of extra <coproc_debug> log messages.
- user web: give scientists moderator privileges

svn path=/trunk/boinc/; revision=21158
2010-04-09 20:27:42 +00:00
David Anderson 6c39a91b1c - user web: in above case, remove notifications as well
svn path=/trunk/boinc/; revision=21011
2010-03-28 23:47:17 +00:00
David Anderson 03f646779c - user web: if a forum or thread is not visible to a user,
remove their subscriptions to it.


svn path=/trunk/boinc/; revision=21003
2010-03-26 05:34:14 +00:00
David Anderson e57f286e47 - web: some fixes that arose from converting BOINC's news
to forum format.


svn path=/trunk/boinc/; revision=19963
2009-12-18 04:32:30 +00:00
David Anderson 98a192e5ac - web: bug fixes to the above.
svn path=/trunk/boinc/; revision=19951
2009-12-17 00:17:37 +00:00
David Anderson e1bdfc0ee8 - web: change the way project news is stored.
Old: in a flat file (html/project/project_news.inc)
    New: in a forum (called "News" by default)
    The script html/ops/news_convert.php copies news from
    old to new format.
    You'll also need to edit your index.php and use
    "show_news(0, 5)" to show news.
- web: added a "message of the day" mechanism.
    Edit html/user/motd.php to show a message.
    This will be shown as the first news item,
    but it's not archived (i.e., it's not a forum post)


svn path=/trunk/boinc/; revision=19949
2009-12-16 22:35:08 +00:00
David Anderson c76d166344 - user web: forum_preferences.{low_rating_threshold, high_rating_threshold}
were deprecated, but were still used in deciding whether to show a post.
    This broke the "ignore list" function.

svn path=/trunk/boinc/; revision=19218
2009-09-29 21:58:54 +00:00
David Anderson 12d4b978be - scheduler: if client request uses a weak authenticator,
don't modify user preferences or CPID.
- client: fix bug that shows ATI version incorrectly
- database: host.posts has been repurposed as a salt (or seqno)
    for a new type of weak authenticator that won't depend on password
- web code:
    modify forum_preferences.posts instead of host.posts.
    (actually, the former isn't used either, we just do a select count(*);
    should fix this at some point).

svn path=/trunk/boinc/; revision=18865
2009-08-18 20:44:12 +00:00
David Anderson 7fbe9edc15 - web: fix up country flags a little
svn path=/trunk/boinc/; revision=18397
2009-06-12 16:35:08 +00:00
David Anderson 5f6f1fe8a6 svn path=/trunk/boinc/; revision=18391 2009-06-12 04:36:18 +00:00
David Anderson 5a14204a1a - web: country flags
svn path=/trunk/boinc/; revision=18390
2009-06-12 04:26:01 +00:00
David Anderson bf2f9942bd - web: don't show user ID next to posts
- web: fix [pre] bbcode


svn path=/trunk/boinc/; revision=18357
2009-06-10 22:54:21 +00:00
David Anderson 4aab5b5cb8 - web: avoid error if subscribed user doesn't exist
fixed #753


svn path=/trunk/boinc/; revision=16191
2008-10-12 15:32:12 +00:00
David Anderson ebe3b090e8 - add a script "upgrade_db.php" that updates project DB structure
(after user confirmation).
    This is called from "upgrade", and can also be run by itself.

    NOTE: this mechanism will handle all DB updates going forward.
    Older updates must be done the old way (edit and run db_update.php)

- Web: let teams determine whether they're accepting new members


svn path=/trunk/boinc/; revision=16160
2008-10-08 16:48:11 +00:00
Janus B. Kristensen f361f95313 - Added "Highlight special users"-feature
- Allow projects to specify how special users can be highlighted in their forums through CSS
- Special users are now highlighted by default
- Post body background is now 25% transparent in browsers that support transparency (white.css only)


svn path=/trunk/boinc/; revision=16134
2008-10-05 16:00:11 +00:00
Janus B. Kristensen 60c09bf544 - Skip posts if user has been deleted from DB
- Gracefully fail on posts from users without any forum preferences set in the DB

svn path=/trunk/boinc/; revision=16133
2008-10-05 13:06:00 +00:00
Janus B. Kristensen 527cb2d6d4 Introducing the notion of "action lists" - list of actions.
This is part 1 of 2 for the fix of Ticket #740.

svn path=/trunk/boinc/; revision=16076
2008-09-27 09:51:29 +00:00
Janus B. Kristensen de956c8eb0 Implementing Ticket #309 - you can now either reply to or quote a post
svn path=/trunk/boinc/; revision=16053
2008-09-25 12:56:42 +00:00
Janus B. Kristensen e2b48b6b34 - Fix form layouting issue in IE browser series by unpacking it from the table cell
- Fix missing newline after "Send message" button in authorcol
- Added CSS class forum_toplinks for links at the top of forum pages


svn path=/trunk/boinc/; revision=16048
2008-09-25 10:48:49 +00:00
Janus B. Kristensen ff29445385 - Replace nasty javascript generated HTML <input> buttons with normal links and CSS buttons.
- Fix CSS compatibility issues towards IE6-series of browsers
- Buttons will now light up when hovering over them with the mouse


svn path=/trunk/boinc/; revision=16047
2008-09-25 10:39:51 +00:00
David Anderson afbfeaa637 - web: start working towards the goal of passing the
"HTML 4.01 Transitional" test.
    The BOINC home page, project home page, and forum index now pass.
- web: .po files need to have CHARSET, LANG_NAME_NATIVE,
    and LANG_NAME_INTERNATIONAL

svn path=/trunk/boinc/; revision=15855
2008-08-15 16:26:55 +00:00
David Anderson 2b6f80af15 - web: stylesheet tweaks (from Simek)
svn path=/trunk/boinc/; revision=15807
2008-08-12 17:08:14 +00:00
David Anderson 26852af2f4 - web: forum tweaks (from Simek)
svn path=/trunk/boinc/; revision=15800
2008-08-10 01:13:00 +00:00
Rytis Slatkevičius 92e3e07e0c web: fix thread being marked as unread after posting to it (fix #506)
svn path=/trunk/boinc/; revision=15796
2008-08-09 19:27:17 +00:00
David Anderson 9cb87d2fc8 - client: don't use fixed-size buffer when looking for app files
in project prefs (avoid buffer overrun)
- web: don't show credit info if no_computing flag set

svn path=/trunk/boinc/; revision=15793
2008-08-09 16:39:20 +00:00
David Anderson bd492ae414 - web: forum tweak
svn path=/trunk/boinc/; revision=15778
2008-08-08 03:38:03 +00:00
David Anderson 13f51d2402 svn path=/trunk/boinc/; revision=15776 2008-08-07 22:13:37 +00:00
David Anderson a41848b43f svn path=/trunk/boinc/; revision=15774 2008-08-07 21:43:02 +00:00
David Anderson 896bdb2e23 - web: improve white.css, and make corresponding PHP changes
(mostly from Simek)
    fixes #716
- validator: tweak the way host error rate is computed,
    e.g. on error bump rate by .1 instead of .05

svn path=/trunk/boinc/; revision=15771
2008-08-07 20:43:52 +00:00
David Anderson 9baf78fe5f - web: added copyright and license info to PHP files
svn path=/trunk/boinc/; revision=15758
2008-08-05 22:43:14 +00:00
David Anderson 0c5c51d531 - web: when hide/unhide/delete posts,
set the timestamp of the thread to the timetamp of
    the latest non-hidden post (rather than to now).
    Same thing for forum timestamp.
- scheduler: return more informative message to user in case of
    request message parse error

svn path=/trunk/boinc/; revision=15526
2008-07-01 16:34:51 +00:00
David Anderson 13319d65f8 - If a hidden post is deleted, don't decrement its thread's post count;
it was already decremented when the post was hidden
- Added a function to forum_repair.php to fix inconsistencies
    due to the above bug

svn path=/trunk/boinc/; revision=15433
2008-06-19 03:44:27 +00:00
David Anderson d764eb5873 - web: clean up stuff related to stripslashes():
1) it's not correct to apply stripslashes() to all form input.
        That should be done only if magic quotes is on.
        I fixed this by adding a function undo_magic_quotes()
        that does the right thing.
    2) There's no reason to strip backslashes from user-supplied text
        (forum titles and bodies, private messages, passwords etc.)
        I'm not sure why this was being done.
        It prevented messages from containing backslashes.

svn path=/trunk/boinc/; revision=15364
2008-06-05 20:32:21 +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 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 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 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 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 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 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 32a69ba042 - fix PHP warning in forums
svn path=/trunk/boinc/; revision=14431
2007-12-21 17:10:46 +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 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
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