aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | [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
* | [ticket/10345] Make use of the plural function in some basic placesJoas Schilling2011-11-251-3/+3
| | | | | | | | PHPBB3-10345
* | Merge branch 'develop-olympus' into developNils Adermann2011-11-181-0/+17
|\ \ | |/ | | | | | | * 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-0/+17
| | | | | | | | PHPBB3-9776
* | [ticket/9608] Remove use of references in captcha and other placesIgor Wiedler2011-07-131-1/+1
| | | | | | | | | | | | | | | | | | References are not really needed in PHP due to copy-on-write. Since PHP5, objects are always passed around as identifiers, which means they are mutable. So it is no longer required to pass these by reference either. PHPBB3-9608
* | Merge branch 'develop-olympus' into developNils Adermann2011-06-101-29/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * 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-29/+1
| |\ | | | | | | | | | | | | | | | | | | | | | * 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-1/+1
| | | | | | | | | | | | PHPBB3-6712
| | * [ticket/6712] Bump does not create new topic icon on index.rxu2010-10-181-29/+1
| | | | | | | | | | | | | | | | | | Handle the topic bumping process more properly. PHPBB3-6712
* | | [ticket/9684] Fix a SQL-Error in the posting.phpJoas Schilling2011-04-071-2/+2
| | | | | | | | | | | | PHPBB3-9684
* | | [ticket/9684] Remove code for global announcement in root-filesJoas Schilling2011-04-071-58/+2
| | | | | | | | | | | | PHPBB3-9684
* | | Merge branch 'develop-olympus' into developOleg Pudeyev2011-02-201-2/+2
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/10047] Do not put session id in URL on posting.php when cookies are on.
| * | [ticket/10047] Do not put session id in URL on posting.php when cookies are on.Andreas Fischer2011-02-191-2/+2
| | | | | | | | | | | | PHPBB3-10047
* | | Merge branch 'develop-olympus' into developNils Adermann2010-12-131-1/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9851] "Search new posts" should require login. [task/phpdoc] Added a phpdoc task to the build process [task/phpdoc] Added a configuration file for phpDocumentor. [feature/acm-wincache] Adding caching module for WinCache's User Cache. [ticket/9939] Fix JavaScript error in admin recaptcha template [ticket/9575] Also change 'administrate' to 'administer' in templates [ticket/8736] guest can have 255 chars long username [ticket/9928] Do not link "login to your board" to the "send statistics" page. [ticket/9575] Change 'administrate' to 'administer' [ticket/9921] Adding sample configuration file for the lighttpd webserver. [ticket/9932] Add the Bing bot when converting [ticket/9930] Redirect failes with open_basedir enabled. [ticket/9910] Make sure S_BBCODE_ALLOWED exists when viewing PMs
| * | [ticket/8736] guest can have 255 chars long usernameRMcGirr832010-12-041-1/+8
| |/ | | | | | | | | | | | | | | when you post as a guest (anonymous) you can fill the field username with 255 chars. that will destroy the prosilver and subsilver2 style at viewtopic. settings for username in ACP: 6-16 Chars PHPBB3-8736
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* | Merge branch 'develop-olympus' into developIgor Wiedler2010-10-171-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/7332] Fix post details expand link rendering on Webkit. [ticket/9162] Prevent notice on unset poll title [ticket/7417] Also focus search keywords and username in subsilver2. [ticket/7417] Focus username field when prosilver login page is loaded. [ticket/7417] Focus search keywords field when prosilver search page is loaded. [ticket/9841] Change "Save" to "Save draft", "Load" to "Load draft". [ticket/9664] Resolve conflict with accesskey="t", change addlitsitem to "y". [ticket/7538] Limit user_login_attempts to prevent SQL errors. [ticket/9848] Add avatars, attachments and store files to .gitignore. [ticket/9822] Correct some style related ACP explain statements. [ticket/9698] Add .htaccess to the includes subdirectory. [ticket/9830] Redirect to install directly when config.php does not exist. [ticket/9816] Remove config.php from repository [ticket/9810] Hide "Select All" of code bbcode on print page
| * [ticket/9162] Prevent notice on unset poll titleIgor Wiedler2010-10-161-1/+1
| | | | | | | | | | | | Regression from a81c857c96ee1a2a9be559ff3c9b71ca9514287e PHPBB3-9162
* | [feature/request-class] Convert any direct access to $_* to use $requestIgor Wiedler2010-09-251-1/+1
|/ | | | PHPBB3-9716
* Merge branch 'ticket/nickvergessen/9162' into develop-olympusAndreas Fischer2010-09-141-1/+1
|\ | | | | | | | | * ticket/nickvergessen/9162: [ticket/9162] BBCode in poll options is broken, when posting without question.
| * [ticket/9162] BBCode in poll options is broken, when posting without question.Joas Schilling2010-09-141-1/+1
| | | | | | | | PHPBB3-9162
* | [ticket/9820] phpBB Debug Error when trying to post a new topic.Joas Schilling2010-09-141-9/+12
|/ | | | | | | Regression from aa4519fb44f4ff83e923c6cc4d5bde3f20082340 PHPBB3-9820 PHPBB3-7260
* [ticket/7260] Don't delete poll if one exists and editing user lacks permissionJoas Schilling2010-08-221-0/+26
| | | | PHPBB3-7260
* Merge branch 'ticket/nickvergessen/9531' into develop-olympusNils Adermann2010-05-161-1/+1
|\ | | | | | | | | * ticket/nickvergessen/9531: [ticket/9531] BBCode-less quotes fallback-option is missing "Author wrote:" line when quoting from topic-review.
| * [ticket/9531] BBCode-less quotes fallback-option is missing "Author wrote:" ↵Joas Schilling2010-05-161-1/+1
| | | | | | | | | | | | line when quoting from topic-review. PHPBB3-9531
* | [ticket/8894] Fix JavaScript-Error and hide Quote-Button on topic review if ↵Joas Schilling2010-05-161-1/+1
|/ | | | | | BBCodes are not allowed. PHPBB3-8894
* Parse urls in signature taking into account the allow_sig_links config ↵Cullen Walsh2010-03-021-1/+1
| | | | option introduced in phpBB 3.0.6, per bug #57105
* #57715 - Correct behavior of "force_approved_state" when value is false. Josh Woody2010-02-181-1/+1
| | | | | | (Merging r10507 into branches/phpBB-3_0_0) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10508 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Bug #56255 - Moving topics to a forum where you are on queue Josh Woody2010-01-181-1/+1
| | | | | | - Allow some error handling in compress class by returning false if file does not exist. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10427 89ea8834-ac86-4346-8a33-228a782c2dd0
* One issue solved possily others, so not closing yet. #55245Chris Smith2009-12-081-7/+7
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10306 89ea8834-ac86-4346-8a33-228a782c2dd0
* This is not perfect... i know, but at least it gives out more information ↵Meik Sievertsen2009-11-031-3/+10
| | | | | | | | than a simple "this topic/post does not exist". ;) Related to r9971 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10253 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix Bug #51835 - editing posts with attachments - regression from r9843 ↵Joas Schilling2009-09-251-22/+1
| | | | | | | | introduced in #48265 Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10186 89ea8834-ac86-4346-8a33-228a782c2dd0
* note correct username if post/topic get's removed if user is anonymousMeik Sievertsen2009-09-201-2/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10170 89ea8834-ac86-4346-8a33-228a782c2dd0
* although we do not use force_approved_state check it nevertheless for the ↵Meik Sievertsen2009-09-201-2/+2
| | | | | | message displayed to the user - bug #51325 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10166 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix r10076 for #48615 - Ability to specify amount of time user is able to ↵Joas Schilling2009-08-311-2/+2
| | | | | | | | | delete his last post in topic. Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10080 89ea8834-ac86-4346-8a33-228a782c2dd0
* Do not take edit post time into account for determining permission to delete ↵Meik Sievertsen2009-08-311-2/+2
| | | | | | last post in topic. (Bug #48615) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10076 89ea8834-ac86-4346-8a33-228a782c2dd0