aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch '3.1.x'Joas Schilling2015-06-041-1/+22
|\ \ \ | |/ /
| * | Merge pull request #3611 from Alf007/ticket/13841Joas Schilling2015-06-041-1/+22
| |\ \ | | |/ | |/| | | | Ticket/13841
| | * [ticket/13841] Add core event on functions_admin for topics movealf0072015-05-301-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Event added for the function move_topics() in includes/functions_admin.php, so that you can insert any extension's table(s) to be updated when topics are moved between forums Added parameters topic_ids, forum_id, forum_ids and auto_sync PHPBB3-13841
* | | Merge branch '3.1.x'Marc Alexander2015-03-071-1/+27
|\ \ \ | |/ /
| * | [ticket/13658] renamed events and added table_ary parameterRobert Heim2015-02-271-4/+6
| | | | | | | | | | | | | | | | | | | | | - added suffix '_query' to event names - added table_ary to before event PHPBB3-13658
| * | [ticket/13658] add event before and after topics are deletedRobertHeim2015-02-271-1/+25
| |/ | | | | | | PHPBB3-13658
* | [ticket/13496] Update calls to `set_config_count()`Gaëtan Muller2015-02-021-4/+4
| | | | | | | | PHPBB3-13496
* | [ticket/13494] Update calls to `set_config()`Gaëtan Muller2015-02-021-3/+3
| | | | | | | | PHPBB3-13494
* | [ticket/13468] Update calls to `add_log()`Gaëtan Muller2015-01-271-4/+4
| | | | | | | | PHPBB3-13468
* | [ticket/13499] Move `get_remote_file()` to `functions_compatibility.php`Gaëtan Muller2015-01-151-20/+0
| | | | | | | | PHPBB3-13499
* | [ticket/13450] Type-hint return value of $phpbb_container->get()Gaëtan Muller2015-01-121-0/+3
|/ | | | PHPBB3-13450
* [ticket/13430] update event versionomniError2014-12-121-1/+1
| | | | | | https://tracker.phpbb.com/browse/PHPBB3-13430 PHPBB3-13430
* [ticket/13430] Add event core.prune_sqlomniError2014-12-111-1/+16
| | | | | | https://tracker.phpbb.com/browse/PHPBB3-13430 PHPBB3-13430
* [ticket/13358] Do not pass variables by referenceMarc Alexander2014-11-211-4/+6
| | | | PHPBB3-13358
* [ticket/13358] Use file_downloader in get_remote_file()Marc Alexander2014-11-211-57/+8
| | | | | | get_remote_file() has been marked as deprecated. PHPBB3-13358
* [ticket/13298] Add missing $db->freeresult(); calls in functions_admin.phpJoas Schilling2014-11-171-0/+2
| | | | PHPBB3-13298
* Merge pull request #2894 from Nicofuma/ticket/12999Andreas Fischer2014-08-211-6/+0
|\ | | | | | | | | | | | | [ticket/12999] Remove @author tags * Nicofuma/ticket/12999: [ticket/12999] Remove @author tags
| * [ticket/12999] Remove @author tagsTristan Darricau2014-08-191-6/+0
| | | | | | | | PHPBB3-12999
* | [ticket/12990] Use the full services name for the notification's typesTristan Darricau2014-08-161-6/+6
|/ | | | PHPBB3-12990
* [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_extsTristan Darricau2014-06-261-8/+8
| | | | PHPBB3-12446
* [ticket/12747] Drop support for FirebirdJoas Schilling2014-06-201-12/+0
| | | | PHPBB3-12747
* [ticket/11467] Add language variables for extension exception messagesn-aleha2014-05-291-1/+1
| | | | | | | Remove hard-coded messages and add language variables for extension exception messages. PHPBB3-11467
* [ticket/11366] Update FILE_NOT_FOUND language stringTristan Darricau2014-05-281-1/+1
| | | | PHPBB3-11366
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | PHPBB3-12594
* [feature/sqlite3] Add support for SQLite 3Patrick Webster2014-05-021-0/+2
| | | | | | | Minimum version requirement is 3.6.15 as that's what ships with PHP 5.3.0 when support for SQLite 3 was added. PHPBB3-9728
* Merge remote-tracking branch 'github-nickvergessen/ticket/12273' into ↵Nils Adermann2014-05-021-3/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12273: (55 commits) [ticket/12273] Move $extension to constructor so the path is always set [ticket/12273] Find events.md relative from the path not the phpbb root [ticket/12273] Do not look in extensions docs/ and tests/ directory [ticket/12273] Also check file for adm "Location:" events [ticket/12273] Do not allow template events in non-html files [ticket/12273] Fix return description [ticket/12273] Update exporter to allow specifying an extension [ticket/12273] Allow to filter events for extensions [ticket/12273] Remove old parameter from function call [ticket/12273] Fix table header for adm events [ticket/12273] Add root path to recursive_event_filter_iterator [ticket/12273] Fix missing classes in export_events_for_wiki.php [ticket/12273] Use RecursiveDirectoryIterator with filter in php_exporter [ticket/12273] Use RecursiveDirectoryIterator in md_exporter [ticket/12273] Fix doc blocks [ticket/12273] Do not allow 3.1-A1 for template events [ticket/12273] Sort arguments alphabetically before exporting [ticket/12273] Do not allow 3.1-A1 version [ticket/12273] Update since version to 3.1.0-a* style [ticket/12273] Update existing events ...
| * [ticket/12273] Update existing eventsJoas Schilling2014-04-251-6/+27
| | | | | | | | PHPBB3-12273
| * [ticket/12273] Fix long $vars lines for existing eventsJoas Schilling2014-04-241-3/+6
| | | | | | | | PHPBB3-12273
* | Merge remote-tracking branch 'github-nickvergessen/ticket/12371' into ↵Nils Adermann2014-05-021-6/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12371: [ticket/12371] Fix language string [ticket/12371] Fix typos in comment [ticket/12371] Fix redirect link for approve_post and post_in_queue [ticket/12371] Delete the approve_post notification when editing a post [ticket/12371] Fix language in comment [ticket/12371] Reapprove the post and topic again in tests [ticket/12371] Correctly set is_starter when editing first post of the topic [ticket/12371] Add functional tests for reapproving [ticket/12371] Fix query in mcp_sorting() [ticket/12371] Rename disapprove and softdelete tests [ticket/12371] We do not group quote notifications anymore [ticket/12371] Fix SQL query [ticket/11772] Do not send out new topic/post notifications when reapproving [ticket/12052] Use different visibility when post was edited [ticket/12052] Add support for ITEM_UNAPPROVED to set_post_visibility method [ticket/12371] Do not add unlimited users as responders [ticket/12371] Do not update the notification entry unneccessarily [ticket/12371] Do not delete post related notifications when a post is deleted [ticket/12371] Allow notification types to redirect to a different url [ticket/12371] Do not group "quote" notifications
| * | [ticket/12052] Use different visibility when post was editedJoas Schilling2014-04-251-4/+4
| | | | | | | | | | | | | | | | | | ... and needs to be reapproved. PHPBB3-12052
| * | [ticket/12371] Do not delete post related notifications when a post is deletedJoas Schilling2014-04-251-2/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | When a post is marked edited and therefor marked as softdeleted/unapproved, we should not delete the notifications, just like we can't delete the emails. Links are out there anyway and just keeping the notification is fail save. If we keep the notification we can just continue to update it when more posts are added. Also when we delete a post, we don't have to go though the table and find all related notifications to be able to delete them or even update them, when they have responders set. PHPBB3-12371
* | [ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.Andreas Fischer2014-04-291-5/+5
| | | | | | | | | | | | | | | | | | * There MUST NOT be trailing whitespace at the end of lines. * There MUST NOT be whitespace before the first content of a file. * There MUST NOT be whitespace after the last content of a file. * Functions MUST NOT contain multiple empty lines in a row. PHPBB3-12458
* | [ticket/12199] Move deprecated functions to functions_compatibility.phpNicofuma2014-04-261-28/+0
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently 13 functions are marked as deprecated: functions.php: function set_var() function request_var() function set_config() function set_config_count() function tz_select() function add_log() functions_admin: function cache_moderators() function update_foes() functions_compatibility: function get_user_avatar() function phpbb_hash() function phpbb_check_hash() function phpbb_clean_path() functions_install: function get_tables() 8 of them are still used in the core: add_log Used in many places (~198 calls) get_tables Used in install\install_convert::get_convert_settings and functions_install.php\connect_check_db get_user_avatar Used in phpbb\user_loader:get_avatar phpbb_hash Used in phpbb\db\migration\data\v30x\release_3_0_5_rc1 request_var Used quite everywhere (~997 calls) set_config Used in many places (~129 calls) set_config_count Used in a few places (~37 calls) set_var Used by phpbb_http_login and phpbb\auth\provider\apache::autologin PHPBB3-12199
* Merge remote-tracking branch 'github-nickvergessen/ticket/12282' into ↵Nils Adermann2014-04-101-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12282: [ticket/12282] Update new references [ticket/12282] Update container db mock [ticket/12282] Add new line at EOF of the interface [ticket/12282] Use interface for type hinting [ticket/12282] Use {@inheritDoc} for inherited methods [ticket/12282] Add Interface for DBAL drivers
| * [ticket/12282] Use interface for type hintingJoas Schilling2014-04-011-2/+2
| | | | | | | | PHPBB3-12282
* | [ticket/12150] Add missing space to query for shadow topicsMarc Alexander2014-03-291-1/+1
| | | | | | | | PHPBB3-12150
* | [ticket/12150] Add file and caller for pruning shadow topicsMarc Alexander2014-03-291-0/+5
|/ | | | PHPBB3-12150
* Merge branch 'develop-olympus' into develop-ascraeusJoas Schilling2014-03-291-0/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9725] Code sniffer fixes [ticket/9725] Do not use deprecated views to remove default constraints [ticket/9725] Move primary key creation to the correct location [ticket/9725] Remove trailing spaces from MSSQL schema [ticket/9725] Create MSSQL primary keys if none exist [ticket/9725] Remove explicit filegroup designations [ticket/9725] Fetch Azure db stats from proper table [ticket/9725] Add dummy indexes for Azure [ticket/9725] Create an Azure SQL compatible Schema Conflicts: phpBB/install/schemas/mssql_schema.sql
| * [ticket/9725] Fetch Azure db stats from proper tablePatrick Webster2014-03-281-0/+16
| | | | | | | | PHPBB3-9725
* | Merge remote-tracking branch 'EXreaction/ticket/9871-2' into developJoas Schilling2014-03-141-40/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/9871-2: [ticket/9871] Can set current version to use instead of the phpBB version [ticket/9871] Fix indentation on comment [ticket/9871] Fix test name [ticket/9871] Split fast and slow version tests [ticket/9871] Option to force the stability when checking for updates [ticket/9871] Allow setting the host/file to load for the version class [ticket/9871] Restore get_remote_file_test [ticket/9871] Fix tests [ticket/9871] Typehint and comment on var types [ticket/9871] Mark test as slow [ticket/9871] Restore phpbb_version_compare [ticket/9871] Restore get_remote_file [ticket/9871] Use $request->variable instead of request_var [ticket/9871] Update version check file to use json format
| * | [ticket/9871] Fix indentation on commentNathan Guse2014-03-141-2/+2
| | | | | | | | | | | | PHPBB3-9871
| * | [ticket/9871] Restore get_remote_fileNathan Guse2014-03-051-0/+66
| | | | | | | | | | | | PHPBB3-9871
| * | [ticket/9871] Update version check file to use json formatNathan Guse2014-02-191-105/+0
| | | | | | | | | | | | PHPBB3-9871
* | | [ticket/12260] Add core events to delete_posts() function.rxu2014-03-111-8/+59
|/ / | | | | | | | | | | Events for extensions to perform additional actions on posts deletion. PHPBB3-12260
* | [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-5/+5
| | | | | | | | PHPBB3-11700
* | [ticket/11700] Modify all code to use the new interface namesNils Adermann2013-07-141-1/+1
| | | | | | | | PHPBB3-11700
* | Merge remote-tracking branch 'phpbb/develop' into ↵Joas Schilling2013-07-111-27/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 developNathan Guse2013-07-051-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | # By Andreas Fischer # Via Andreas Fischer (1) and Nathan Guse (1) * develop-olympus: [ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling. [ticket/11619] Some tests for get_remote_file().
| | * [ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling.Andreas Fischer2013-07-031-1/+1
| | | | | | | | | | | | PHPBB3-11619
| * | Merge remote-tracking branch 'remotes/upstream/develop-olympus' into developNathan Guse2013-05-201-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | # By David King # Via David King (1) and Nathan Guse (1) * remotes/upstream/develop-olympus: [ticket/11551] Fix error in system tab if get_remote_file returns empty string