Joas Schilling
6e93fee9d2
[feature/soft-delete] Link to delete_topics module when the topic is deleted
...
PHPBB3-9567
2012-11-10 11:55:06 +01:00
Joas Schilling
f77a6eaab5
[feature/soft-delete] Fix the rest of *_approved and the delete_post unit test
...
PHPBB3-9567
2012-11-10 11:24:52 +01:00
Joas Schilling
9c2a58eff4
[feature/soft-delete] Append _approved to *_posts and *_topics column names
...
PHPBB3-9567
2012-11-09 13:37:53 +01:00
Joas Schilling
8512543cf4
[feature/soft-delete] Use request object instead of direct access
...
PHPBB3-9567
2012-11-09 12:32:27 +01:00
Joas Schilling
269330749f
[feature/soft-delete] Fix naming of soft delete (we wont use that in the UI)
...
PHPBB3-9567
2012-11-03 23:37:35 +01: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
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
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
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
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
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
Joas Schilling
fec72c4b78
[feature/soft-delete] Fix mcp_move_topic() topic/post count handling
...
PHPBB3-9567
2012-10-23 12:52:31 +02:00
Joas Schilling
5925a17894
[feature/soft-delete] Fix some more uses of topic_replies_real
...
PHPBB3-9567
2012-10-22 14:55:10 +02:00
Joas Schilling
9945561b4b
[feature/soft-delete] Correctly calculate the number of replies everywhere
...
PHPBB3-9567
2012-10-22 11:14:00 +02:00
Joas Schilling
e7a137820b
[feature/soft-delete] Use correct language when restoring topics in MCP
...
PHPBB3-9567
2012-10-21 22:30:20 +02:00
Joas Schilling
0822d2bb61
[feature/soft-delete] Split unapproved/soft deleted posts from topics
...
If a topic is soft deleted through a moderator, the topic_delete_user is set.
If it is passively soft deleted (f.e. while the only approved post is deleted)
the topic_delete_user is not set. This way, we can distinguish between these
two cases. The same also applies to unapproved posts. So we need to set the
topic_delete_user when an unapproved topic is posted.
Topics that were soft deleted/unapproved by a user (rather then passive) are
going to be displayed in the Topics modules, while all others are in the posts
modules of the MCP queue.
PHPBB3-9567
2012-10-17 15:32:57 +02:00
Joas Schilling
2adb37049e
[feature/soft-delete] Display guest username in topic list instead of "Guest"
...
PHPBB3-9567
2012-10-17 15:23:16 +02:00
Joas Schilling
43d041bdec
[feature/soft-delete] Removed unused old functions
...
PHPBB3-9567
2012-10-16 14:20:23 +02:00
Joas Schilling
722835a4ba
[feature/soft-delete] Merge approving and restoring topics into one function
...
PHPBB3-9567
2012-10-16 14:18:56 +02:00
Joas Schilling
51d54109e0
[feature/soft-delete] Merge approving and restoring posts into one function
...
PHPBB3-9567
2012-10-16 13:55:22 +02:00
Joas Schilling
33073fafbe
[feature/soft-delete] Add module for soft deleted topics
...
Unapproved/soft deleted posts are posts, that have a different visibility than
the topic. All others will be hidden from the posts list and can be managed
with the topic modules.
PHPBB3-9567
2012-10-15 15:53:32 +02:00
Joas Schilling
b1ce8a8c13
[feature/soft-delete] Add checkbox to restoring posts like on approve
...
PHPBB3-9567
2012-10-15 15:19:32 +02:00
Joas Schilling
a92927d24c
[feature/soft-delete] Turn other functions into methods as well
...
PHPBB3-9567
2012-10-15 15:05:02 +02:00
Joas Schilling
7c2cc9cfef
[feature/soft-delete] Turn restore_post() into a method and add the docs
...
PHPBB3-9567
2012-10-15 14:02:16 +02:00
Joas Schilling
4bf922fa03
[feature/soft-delete] Fix restoring posts via MCP
...
PHPBB3-9567
2012-10-13 19:00:08 +02:00
Joas Schilling
18f77020e5
[feature/soft-delete] Fix several problems in the forum mcp
...
PHPBB3-9567
2012-10-10 23:10:46 +02:00
Joas Schilling
1943de36f3
[feature/soft-delete] Comment out user_posts update for the moment
...
It should rely on the permissions of the post not the current user.
PHPBB3-9657
2012-10-01 16:25:05 +02:00
Joas Schilling
c03d692a98
[feature/soft-delete] Fix some more usages of _approved column names
...
PHPBB3-9657
2012-08-30 22:57:00 +02:00
Joas Schilling
8a036fa3e4
[feature/soft-delete] Update restoring feature to use ajax if requested.
...
Also fixes the mcp as a hole:
- displayes a success message
- gives a link to the post, if only one was restored
PHPBB3-9657
2012-08-29 18:42:14 +02:00
Joas Schilling
b774c09c7f
[feature/soft-delete] Use the variable which holds the correct item status
...
PHPBB3-9657
2012-08-29 17:50:14 +02:00
Joas Schilling
1935568c3e
[feature/soft-delete] Fix typo in column name topic_visibility
...
PHPBB3-9657
2012-08-29 17:50:13 +02:00
Josh Woody
1ab41f8dc6
[feature/soft-delete] Fix some small bugs
...
To wit: using non-existing constant POST_DELETED in posting.php; first test
post was initially unapproved; soft delete checkbox appeared at post time
Links pointing to the wrong place.
PHPBB3-9657
2012-08-29 17:50:12 +02:00
Josh Woody
f570558a8d
[feature/soft-delete] Add a processor for action == restore in mcp_queue.php
...
Restoring a post within mcp_queue.php didn't do anything before this commit. Now it does, by way of a function which is very similar to approve_post.
PHPBB3-9657
2012-08-29 17:50:12 +02:00
Josh Woody
a80cfafdd9
[feature/soft-delete] Rename phpbb_visibility class to phpbb_content_visibility
...
Rename the class to more accurately reflect what it does.
PHPBB3-9657
2012-08-29 17:50:11 +02:00
Josh Woody
fb13ab83e4
[feature/soft-delete] Implement the ability to soft-delete and restore posts
...
The soft delete feature seems to work. Tests are pending. A real icon is pending. Add the permissions and the interface to soft-delete posts. Also able to restore posts via the MCP queue
PHPBB3-9657
2012-08-29 17:50:11 +02:00
Josh Woody
c32d760806
[feature/soft-delete] I told you I was going to rename the class!
...
Rename topic_visibility class to phpbb_visibility. Also a bit of work to the class itself, mostly cleanup and adding the comments that I'd previously written.
PHPBB3-9657
2012-08-29 17:49:38 +02:00
Josh Woody
b8c55291ed
[feature/soft-delete] Lay the groundwork for a soft-delete feature
...
So far, I've added no new functionality. The biggest change here is adjusting the DB column names to "visibility" rather than "approved". Some things here are pretty likely to change, for example the name and location of the topic_visibility class. Happy birthday phpBB :)
PHPBB3-9657
2012-08-29 17:49:37 +02:00
David King
310c906932
Merge remote-tracking branch 'nickvergessen/feature/php-events-4' into develop
2012-08-20 09:09:53 -04:00
Dhruv
7c406e1e81
[ticket/11052] update search backend constructor everywhere
...
PHPBB3-11052
2012-08-15 22:05:26 +05:30
Joas Schilling
a9d4ed0cfc
[feature/php-events] Fix naming and doc of core.mcp_view_forum_modify_topicrow
...
PHPBB3-9550
2012-08-04 17:35:51 +02:00
Joas Schilling
758fb67a7d
[feature/php-events] Add missing global $phpbb_dispatcher
...
PHPBB3-9550
2012-08-01 10:18:51 +02:00
Michael Cullum
3d4946f5f0
[feature/events] Fixing events issues
...
PHPBB3-9550
2012-08-01 10:18:46 +02:00
Michael Cullum
643081d56c
[feature/events] Adding core.mcp_forum_topicrow ledge
...
PHPBB3-9550
2012-08-01 10:18:43 +02:00
Nathan Guse
577dbf8951
[ticket/10990] Changes for develop
...
PHPBB3-10990
2012-07-22 14:48:39 -05:00
Drae
584d49459d
[feature/pagination-as-list] New parameter for name of start var
...
Add a new parameter to hold the name of the start variable. This
fulfills ticket PHPBB3-8535.
PHPBB3-10968
2012-07-18 14:32:42 +01:00
Drae
27d8aef528
[feature/pagination-as-list] Updates for nils comments
...
Re-remove deprecated functions, change on_page to phpbb_on_page,
add null returns, remove globals and pass as params.
PHPBB3-10968
2012-07-18 14:32:18 +01:00
Drae
cf4d6e926d
[feature/pagination-as-list] Rename and deprecate functions
...
Returned and marked deprecated topic_generate_pagination. Rename
new function in line with coding guidelines.
PHPBB3-10968
2012-07-18 14:31:50 +01:00
Drae
dc71c0629e
[feature/pagination-as-list] Various fixes and improvements
...
Extracted common template code for prosilver as per subsilver2.
Various other fixups and oversight corrections, changed name
of the "new" template function and re-introduced existing
version. Altered on_page to compensate for removal of some
templating vars from pagination routine.
PHPBB3-10968
2012-07-18 14:31:21 +01:00