Nils Adermann
b95fdacdd3
[ticket/11700] Move all recent code to namespaces
...
PHPBB3-11700
2013-09-16 00:25:27 +02:00
Joas Schilling
167ca1f33f
[ticket/9657] Define user before injecting
...
PHPBB3-9657
2013-07-13 11:25:38 -04:00
Joas Schilling
753dc62267
[ticket/9657] Fix unit tests
...
PHPBB3-9657
2013-07-11 15:02:07 +02:00
Joas Schilling
51966bd497
[feature/soft-delete]Fix the rest of unit tests failures
...
PHPBB3-9567
2012-11-10 16:41:43 +01:00
Joas Schilling
fbf85b76c1
[feature/soft-delete] Correctly synchronize the topic_visibility in sync()
...
This also makes sync('topic_visibility') obsolete, but we keep it for now.
Also fix a unit test, because ITEM_DELETED overpowers ITEM_UNAPPROVED
PHPBB3-9567
2012-10-09 15:38:50 +02:00
Joas Schilling
bfa6a50a4f
[feature/soft-delete] Extend functionality for updating a hole topic
...
Limit the posts to a certain visibility and deletion time
This allows us to only restore posts, that were approved
when the topic got soft deleted. So previous soft deleted
and unapproved posts are still soft deleted/unapproved
PHPBB3-9567
2012-10-05 13:12:36 +02:00
Joas Schilling
63d11c976b
[feature/soft-delete] Fix sync('topic') to match the new logic
...
This also fixes set_post_visibility()
PHPBB3-9567
2012-10-05 12:39:05 +02:00
Joas Schilling
b8642d7c8a
[feature/soft-delete] Test topic visibility as well
...
PHPBB3-9657
2012-10-05 11:04:56 +02:00
Joas Schilling
1f8f07b998
[feature/soft-delete] Add unit tests for simple cases of set_post_visibility
...
These tests require at least one remaining post.
PHPBB3-9657
2012-10-02 15:32:12 +02:00