aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
Commit message (Collapse)AuthorAgeFilesLines
* [feature/soft-delete] Fix a bug in sync() and set_post_visibility()Joas Schilling2012-10-022-10/+11
| | | | PHPBB3-9657
* [feature/soft-delete] Update doc blocks to proper formatJoas Schilling2012-10-021-14/+25
| | | | PHPBB3-9657
* [feature/soft-delete] Add unit tests for get_global_visibility_sql()Joas Schilling2012-10-011-2/+10
| | | | PHPBB3-9657
* [feature/soft-delete] Add unit tests for get_forums_visibility_sql()Joas Schilling2012-10-012-4/+5
| | | | PHPBB3-9657
* [feature/soft-delete] Comment out user_posts update for the momentJoas Schilling2012-10-012-1/+11
| | | | | | It should rely on the permissions of the post not the current user. PHPBB3-9657
* [feature/soft-delete] Allow setting the visibility change reasonJoas Schilling2012-09-282-18/+39
| | | | PHPBB3-9657
* [feature/soft-delete] Comment out stuff about f_restore for performance reasonJoas Schilling2012-09-281-2/+16
| | | | PHPBB3-9657
* [feature/soft-delete] Fix some more usages of _approved column namesJoas Schilling2012-08-303-31/+12
| | | | PHPBB3-9657
* [feature/soft-delete] Update search to use $post_visibilityJoas Schilling2012-08-304-83/+26
| | | | | | Todo: Sphinx currently does not respect this setting at all. PHPBB3-9657
* [feature/soft-delete] Try to fix search.phpJoas Schilling2012-08-301-20/+6
| | | | | | at least it's running now, but the performance is not very good. PHPBB3-9657
* [feature/soft-delete] Add get_visibility_sql_forums based on globalJoas Schilling2012-08-301-0/+48
| | | | | | | | | The resulting query is 4-times faster, as the forum_id IN () arrays are smaller and we need less AND/OR to build the hole query. The main difference between those two functions is, that this one takes an array of included ids and the _global one takes an array of excluded ids. PHPBB3-9657
* [feature/soft-delete] Simplification part2: user can see all item visibilitiesJoas Schilling2012-08-292-2/+9
| | | | | | | If the user can see all visibilities, we can simply leave out the query part, instead of adding a bunch of ANDs. PHPBB3-9657
* [feature/soft-delete] Simplify the query output if the user has m_restoreJoas Schilling2012-08-291-2/+6
| | | | PHPBB3-9657
* [feature/soft-delete] Update restoring feature to use ajax if requested.Joas Schilling2012-08-291-5/+18
| | | | | | | | Also fixes the mcp as a hole: - displayes a success message - gives a link to the post, if only one was restored PHPBB3-9657
* [feature/soft-delete] Use the variable which holds the correct item statusJoas Schilling2012-08-291-1/+1
| | | | PHPBB3-9657
* [feature/soft-delete] Fix typo in column name topic_visibilityJoas Schilling2012-08-291-1/+1
| | | | PHPBB3-9657
* [feature/soft-delete] Use autoloading for content_visibility classJoas Schilling2012-08-291-3/+2
| | | | PHPBB3-9657
* [feature/soft-delete] Fix some small bugsJosh Woody2012-08-293-15/+38
| | | | | | | | 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] Add a processor for action == restore in mcp_queue.phpJosh Woody2012-08-291-2/+43
| | | | | | 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
* [feature/soft-delete] Rename phpbb_visibility class to phpbb_content_visibilityJosh Woody2012-08-295-15/+15
| | | | | | Rename the class to more accurately reflect what it does. PHPBB3-9657
* [feature/soft-delete] Add unit tests for the phpbb_visibility classJosh Woody2012-08-291-7/+10
| | | | | | Add unit tests for the phpbb_visibility class. Adjust the phpbb_visibility class to pass those unit tests. The changes are pretty small, actually. PHPBB3-9657
* [feature/soft-delete] Implement the ability to soft-delete and restore postsJosh Woody2012-08-294-179/+351
| | | | | | 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-294-29/+68
| | | | | | 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] Correct some mistakes in e8d47Josh Woody2012-08-291-0/+137
| | | | | | Notably: Uncomment the die() in create_schema_files, and add the class that makes everything tick. PHPBB3-9657
* [feature/soft-delete] Lay the groundwork for a soft-delete featureJosh Woody2012-08-2916-122/+142
| | | | | | 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 'Fyorl/feature/attach-dl' into developAndreas Fischer2012-08-263-0/+171
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/feature/attach-dl: (75 commits) [feature/attach-dl] Removed the use of some abbreviations [feature/attach-dl] Changed $files_added checks [feature/attach-dl] Renamed $post_id to $post_msg_id [feature/attach-dl] Fixed a comment [feature/attach-dl] Optimised an sql query [feature/attach-dl] Fixed the logic in an sql statement [feature/attch-dl] $forum_id cast to int [feature/attach-dl] Fixed $file_added to $files_added [feature/attach-dl] Moved definition of $archive_name [feature/attach-dl] Swapped the order of an if statement [feature/attach-dl] Cast variables to int [feature/attach-dl] Added $archive_path [feature/attach-dl] Used COMMA_SEPARATOR instead of actual comma [feature/attach-dl] Renamed $count to $files_added [feature/attach-dl] Removed sprintf() use [feature/attach-dl] Removed need for array_keys() [feature/attach-dl] Added multiple attachment downloads to PMs [feature/attach-dl] Removed reliance on current($row) [feature/attach-dl] Renamed to phpbb_download_handle_forum_auth [feature/attach-dl] Moved PM authentication handling into own function ...
| * [feature/attach-dl] Renamed $post_id to $post_msg_idFyorl2012-08-171-1/+1
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Optimised an sql queryFyorl2012-08-151-2/+2
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Fixed the logic in an sql statementFyorl2012-08-151-2/+4
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Cast variables to intFyorl2012-08-141-3/+3
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Added multiple attachment downloads to PMsFyorl2012-08-141-0/+7
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Renamed to phpbb_download_handle_forum_authFyorl2012-08-141-2/+2
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Moved PM authentication handling into own functionFyorl2012-08-141-0/+51
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Removed limitFyorl2012-08-141-1/+1
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Moved filename cleaning into own functionFyorl2012-08-141-0/+21
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Added docblock for renamed download_check_forum_authFyorl2012-08-141-1/+10
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Move logic for passworded forums to a function.Andreas Fischer2012-08-101-0/+25
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Moved include of compress class inside functionFyorl2012-08-071-0/+5
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Use extension_allowed() again.Andreas Fischer2012-08-071-22/+0
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] phpbb_filter_disallowed_extensions: Preserve array keys.Andreas Fischer2012-08-071-2/+2
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] phpbb_check_attach_extensions: Get rid of pass-by-referenceAndreas Fischer2012-08-071-9/+8
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Added a function for checking allowed extensionsFyorl2012-08-041-0/+23
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Added function for incrementing download counterFyorl2012-08-041-0/+21
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Prefixed gen_download_links with phpbb_Fyorl2012-08-041-1/+1
| | | | | | | | PHPBB3-11042
| * [feature/attach-dl] Downloading all attachments fully implementedFyorl2012-08-041-0/+30
| | | | | | | | | | | | | | | | | | | | Added a function to list all available archiving methods and integrated it with the prosilver style. Heavy modifications to download/file.php to support archiving and downloading of multiple files at once. PHPBB3-11042
* | Merge branch 'develop-olympus' into developNils Adermann2012-08-261-1/+0
|\ \ | | | | | | | | | | | | * develop-olympus: [ticket/11066] Remove debug code error_reporting(E_ALL) from mssqlnative.php
| * | [ticket/11066] Remove debug code error_reporting(E_ALL) from mssqlnative.phpJordan Rogers2012-08-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason, all errors are just flipped on before connecting to the database, despite the system as a whole having a different setting for displayable errors. Had to add & ~E_STRICT in PHP 5.4.5 to suppress Strict Standards messages, but I would assume that the db piece shouldn't be involved with setting error_reporting at all. PHPBB3-11066
* | | Merge remote-tracking branch 'nickvergessen/feature/php-events-4' into developDavid King2012-08-2011-46/+619
|\ \ \
| * | | [feature/php-events] Fix doc of core.user_set_default_groupJoas Schilling2012-08-201-1/+1
| | | | | | | | | | | | | | | | PHPBB3-9550
| * | | [feature/php-events] Fix doc of core.generate_smilies_afterJoas Schilling2012-08-201-1/+1
| | | | | | | | | | | | | | | | PHPBB3-9550