Commit Graph

738 Commits

Author SHA1 Message Date
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 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 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 2665221920 svn path=/trunk/boinc/; revision=14238 2007-11-17 00:59:11 +00:00
David Anderson 88dd698a0a svn path=/trunk/boinc/; revision=14237 2007-11-17 00:58:20 +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 877bec76ce - user web: if user unchecked "OK to send email" pref,
don't show his email address to team founder
- user web: change wording on project prefs page to clarify
    that emails may come from project OR team
- user web: let team founder delete message board

svn path=/trunk/boinc/; revision=14232
2007-11-16 21:31:43 +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 8097ddefe4 - user web: change Team page:
- add more info about team message board (if it exists)
    - show list of admins
    - show list of new members (in last 24 hours)
    - show number of members total, with credit, and with average credit
    - move actual list of members to new page (team_members.php)

svn path=/trunk/boinc/; revision=14230
2007-11-16 20:43:07 +00:00
David Anderson c358151043 - user web: only team founders can see member email addresses
svn path=/trunk/boinc/; revision=14222
2007-11-16 00:26:48 +00:00
David Anderson 22c3f6949f - user web: fix #478
svn path=/trunk/boinc/; revision=14221
2007-11-15 23:56:24 +00:00
David Anderson 2f602575da - user web: in the various interfaces that show team member's
email addresses to team admins,
    also show the user's "send_email" flag,
    indicating whether the agreed to get "email newsletters"
    from the project.
    If this is set, teams should NOT send email to that user.

    Ideally, we should have a separate preference for whether
    to get email from team
    (or show email address to team admins at all)
    
    Fixes (more or less) #479

svn path=/trunk/boinc/; revision=14220
2007-11-15 23:25:43 +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 9970e2c71b - user web: bug fixes
svn path=/trunk/boinc/; revision=14204
2007-11-14 21:55:05 +00:00
Rytis Slatkevičius 6e57bbebc8 Fix #472 (charset not selected correctly from translation file)
svn path=/trunk/boinc/; revision=14203
2007-11-14 20:01:05 +00:00
David Anderson 000a3e5594 - user web: code cleanup, deleted unused files
svn path=/trunk/boinc/; revision=14200
2007-11-14 16:03:47 +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 75e5e0a1ee - user web: fixes
svn path=/trunk/boinc/; revision=14165
2007-11-12 22:39:56 +00:00
David Anderson 0616e75a02 - user web: update other code to use new-style DB interfaces
svn path=/trunk/boinc/; revision=14164
2007-11-12 22:28:17 +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 aa7b9f2547 - DB: fix typo in schema
svn path=/trunk/boinc/; revision=14141
2007-11-12 16:00:37 +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 bf227ea8b1 - DB: remove "lang" from schema - not used
- DB: added parent_type to forum
- user web: BoincUser uses caching by default
- client: fixed small memory leak in statistics parsing

svn path=/trunk/boinc/; revision=14130
2007-11-10 00:32:42 +00:00
David Anderson 518203a933 - user web: set PHP memory limit to 64 MB
svn path=/trunk/boinc/; revision=14119
2007-11-08 00:13:11 +00:00
David Anderson 6328a94eb8 - user web: Team Admins can't remove members
svn path=/trunk/boinc/; revision=14118
2007-11-08 00:04:57 +00:00
David Anderson 3544a556e9 - user web: enhancements to the "foundership request" feature:
- If a request is pending, notify the current founder
        in red on their Account page.
        (previously there was no notification on the web;
        if the founder didn't get the notification email,
        they'd never find out; and if they read but lost the email,
        they'd lose the URL they needed to visit to decline).
    - Also notify current founder on the Admin Functions page
    - On the team page
        requesting user: show that request is pending, and the deadline.
        founder: show that request is pending, link to respond
        other users: show Deferred if can't make a request yet
    - Say 90 days instead of 60 days where appropriate;
        other text cleanup
- user web: team_change_founder_action.php was generating
    a different name for each element of a radio button group.
    That makes it not a radio button.

svn path=/trunk/boinc/; revision=14117
2007-11-07 23:59:08 +00:00
David Anderson 79b0934a55 - user web: protect Team Admin ops from cross-project link attacks
svn path=/trunk/boinc/; revision=14110
2007-11-07 17:54:27 +00:00
David Anderson fb8b4ffabb - user web: added the notion of "Team Admin": team members,
appointed by the founder, who have most of the same
    rights as the founder (edit team info, view/remove users).
    They can't, however, change the founder, or select/remove Admins.
- user web: added the ability for founder to delete an empty team
- user web: count/show all team members, not just those with credit
- user web: Team Search returns top team if form fields left blank
- Added db_update.php entry for Eric's banishment_vote stuff

svn path=/trunk/boinc/; revision=14108
2007-11-07 17:23:29 +00:00
David Anderson fe50709901 - user web: bug prevented host delete
svn path=/trunk/boinc/; revision=14100
2007-11-06 23:21:55 +00:00
David Anderson 71de03e6de - user web: BoincDb::get() checks if web activity is stopped,
and shows an error page (or XML error) if so.

svn path=/trunk/boinc/; revision=14098
2007-11-06 18:25:44 +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
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
David Anderson 26138742c6 - Initial checkin for Bolt
svn path=/trunk/boinc/; revision=13998
2007-10-30 22:31:13 +00:00
Rytis Slatkevičius 105d6aaae3 HTML fixes;
PHP notice fixes;
home.php made translatable, include Lithuanian translation.

svn path=/trunk/boinc/; revision=13997
2007-10-30 19:36:27 +00:00