aboutsummaryrefslogtreecommitdiffstats
path: root/tests/content_visibility
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-166-19/+19
| | | | PHPBB3-11700
* [ticket/9657] Define user before injectingJoas Schilling2013-07-135-1/+5
| | | | PHPBB3-9657
* [ticket/9657] Fix unit testsJoas Schilling2013-07-116-14/+24
| | | | PHPBB3-9657
* [ticket/9657] Fix unit tests missing global container.Joas Schilling2013-03-061-1/+4
| | | | PHPBB3-9657
* [feature/soft-delete]Fix the rest of unit tests failuresJoas Schilling2012-11-107-6/+24
| | | | PHPBB3-9567
* [feature/soft-delete] Fix the rest of *_approved and the delete_post unit testJoas Schilling2012-11-103-25/+25
| | | | PHPBB3-9567
* [feature/soft-delete] Incorrect integer value: '' for column 'post_delete_time'Joas Schilling2012-10-242-7/+7
| | | | PHPBB3-9567
* [feature/soft-delete] Field 'forum_parents' doesn't have a default valueJoas Schilling2012-10-241-0/+3
| | | | PHPBB3-9567
* [feature/soft-delete] Update unit tests to new table structureJoas Schilling2012-10-232-34/+59
| | | | PHPBB3-9567
* [feature/soft-delete] Correctly synchronize the topic_visibility in sync()Joas Schilling2012-10-091-1/+1
| | | | | | | 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
* [feature/soft-delete] Add test case for (soft)deleting the only post + fixJoas Schilling2012-10-062-0/+90
| | | | PHPBB3-9567
* [feature/soft-delete] Add some unit tests for delete_post()Joas Schilling2012-10-062-0/+353
| | | | PHPBB3-9567
* [feature/soft-delete] Add unit tests for set_topic_visibility()Joas Schilling2012-10-052-0/+239
| | | | PHPBB3-9567
* [feature/soft-delete] Extend functionality for updating a hole topicJoas Schilling2012-10-051-12/+0
| | | | | | | | | 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
* [feature/soft-delete] Fix sync('topic') to match the new logicJoas Schilling2012-10-052-5/+60
| | | | | | This also fixes set_post_visibility() PHPBB3-9567
* [feature/soft-delete] Merge functionality of m_approve and m_restoreJoas Schilling2012-10-053-62/+4
| | | | | | | | | | | The problems with having two different permissions are just too big and cause huge queries, if they are granted differently. Also it's quite hard to decide what should happen when a moderator has only one permission and the topic has only posts of the two hidden types. To avoid all this, we merge them so it's a simple switch: either the user is a moderator, then he can see all posts, or he is not, then he can only see approved ones. PHPBB3-9567
* [feature/soft-delete] Test topic visibility as wellJoas Schilling2012-10-051-6/+6
| | | | PHPBB3-9657
* [feature/soft-delete] Add unit tests for simple cases of set_post_visibilityJoas Schilling2012-10-022-0/+246
| | | | | | These tests require at least one remaining post. PHPBB3-9657
* [feature/soft-delete] Remove unneeded require_once()Joas Schilling2012-10-023-9/+0
| | | | PHPBB3-9657
* [feature/soft-delete] Add unit tests for get_global_visibility_sql()Joas Schilling2012-10-012-4/+153
| | | | PHPBB3-9657
* [feature/soft-delete] Add unit tests for get_forums_visibility_sql()Joas Schilling2012-10-013-5/+282
| | | | PHPBB3-9657
* [feature/soft-delete] Add unit tests for get_visibility_sql()Joas Schilling2012-10-012-0/+196
PHPBB3-9657