aboutsummaryrefslogtreecommitdiffstats
path: root/tests/content_visibility
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14576] Move common required files to bootstrapMatt Friedman2016-03-313-9/+0
| | | | PHPBB3-14576
* [ticket/14168] Use attachment manager instead of separate classesMarc Alexander2015-10-121-1/+2
| | | | PHPBB3-14168
* [ticket/14168] Fix tests after rebaseMarc Alexander2015-10-091-1/+1
| | | | PHPBB3-14168
* [ticket/14168] Move phpbb_unlink() into attachment delete classMarc Alexander2015-10-091-1/+1
| | | | PHPBB3-14168
* [ticket/14168] Add attachment resync classMarc Alexander2015-10-091-1/+1
| | | | PHPBB3-14168
* [ticket/14168] Fix tests after adding attachment delete classMarc Alexander2015-10-091-0/+2
| | | | PHPBB3-14168
* [ticket/13762] Moving language related functionality into a separate classMateBartus2015-05-026-7/+21
| | | | PHPBB3-13762
* [ticket/13496] Update calls to `set_config_count()`Gaëtan Muller2015-02-021-4/+6
| | | | PHPBB3-13496
* [ticket/13146] Even more missing phpbb_mock_event_dispatcher()brunoais2015-01-101-1/+2
| | | | PHPBB3-13146
* [ticket/13146] Last missing phpbb_mock_event_dispatcher()brunoais2015-01-101-4/+1
| | | | | | Thank you nickvergessen PHPBB3-13146
* [ticket/13146] Use the correct phpbb_mock_event_dispatcher, instead of builderbrunoais2015-01-066-18/+6
| | | | PHPBB3-13146
* [ticket/13146] Missing delete post test mockbrunoais2015-01-021-1/+3
| | | | PHPBB3-13146
* [ticket/13146] Setup mocks for tests with dispatcherbrunoais2015-01-026-6/+19
| | | | PHPBB3-13146
* [ticket/13146] Forgot delete_post_test.phpbrunoais2014-12-031-1/+2
| | | | PHPBB3-13146
* [ticket/13146] Adding required tests modifications for the new constructorbrunoais2014-12-035-5/+10
| | | | PHPBB3-13146
* [ticket/12932] Fix tests and calls to create_datetimeMarc Alexander2014-08-106-7/+7
| | | | PHPBB3-12932
* [ticket/12718] Use a separate variable for sql queryDhruv2014-08-081-3/+4
| | | | PHPBB3-12718
* [ticket/12718] Fix spacing and type castingDhruv2014-08-071-2/+2
| | | | PHPBB3-12718
* [ticket/12718] Add tests to check user_posts on post deletionDhruv2014-08-071-2/+33
| | | | PHPBB3-12718
* Merge pull request #2623 from dhruvgoel92/ticket/12738Tristan Darricau2014-08-076-8/+15
|\ | | | | | | | | | | | | | | | | | | | | [ticket/12738] Move related code from functions_posting to function * dhruvgoel92/ticket/12738: [ticket/12738] Update constructor docblock [ticket/12738] Add $config to constructor in notification test [ticket/12738] Fix tests with new config object injection [ticket/12738] Inject config object into content_visibility class [ticket/11528] Move related code from functions_posting to function
| * [ticket/12738] Fix tests with new config object injectionDhruv2014-06-206-8/+15
| | | | | | | | PHPBB3-12738
* | [ticket/12746] Init phpbb_dispatcher being used by delete_post()Dhruv2014-06-201-1/+3
|/ | | | PHPBB3-12746
* Merge pull request #2426 from Nicofuma/ticket/12174Joas Schilling2014-05-282-0/+125
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12174] Update topic_attachment flag when a post is soft-deleted * Nicofuma/ticket/12174: [ticket/12174] Add tests [ticket/12174] Coding style [ticket/12174] Remove $update_topic_attachments_flag [ticket/12174] Don't update the flag for a post without attachment [ticket/12174] Update the conditions [ticket/12174] Remove inline assignment [ticket/12174] Update sql query [ticket/12174] Revert the changes on $topic_update_array [ticket/12174] Corrections [ticket/12174] Update topic_attachment flag when a post is soft-deleted
| * [ticket/12174] Add testsTristan Darricau2014-05-282-0/+125
| | | | | | | | PHPBB3-12174
* | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-276-18/+42
|/ | | | PHPBB3-12594
* [ticket/12115] Also port user interests to profile fieldsJoas Schilling2014-02-063-16/+0
| | | | PHPBB3-12115
* [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