Commit Graph

46 Commits

Author SHA1 Message Date
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 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 b2d7812130 - GUI RPC: add the following items to PROJECT_CONFIG
(corresponding to the get_project_config.php web RPC):
    - platforms: list of platforms supported by the project
    - sched_stopped: scheduler disabled
    - web_stopped: DB-driven web features disabled
    - min_client_version
- GUI RPC: add the following items to CC_STATE:
    - platforms: list of platforms supported by the client
        (this replaces the unused <platform_name>)
- GUI RPC: add the following items to PROJECT_LIST_ENTRY
    (entry in the "all projects" list):
    - platforms: list of platforms supported by the project
- GUI RPC: move APP_VERSION pointer from WORKUNIT to RESULT;
    include plan class in APP_VERSION lookup.
    This completes the change of March 2008,
    and allows the Manager to work correctly when a project
    has two different app versions of the same (app, platform, version)
    running on a client at once (e.g., a CPU and a GPU app)
- get_project_config.php: remove logic that checks client version.
    This page is accessed by PHP, not just by client
- web: add link to forum page to get forum as RSS

svn path=/trunk/boinc/; revision=16900
2009-01-13 19:34:04 +00:00
Janus B. Kristensen 73b874ad26 Fixed quote-typo in sorting url
svn path=/trunk/boinc/; revision=16131
2008-10-05 12:35:44 +00:00
Janus B. Kristensen c85dff5011 - Fixed layouting issue with IE browsers due to forms by unwrapping the form from the table cell
svn path=/trunk/boinc/; revision=16051
2008-09-25 12:26:41 +00:00
David Anderson 26852af2f4 - web: forum tweaks (from Simek)
svn path=/trunk/boinc/; revision=15800
2008-08-10 01:13:00 +00:00
David Anderson d561c91a3e - web: add table.noborder class for S@h
svn path=/trunk/boinc/; revision=15775
2008-08-07 22:04:08 +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 5583762116 - web: style tweaks; fixes #667
svn path=/trunk/boinc/; revision=15307
2008-05-28 16:33:51 +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 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 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 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 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 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 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 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
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 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 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 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 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
Rytis Slatkevičius 4b28e7c183 User web: add HTML DOCTYPE (4.01 Transitional) to all pages, make some HTML validity changes.
svn path=/trunk/boinc/; revision=13928
2007-10-22 19:36:01 +00:00
Rytis Slatkevičius b24c43f06f - user web: add a feature to mark all threads as read (forums). (fix #52)
svn path=/trunk/boinc/; revision=13182
2007-07-18 15:48:07 +00:00
Rytis Slatkevičius 4332736ae9 Private message functionality for the forums.
NOTE: needs database update.

svn path=/trunk/boinc/; revision=12499
2007-04-29 14:22:28 +00:00
David Anderson 19504cc033 *** empty log message ***
svn path=/trunk/boinc/; revision=11798
2007-01-07 19:45:26 +00:00
Rytis Slatkevičius 90ad37471b Team types display (from Eric Myers)
svn path=/trunk/boinc/; revision=11761
2007-01-03 18:07:44 +00:00
Rytis Slatkevičius eedd0db6c9 HTML stripping issue
svn path=/trunk/boinc/; revision=11718
2006-12-23 14:59:47 +00:00
Rytis Slatkevičius 67b3f9a911 Forum thread locking
svn path=/trunk/boinc/; revision=11514
2006-11-10 17:09:09 +00:00
David Anderson f4a37c6130 *** empty log message ***
svn path=/trunk/boinc/; revision=10875
2006-08-09 19:12:54 +00:00
David Anderson 091b57c6c1 *** empty log message ***
svn path=/trunk/boinc/; revision=10380
2006-06-16 23:53:56 +00:00
Janus B. Kristensen d2fca6e428 Navigation bar support
svn path=/trunk/boinc/; revision=5623
2005-03-10 11:29:55 +00:00
David Anderson a6d5713db1 *** empty log message ***
svn path=/trunk/boinc/; revision=5417
2005-02-13 06:13:33 +00:00
David Anderson 15e29841be *** empty log message ***
svn path=/trunk/boinc/; revision=4941
2004-12-27 03:42:11 +00:00
David Anderson c5282fdc72 *** empty log message ***
svn path=/trunk/boinc/; revision=4158
2004-09-05 19:26:27 +00:00
David Anderson 2634204c88 *** empty log message ***
svn path=/trunk/boinc/; revision=4152
2004-09-04 23:37:49 +00:00
David Anderson e3026a1ddc *** empty log message ***
svn path=/trunk/boinc/; revision=3488
2004-06-01 18:55:59 +00:00
David Anderson ec78e50fb6 *** empty log message ***
svn path=/trunk/boinc/; revision=3476
2004-05-30 21:47:11 +00:00