aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | [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
| | * | [ticket/10675] Add disk full language string when posting attachmentsRichard Foote2012-03-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add language string visible by admins only for when the disk does not have enough free space to upload attachments. PHPBB3-10675
* | | | Merge branch 'develop-olympus' into developAndreas Fischer2012-03-221-26/+20
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10684] Adjust function and parameter name, minor changes. [ticket/10684] Rename function phpbb_get_banned_users_ids() parameter [ticket/10684] Remove intval mapping for array keys [ticket/10684] Adjust pm_notifications() to handle stale bans [ticket/10684] Cast user_id to integer [ticket/10684] Refactor $sql_ignore_users array update [ticket/10684] Remove isset() for $sql_ignore_users update [ticket/10684] Fix 2 typos in comment lines. [ticket/10684] Send notifications for users with stale bans Conflicts: phpBB/includes/functions_user.php
| * | | [ticket/10684] Adjust function and parameter name, minor changes.rxu2012-03-221-2/+2
| | | | | | | | | | | | | | | | PHPBB3-10684
| * | | [ticket/10684] Cast user_id to integerrxu2012-03-111-5/+7
| | | | | | | | | | | | | | | | PHPBB3-10684
| * | | [ticket/10684] Refactor $sql_ignore_users array updaterxu2012-03-101-10/+3
| | | | | | | | | | | | | | | | PHPBB3-10684
| * | | [ticket/10684] Remove isset() for $sql_ignore_users updaterxu2012-03-091-4/+1
| | | | | | | | | | | | | | | | PHPBB3-10684
| * | | [ticket/10684] Fix 2 typos in comment lines.rxu2012-03-091-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10684
| * | | [ticket/10684] Send notifications for users with stale bansrxu2012-03-081-17/+19
| |/ / | | | | | | | | | PHPBB3-10684
* | | Merge branch 'develop-olympus' into developAndreas Fischer2012-03-021-0/+14
|\ \ \ | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/8652] Comment for also updating forum watch table in user_notification. [ticket/8652] Sending 2 emails on 2 replies
| * | [ticket/8652] Comment for also updating forum watch table in user_notification.Andreas Fischer2012-03-021-2/+10
| | | | | | | | | | | | PHPBB3-8652
| * | [ticket/8652] Sending 2 emails on 2 repliesBruno Ais2012-03-021-0/+6
| |/ | | | | | | | | | | | | | | | | | | This is a fix for the problem of the system sending 2 emails when there are 2 replies to a topic where the user is subscribed in a topic and the forum that contains the topic. This simple fix seems to solve the problem. In simple tests I made it shows it does. PHPBB3-8652
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | | | | | PHPBB3-9916
* | Merge remote-tracking branch 'nickvergessen/ticket/10484' into developOleg Pudeyev2011-11-241-5/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/10484: [ticket/10484] Use variables for sql_build_query() calls Conflicts: phpBB/includes/mcp/mcp_front.php
| * | [ticket/10484] Use variables for sql_build_query() callsJoas Schilling2011-11-211-5/+6
| | | | | | | | | | | | | | | | | | It's easier for mods/extensions to extend the arrays. PHPBB3-10484
* | | Merge remote-tracking branch 'naderman/feature/extension-manager' into developIgor Wiedler2011-11-191-7/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * naderman/feature/extension-manager: (67 commits) [feature/extension-manager] Removing now unused acp_search code [feature/extension-manager] Split disabling extensions up into steps as well [feature/extension-manager] Add documentation on caching in ext finder [feature/extension-manager] Reference correct new module basenames in install [feature/extension-manager] Rename default methods to core methods on finder. [feature/extension-manager] Document what the class loader stores in cache [feature/extension-manager] Add docblock to cached paths map in class loader [feature/extension-manager] Clear up docs of extension related template changes [feature/extension-manager] Use "core files" instead of "global files" in docs [feature/extension-manager] Add docblocks to new search backend methods [feature/extension-manager] Add docblocks to new methods in functions_module [feature/extension-manager] Clarify comment on ext meta class instantiator [feature/extension-manager] Add more info on suffixes in extension finder [feature/extension-manager] Clarify is_dir parameter description [feature/extension-manager] Clarify class finding method docblock [feature/extension-manager] Correct default path comment & remove double strlen [feature/extension-manager] Fix "disbale" typo in comment [feature/extension-manager] Properly remove old ACP language loading code [feature/extension-manager] Support extensions in subdirectories of ext/ [feature/extension-manager] Add prefix to extension meta data / install classes ...
| * | | [feature/extension-manager] Make search backends loadable from extensionsNils Adermann2011-09-291-7/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | Search backends are now required to be autoloadable. The database updater to 3.1 tries to guess the class name as phpbb_search_<oldname> which works for the default backends we ship. PHPBB3-10323
* | | Merge branch 'develop-olympus' into developNils Adermann2011-11-181-4/+4
|\ \ \ | |/ / |/| / | |/ | | * develop-olympus: [ticket/9776] Delete poll if no poll options were submitted.
| * [ticket/9776] Delete poll if no poll options were submitted.Joas Schilling2011-11-181-4/+4
| | | | | | | | PHPBB3-9776
* | [ticket/9608] Remove use of references in topic_reviewIgor Wiedler2011-08-141-1/+1
| | | | | | | | PHPBB3-9608
* | Merge branch 'develop-olympus' into developNils Adermann2011-06-101-0/+102
|\ \ | |/ | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/6712] Properly explain result of setting the bump interval to 0. [ticket/6712] Add phpbb_ function name prefix, more docs, rename current_time [ticket/6712] Pass $post_data by the value instead of by the reference. [ticket/6712] Bump does not create new topic icon on index. Conflicts: phpBB/includes/functions_posting.php
| * Merge branch 'ticket/rxu/6712' into develop-olympusNils Adermann2011-06-101-0/+102
| |\ | | | | | | | | | | | | | | | | | | | | | * ticket/rxu/6712: [ticket/6712] Properly explain result of setting the bump interval to 0. [ticket/6712] Add phpbb_ function name prefix, more docs, rename current_time [ticket/6712] Pass $post_data by the value instead of by the reference. [ticket/6712] Bump does not create new topic icon on index.
| | * [ticket/6712] Add phpbb_ function name prefix, more docs, rename current_timerxu2011-05-011-10/+21
| | | | | | | | | | | | PHPBB3-6712
| | * [ticket/6712] Pass $post_data by the value instead of by the reference.rxu2011-04-031-1/+1
| | | | | | | | | | | | PHPBB3-6712
| | * [ticket/6712] Bump does not create new topic icon on index.rxu2010-10-181-0/+91
| | | | | | | | | | | | | | | | | | Handle the topic bumping process more properly. PHPBB3-6712
* | | [ticket/9693] Removed useless $auth globalizations.Oleg Pudeyev2011-04-301-2/+2
| | | | | | | | | | | | PHPBB3-9693
* | | [ticket/7252] Removed an outdated comment pertaining to PHP 4.x.Oleg Pudeyev2011-04-171-1/+0
| | | | | | | | | | | | PHPBB3-7252
* | | [ticket/9684] Remove code in some more files especially includes/Joas Schilling2011-04-071-176/+24
| | | | | | | | | | | | | | | | | | Topic-Tracking is still missing. PHPBB3-9684
* | | Merge branch 'develop-olympus' into developOleg Pudeyev2011-02-241-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9874] view_log() performs unneeded count query over all log entries. [ticket/7834] Topic time didn't update when first post was deleted [ticket/9997] Fixed an inconsistency in the Moderator Control Panel [ticket/9872] Removed some useless code that broke delete_posts
| * | [ticket/7834] Topic time didn't update when first post was deletedCallum Macrae2011-02-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the first post of a topic was deleted, the topic time didn't update - it should have changed to the time of the next post. This commit simply applies lefty74's patch posted in the ticket. It gets the post time of the next post from the database, and updates the thread accordingly. This patch is not my work at all and all credits go to lefty74, I just transferred it onto GitHub PHPBB3-7834
* | | Merge branch 'develop-olympus' into developIgor Wiedler2011-01-101-1/+1
|\ \ \ | |/ /