Commit Graph

147 Commits

Author SHA1 Message Date
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
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 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 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 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 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 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 e5c3b749c4 - user web: tweak PM-related text
svn path=/trunk/boinc/; revision=14259
2007-11-19 16:44:24 +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 cca50422cd svn path=/trunk/boinc/; revision=14236 2007-11-17 00:44:21 +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 c23eb176a6 - user web: fixes #482
svn path=/trunk/boinc/; revision=14231
2007-11-16 20:52:42 +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 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
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
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 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 cef83b5538 - user web: eliminate some PHP warnings, and code cleanup
svn path=/trunk/boinc/; revision=14000
2007-10-30 23:34:26 +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 717898ae03 Fix a lot of PHP notices that show up when error reporting E_NOTICE is enabled
svn path=/trunk/boinc/; revision=13843
2007-10-12 17:58:50 +00:00
Rytis Slatkevičius 31901159fc Make private message functions translatable, using newly added string-based translation method.
Update English and Lithuanian languages.

svn path=/trunk/boinc/; revision=13460
2007-08-25 15:04:29 +00:00
Rytis Slatkevičius bc17c8ab45 Fix previous checkin to conform to RFC (Location header expects complete URL)
svn path=/trunk/boinc/; revision=13413
2007-08-18 16:45:54 +00:00
Rytis Slatkevičius 882d20b226 Forums: return user to the same page after selecting "Mark all threads as read".
svn path=/trunk/boinc/; revision=13412
2007-08-18 16:14:53 +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 8ae1777f6f Use web: move named anchor used for "jump to post" feature (fix #323).
svn path=/trunk/boinc/; revision=13153
2007-07-14 18:33:48 +00:00
Rytis Slatkevičius 3259b704a2 Show a link to a specific post in user post listings (requested by John McLeod VII).
svn path=/trunk/boinc/; revision=13072
2007-07-02 14:15:28 +00:00