Commit Graph

25 Commits

Author SHA1 Message Date
David Anderson a054467f9b - web: include "reason" field in emails for thread moderation
svn path=/trunk/boinc/; revision=15553
2008-07-06 22:30:10 +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 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 4b44a3935e svn path=/trunk/boinc/; revision=14330 2007-11-30 04:28:36 +00:00
David Anderson 7e15cca7a2 - web: include thread title in mod email subject
svn path=/trunk/boinc/; revision=14329
2007-11-30 04:26:55 +00:00
David Anderson 5229a414f2 - web: clean up moderation emails for post hide/unhide.
TODO: other moderation emails
- web: fix small bug in host merge function

svn path=/trunk/boinc/; revision=14316
2007-11-28 17:40:28 +00:00
David Anderson 6c9c644da8 - user web: team admins receive email notification of
moderation and red-X events, as well as team founder
- user web: admins can view team join/quit history
    (which no longer contains email addresses)
- user web: update text describing admin privileges

svn path=/trunk/boinc/; revision=14285
2007-11-22 02:36:51 +00:00
Eric J. Korpela d28603a112 Fixed typo that was breaking email notifications regarding moderations.
svn path=/trunk/boinc/; revision=14261
2007-11-19 17:07:35 +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 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 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 dc4ca1e5cd - user web: changes to use new DB framework and eliminate PHP warnings
svn path=/trunk/boinc/; revision=13981
2007-10-28 15:03:14 +00:00
Eric J. Korpela 706b283b19 Added ability for forum moderators to vote for banishment of a poster
New db tables banishment_vote and banishment_votes
Daemon script vote_monitor for timing the votes
New configuration option <moderators_vote_to_ban/>



svn path=/trunk/boinc/; revision=13917
2007-10-19 20:01:36 +00:00
Rytis Slatkevičius b04aeea7d6 user web: make sure that all links that have URL_BASE have slashes after it. This makes a slash in the end of URL_BASE definition in project/project.inc no longer necessary.
svn path=/trunk/boinc/; revision=13106
2007-07-05 19:37:33 +00:00
Rytis Slatkevičius a3e53a0004 Updated banishing feature
svn path=/trunk/boinc/; revision=12268
2007-03-24 14:57:30 +00:00
David Anderson ea10b88346 *** empty log message ***
svn path=/trunk/boinc/; revision=12052
2007-02-07 21:24:34 +00:00
Rytis Slatkevičius 8fa9ae3074 *** empty log message ***
svn path=/trunk/boinc/; revision=11940
2007-01-23 20:48:05 +00:00
Eric J. Korpela 82028f530a Added action and usernames to forum moderation messages.
svn path=/trunk/boinc/; revision=11750
2007-01-01 21:18:49 +00:00
Rytis Slatkevičius f18d253948 Enable multiple moderation emails on post report (new defined value in project.inc!)
svn path=/trunk/boinc/; revision=11469
2006-11-04 19:21:05 +00:00
Matt Lebofsky d5edfcfe23 *** empty log message ***
svn path=/trunk/boinc/; revision=11153
2006-09-13 16:47:48 +00:00
David Anderson f4a37c6130 *** empty log message ***
svn path=/trunk/boinc/; revision=10875
2006-08-09 19:12:54 +00:00
David Anderson dfc5e8e231 *** empty log message ***
svn path=/trunk/boinc/; revision=10869
2006-08-08 21:29:59 +00:00
David Anderson 0328bd2122 *** empty log message ***
svn path=/trunk/boinc/; revision=10867
2006-08-08 20:32:37 +00:00
David Anderson aeac868c11 *** empty log message ***
svn path=/trunk/boinc/; revision=10559
2006-07-01 20:03:48 +00:00