Oleg Pudeyev
c3fb0f359c
[ticket/10933] Specify empty template path for absolute includephp test.
...
This was probably necessary all along, and the test happened to work
because state was not correctly reset between test runs and
a previous test set an empty template path.
PHPBB3-10933
2012-11-02 18:06:21 -04:00
Oleg Pudeyev
766353fe5c
[ticket/10933] Useful documentation for template locate function
...
PHPBB3-10933
2012-11-02 18:03:52 -04:00
Oleg Pudeyev
0c18f92c0a
[ticket/10933] Typo fixes
...
PHPBB3-10933
2012-11-02 18:03:52 -04:00
Oleg Pudeyev
8528d8ff34
[ticket/10933] Initialize template context when template is constructed.
...
There is no apparent reason for either initializing or clearing
the context in set_style/set_custom_style.
Initially the initialization there was added in
0501640d5d
, for reasons that
presently I do not see.
This permits making context property back private.
PHPBB3-10933
2012-11-02 18:03:52 -04:00
Oleg Pudeyev
fd6ee50e06
[ticket/11162] Extract existing behavior into a function and add a test.
...
PHPBB3-11162
2012-11-02 16:05:53 -04:00
Joas Schilling
6999d776d4
[feature/soft-delete] Correctly manage soft deleting via MCP
...
PHPBB3-9567
2012-11-02 14:23:17 +01:00
Joas Schilling
63e3baf0eb
[feature/soft-delete] Correctly manage softdeleting via posting.php
...
PHPBB3-9567
2012-11-02 14:14:20 +01:00
Oleg Pudeyev
000bbfd5b3
Merge pull request #1028 from bantu/ticket/11099
...
[ticket/11099] Mark acp_ban::display_ban_options() as static.
2012-11-01 19:39:03 -07:00
Joas Schilling
bed82bf2bd
[feature/soft-delete] Invert the logic on confirm box
...
Permanent delete is now the checkbox rather then softdelete.
PHPBB3-9567
2012-11-01 22:23:35 +01:00
Andreas Fischer
969369254f
[ticket/10875] Add comment about cache's sql_load() method.
...
PHPBB3-10875
2012-10-31 18:14:52 -04:00
Joas Schilling
8d05dad634
[feature/soft-delete] Display message when the posts are already soft deleted
...
PHPBB3-9567
2012-10-31 21:28:06 +01:00
Joas Schilling
18dec1026a
[feature/soft-delete] Fix restoring/approving posts with mcp moderation
...
PHPBB3-9567
2012-10-31 14:09:23 +01:00
Andreas Fischer
4e83cd461c
[ticket/10875] Fix logic in phpbb_cache_driver_file::sql_save().
...
Previously (develop-olympus) $query_result was passed via reference into
sql_save(). Now the (possibly changed) result is returned by value.
Adjust logic to take this change into account correctly.
PHPBB3-10875
2012-10-30 18:50:26 -04:00
Andreas Fischer
59af4d68fc
[ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result.
...
PHPBB3-10875
2012-10-30 18:50:26 -04:00
Andreas Fischer
e28f0aa336
[ticket/10875] Fix return value of phpbb_cache_driver_null::sql_save().
...
phpbb_cache_driver_null::sql_save() has to return $query_result as is instead
of null.
PHPBB3-10875
2012-10-30 18:50:25 -04:00
Andreas Fischer
4f65a00334
[ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.
...
sql_save() no longer takes $query_result as a reference, thus this assignment
is a no-op.
PHPBB3-10875
2012-10-30 18:50:25 -04:00
Andreas Fischer
a1524a69d6
[ticket/11099] Mark acp_ban::display_ban_options() as static.
...
It is called statically from mcp_ban.
PHPBB3-11099
2012-10-30 18:43:00 -04:00
Andreas Fischer
1f248dab6f
Merge remote-tracking branch 'p/ticket/11157' into develop
...
* p/ticket/11157:
[ticket/11157] static public is the currently approved order.
[ticket/11157] Fix remaining captcha spam.
[ticket/11157] get_captcha_types is an instance method.
2012-10-30 18:19:44 -04:00
Andreas Fischer
e0e3622ba9
Merge remote-tracking branch 'p/ticket/11159-develop' into develop
...
* p/ticket/11159-develop:
[ticket/11159] static public is the currently approved order.
2012-10-30 18:16:16 -04:00
Joas Schilling
f0e2d21f8c
[feature/soft-delete] Allow to soft delete posts in the MCP quick moderation
...
PHPBB3-9567
2012-10-30 21:46:04 +01:00
Nathan Guse
05e74b82ac
[ticket/11103] enable/disable notifications functions
...
disable_notifications
This should be called when an extension which has notification types
is disabled so that all those notifications are hidden and do not
cause errors
enable_notifications
This should be called when an extension which has notification types
that was disabled is re-enabled so that all those notifications that
were hidden are shown again
PHPBB3-11103
2012-10-29 23:34:51 -05:00
Nathan Guse
6c213bd5fa
[ticket/11103] Make sure post/topic approved notifications are always unread
...
PHPBB3-11103
2012-10-29 23:20:59 -05:00
Nathan Guse
ead1d92b22
[ticket/11103] Handle the ext notification type better
...
We don't actually need to test the finder here, so don't copy the ext
directory over
PHPBB3-11103
2012-10-29 18:41:31 -05:00
Nathan Guse
b1ba7b27ad
[ticket/11103] _get_avatar -> get_user_avatar
...
PHPBB3-11103
2012-10-29 18:37:07 -05:00
Nathan Guse
b60ae30b02
[ticket/11103] More cleanup
...
PHPBB3-11103
2012-10-29 18:20:07 -05:00
Nathan Guse
a811e65147
[ticket/11103] Revert an overwrite that occured on merging from develop
...
PHPBB3-11103
2012-10-29 18:18:33 -05:00
Nathan Guse
ecf6f1eb8c
[ticket/11103] Code cleanup
...
PHPBB3-11103
2012-10-29 18:15:01 -05:00
Nathan Guse
e549b7663d
[ticket/11103] Set basic notifications to be enabled by default
...
Now, if there is no row for the user in the user_notifications table,
the user will receive basic notifications. If the user wishes to not
receive notifications, a row must be added with notify = 0.
For other methods besides the basic (e.g. email, jabber) a row must
still be added with notify = 1 for them to receive notifications
PHPBB3-11103
2012-10-29 18:09:20 -05:00
Andreas Fischer
c9ad0c6f25
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/11158] Require acl_u_sig for ucp signature module.
[ticket/11158] Revert old fix in PHPBB3-10186.
Conflicts:
phpBB/install/database_update.php
phpBB/ucp.php
2012-10-29 15:16:59 -04:00
Andreas Fischer
88b100d818
Merge remote-tracking branch 'p/ticket/11158' into develop-olympus
...
* p/ticket/11158:
[ticket/11158] Require acl_u_sig for ucp signature module.
[ticket/11158] Revert old fix in PHPBB3-10186.
2012-10-29 15:13:33 -04:00
Oleg Pudeyev
5f5d395c62
[ticket/11158] Require acl_u_sig for ucp signature module.
...
PHPBB3-11158
2012-10-29 14:58:25 -04:00
Oleg Pudeyev
88bd7292f1
[ticket/11158] Revert old fix in PHPBB3-10186.
...
Revert "[ticket/10186] UCP signature panel displays when not authed
for signatures"
This reverts commit f6fa52540c
.
PHPBB3-10186
PHPBB3-11158
2012-10-29 14:58:19 -04:00
Oleg Pudeyev
31781adf0c
[ticket/11159] static public is the currently approved order.
...
PHPBB3-11159
2012-10-29 14:57:27 -04:00
Oleg Pudeyev
d602f13d7f
[ticket/11157] static public is the currently approved order.
...
PHPBB3-11157
2012-10-29 14:54:54 -04:00
Oleg Pudeyev
14a6e5ec73
[ticket/11157] Fix remaining captcha spam.
...
PHPBB3-11157
2012-10-29 14:48:43 -04:00
Oleg Pudeyev
60d9538b14
[ticket/11157] get_captcha_types is an instance method.
...
It is specific to a particular captcha factory implementation,
instantiate a captcha factory to invoke it.
PHPBB3-11157
2012-10-29 14:48:42 -04:00
Oleg Pudeyev
dc8052b5c0
Merge PR #1021 branch 'p/ticket/11156' into develop
...
* p/ticket/11156:
[ticket/11156] Delete "Misc" tab of forum based permissions + move items
2012-10-29 08:10:56 -04:00
RMcGirr83
a9b59bfe03
[ticket/11156] Delete "Misc" tab of forum based permissions + move items
...
PHPBB3-11156
2012-10-29 08:01:16 -04:00
Joas Schilling
ed602857e6
[feature/soft-delete] Correctly increase topics post counts when posting
...
PHPBB3-9567
2012-10-28 22:37:00 +01:00
Nathan Guse
eddb56f842
[ticket/11103] Working on default notifications on install/update
...
PHPBB3-11103
2012-10-27 12:03:11 -05:00
Joas Schilling
4a8d38aab1
[feature/soft-delete] Allow soft deleting/restoring topics via quickmoderation
...
PHPBB3-9567
2012-10-27 17:12:34 +02:00
Joas Schilling
7b3d794cad
[feature/soft-delete] Display post delete reason if one is given
...
PHPBB3-9567
2012-10-24 19:58:28 +02:00
Joas Schilling
f21fd469bc
[feature/soft-delete] Handle soft deleting via Delete Icon
...
PHPBB3-9567
2012-10-24 19:52:16 +02:00
Joas Schilling
3d56261621
[feature/soft-delete] Incorrect integer value: '' for column 'post_delete_time'
...
PHPBB3-9567
2012-10-24 18:03:57 +02:00
Joas Schilling
5c6a3d8845
[feature/soft-delete] Revert doc fix from b8c55291
...
It should be fixed separately
PHPBB3-9567
2012-10-24 09:48:22 +02:00
Joas Schilling
b2b5dbed26
[feature/soft-delete] Field 'forum_parents' doesn't have a default value
...
PHPBB3-9567
2012-10-24 00:00:15 +02:00
Joas Schilling
b3d5f2b4e4
[feature/soft-delete] Fix unit tests for delete_posts()
...
PHPBB3-9567
2012-10-23 23:37:25 +02:00
Joas Schilling
3236229188
[feature/soft-delete] Update unit tests to new table structure
...
PHPBB3-9567
2012-10-23 23:35:50 +02:00
Joas Schilling
727759c4d8
[feature/soft-delete] Fix disapproving posts/topics in queue
...
PHPBB3-9567
2012-10-23 22:47:57 +02:00
Joas Schilling
43e6b3a921
[feature/soft-delete] Fix some more topic/post count handling
...
Only disapproving in queue is missing.
PHPBB3-9567
2012-10-23 16:59:33 +02:00