Commit Graph

59 Commits

Author SHA1 Message Date
David Anderson af99251e79 web: let projects disable forums
Do this by putting
define("DISABLE_FORUMS", true);
in your html/project/project.inc.

If this is set, admin users can still see enough forum functionality
to post and edit news items
(this is linked to from the Admin web interface).

Other users, or non-logged-in access, sees news but no forums
or forum-related info.
2014-04-18 15:54:28 -07:00
David Anderson ab120dea9e - web: after post to a thread, show thread in user's chosen order
instead of newest first.


svn path=/trunk/boinc/; revision=25931
2012-08-01 17:57:56 +00:00
David Anderson 6f98eae87d - web: after post to a thread, show a page of the most recent posts
(but don't change user's sort prefs)


svn path=/trunk/boinc/; revision=25872
2012-07-13 21:40:20 +00:00
David Anderson 075d544c9f - web: when posting to a thread, show a page of its most recent posts
- feeder: add --by_batch option: interleaves jobs from different batches.
    From Jack Harris.


svn path=/trunk/boinc/; revision=25871
2012-07-13 21:10:38 +00:00
David Anderson 490b740682 - web: improve forum pagination
svn path=/trunk/boinc/; revision=25863
2012-07-11 19:24:28 +00:00
David Anderson f7a9d4049e - web: typos
svn path=/trunk/boinc/; revision=25861
2012-07-11 05:40:40 +00:00
David Anderson b162aa3d2b - user web: add "posts per page" pref for message boards;
get rid of existing funky page-limit prefs


svn path=/trunk/boinc/; revision=25859
2012-07-11 05:27:31 +00:00
David Anderson 4d45dda3d9 - validator: update credit statistics even if credit_from_wu
is being used.
- web: make almost everything translatable.  From Christian Beer.


svn path=/trunk/boinc/; revision=24048
2011-08-25 22:12:48 +00:00
David Anderson dc222e1cfe - web: fix bug that cause "use signature" preference to be ignored
svn path=/trunk/boinc/; revision=23466
2011-04-26 21:38:22 +00:00
David Anderson 7b98cccc37 - user web: various fixes
svn path=/trunk/boinc/; revision=23030
2011-02-14 19:49:30 +00:00
David Anderson 164299c66f - user web: bug fix
svn path=/trunk/boinc/; revision=23026
2011-02-13 23:57:39 +00:00
David Anderson d27af6214d - user web: finish dealing with get args spam
svn path=/trunk/boinc/; revision=23010
2011-02-09 22:11:34 +00:00
David Anderson e87f289544 - fix formatting in PHP code
svn path=/trunk/boinc/; revision=22623
2010-11-04 18:20:57 +00:00
David Anderson f7d29f6651 - user web: if Akismet rejects thread reply, show warning
svn path=/trunk/boinc/; revision=20318
2010-01-29 17:00:14 +00:00
David Anderson f2d6d98807 svn path=/trunk/boinc/; revision=18488 2009-06-23 17:18:29 +00:00
David Anderson 5e94337e8e - more code cleanup
svn path=/trunk/boinc/; revision=18487
2009-06-23 17:15:17 +00:00
David Anderson df9547fcf4 - web: code cleanup
svn path=/trunk/boinc/; revision=18486
2009-06-23 17:13:35 +00:00
David Anderson 9f8fda388b - web: add buttons for BBCode editing.
From John Hallissey

svn path=/trunk/boinc/; revision=18485
2009-06-23 16:37:13 +00:00
David Anderson 37364ab657 - client: show message when suspending because of exclusive app
- web: remove file_get_contents() workaround for PHP4
- web: If Akismet or ReCaptcha failure,
    display the form again with a warning message at the top.
    That way the user doesn't lose the text they just typed.

svn path=/trunk/boinc/; revision=16175
2008-10-09 18:28:55 +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
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 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 348f90574c - web: fixed a couple of references to "global $logged_in_user".
It's $g_logged_in_user.

svn path=/trunk/boinc/; revision=15362
2008-06-05 04:35:21 +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 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 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 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 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
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 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
Rytis Slatkevičius 870924eb13 Fix #424 (backslash problem)
svn path=/trunk/boinc/; revision=13716
2007-09-29 15:47:12 +00:00
Rytis Slatkevičius f2cccbd4cf Preview functionality for the forums
svn path=/trunk/boinc/; revision=13715
2007-09-29 12:53:16 +00:00
Rytis Slatkevičius f198d8c78e Adding anti-spam protection from akismet.com to the forums. Disabled by default; see http://boinc.berkeley.edu/trac/wiki/ProtectionFromSpam for information on how to enable it.
svn path=/trunk/boinc/; revision=12420
2007-04-19 18:22:38 +00:00
Rytis Slatkevičius aa396080c0 Fix XSS vulnerability in the forum
svn path=/trunk/boinc/; revision=12055
2007-02-08 19:54:05 +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
Matt Lebofsky d60d1c6920 *** empty log message ***
svn path=/trunk/boinc/; revision=11205
2006-09-27 16:58: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
David Anderson 091b57c6c1 *** empty log message ***
svn path=/trunk/boinc/; revision=10380
2006-06-16 23:53:56 +00:00
Rom Walton 8d8ccb9d5c *** empty log message ***
svn path=/trunk/boinc/; revision=9791
2006-04-04 00:39:53 +00:00
Janus B. Kristensen 42134ce04d Fix a problem where forum_reply in Q&A area would spew out header before having redirected user back to the thread.
svn path=/trunk/boinc/; revision=6173
2005-05-17 08:00:34 +00:00
Janus B. Kristensen f0cbe53a2a Don't send reply-notifications to the user who posted the reply.
svn path=/trunk/boinc/; revision=6169
2005-05-16 08:09:37 +00:00
Janus B. Kristensen cc8b10f067 Use bbcode
svn path=/trunk/boinc/; revision=6147
2005-05-13 19:14:19 +00:00
Janus B. Kristensen 0b822c4645 Move reply box to top of page to avoid scrolling
svn path=/trunk/boinc/; revision=6091
2005-05-10 16:08:05 +00:00
Janus B. Kristensen fd3e27491d Prepare the text for the textarea
svn path=/trunk/boinc/; revision=6074
2005-05-08 01:33:03 +00:00
David Anderson 3d05c8b499 *** empty log message ***
svn path=/trunk/boinc/; revision=6020
2005-05-04 08:07:20 +00:00
Janus B. Kristensen 5f214a026d Quoting is now done using blockquote, loads of get_int/get_str changes. Moderators can now view hidden threads if going direct by id.
svn path=/trunk/boinc/; revision=5951
2005-04-28 09:32:22 +00:00