Andreas Fischer
fd80535859
[ticket/9802] Remove redundant character class definition from preg_replace.
...
PHPBB3-9802
2011-04-19 13:22:48 +02:00
Andreas Fischer
ee6167879e
[ticket/9802] Fix redundant str_replace call. No need to replace ' ' with ' '.
...
PHPBB3-9802
2011-04-19 13:22:23 +02:00
Andreas Fischer
3b15fe0a5b
[ticket/9912] Fix error in logic. Do not strip SID when user is not a bot.
...
This also moves the code up to the point where we know that the user is a bot.
Regression from d07e152ea7e820c5a0e47aeb8004fa0b5621a314
PHPBB3-9912
2011-02-25 22:24:34 -05:00
Joas Schilling
92f99c97f4
[ticket/9949] $user->lang() uses last int-value to get the key not first
...
The comment in the code says: "We now get the first number passed and will
select the key based upon this number". But the loop over the arguments is not
left and therefore it uses the last int-value not the first one.
PHPBB3-9949
2011-01-29 17:22:55 +01:00
Igor Wiedler
41245f9f7a
Merge branch 'ticket/bantu/9091' into develop-olympus
...
* ticket/bantu/9091:
[ticket/9091] Extract IPv4 address from addresses mapped into IPv6.
2010-09-16 23:38:50 +02:00
Andreas Fischer
bef108a5cc
[ticket/9609] Change header() calls setting HTTP status to send_status_line().
...
PHPBB3-9609
2010-09-11 22:01:31 +02:00
Joas Schilling
932b35ab7a
[ticket/9782] Board disable radio set on when server load high
...
PHPBB3-9782
2010-08-20 13:41:06 -04:00
Andreas Fischer
e5d5d58172
[ticket/9091] Extract IPv4 address from addresses mapped into IPv6.
...
PHPBB3-9091
2010-07-23 12:48:01 +02:00
Chris Smith
9764a32138
[ticket/9712] Future dates can be formatted as 'less than one minute ago'
...
PHPBB3-9712
2010-07-07 23:04:46 +01:00
U-H-PC\H
9be61f9e53
[bug/59425] Correctly check for double inclusion in captcha garbage collection
...
The check to avoid the double inclusion of the captcha factory class in the
garbage collection code was faulty, checking for "captcha_factory" instead of "phpbb_captcha_factory".
TerryE pointed the problem out, thanks!
2010-03-28 14:37:31 +02:00
Chris Smith
d07e152ea7
[bug/58025] Search robots are now redirected if they send a SID in the request
...
Previously search robots could stumble upon a board link somewhere on the web
containing a SID they'd follow it and end up indexing that page with the SID
in the request URI, this fix prevents that by redirecting them to the same URI
just without the SID.
2010-03-13 02:15:39 +00:00
David Ward
865123ffda
[bug/58755] Fix a redirection bug that can occur after login
...
This issue affects any forum (i.e. https://myforum/phpBB3/ ) where:
- the forum is located in a directory underneath the web root (i.e., NOT https://myforum/ )
- a user accesses the forum with a URI pointing to a directory rather than a script (i.e., NOT https://myforum/phpBB3/index.php )
- the URI used ends in a slash (i.e., NOT https://myforum/phpBB3 )
If these conditions are met, after successful login the user is redirected to an invalid URI (i.e., https://myforum/phpBB3/phpBB3?sid= ).
This change fixes extract_current_page() to handle the case correctly where the URI ends in a slash and is not the web root. So after successful login, the redirection back to the main page will work (i.e., https://myforum/phpBB3/?sid= )
2010-03-07 13:56:24 -05:00
Cullen Walsh
fe98d43bb5
[Fix] Don't send activation email when user tries to change email without permission (fix by nrohler). (Bug #56335 )
...
Authorised by: naderman
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10443 89ea8834-ac86-4346-8a33-228a782c2dd0
2010-01-25 18:19:18 +00:00
Andreas Fischer
c80f98ea10
Fix Bug #54125 - Correctly reset login keys if passed value is the current user.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10279 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-11-19 09:54:38 +00:00
Meik Sievertsen
782d680b54
Fix getting host for situations where the name/IP is not resolvable. Related to Bug #41025
...
Related revisions: r9387 and r10158
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10178 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-09-22 15:09:09 +00:00
Meik Sievertsen
223b9ed0d6
extend r9387 - check for existance of all functions we use...
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10158 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-09-17 13:39:50 +00:00
Jim Wigginton
295fb5373a
- fixed bug #44975
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10103 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-09-04 14:53:35 +00:00
Meik Sievertsen
d8a76b1442
Add some very basic checks to the users ip - related to bug #48995
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10020 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-20 08:43:10 +00:00
Meik Sievertsen
bec4b11b64
Because we store forwarded_for if the check is activated we need a better check
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10019 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-20 08:37:06 +00:00
Meik Sievertsen
f7009291e2
Ability to define constant PHPBB_USE_BOARD_URL_PATH to use board url for images/avatars/ranks/imageset...
...
This feature does not change anything for those not using the constant and this feature is also quite in-flux. We need to test this with some applications and bridges and there may be other locations able to benefit from it.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10008 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-17 14:45:14 +00:00
Joas Schilling
c8daec7c82
Fix Bug #49035 - Fix general error while registration, through undefined variable $config in validate_referer (Patch by wjvriend)
...
Authorised by: bantu
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9917 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-04 10:04:54 +00:00
Meik Sievertsen
3461eaf828
Fallback options for missing language files. (Bug #38575 - Patch by EXreaction)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9901 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-01 11:01:18 +00:00
Joas Schilling
f84cbee47c
Fix bug #18005 - Do not add style-parameter to URL again, after admin re-authentification - Patch by leviatan21
...
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9841 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-24 08:52:56 +00:00
Ruslan Uzdenov
adaeec1ec9
Fixed Bug #45115 - Signature parsing flags are not stored in DB
...
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9696 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-27 08:36:40 +00:00
Gabriel Vazquez
19e2dcd5db
Fixed Bug #47145 - [Fix] Correctly check banned users when force password change
...
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9665 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-24 02:56:05 +00:00
Ruslan Uzdenov
b1584a8d5c
Fix bug #46965 - File named install in php directory
...
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9654 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-22 16:16:04 +00:00
Henry Sudhof
794e122cfa
add quicktool to remove users from the newly registered special group.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9646 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-21 14:31:00 +00:00
Meik Sievertsen
afc0ef93c5
add check to newly registered function to not execute this more than once
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9644 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-21 11:13:20 +00:00
Meik Sievertsen
433de350c0
- [Feature] New "Newly Registered Users" group for assigning permissions to newly registered users. They will be removed from this group once they reach a defineable amount of posts.
...
- [Feature] Ability to define if the "Newly Registered Users" group will be assigned as the default group to newly registered users.
As a coincidence also Bug #46535 got fixed.
Additionally the error message displayed with trigger_error() if accessing the private message tab in the ucp is now displayed inline in addition to a slightly different message for newly registered users to let them know that access permissions may be lifted over time.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9636 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-20 18:45:16 +00:00
Henry Sudhof
be81ae9e46
should fix garbage collection
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9627 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-19 12:38:08 +00:00
Meik Sievertsen
a539fca62b
some corrections, only very minor things.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9554 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-07 11:34:01 +00:00
Henry Sudhof
b776d02682
Okay, a first ci of the new captcha plugins. We'll add dynamic template includes later, as well as documentation on how to use this. I'm prepared to get yelled at for bugs (oh, I know that there are plenty); but please blame spammers for broken styles and MODs.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9524 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-02 14:12:23 +00:00
Meik Sievertsen
7c418dee55
#44485 - we only send a 503 header if it is a search engine.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9490 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-28 08:34:30 +00:00
Meik Sievertsen
6816cf292f
do not use spamhaus XBL list - it has too much false positives due to the dynamic IPs
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9484 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-25 08:52:11 +00:00
Henry Sudhof
696aff3169
#41575
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9480 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-22 13:11:13 +00:00
Henry Sudhof
cc71622def
rollback
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9479 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-22 13:09:41 +00:00
Henry Sudhof
d3f6ce4b4b
#41575
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9477 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-22 12:54:33 +00:00
Meik Sievertsen
77e21fc054
encode imageset path in user->img (may not fix any other issues regarding style names with spaces) - #28885
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9465 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-17 15:58:31 +00:00
Meik Sievertsen
e6ed42ed4d
- Add indicator to be used in code if session was created (user visits the site for the first time)
...
- Correctly count topic views for guests visiting the website the first time by entering the topic directly (Bug #43445 )
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9411 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-28 18:34:09 +00:00
Meik Sievertsen
a80f7a5ea1
Use FQDN for SMTP EHLO/HELO command. (Bug #41025 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9387 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-17 15:23:57 +00:00
Meik Sievertsen
8dfc457858
Do not suppress PHP notices/errors in language packs if DEBUG_EXTRA mode enabled. (Bug #41485 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9383 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-17 12:02:48 +00:00
Meik Sievertsen
3c5b06f8aa
Fix wrong bot ip check if bot ip was wrongly entered by admin. (Bug #42485 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9374 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-16 16:34:16 +00:00
Meik Sievertsen
43540f441d
for using the same cached file we need to have exact queries. :P
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9366 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-11 17:47:31 +00:00
Meik Sievertsen
0fc07b96ce
let us change the time zone and dst setting correctly (related to Bug #38775 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9301 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-01-23 12:22:51 +00:00
Meik Sievertsen
f0092cd1f2
Correctly display future dates (Bug #38755 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9298 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-01-23 12:11:45 +00:00
Chris Smith
23d9700f07
Give a small tolerence to timestamps in the future when displaying times as 'minutes ago'
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9170 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-04 12:56:12 +00:00
Meik Sievertsen
a752a424de
[Change] Performance increase for format_date() (Bug #37575 - Patch by BartVB)
...
[Change] Changed prosilver date separator from 'on' to '»'
[Feature] Added 'AGO' setting to relative date strings. For example: posted 14 minutes ago. (Patch by BartVB)
[Fix] Extend vertical line for last post column if no posts in forum (Bug #37125 )
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9136 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-30 14:36:59 +00:00
Meik Sievertsen
b0c8852568
dsbl.org is no longer actively maintained. Sorry language pack authors. ;)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9037 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-10-26 10:52:43 +00:00
Meik Sievertsen
cac0a2255a
make topic icon image width/height available to viewforum and search templates (Bug #15934 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8857 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-16 15:06:19 +00:00
Meik Sievertsen
da402759ab
gah, thanks chris. :)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8850 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-16 12:09:37 +00:00