2018-07-02 23:20:00 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Tests for validating and saving a filter
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
*
|
|
|
|
* @license GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
|
2019-08-26 13:01:09 +00:00
|
|
|
use PHPUnit\Framework\MockObject\MockObject;
|
|
|
|
use Wikimedia\Rdbms\IDatabase;
|
|
|
|
|
2018-07-02 23:20:00 +00:00
|
|
|
/**
|
|
|
|
* @group Test
|
|
|
|
* @group AbuseFilter
|
|
|
|
* @group AbuseFilterSave
|
|
|
|
*/
|
|
|
|
class AbuseFilterSaveTest extends MediaWikiTestCase {
|
2020-09-19 15:14:31 +00:00
|
|
|
private const DEFAULT_ABUSE_FILTER_ROW = [
|
2019-08-26 13:01:09 +00:00
|
|
|
'af_pattern' => '/**/',
|
|
|
|
'af_user' => 0,
|
|
|
|
'af_user_text' => 'FilterTester',
|
|
|
|
'af_timestamp' => '20190826000000',
|
|
|
|
'af_enabled' => 1,
|
|
|
|
'af_comments' => '',
|
|
|
|
'af_public_comments' => 'Mock filter',
|
|
|
|
'af_hidden' => 0,
|
|
|
|
'af_hit_count' => 0,
|
|
|
|
'af_throttled' => 0,
|
|
|
|
'af_deleted' => 0,
|
|
|
|
'af_actions' => '',
|
|
|
|
'af_global' => 0,
|
|
|
|
'af_group' => 'default'
|
2018-07-02 23:20:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
2020-09-19 15:14:31 +00:00
|
|
|
* @return HashConfig
|
2018-07-02 23:20:00 +00:00
|
|
|
*/
|
2020-09-19 15:14:31 +00:00
|
|
|
private function getConfig() : HashConfig {
|
2019-08-26 13:01:09 +00:00
|
|
|
$cfgOpts = [
|
|
|
|
'LanguageCode' => 'en',
|
|
|
|
'AbuseFilterActions' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
'throttle' => true,
|
|
|
|
'warn' => true,
|
|
|
|
'disallow' => true,
|
|
|
|
'blockautopromote' => true,
|
|
|
|
'block' => true,
|
|
|
|
'rangeblock' => true,
|
|
|
|
'degroup' => true,
|
|
|
|
'tag' => true
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'AbuseFilterValidGroups' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
'default',
|
|
|
|
'flow'
|
|
|
|
],
|
2018-09-22 10:18:50 +00:00
|
|
|
'AbuseFilterActionRestrictions' => [
|
2019-08-26 13:01:09 +00:00
|
|
|
'degroup' => true
|
|
|
|
],
|
|
|
|
'AbuseFilterIsCentral' => true,
|
|
|
|
];
|
2020-09-19 15:14:31 +00:00
|
|
|
return new HashConfig( $cfgOpts );
|
2018-07-02 23:20:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2019-08-26 13:01:09 +00:00
|
|
|
* @param array $testPerms
|
|
|
|
* @return User|MockObject
|
2018-07-02 23:20:00 +00:00
|
|
|
*/
|
2020-09-19 15:14:31 +00:00
|
|
|
private function getUserMock( array $testPerms ) {
|
2019-09-18 21:48:40 +00:00
|
|
|
$perms = array_merge( $testPerms, [ 'abusefilter-modify' ] );
|
2020-09-19 15:14:31 +00:00
|
|
|
/** @var User|MockObject $user */
|
|
|
|
$user = $this->createMock( User::class );
|
|
|
|
$user->method( 'getName' )->willReturn( 'FilterUser' );
|
|
|
|
$user->method( 'getId' )->willReturn( 1 );
|
|
|
|
$user->method( 'getActorId' )->willReturn( 1 );
|
2019-09-18 21:48:40 +00:00
|
|
|
$this->overrideUserPermissions( $user, $perms );
|
2019-08-26 13:01:09 +00:00
|
|
|
return $user;
|
2018-07-02 23:20:00 +00:00
|
|
|
}
|
|
|
|
|
2020-09-19 15:14:31 +00:00
|
|
|
/**
|
|
|
|
* @param array $args
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
private function getRowAndActionsFromTestSpecs( array $args ) : array {
|
|
|
|
$newRow = (object)( $args['row'] + self::DEFAULT_ABUSE_FILTER_ROW );
|
|
|
|
$actions = $args['actions'] ?? [];
|
|
|
|
|
|
|
|
$existing = isset( $args['testData']['existing'] );
|
|
|
|
if ( $existing ) {
|
|
|
|
$origRow = (object)( self::DEFAULT_ABUSE_FILTER_ROW + [ 'af_id' => 1 ] );
|
|
|
|
} else {
|
|
|
|
$origRow = (object)[
|
|
|
|
'af_pattern' => '',
|
|
|
|
'af_enabled' => 1,
|
|
|
|
'af_hidden' => 0,
|
|
|
|
'af_global' => 0,
|
|
|
|
'af_throttled' => 0,
|
|
|
|
'af_hit_count' => 0,
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
return [ $newRow, $actions, $origRow, [] ];
|
|
|
|
}
|
|
|
|
|
2018-07-02 23:20:00 +00:00
|
|
|
/**
|
|
|
|
* Validate and save a filter given its parameters
|
|
|
|
*
|
|
|
|
* @param array $args Parameters of the filter and metadata for the test
|
|
|
|
* @covers AbuseFilter::saveFilter
|
|
|
|
* @dataProvider provideFilters
|
|
|
|
*/
|
|
|
|
public function testSaveFilter( $args ) {
|
2019-08-26 13:01:09 +00:00
|
|
|
$user = $this->getUserMock( $args['testData']['userPerms'] ?? [] );
|
2018-07-02 23:20:00 +00:00
|
|
|
|
2020-09-20 10:18:46 +00:00
|
|
|
$filter = $args['row']['af_id'] = $args['row']['af_id'] ?? null;
|
2020-09-19 15:14:31 +00:00
|
|
|
[ $newRow, $actions, $origRow, $origActions ] = $this->getRowAndActionsFromTestSpecs( $args );
|
2018-07-02 23:20:00 +00:00
|
|
|
|
2019-08-26 13:01:09 +00:00
|
|
|
/** @var IDatabase|MockObject $dbw */
|
2020-09-19 15:14:31 +00:00
|
|
|
$dbw = $this->createMock( IDatabase::class );
|
|
|
|
$dbw->method( 'insertId' )->willReturn( 1 );
|
|
|
|
// This is needed because of the ManualLogEntry usage
|
|
|
|
$dbw->method( 'selectRow' )->willReturn( (object)[ 'actor_id' => '1' ] );
|
|
|
|
$status = AbuseFilter::saveFilter(
|
|
|
|
$user, $filter, $newRow, $actions, $origRow,
|
|
|
|
$origActions, $dbw, $this->getConfig()
|
|
|
|
);
|
2018-07-02 23:20:00 +00:00
|
|
|
|
2019-08-26 13:01:09 +00:00
|
|
|
if ( $args['testData']['shouldFail'] ) {
|
|
|
|
$this->assertFalse( $status->isGood(), 'The filter validation returned a valid status.' );
|
|
|
|
$actual = $status->getErrors()[0]['message'];
|
|
|
|
$expected = $args['testData']['expectedMessage'];
|
|
|
|
$this->assertEquals( $expected, $actual );
|
2020-09-19 15:14:31 +00:00
|
|
|
} elseif ( $args['testData']['shouldBeSaved'] ) {
|
|
|
|
$this->assertTrue(
|
|
|
|
$status->isGood(),
|
|
|
|
"Save failed with status: $status"
|
|
|
|
);
|
|
|
|
$value = $status->getValue();
|
|
|
|
$this->assertIsArray( $value );
|
|
|
|
$this->assertCount( 2, $value );
|
|
|
|
$this->assertContainsOnly( 'int', $value );
|
2018-07-02 23:20:00 +00:00
|
|
|
} else {
|
2020-09-19 15:14:31 +00:00
|
|
|
$this->assertTrue(
|
|
|
|
$status->isGood(),
|
|
|
|
"Got a non-good status: $status"
|
|
|
|
);
|
|
|
|
$this->assertFalse( $status->getValue(), 'Status value should be false' );
|
2018-07-02 23:20:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Data provider for creating and editing filters.
|
|
|
|
* @return array
|
|
|
|
*/
|
2020-09-19 15:14:31 +00:00
|
|
|
public function provideFilters() : array {
|
2018-07-02 23:20:00 +00:00
|
|
|
return [
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to empty description and rules' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '',
|
|
|
|
'af_public_comments' => '',
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'blockautopromote' => []
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-missingfields',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Success for only rules and description' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '/* My rules */',
|
|
|
|
'af_public_comments' => 'Some new filter',
|
|
|
|
'af_enabled' => false,
|
|
|
|
'af_deleted' => true
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'shouldFail' => false,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => true
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to syntax error' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => 'rlike',
|
|
|
|
'af_public_comments' => 'This syntax aint good',
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'block' => [ true, '8 hours', '8 hours' ]
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-badsyntax',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to both "enabled" and "deleted" selected' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Enabled and deleted',
|
|
|
|
'af_deleted' => true
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'block' => [ true, '8 hours', '8 hours' ]
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-deleting-enabled',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to a reserved tag' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Reserved tag',
|
|
|
|
'af_comments' => 'Some notes',
|
|
|
|
'af_hidden' => true
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'tag' => [ 'mw-undo' ]
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-bad-tags',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to an invalid tag' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Invalid tag',
|
|
|
|
'af_comments' => 'Some notes',
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'tag' => [ 'invalid|tag' ]
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'tags-create-invalid-chars',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-09-03 12:03:33 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to an empty tag' => [
|
2018-09-03 12:03:33 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1!=0',
|
|
|
|
'af_public_comments' => 'Empty tag',
|
|
|
|
'af_comments' => '',
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'tag' => [ '' ]
|
2018-09-03 12:03:33 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'tags-create-no-name',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to lack of modify-global right' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Global without perms',
|
|
|
|
'af_global' => true,
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'disallow' => [ 'abusefilter-disallowed' ]
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-notallowed-global',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to custom warn message on global filter' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Global with invalid warn message',
|
|
|
|
'af_global' => true,
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'warn' => [ 'abusefilter-beautiful-warning' ]
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-notallowed-global-custom-msg',
|
|
|
|
'shouldFail' => true,
|
2018-10-12 08:51:45 +00:00
|
|
|
'shouldBeSaved' => false,
|
2019-09-18 21:48:40 +00:00
|
|
|
'userPerms' => [ 'abusefilter-modify-global' ]
|
2018-10-12 08:51:45 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to custom disallow message on global filter' => [
|
2018-10-12 08:51:45 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Global with invalid disallow message',
|
|
|
|
'af_global' => true,
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'disallow' => [ 'abusefilter-disallowed-something' ]
|
2018-10-12 08:51:45 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-notallowed-global-custom-msg',
|
|
|
|
'shouldFail' => true,
|
2018-07-02 23:20:00 +00:00
|
|
|
'shouldBeSaved' => false,
|
2019-09-18 21:48:40 +00:00
|
|
|
'userPerms' => [ 'abusefilter-modify-global' ]
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to a restricted action' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Restricted action',
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'degroup' => []
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-restricted',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Pass validation but do not save when there are no changes' => [
|
2018-07-02 23:20:00 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_id' => '1',
|
|
|
|
'af_pattern' => '/**/',
|
|
|
|
'af_public_comments' => 'Mock filter'
|
2018-07-02 23:20:00 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'shouldFail' => false,
|
|
|
|
'shouldBeSaved' => false,
|
2019-08-26 13:01:09 +00:00
|
|
|
'existing' => true
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
]
|
2018-09-09 10:14:31 +00:00
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to invalid throttle groups' => [
|
2018-09-09 10:14:31 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Invalid throttle groups',
|
|
|
|
'af_comments' => 'Throttle... Again',
|
|
|
|
],
|
|
|
|
'actions' => [
|
2020-09-20 10:18:46 +00:00
|
|
|
'throttle' => [ null, '11,111', "user\nfoo" ]
|
2018-09-09 10:14:31 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-invalid-throttlegroups',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-09-09 10:14:31 +00:00
|
|
|
]
|
|
|
|
]
|
2018-09-03 09:22:41 +00:00
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to empty warning message' => [
|
2018-09-03 09:22:41 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Empty warning message',
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'warn' => [ '' ]
|
2018-09-03 09:22:41 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-invalid-warn-message',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-09-03 09:22:41 +00:00
|
|
|
]
|
|
|
|
]
|
|
|
|
],
|
2019-08-26 13:01:09 +00:00
|
|
|
'Fail due to empty disallow message' => [
|
2018-09-03 09:22:41 +00:00
|
|
|
[
|
2020-09-19 15:14:31 +00:00
|
|
|
'row' => [
|
|
|
|
'af_pattern' => '1==1',
|
|
|
|
'af_public_comments' => 'Empty disallow message',
|
|
|
|
],
|
|
|
|
'actions' => [
|
|
|
|
'disallow' => [ '' ]
|
2018-09-03 09:22:41 +00:00
|
|
|
],
|
|
|
|
'testData' => [
|
|
|
|
'expectedMessage' => 'abusefilter-edit-invalid-disallow-message',
|
|
|
|
'shouldFail' => true,
|
2019-08-26 13:01:09 +00:00
|
|
|
'shouldBeSaved' => false
|
2018-09-03 09:22:41 +00:00
|
|
|
]
|
|
|
|
]
|
2018-07-02 23:20:00 +00:00
|
|
|
]
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|