aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop-olympus' into developAndreas Fischer2013-09-021-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11769] Allow using 0 as poster name [ticket/11769] Allow '0' as username [ticket/11769] Allow '0' as username in notification mails [ticket/11769] Fix language issues in the doc blocks [ticket/11769] Correctly supply the post author's username in posting.php Conflicts: phpBB/includes/functions_posting.php
| * [ticket/11769] Allow using 0 as poster nameJoas Schilling2013-09-021-1/+1
| | | | | | | | PHPBB3-11769
| * [ticket/11769] Fix language issues in the doc blocksJoas Schilling2013-08-231-3/+4
| | | | | | | | PHPBB3-11769
| * [ticket/11769] Correctly supply the post author's username in posting.phpJoas Schilling2013-08-231-1/+6
| | | | | | | | | | | | | | | | Only supply the username, when it is a guest posting or we edit and it was supplied, otherwise post_data might hold data of the post we quote, in which case username is the original poster, not the current one. PHPBB3-11769
* | [ticket/9657] Use the service instead of the static classJoas Schilling2013-07-111-5/+7
| | | | | | | | PHPBB3-9657
* | Merge remote-tracking branch 'phpbb/develop' into ↵Joas Schilling2013-07-111-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/softdelete-1-permission * phpbb/develop: (704 commits) [ticket/11630] Improvements to the PHP lint pre-commit hook [feature/auth-refactor] Move auth providers to separate directory [ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling. [ticket/11619] Some tests for get_remote_file(). [ticket/11617] Remove spaces and tabs from empty lines [ticket/11617] Missing U_ACTION in acp_captcha.php [feature/auth-refactor] Fix code style issue [feature/auth-refactor] Fix comment grammar [feature/auth-refactor] Fix the actual cause of test failures [ticket/10838] Fix URL for wiki and remove irrelevant line [ticket/10838] Remove php 5.4 and builtin server references [ticket/10838] Fix missing data [ticket/10838] separate database used mentioned in unit tests [ticket/11585] Make $auth_admin class property [feature/auth-refactor] A possible fix for the functional test failures [ticket/11566] Subsilver template error displayed after table headers [ticket/11566] Remove extra pair of brackets from conditional statement [ticket/11566] Check that guest doesn't have reporting permission by default [ticket/11566] Add captcha to report post template in subsilver [ticket/11566] Use the new constant CONFIRM_REPORT for captcha init ... Conflicts: phpBB/docs/sphinx.sample.conf phpBB/feed.php phpBB/styles/prosilver/template/search_results.html phpBB/styles/prosilver/template/viewforum_body.html
| * \ Merge branch 'develop-olympus' into developAndreas Fischer2013-05-061-0/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11144] Add missing {FORUM_NAME} variable [ticket/11144] Add missing {FORUM_NAME} variable Conflicts: phpBB/download/file.php phpBB/styles/prosilver/template/login_forum.html
| | * [ticket/11144] Add missing {FORUM_NAME} variableGaëtan Muller2013-05-061-1/+1
| | | | | | | | | | | | | | | | | | Replace spaces with tabs PHPBB3-11144
| | * [ticket/11144] Add missing {FORUM_NAME} variableGaëtan Muller2013-05-061-0/+1
| | | | | | | | | | | | | | | | | | | | | The template variable {FORUM_NAME} was missing from the login page of a password protected forum PHPBB3-11144
* | | [ticket/9657] Correctly determine the users permissions when deleting postsJoas Schilling2013-03-121-5/+12
| | | | | | | | | | | | PHPBB3-9657
* | | [ticket/9657] Remove already fixed todoJoas Schilling2013-03-101-1/+0
| | | | | | | | | | | | PHPBB3-9657
* | | [ticket/9657] Display reason field, when the user has both delete permissionsJoas Schilling2013-03-101-3/+7
| | | | | | | | | | | | PHPBB3-9657
* | | 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-3/+4
| | | | | | | | | | | | PHPBB3-10880
* | | Merge remote-tracking branch 'remotes/phpbb/develop' into ↵Joas Schilling2012-11-101-1/+44
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 pull request #962 from imkingdavid/feature/add_eventsNils Adermann2012-09-011-0/+43
| |\ \ | | | | | | | | Feature/add events
| | * | [feature/add_events] Added core.posting_modify_template_varsDavid King2012-08-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be used to set template variables and such, as the template assignment methods are not available to the modify_posting_paramters event. PHPBB3-9550
| | * | [feature/add_events] Added note in modify_posting_parametersDavid King2012-08-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The template assignment methods do not work until $user->setup() has been run. This event is called before it, so extensions requiring template methods must put such calls in a later event. PHPBB3-9550
| | * | [feature/add_events] Add more parameters to core.modify_posting_parametersDavid King2012-08-231-1/+6
| | | | | | | | | | | | | | | | PHPBB3-9550
| | * | [feature/add_events] core.posting_refresh -> core.modify_posting_paramtersDavid King2012-08-211-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | The event now lets extensions modify the posting paramters, not just refresh PHPBB3-9550
| | * | [feature/add_events] Added core.posting_refresh eventDavid King2012-08-201-0/+13
| | | | | | | | | | | | | | | | PHPBB3-9550
| * | | Merge pull request #921 from imkingdavid/ticket/10444Nils Adermann2012-09-011-1/+1
| |\ \ \ | | |/ / | |/| | [ticket/10444] Do not default to the previous post edit reason.
| | * | [ticket/10444] Do not default to the previous post edit reason.David King2012-07-121-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10444
* | | | [feature/soft-delete] Append _approved to *_posts and *_topics column namesJoas Schilling2012-11-091-4/+4
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Use request object instead of direct accessJoas Schilling2012-11-091-3/+3
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Remove the current work around on ajax confirm problemJoas Schilling2012-11-091-18/+2
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Provide the options for permanent delete via AJAXJoas Schilling2012-11-041-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AJAX confirm_box should be able to call the template file given. The confirm message is HTML so far, but generating the HTML in the php code is not, what we want. PHPBB3-9567
* | | | [feature/soft-delete] Fix deleting via post editingJoas Schilling2012-11-031-3/+19
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Correctly manage softdeleting via posting.phpJoas Schilling2012-11-021-6/+15
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Invert the logic on confirm boxJoas Schilling2012-11-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Permanent delete is now the checkbox rather then softdelete. PHPBB3-9567
* | | | [feature/soft-delete] Display message when the posts are already soft deletedJoas Schilling2012-10-311-0/+1
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Allow soft deleting/restoring topics via quickmoderationJoas Schilling2012-10-271-2/+2
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Handle soft deleting via Delete IconJoas Schilling2012-10-241-16/+19
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Fix some more uses of topic_replies_realJoas Schilling2012-10-221-6/+8
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Do not allow users to reply to soft deleted topicsJoas Schilling2012-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should discuss this in an RFC again, but for now, we just fix the old state. So moderators can only reply, when the topic is approved. Also fixes a bug in the visibility check. We need to check the posts visibility rather then the visibility of the topic. Because when the post is visible, the topic is as well, but not the other way round. PHPBB3-9567
* | | | [feature/soft-delete] Fix restoring a post via editingJoas Schilling2012-10-081-48/+10
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Update docs of can_soft_delete and remove can_restoreJoas Schilling2012-10-051-5/+6
| | | | | | | | | | | | | | | | PHPBB3-9567
* | | | [feature/soft-delete] Fix some small bugsJosh Woody2012-08-291-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-9/+42
| | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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-9/+9
|/ / / | | | | | | | | | | | | | | | 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
* | | [ticket/10990] Use $user->lang['COMMA_SEPARATOR'] when appropriateNathan2012-07-221-1/+1
|/ / | | | | | | PHPBB3-10990
* | [feature/qrpreview] Do not error or show preview if no text is enteredDavid King2012-03-311-3/+3
| | | | | | | | PHPBB3-10726
* | [feature/qrpreview] Preview from Quick ReplyDavid King2012-03-301-1/+1
| | | | | | | | PHPBB3-10726
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | | | | | PHPBB3-9916
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-12-041-3/+4
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10503] Debug error "Invalid arguments" when previewing edits
| * [ticket/10503] Debug error "Invalid arguments" when previewing editsJoas Schilling2011-11-281-3/+4
| | | | | | | | | | | | | | Empty value of poll_options should be an empty array, so that sizeof() is 0. PHPBB3-9776 PHPBB3-10503
* | [ticket/10345] Use the plural function in some more places.Joas Schilling2011-11-251-3/+3
| | | | | | | | | | | | | | I added two function avatar_explanation_string() and avatar_error_wrong_size() for easier handling of the "pixels"-languages, as they are used quite often. PHPBB3-10345