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
Rom Walton
c1595522f9
*** empty log message ***
...
svn path=/trunk/boinc/; revision=5934
2005-04-25 18:44:17 +00:00
Janus B. Kristensen
a27c54cc31
Stickies and new forum rules
...
svn path=/trunk/boinc/; revision=5902
2005-04-20 21:11:20 +00:00
David Anderson
7be3f2711b
*** empty log message ***
...
svn path=/trunk/boinc/; revision=5500
2005-02-23 00:42:14 +00:00
David Anderson
e54580eb96
*** empty log message ***
...
svn path=/trunk/boinc/; revision=5436
2005-02-16 00:24:53 +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
abd4c861ed
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4311
2004-10-10 03:04:29 +00:00
David Anderson
2634204c88
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4152
2004-09-04 23:37:49 +00:00
David Anderson
ec78e50fb6
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3476
2004-05-30 21:47:11 +00:00