Oleg Pudeyev
17693c2802
[ticket/10057] Use a class for error collection.
...
Replaced error collection functions with a class for a cleaner
implementation.
PHPBB3-10057
2011-03-06 20:16:17 -05:00
Oleg Pudeyev
a4100fe709
[ticket/10057] More informative error messages in postgres dbal.
...
When pg_connect/pg_pconnect do not exist, mention that they come
with pgsql extension.
PHPBB3-10057
2011-03-06 20:16:17 -05:00
Oleg Pudeyev
fc5be6928f
[ticket/10057] No negative array indexing.
...
PHP manual does not say that negative array indices are allowed,
so it's best to assume they are not guaranteed to work the way
one would expect.
PHPBB3-10057
2011-03-06 20:16:17 -05:00
Oleg Pudeyev
d69a7c620a
[ticket/10057] Report postgres db connection errors.
...
Addresses two issues:
1. When pgsql extension is missing, @pg_connect would silently
abort execution. Check for pg_connect existence before calling it,
same with pg_pconnect.
2. When connection fails, the error reported by php is discarded.
User is shown the failure message without the reason for failure,
making debugging difficult. Collect the error (if any) via a
temporarily installed error handler, and display it if connection
failed.
PHPBB3-10057
2011-03-06 20:16:16 -05:00
Andreas Fischer
ac90190682
[ticket/9970] Rename validate_language() to validate_language_iso_name().
...
PHPBB3-9970
2011-03-07 00:41:24 +01:00
Andreas Fischer
0f16fd3519
[ticket/9970] Do not allow switching to languages not installed on reg. page.
...
PHPBB3-9970
2011-03-07 00:41:24 +01:00
Andreas Fischer
405ef39828
[ticket/9970] Check whether language pack is installed.
...
PHPBB3-9970
2011-03-07 00:41:24 +01:00
Josh Woody
f7723b3e95
[ticket/9970] User language input is checked for existance
...
Users could select a language which did not exist in the database by altering
form fields because there was no back-end verification.
PHPBB3-9970
2011-03-07 00:41:14 +01:00
Oleg Pudeyev
b343920071
[ticket/10069] Improvements to sample nginx configuration.
...
Most of these were contributed by burningbunny:
https://github.com/burningbunny
PHPBB3-10069
2011-03-06 18:22:13 -05:00
Oleg Pudeyev
f08cbc73de
Merge branch 'ticket/bantu/10075' into develop-olympus
...
* ticket/bantu/10075:
[ticket/10075] Update docs/AUTHORS for 3.0.9-RC1 release.
2011-03-06 14:53:47 -05:00
Andreas Fischer
7027489c8e
Merge branch 'ticket/p/10059' into develop-olympus
...
* ticket/p/10059:
[ticket/10059] Fix two misspellings of consistent.
2011-03-06 15:06:58 +01:00
Andreas Fischer
12721f654e
Merge branch 'ticket/p/9824' into develop-olympus
...
* ticket/p/9824:
[ticket/9824] Accept commit messages with less than perfect headings.
[ticket/9824] Allow empty lines after ticket reference.
[ticket/9824] Use printf instead of echo to render \n.
[ticket/9824] Handle empty commit messages in commit-msg hook.
[ticket/9824] Add space after [ticket/12345] in prepared commit message.
[ticket/9824] Remove space after PHPBB3-12345 in prepared commit message.
2011-03-06 14:55:57 +01:00
Andreas Fischer
9cdeb51a52
[ticket/10016] Add comment for text casting (for PostgreSQL 7.x)
...
PHPBB3-10016
2011-03-05 22:55:58 +01:00
Andreas Fischer
841061426d
[ticket/10016] Leave Firebird unchanged.
...
PHPBB3-10016
2011-03-05 22:48:24 +01:00
Andreas Fischer
32af9e8865
[ticket/10075] Update docs/AUTHORS for 3.0.9-RC1 release.
...
Remove:
- A_Jelly_Doughnut
- dhn
- TerraFrost
Add:
- nn-
Move:
- Brainy
Rename:
- Brainy -> ckwalsh
PHPBB3-10075
2011-03-04 16:54:24 +01:00
Erik Frèrejean
df76799d4b
[ticket/9581] Slightly tweaked queries
...
Changed the queries based upon comments by Oleg and Nick, this
should return the expected result in every case.
PHPBB3-9581
2011-03-04 12:14:00 +01:00
Erik Frèrejean
1dd25ce62d
[ticket/9581] Make banlist table select optional
...
Per Nick, only set the `BANLIST_TABLE` in the select statement
if the `$sql_ban_where` variable is set.
PHPBB3-9581
2011-03-04 11:10:09 +01:00
Erik Frèrejean
1b60613319
[ticket/9581] Mass e-mail to banned users
...
Implement the suggestion made by Adam in the ticket, this will add
an additional checkbox to the mass e-mail page. By checking this
the mass e-mail shall also be send to banned users. By default
banned users however are excluded from the mass e-mail.
PHPBB3-9581
2011-03-04 11:10:08 +01:00
Oleg Pudeyev
afae883619
Merge branch 'ticket/nickvergessen/9911' into develop-olympus
...
* ticket/nickvergessen/9911:
[ticket/9911] Correctly open "Minimum posts" on editing a rank in IE.
2011-03-02 22:07:56 -05:00
Oleg Pudeyev
57ab0816e2
Merge branch 'ticket/nickvergessen/9915' into develop-olympus
...
* ticket/nickvergessen/9915:
[ticket/9915] "Length of ban:" is not displayed in ACP
2011-03-02 20:46:28 -05:00
Joas Schilling
1b97506ec5
Merge branch 'ticket/samt/10072' into develop-olympus
...
* ticket/samt/10072:
[ticket/10072] Added the POST_NUMBER template var
2011-03-03 00:14:24 +01:00
Sam Thompson
4c565774bf
[ticket/10072] Added the POST_NUMBER template var
...
PHPBB3-10072
2011-03-02 23:41:11 +01:00
Oleg Pudeyev
e552287128
[ticket/9824] Accept commit messages with less than perfect headings.
...
Some commit messages exist only temporarily, because they are given
on commits that are intended to be squashed. Accept such commit
messages with a warning.
PHPBB3-9824
2011-03-01 20:59:04 -05:00
Oleg Pudeyev
d7a38fd7ef
[ticket/9824] Allow empty lines after ticket reference.
...
PHPBB3-9824
2011-03-01 20:59:04 -05:00
Oleg Pudeyev
b90e01392c
[ticket/9824] Use printf instead of echo to render \n.
...
On FreeBSD `echo "\n"` prints \n verbatim. Use printf instead.
PHPBB3-9824
2011-03-01 20:59:04 -05:00
Oleg Pudeyev
c489b189df
[ticket/9824] Handle empty commit messages in commit-msg hook.
...
Git already handles the case of commit message being empty by
aborting the commit and displaying a reasonably helpful message.
If there is no commit message, the hook will exit with success
exit code to let git do its thing.
PHPBB3-9824
2011-03-01 20:59:04 -05:00
Oleg Pudeyev
36e96bbc6a
[ticket/10059] Fix two misspellings of consistent.
...
PHPBB3-10059
2011-03-01 19:53:12 -05:00
Andreas Fischer
9bed2b119c
[ticket/9824] Add space after [ticket/12345] in prepared commit message.
...
PHPBB3-9824
2011-03-02 00:24:34 +01:00
Andreas Fischer
16a46e6a24
[ticket/9824] Remove space after PHPBB3-12345 in prepared commit message.
...
PHPBB3-9824
2011-03-02 00:04:45 +01:00
Joas Schilling
51b985399d
[ticket/9911] Correctly open "Minimum posts" on editing a rank in IE.
...
IE handles onchange after the next click on the page, instead of directly like Firefox, Opera and Safari do. Changing it to onclick works.
PHPBB3-9911
2011-03-01 17:03:06 +01:00
Joas Schilling
25c738ccdb
[ticket/9915] "Length of ban:" is not displayed in ACP
...
Regression from PHPBB3-9695, innerHTML does not work on input-fields, so we
need to go back to "value", which we had before.
PHPBB3-9915
2011-03-01 16:48:04 +01:00
Igor Wiedler
bda64edae8
Merge branch 'ticket/nickvergessen/10024' into develop-olympus
...
* ticket/nickvergessen/10024:
[ticket/10024] Populate unread information to template for styling issues.
2011-02-28 01:03:44 +01:00
Philippe Chevrier
ffe691db10
[ticket/10024] Populate unread information to template for styling issues.
...
PHPBB3-10024
2011-02-28 00:00:56 +01:00
Igor Wiedler
23475abab3
Merge branch 'ticket/raimon/9980' into develop-olympus
...
* ticket/raimon/9980:
[ticket/9980] URLs to javascript should be T_SUPER_TEMPLATE_PATH instead of T_TEMPLATE_PATH
2011-02-27 23:18:10 +01:00
Nils Adermann
dc112092e0
Merge branch 'ticket/naderman/9984' into develop-olympus
...
* ticket/naderman/9984:
[ticket/9984] Add a phing target that does not create packages.
2011-02-27 23:04:54 +01:00
Nils Adermann
dd1c12c758
[ticket/9984] Add a phing target that does not create packages.
...
PHPBB3-9984
2011-02-27 23:01:14 +01:00
Igor Wiedler
80a335f538
Merge branch 'task/session-tests' into develop-olympus
...
* task/session-tests:
[task/session-tests] Make result check independent of returned row order.
[task/session-tests] By default the cache check now skips over db server info
[task/session-tests] Correctly display message on session continue test failure
[task/session-tests] Make the session id replacement of dataset values clearer
2011-02-27 22:48:22 +01:00
Igor Wiedler
2163059632
Merge branch 'ticket/bantu/10009' into develop-olympus
...
* ticket/bantu/10009:
[ticket/10009] Entries are always posts, update fields accordingly.
[ticket/10009] Always show 'published' data in feed item statistics.
[ticket/10009] Make atom:update output unconditional and before atom:published
[ticket/10009] Send atom:updated whenever possible
[ticket/10009] Differentiate published from updated in Atom feed
2011-02-27 22:27:21 +01:00
Nils Adermann
921603b09e
[task/session-tests] Make result check independent of returned row order.
...
PHPBB3-9732
2011-02-27 22:20:36 +01:00
Nils Adermann
7255ef4f6d
[task/session-tests] By default the cache check now skips over db server info
...
PHPBB3-9732
2011-02-27 22:17:03 +01:00
Nils Adermann
bbf3864cb4
[task/session-tests] Correctly display message on session continue test failure
...
PHPBB3-9732
2011-02-27 22:16:39 +01:00
Nils Adermann
3d65c3c104
[task/session-tests] Make the session id replacement of dataset values clearer
...
PHPBB3-9732
2011-02-27 22:06:01 +01:00
Andreas Fischer
b1d6c0a7a1
Merge branch 'ticket/nickvergessen/10036' into develop-olympus
...
* ticket/nickvergessen/10036:
[ticket/10036] Use image from configuration file for displaying online-status.
2011-02-26 18:17:39 +01:00
Oleg Pudeyev
14fc25b252
Merge branch 'ticket/bantu/9912' into develop-olympus
...
* ticket/bantu/9912:
[ticket/9912] Fix error in logic. Do not strip SID when user is not a bot.
2011-02-26 08:05:43 -05: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 d07e152ea7
PHPBB3-9912
2011-02-25 22:24:34 -05:00
Andreas Fischer
0c23d6c069
Merge branch 'ticket/igorw/10060' into develop-olympus
...
* ticket/igorw/10060:
[ticket/10060] Fix test suite under MySQL
2011-02-25 16:58:58 +01:00
Igor Wiedler
c8ad006b71
[ticket/10060] Fix test suite under MySQL
...
Regression from PHPBB3-10043, a typo caused the database tests to fail
under MySQL.
PHPBB3-10060
2011-02-25 16:37:20 +01:00
Oleg Pudeyev
904bcb86a0
Merge branch 'ticket/callumacrae/7834' into develop-olympus
...
* ticket/callumacrae/7834:
[ticket/7834] Topic time didn't update when first post was deleted
2011-02-24 20:56:42 -05:00
Oleg Pudeyev
e6ed55a9c1
Merge branch 'ticket/callumacrae/9872' into develop-olympus
...
* ticket/callumacrae/9872:
[ticket/9872] Removed some useless code that broke delete_posts
2011-02-24 20:48:17 -05:00
Oleg Pudeyev
47dc492839
Merge branch 'ticket/callumacrae/9997' into develop-olympus
...
* ticket/callumacrae/9997:
[ticket/9997] Fixed an inconsistency in the Moderator Control Panel
2011-02-24 20:43:11 -05:00