aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | [ticket/11103] Topic/Post in queue notificationNathan Guse2012-09-151-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | Also, bug fixes and cleanup PHPBB3-11103
| * | | [ticket/11103] Topic and post dis/approval notificationsNathan Guse2012-09-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the formatted title function, plaintext is not needed since email templates are used Fix a number of bugs. PHPBB3-11103
| * | | [ticket/11103] Use appropriate email templates to send notificationsNathan Guse2012-09-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fixing a number of bugs PHPBB3-11103
| * | | [ticket/11103] Normalization of $phpbb_notifications variable nameNathan Guse2012-09-141-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use $phpbb_notifications instead of $notifications everywhere for consistency and conflict prevention. PHPBB3-11103
| * | | [ticket/11103] Add/Update/Mark Read functions accept an array for the typeNathan Guse2012-09-141-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This saves a lot of code in some areas (where the same data is sent, just for different types) Notifications for bookmarks PHPBB3-11103
| * | | [ticket/11103] Allow notification types to override update functionalityNathan Guse2012-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for quote editing because we need to check if the users are still all quoted or notify new quotes appropriately. PHPBB3-11103
| * | | [ticket/11103] Quote notificationsNathan Guse2012-09-121-0/+9
| | | | | | | | | | | | | | | | PHPBB3-11103
| * | | [ticket/11103] Update notifications on post/topic editNathan Guse2012-09-091-3/+16
| | | | | | | | | | | | | | | | PHPBB3-11103
| * | | [ticket/11103] Post notificationsNathan Guse2012-09-091-233/+19
| | | | | | | | | | | | | | | | PHPBB3-11103
* | | | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ↵Joas Schilling2012-12-201-2/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/softdelete-1-permission-rebase * 'develop' of https://github.com/phpbb/phpbb3: (544 commits) [feature/events] Fix improperly named event in documentation [feature/events] Fix alphabetization of events [feature/events] Put events in alphabetical order [feature/events] Make EVENTS.md lowercase [ticket/11285] Use more granularity in dependency checks in compress test [ticket/10880] The m_approve permisson no longer implies f_noapprove. [ticket/10803] Show failure message until user dismisses it [ticket/10954] Add missing semi-colon [ticket/10954] Make sure to mark subforums unread and add small fixes [feature/events] Use ` to escape HTML tags in markdown [feature/events] Remove HTML tags from markdown so they don't get parsed [ticket/10954] Miscellaneous coding fixes [feature/events] Remove extraneous space [feature/events] Add markdown template event documentation file [feature/events] forumlist_body_last_post_title_after -> _prepend (subsilver2) [feature/events] Fix overall_footer_end -> overall_footer_after (subsilver2) [feature/events] Fix typo in event name [ticket/10763] Use self when calling get_extension() in filespec class [feature/events] Fix more subsilver2 events [feature/events] Fix some subsilver2 events ... Conflicts: phpBB/install/database_update.php phpBB/posting.php
| * | | Merge branch 'develop-olympus' into developAndreas Fischer2012-12-201-2/+3
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10880] The m_approve permisson no longer implies f_noapprove. Conflicts: phpBB/posting.php
| | * | [ticket/10880] The m_approve permisson no longer implies f_noapprove.Andreas Fischer2012-12-191-2/+3
| | | | | | | | | | | | | | | | PHPBB3-10880
* | | | Merge remote-tracking branch 'remotes/phpbb/develop' into ↵Joas Schilling2012-11-101-3/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/softdelete-merge-develop # By Oleg Pudeyev (45) and others # Via Oleg Pudeyev (42) and others * remotes/phpbb/develop: (289 commits) [ticket/10865] Use code tags for install/database_update.php. [ticket/10865] Should have been a slash. [ticket/10780] Use L_COLON on LDAP page. [ticket/10780] Use L_COLON on search backend ACP pages. [ticket/10780] Use L_COLON for "download all attachments". [ticket/10780] Use colon from language in ucp_pm_compose.php where possible. [ticket/10780] Replace colons in phpBB/adm/style/acp_ext_details.html. [ticket/10780] Replace colon usage in adm template output with {L_COLON} [ticket/10780] Replace colon usage in template output with {L_COLON} [ticket/11181] Bump PHP requirement to 5.3.3 (from 5.3.2) [develop-olympus] [ticket/11181] Bump PHP requirement to 5.3.3 (from 5.3.2) [ticket/10172] Show prosilver birthday list even if there are no birthdays. [ticket/11050] make all properties protected in all search backends [ticket/11050] get_common_words() returns empty array for sphinx [ticket/11050] fix tidied search query docblock language [ticket/11050] fix min/max length docblock language [ticket/11050] multi sentences separated by period in docblocks [ticket/11050] fix separated spelling in docblock [ticket/11050] fix split words doc block language [ticket/11050] remove class word from docblocks ... Conflicts: phpBB/install/database_update.php phpBB/install/schemas/mssql_schema.sql phpBB/language/en/acp/permissions_phpbb.php phpBB/styles/prosilver/template/posting_editor.html
| * | | Merge PR #624 branch 'develop-olympus' into developOleg Pudeyev2012-10-161-2/+4
| |\ \ \ | | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/8743] Include poster´s name in mail notifications
| | * | Merge PR #624 branch 'nickvergessen/ticket/8743' into develop-olympusOleg Pudeyev2012-10-161-2/+4
| | |\ \ | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/8743: [ticket/8743] Include poster´s name in mail notifications
| | | * | [ticket/8743] Include poster´s name in mail notificationsJoas Schilling2012-03-151-2/+4
| | | | | | | | | | | | | | | | | | | | PHPBB3-8743
| * | | | Merge PR #917 branch 'develop-olympus' into developOleg Pudeyev2012-10-161-1/+3
| |\ \ \ \ | | |/ / / | | | | / | | |_|/ | |/| | * develop-olympus: [ticket/10967] adding $root_path to posting_get_topic_icons
| | * | [ticket/10967] adding $root_path to posting_get_topic_iconsSenky2012-10-111-2/+4
| | | | | | | | | | | | | | | | PHPBB3-10967
* | | | [feature/soft-delete] Fix the rest of *_approved and the delete_post unit testJoas Schilling2012-11-101-8/+7
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Append _approved to *_posts and *_topics column namesJoas Schilling2012-11-091-4/+5
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Correctly manage softdeleting via posting.phpJoas Schilling2012-11-021-4/+4
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Correctly increase topics post counts when postingJoas Schilling2012-10-281-0/+2
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Fix some more topic/post count handlingJoas Schilling2012-10-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Only disapproving in queue is missing. PHPBB3-9567
* | | | [feature/soft-delete] Fix forum syncing in ACP and deleting postsJoas Schilling2012-10-221-3/+12
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Fix submit_post() topic_replies* usageJoas Schilling2012-10-221-10/+37
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Split unapproved/soft deleted posts from topicsJoas Schilling2012-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | [feature/soft-delete] Fix several issues within submit_post()Joas Schilling2012-10-091-200/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - $post_visibility is not boolean, so we need to check for == ITEM_APPROVED - sync() already updates the topic/forum info, so we don't need to do that again - use set_post_visibility() when changing the posts visibility Should be ready for testing. PHPBB3-9567
* | | | [feature/soft-delete] Fix restoring a post via editingJoas Schilling2012-10-081-1/+1
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Update post counts within set_post_visibilityJoas Schilling2012-10-081-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an additional query in some rare cases, but it makes it much easier to use and understand. This is mostly a preparation for the restore case. PHPBB3-9567
* | | | [feature/soft-delete] Allow to update multiple posts with set_post_visibilityJoas Schilling2012-10-081-2/+0
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Add test case for (soft)deleting the only post + fixJoas Schilling2012-10-061-3/+2
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Fix delete_post() functionJoas Schilling2012-10-061-16/+32
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Update and simplify the logic on delete_post()Joas Schilling2012-10-061-42/+38
| | | | | | | | | | | | | | | | | | | | | | | | Todo: delete_topic case PHPBB3-9567
* | | | [feature/soft-delete] Allow setting the visibility change reasonJoas Schilling2012-09-281-4/+4
| | | | | | | | | | | | | | | | PHPBB3-9657
* | | | [feature/soft-delete] Fix some small bugsJosh Woody2012-08-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | [feature/soft-delete] Rename phpbb_visibility class to phpbb_content_visibilityJosh Woody2012-08-291-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | Rename the class to more accurately reflect what it does. PHPBB3-9657
* | | | [feature/soft-delete] Implement the ability to soft-delete and restore postsJosh Woody2012-08-291-50/+62
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | [feature/soft-delete] I told you I was going to rename the class!Josh Woody2012-08-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | [feature/soft-delete] Lay the groundwork for a soft-delete featureJosh Woody2012-08-291-32/+32
|/ / / | | | | | | | | | | | | | | | 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
* | | Merge remote-tracking branch 'nickvergessen/feature/php-events-4' into developDavid King2012-08-201-1/+13
|\ \ \
| * | | [feature/php-events] Fix doc of core.generate_smilies_afterJoas Schilling2012-08-201-1/+1
| | | | | | | | | | | | | | | | PHPBB3-9550
| * | | [feature/php-events] Fix naming and doc of core.generate_smilies_afterJoas Schilling2012-08-041-3/+12
| | | | | | | | | | | | | | | | PHPBB3-9550
| * | | [feature/events] Removing the third trigger_event parameterMichael Cullum2012-08-011-1/+1
| | | | | | | | | | | | | | | | PHPBB3-9550
| * | | [feature/events] Change to use the new method of adding eventsMichael Cullum2012-08-011-3/+1
| | | | | | | | | | | | | | | | PHPBB3-9550
| * | | [feature/events] Adding ledge generate_smilies_footerJoas Schilling2012-08-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Used by phpBB Gallery PHPBB3-9550
* | | | [ticket/11052] pass parametes to search construct while postingDhruv2012-08-151-1/+1
|/ / / | | | | | | | | | | | | | | | | | | Proper parameters are passed in search backend constructor in functions_posting.php PHPBB3-11052
* | | [ticket/10968] Render pagination within the templateDrae2012-07-181-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since phpBB 2 pagination has been rendered mostly within the source. This limits just what designers can do with pagination. The current form is also questionable in terms of "best practice". The aim is to move rendering completely to the template via the use of a block element. Enabling S_ template vars also allows for control over specific aspects of the pagination output such as next, previous, active and ellipsis. Related to this - merging the capabilities of the topic_generate_pagination with generate_pagination removes an element of duplication. PHPBB3-10968
* | | [ticket/10640] Do not change default value of truncate_string()Joas Schilling2012-06-171-2/+2
| | | | | | | | | | | | | | | | | | | | | The default value should be kept, so we do not change the behaviour for MODs and Extensions that use the function with its default values. PHPBB3-10640
* | | Merge branch 'develop-olympus' into developIgor Wiedler2012-03-311-1/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | * develop-olympus: [Ticket/10675] Correct language string ATTACH_DISK_FULL [feature/event-dispatcher] Adding composer.phar to .gitignore for olympus [ticket/10675] Add disk full language string when posting attachments
| * | Merge remote-tracking branch 'Dickyf/ticket/10675' into develop-olympusIgor Wiedler2012-03-311-1/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | * Dickyf/ticket/10675: [Ticket/10675] Correct language string ATTACH_DISK_FULL [ticket/10675] Add disk full language string when posting attachments