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
d403a14e42
- web: cleaned up logic of string processing.
...
There are two aspects:
1) undoing magic quotes (if it's being used).
This must be done for all GET and POST string inputs.
It is now done automatically by get_str() and post_str().
The places that refer to $_GET and $_POST directly
must do it themselves using undo_magic_quotes().
2) Escaping user-supplied strings before using them in DB queries.
This is done by process_user_text()
(which should be renamed db_escape_string()).
The new principle:
call process_user_text() in the function that does the DB query
(not at any higher level).
svn path=/trunk/boinc/; revision=15389
2008-06-11 19:36: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
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
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
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
990ce3e46f
- user web: update post.modified when edit post ( fixes #491 )
...
svn path=/trunk/boinc/; revision=14248
2007-11-18 16:25:33 +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
86ee8b723d
- user web: bug fix in forum edit function; fixes #474
...
svn path=/trunk/boinc/; revision=14205
2007-11-14 22:49:31 +00:00
David Anderson
9970e2c71b
- user web: bug fixes
...
svn path=/trunk/boinc/; revision=14204
2007-11-14 21:55:05 +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
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
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
6e8089b170
Allow users to change signature option when editing posts ( close #226 ).
...
svn path=/trunk/boinc/; revision=13124
2007-07-08 12:31:13 +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
e1bf139562
Multiple forum related fixes
...
svn path=/trunk/boinc/; revision=11739
2006-12-29 20:57:29 +00:00
Rytis Slatkevičius
eedd0db6c9
HTML stripping issue
...
svn path=/trunk/boinc/; revision=11718
2006-12-23 14:59:47 +00:00
David Anderson
091b57c6c1
*** empty log message ***
...
svn path=/trunk/boinc/; revision=10380
2006-06-16 23:53:56 +00:00
Janus B. Kristensen
53a262ebde
Added bbcode info and warnings
...
svn path=/trunk/boinc/; revision=8232
2005-09-27 20:53:00 +00:00
Janus B. Kristensen
d22381a22f
Don't fetch the forum preferences twice. (Thanks Bruce)
...
svn path=/trunk/boinc/; revision=6156
2005-05-13 21:50:46 +00:00
Janus B. Kristensen
cc8b10f067
Use bbcode
...
svn path=/trunk/boinc/; revision=6147
2005-05-13 19:14:19 +00:00
Bruce Allen
4e0c249801
forums: allow project admin, project developers and forum moderators to edit
...
their own posts at any time (not just within one hour).
svn path=/trunk/boinc/; revision=6131
2005-05-12 14:57:16 +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
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
a7320942ad
*** empty log message ***
...
svn path=/trunk/boinc/; revision=5422
2005-02-13 21:33:02 +00:00
David Anderson
a6d5713db1
*** empty log message ***
...
svn path=/trunk/boinc/; revision=5417
2005-02-13 06:13:33 +00:00
David Anderson
cc9c0a6341
*** empty log message ***
...
svn path=/trunk/boinc/; revision=5135
2005-01-18 19:56:18 +00:00
Janus B. Kristensen
b15132830b
Initial test-version of moderation system
...
svn path=/trunk/boinc/; revision=5133
2005-01-18 13:00:38 +00:00
David Anderson
15e29841be
*** empty log message ***
...
svn path=/trunk/boinc/; revision=4941
2004-12-27 03:42:11 +00:00
David Anderson
c46546288e
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3508
2004-06-07 03:34:07 +00:00
David Anderson
e3026a1ddc
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3488
2004-06-01 18:55:59 +00:00
David Anderson
ec78e50fb6
*** empty log message ***
...
svn path=/trunk/boinc/; revision=3476
2004-05-30 21:47:11 +00:00