Commit graph

3207 commits

Author SHA1 Message Date
Graham Eames
f2980c0310 Fix a minor typo in postgres database handling [Bug #393]
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5539 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-10 20:35:40 +00:00
Graham Eames
66e5ae69f0 We don't want to output %s (bug found during styles validation)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5535 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-07 20:42:51 +00:00
Graham Eames
7fcba7f4a7 Database changes for search flood control
AcydBurn - Can you please replicate this into the MS Access primer for me


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5532 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-06 21:32:42 +00:00
Graham Eames
c7517b2413 Update these references whilst I remember
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5530 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 16:29:13 +00:00
Graham Eames
e76b6dac9b Changes to the search code
- Add a configurable flood control limit to searching
- Change the way old search results are removed to deal with an issue with mysql 5 crashing on large queries
Note to translators: This adds new language variables
Note to designers: This changes a template file
There are also database changes assosciated with this change, these will follow later


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5528 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 15:59:48 +00:00
Graham Eames
91a14a3d9a Word censor on quoting a PM in reply [Bug #405]
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5520 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 21:44:24 +00:00
Graham Eames
7ce72693df Replace usage of strip_tags with htmlspecialchars for consistancy with posting
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5519 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 19:49:41 +00:00
David M
a600bb0af0 This is GrahamJE is disguise.. ;-)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5512 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-30 01:23:46 +00:00
Graham Eames
c242c53b4e Change to make style code consistant with usercp_register.php [#304]
Also remove an unneeded option


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5510 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-29 21:50:36 +00:00
Graham Eames
64ce4ce861 Duplicate the no-cache headers from page_header.php to work around an issue affected some webserver/proxies
[Bug #149]


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5509 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-29 21:19:02 +00:00
Graham Eames
138f82ef8e Some slight changes to the pruning code
This should improve performance for pruning on large forums
Topics with no last_post_id are now dealt with separately


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5508 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-29 17:31:16 +00:00
Graham Eames
9fc979dcd1 That was not the code you were looking for....
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5507 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-28 16:47:29 +00:00
Graham Eames
3c54fa68e5 Explicitly intval the poll option id's
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5506 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-28 14:56:51 +00:00
Graham Eames
27f2ed076c Correct an error message in the changed code
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5505 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-28 13:09:13 +00:00
Graham Eames
5486a0c716 Add all the changes made to date
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5504 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-28 12:49:06 +00:00
Graham Eames
278e64fdb4 Changes to smilies in the admin panel
- Deletions now require confirmation
- Additions/edits can no longer be via GET
Note to translators: This adds a new language variable


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5503 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-28 12:46:53 +00:00
Meik Sievertsen
c2de464100 - finally (re-)implement the fixes for bug #90 and #91. They were noted as fixed but got out of CVS due to another fix and has not been re-applied.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5502 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-28 11:13:39 +00:00
Graham Eames
5384eedd68 Truncate the URI to the size of the database field before we check it to ensure that what is stored in the database is the same as that we checked
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5501 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-27 21:23:22 +00:00
Graham Eames
1ace2eca07 Changing the way we handle the case where a user's style does not exist in the database
We now try to fallback to the board default if possible and update the database if this succeeds


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5500 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-27 20:23:33 +00:00
Graham Eames
722fbae7c0 Escape the group name to prevent a few common support issues
NB: We still allow HTML in group names because some administrators use it (this is designed behaviour)


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5495 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-26 20:36:54 +00:00
Graham Eames
70722f5c45 Changes to word censors in the admin panel
- Deletions now require confirmation
- A few miscellaneous bug fixes
Note to translators: This adds a new language variable


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5493 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-23 21:24:41 +00:00
Graham Eames
8ba6a53e3a Minor change to restrict the value of $mode
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5492 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-23 19:47:19 +00:00
Graham Eames
cd887d4414 Changes to rank handling and the admin panel
- Removal of unneeded code
- Deletions now require confirmation
- A few miscellaneous bug fixes
Note to translators: This adds a new language variable
Note to designers: This adds a new template file


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5489 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 20:44:04 +00:00
Graham Eames
c85e442a63 Remove some old unused code which dates from pre-2.0.8
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5487 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 17:11:09 +00:00
Graham Eames
f4891dfeeb A rewrite of the HTML parsing code
NOTE: Minimum requirement for this code is now PHP 4.0.5


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5481 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-21 18:48:44 +00:00
Graham Eames
64b4b93524 Improved handling of forums to which the user does not have any explicit permissions
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5480 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-20 21:37:52 +00:00
Graham Eames
a128e51fc4 Remove unneeded calls to unset()
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5479 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-20 19:51:08 +00:00
Graham Eames
b406cb7239 Two changes:
- Improved error handling on topic/post ids
- Escape rdns results in case someone has a hostname containing special characters


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5478 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-20 19:50:27 +00:00
Graham Eames
43edfa0c4f One character errors are so annoying
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5474 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-18 21:55:52 +00:00
Graham Eames
3aee1ad40b Some further changes to HTML
Previous comments still stand


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5473 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-18 21:25:38 +00:00
Graham Eames
ac4c0991fe A list of the changes to date
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5462 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 23:09:57 +00:00
Graham Eames
132033447b Some changes to HTML handling if enabled.
Note: We still recommend that HTML is not enabled


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5461 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 23:06:10 +00:00
Graham Eames
8ea409d1cc Fix the use of an invalid config option (Bug #861)
Ordinarily this would have been quite low priority, but it had the potential to cause an error within the error handler, so I'm dealing with it now


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5454 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 15:53:07 +00:00
Graham Eames
6087293182 This is a workaround for an issue involving PHP >= 4.3.4 and MSSQL under certain conditions which caused a space to be returned instead of an empty string.
See bug #830 for details
If using MSSQL, please test this change and report any errors on that bug report


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5453 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 15:20:54 +00:00
Graham Eames
b5490a243f Changes to the way the limits are enforced on username length when searching
This should now allow you to search for a specific user with a name < 3 chars long, whilst still preventing wildcard searchs with less than 3 chars


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5447 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-13 20:25:39 +00:00
Graham Eames
e16e060fff Begone ye typos, ye are not wanted here ;-)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5446 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-13 20:10:02 +00:00
Graham Eames
e80684acca Some changes to the checks on login attempts:
- handling reauthentication to the ACP
- handling inactive users


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5445 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-13 19:29:50 +00:00
Graham Eames
6dbe925952 Changes related to deleting auto login keys on password change
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5442 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-11 21:09:47 +00:00
Meik Sievertsen
8976799a6a - of course the html one is working with other browsers too, it is simple html, why should it not work. :/
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5411 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-31 15:07:19 +00:00
Meik Sievertsen
e74141a4fc - tiny "last minute" change
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5401 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 09:51:02 +00:00
Meik Sievertsen
5ddf1f6c59 - fix for quote tag for a bug in 2.0.19
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5393 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 15:12:20 +00:00
Meik Sievertsen
aa3bcbaccf implemented maximum login attempts feature to prevent dictionary attacks
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5392 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 11:51:13 +00:00
Meik Sievertsen
d63c1ddf2b in pm's too of course.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5371 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 12:54:56 +00:00
Meik Sievertsen
a7fcec0701 - let quote tags work again. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5370 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 12:15:40 +00:00
Meik Sievertsen
90a093fc5f fix the html issue...
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5369 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 11:34:02 +00:00
Meik Sievertsen
8c5431cc68 before we forget. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5364 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-21 13:59:14 +00:00
Meik Sievertsen
08deb2e328 removing cxib, because it has only been forwarded by him. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5363 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-21 13:23:46 +00:00
Graham Eames
6603e4aa5f Fix for bbcode issue under IE
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5362 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-21 13:06:04 +00:00
Graham Eames
0473115ea4 An improved version of the username patch I committed the other day
+ remove sessions and auto-login keys when deleting a user

Developers - please test this for any unusual code paths to make sure I
have not missed any


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5359 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-20 20:42:28 +00:00
Meik Sievertsen
1a94e75c38 - fix sql escaping for non-mysql db's (we forgot this one, or removed it accidently)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5356 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-19 18:01:36 +00:00