aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | [ticket/11103] Normalization of $phpbb_notifications variable nameNathan Guse2012-09-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use $phpbb_notifications instead of $notifications everywhere for consistency and conflict prevention. PHPBB3-11103
| * | | | [ticket/11103] Remove notifications to posts/topics when they are deletedNathan Guse2012-09-091-0/+10
| | |/ / | |/| | | | | | | | | | PHPBB3-11103
* | | | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ↵Joas Schilling2012-12-201-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-11-291-1/+1
| |\ \ \ | | |/ / | |/| / | | |/ | | | * develop-olympus: [ticket/11227] @return void -> @return null in develop-olympus.
| | * [ticket/11227] @return void -> @return null in develop-olympus.Oleg Pudeyev2012-11-291-1/+1
| | | | | | | | | | | | PHPBB3-11227
* | | [feature/soft-delete] Fix the rest of *_approved and the delete_post unit testJoas Schilling2012-11-101-5/+5
| | | | | | | | | | | | PHPBB3-9567
* | | [feature/soft-delete] Append _approved to *_posts and *_topics column namesJoas Schilling2012-11-091-7/+7
| | | | | | | | | | | | PHPBB3-9567
* | | [feature/soft-delete] Correctly manage softdeleting via posting.phpJoas Schilling2012-11-021-1/+1
| | | | | | | | | | | | PHPBB3-9567
* | | [feature/soft-delete] Fix unit tests for delete_posts()Joas Schilling2012-10-231-2/+0
| | | | | | | | | | | | PHPBB3-9567
* | | [feature/soft-delete] Fix sync() and some more functions to use the new fieldsJoas Schilling2012-10-221-13/+36
| | | | | | | | | | | | PHPBB3-9567
* | | [feature/soft-delete] Correctly synchronize the topic_visibility in sync()Joas Schilling2012-10-091-24/+11
| | | | | | | | | | | | | | | | | | | | | This also makes sync('topic_visibility') obsolete, but we keep it for now. Also fix a unit test, because ITEM_DELETED overpowers ITEM_UNAPPROVED PHPBB3-9567
* | | [feature/soft-delete] Fix sync('topic_visibility')Joas Schilling2012-10-091-32/+41
| | | | | | | | | | | | | | | | | | | | | The function can not rely on the first post anymore, as that one could be soft deleted but the topic still has approved replies which are still visible. PHPBB3-9567
* | | [feature/soft-delete] Fix sync('topic') to match the new logicJoas Schilling2012-10-051-0/+10
| | | | | | | | | | | | | | | | | | This also fixes set_post_visibility() PHPBB3-9567
* | | [feature/soft-delete] Fix a bug in sync() and set_post_visibility()Joas Schilling2012-10-021-3/+3
| | | | | | | | | | | | PHPBB3-9657
* | | [feature/soft-delete] Fix some more usages of _approved column namesJoas Schilling2012-08-301-1/+1
| | | | | | | | | | | | PHPBB3-9657
* | | [feature/soft-delete] Lay the groundwork for a soft-delete featureJosh Woody2012-08-291-35/+42
|/ / | | | | | | | | | | 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/11052] update search backend constructor everywhereDhruv2012-08-151-2/+2
| | | | | | | | PHPBB3-11052
* | [ticket/10969] Remove remove_remarks(&$sql) and remove_comments(&$output).Andreas Fischer2012-07-081-15/+0
| | | | | | | | | | | | Merge their bodies into phpbb_remove_comments($input). PHPBB3-10969
* | Merge PR #856 branch 'develop-olympus' into developOleg Pudeyev2012-07-071-0/+15
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10937] Update documentation to say which comment styles are removed. [ticket/10937] Comment removal functions: Restore backward compatibility
| * [ticket/10937] Comment removal functions: Restore backward compatibilityAndreas Fischer2012-07-031-0/+15
| | | | | | | | PHPBB3-10937
* | Merge branch 'develop-olympus' into developNils Adermann2012-05-311-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | By Andreas Fischer via Andreas Fischer (1) and Nils Adermann (1) * develop-olympus: [ticket/10751] Use sql_lower_text() in view_log(). log_data is a text column. [ticket/10751] Add sql_lower_text() to database abstraction layer. Conflicts: phpBB/includes/db/dbal.php
| * [ticket/10751] Use sql_lower_text() in view_log(). log_data is a text column.Andreas Fischer2012-05-311-1/+2
| | | | | | | | PHPBB3-10751
* | Merge remote-tracking branch 'bantu/ticket/10636' into developOleg Pudeyev2012-02-101-2/+2
|\ \ | | | | | | | | | | | | * bantu/ticket/10636: [ticket/10636] Resolve variable name ($sql_ary) conflict in cache_moderators().
| * | [ticket/10636] Resolve variable name ($sql_ary) conflict in cache_moderators().Andreas Fischer2012-02-091-2/+2
| | | | | | | | | | | | | | | | | | Regression from 4c77903129749008cd08c346006d2a57cf6ff544. PHPBB3-10636
* | | [ticket/10637] Leftovers from implementation of extensionsVjacheslav Trushkin2012-02-091-4/+2
|/ / | | | | | | | | | | Replacing code in includes/functions_admin.php that was missed in ticket 10323 PHPBB3-10637
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | | | | | PHPBB3-9916
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-12-031-35/+0
|\ \ | |/ | | | | | | | | | | | | | | * develop-olympus: [ticket/10349] Removed duplicated functions from schema loading in tests [ticket/10349] Update function comment [ticket/10349] Use new schema comment function in installer [ticket/10349] Unit tests: Consolidate schema comment removal functions [ticket/10349] Unit tests: Remove comments while loading schema files
| * Merge remote-tracking branch 'Noxwizard/ticket/10349' into develop-olympusOleg Pudeyev2011-12-031-35/+0
| |\ | | | | | | | | | | | | | | | | | | | | | | | | * Noxwizard/ticket/10349: [ticket/10349] Removed duplicated functions from schema loading in tests [ticket/10349] Update function comment [ticket/10349] Use new schema comment function in installer [ticket/10349] Unit tests: Consolidate schema comment removal functions [ticket/10349] Unit tests: Remove comments while loading schema files
| | * [ticket/10349] Use new schema comment function in installerPatrick Webster2011-09-281-35/+0
| | | | | | | | | | | | | | | | | | | | | This is what now runs in the unit tests. The COMMENTS field in the dbms data is no longer needed, so it has been removed. PHPBB3-10349
* | | Merge remote-tracking branch 'nickvergessen/ticket/10484' into developOleg Pudeyev2011-11-241-9/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | It's easier for mods/extensions to extend the arrays. PHPBB3-10484
* | | | Merge branch 'develop-olympus' into developOleg Pudeyev2011-11-231-1/+5
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | * develop-olympus: [ticket/10461] Add a comment explaining the logic here. [ticket/10461] Correct $log_count check in view_log() so we show logs again.
| * | [ticket/10461] Add a comment explaining the logic here.Oleg Pudeyev2011-11-231-0/+4
| | | | | | | | | | | | PHPBB3-10461
| * | [ticket/10461] Correct $log_count check in view_log() so we show logs again.Andreas Fischer2011-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | We pass $log_count as false now when we do not need to know how many log entries there are. However when $log_count is false, $log_count == 0 will be true as well and thus we will return early with 0. PHPBB3-9874 PHPBB3-10461
* | | Merge branch 'develop-olympus' into developNils Adermann2011-10-141-1/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10278] Show VERSIONCHECK_FAIL instead of FSOCK_TIMEOUT. [ticket/10278] Also timeout when receiving data over a slow connection. [ticket/10278] Decrease default timeout of get_remote_file() to 6 seconds. [ticket/10278] Return with a timeout error when fread() or fgets() time out. [ticket/10278] Also set timeout on stream in get_remote_file().
| * | [ticket/10278] Also timeout when receiving data over a slow connection.Andreas Fischer2011-10-131-1/+2
| | | | | | | | | | | | PHPBB3-10278
| * | [ticket/10278] Decrease default timeout of get_remote_file() to 6 seconds.Andreas Fischer2011-08-251-1/+1
| | | | | | | | | | | | PHPBB3-10278
| * | [ticket/10278] Return with a timeout error when fread() or fgets() time out.Andreas Fischer2011-08-251-0/+8
| | | | | | | | | | | | PHPBB3-10278
| * | [ticket/10278] Also set timeout on stream in get_remote_file().Andreas Fischer2011-08-251-0/+2
| |/ | | | | | | | | | | | | | | | | | | From the PHP manual for fsockopen(): If you need to set a timeout for reading/writing data over the socket, use stream_set_timeout(), as the timeout parameter to fsockopen() only applies while connecting the socket. http://www.php.net/manual/en/function.fsockopen.php PHPBB3-10278
* | Merge branch 'develop-olympus' into developNils Adermann2011-07-161-15/+32
|\ \ | |/ | | | | | | * develop-olympus: [ticket/5506] Do not display an empty last page after deleting logs.
| * [ticket/5506] Do not display an empty last page after deleting logs.Joas Schilling2011-07-141-15/+32
| | | | | | | | | | | | The fix is copied from view_inactive_users(). Also add keywords and sort parameters to url for deleting logs and inactive users. And finally save some queries if there are no logs/users to display anyway
* | [ticket/9684] Remove code in some more files especially includes/Joas Schilling2011-04-071-22/+3
| | | | | | | | | | | | Topic-Tracking is still missing. PHPBB3-9684
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-02-241-10/+14
|\ \ | |/ | | | | | | | | | | | | * 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/9874] view_log() performs unneeded count query over all log entries.Joas Schilling2011-02-251-10/+14
| | | | | | | | PHPBB3-9874
* | [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
* [ticket/9850] Display upgrade instructions for feature release in acpIgor Wiedler2010-11-021-1/+1
| | | | PHPBB3-9850
* Merge branch 'ticket/bantu/9167' into develop-olympusJosh Woody2010-08-191-35/+47
|\ | | | | | | | | | | | | | | | | * ticket/bantu/9167: [ticket/9167] Detect and remove any dead left over shadow topics on update. [ticket/9167] Remove shadow topics from remaining forums when deleting a forum Conflicts: phpBB/install/database_update.php
| * [ticket/9167] Remove shadow topics from remaining forums when deleting a forumAndreas Fischer2010-06-111-35/+47
| | | | | | | | | | | | | | | | | | including posts. The function delete_topic_shadows() had to be reimplemented. It was there but it was completly broken and hasn't been used at all. PHPBB3-9167
* | [ticket/9658] Optimize topic splitting.rxu2010-07-151-4/+4
|/ | | | | | | Split topics takes too long in some cases because of wrong variables or arrays values types adjustment. Cast values representing topic and forum ids as int. PHPBB3-9658
* [ticket/9510] Unable to copy permissions from and to forums you cannot seeJosh Woody2010-05-161-5/+1
| | | | | | This commit fixes the bug mentioned, plus a large number of regressions caused by changing the behavior of make_forum_select() (in svn r10427, dated Jan 18, 2010). It also rolls back the changes from branch "bug/58415", which are no longer needed. PHPBB3-9510