Version 3.1.4

This commit is contained in:
Neo committed 2025-12-19 00:32:22 -08:00
1 parent 1d4720f3e2
commit ae5c01cc78
2563 files changed
+283048 -240689

No files matched your search

+10 -1
View File
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
+102 -100
View File
@@ -1,101 +1,103 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* Defines blogger API parameters
* Last Updated: $Date: 2009-02-04 15:03:36 -0500 (Wed, 04 Feb 2009) $
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package IP.Blog
* @link http://www.iinvisionpower.com
* @version $Rev: 3887 $
*
*/
$_METAWEBLOG_ALLOWED_METHODS = array();
/**
* getUsersBlogs
* return basic Blog information about the users Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['getUsersBlogs'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'string',
'param2' => 'string',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* getUserInfo
* return basic information about the user
*/
$_METAWEBLOG_ALLOWED_METHODS['getUserInfo'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'string',
'param2' => 'string',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* deletePost
* Deletes an entry from the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['deletePost'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'integer',
'param2' => 'string',
'param3' => 'string',
'param4' => 'bool',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* newPost
* Adds a new entry to the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['newPost'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'integer',
'param2' => 'string',
'param3' => 'string',
'param4' => 'string',
'param5' => 'bool',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* editPost
* Edit an entry in the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['editPost'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'integer',
'param2' => 'string',
'param3' => 'string',
'param4' => 'string',
'param5' => 'bool'
),
'out' => array(
'response' => 'xmlrpc'
)
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Defines blogger API parameters
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Blog
* @link http://www.invisionpower.com
* @version $Rev: 5713 $
*
*/
$_METAWEBLOG_ALLOWED_METHODS = array();
/**
* getUsersBlogs
* return basic Blog information about the users Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['getUsersBlogs'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'string',
'param2' => 'string',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* getUserInfo
* return basic information about the user
*/
$_METAWEBLOG_ALLOWED_METHODS['getUserInfo'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'string',
'param2' => 'string',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* deletePost
* Deletes an entry from the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['deletePost'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'integer',
'param2' => 'string',
'param3' => 'string',
'param4' => 'bool',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* newPost
* Adds a new entry to the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['newPost'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'integer',
'param2' => 'string',
'param3' => 'string',
'param4' => 'string',
'param5' => 'bool',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* editPost
* Edit an entry in the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['editPost'] = array(
'in' => array(
'param0' => 'string',
'param1' => 'integer',
'param2' => 'string',
'param3' => 'string',
'param4' => 'string',
'param5' => 'bool'
),
'out' => array(
'response' => 'xmlrpc'
)
);
+115 -113
View File
@@ -1,114 +1,116 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* Defines metaweblog API parameters
* Last Updated: $Date: 2009-02-04 15:03:36 -0500 (Wed, 04 Feb 2009) $
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package IP.Blog
* @link http://www.iinvisionpower.com
* @version $Rev: 3887 $
*
*/
$_METAWEBLOG_ALLOWED_METHODS = array();
/**
* getCategories
* return the categories used in the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['getCategories'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string'
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* getRecentPosts
* return the most recent entries of the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['getRecentPosts'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
'param3' => 'integer'
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* newPost
* Post a new entry to the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['newPost'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
'param3' => 'struct',
'param4' => 'bool'
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* editPost
* Edit an entry in the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['editPost'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
'param3' => 'struct',
'param4' => 'bool'
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* getPost
* Get an entry from the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['getPost'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* newMediaObject
* Post a media object to the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['newMediaObject'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
'param3' => 'struct',
),
'out' => array(
'response' => 'xmlrpc'
)
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Defines metaweblog API parameters
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Blog
* @link http://www.invisionpower.com
* @version $Rev: 5713 $
*
*/
$_METAWEBLOG_ALLOWED_METHODS = array();
/**
* getCategories
* return the categories used in the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['getCategories'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string'
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* getRecentPosts
* return the most recent entries of the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['getRecentPosts'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
'param3' => 'integer'
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* newPost
* Post a new entry to the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['newPost'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
'param3' => 'struct',
'param4' => 'bool'
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* editPost
* Edit an entry in the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['editPost'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
'param3' => 'struct',
'param4' => 'bool'
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* getPost
* Get an entry from the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['getPost'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
),
'out' => array(
'response' => 'xmlrpc'
)
);
/**
* newMediaObject
* Post a media object to the Blog
*/
$_METAWEBLOG_ALLOWED_METHODS['newMediaObject'] = array(
'in' => array(
'param0' => 'integer',
'param1' => 'string',
'param2' => 'string',
'param3' => 'struct',
),
'out' => array(
'response' => 'xmlrpc'
)
);
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+10 -1
View File
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
+110 -108
View File
@@ -1,109 +1,111 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* Blog XMLRPC Interface
* Last Updated: $Date: 2009-09-18 17:37:08 -0400 (Fri, 18 Sep 2009) $
*
* @author $Author: josh $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package IP.Blog
* @link http://www.iinvisionpower.com
* @version $Revision: 5131 $
*
*/
/**
* Script type
*
*/
define( 'IPB_THIS_SCRIPT', 'api' );
define( 'IPB_LOAD_SQL' , 'queries' );
/**
* Matches IP address of requesting API
* Set to 0 to not match with IP address
*/
define( 'CVG_IP_MATCH', 1 );
require_once( '../../initdata.php' );
//===========================================================================
// MAIN PROGRAM
//===========================================================================
define( 'IPS_CLASS_PATH', IPS_ROOT_PATH . 'sources/classes/' );
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );
//-----------------------------------------
// Set up cookie stuff
//-----------------------------------------
$registry = ipsRegistry::instance();
$registry->init();
IPSCookie::$sensitive_cookies = array( 'session_id', 'ipb_admin_session_id', 'member_id', 'pass_hash' );
//--------------------------------
// Set up our vars
//--------------------------------
$registry->DB()->obj['use_shutdown'] = 0;
//--------------------------------
// Set debug mode
//--------------------------------
$registry->DB()->setDebugMode( ipsRegistry::$settings['sql_debug'] == 1 ? intval($_GET['debug']) : 0 );
//===========================================================================
// Create the XML-RPC Server
//===========================================================================
require_once( IPS_KERNEL_PATH . 'classApiServer.php' );
$server = new classApiServer();
$api = $server->decodeRequest();
//===========================================================================
// Define Service
//===========================================================================
$valid_api = 0;
switch( $api )
{
case 'blogger':
$valid_api = 1;
break;
case 'wp':
case 'metaWeblog':
$api = 'metaWeblog';
$valid_api = 1;
break;
}
if( $valid_api )
{
require_once( DOC_IPS_ROOT_PATH . 'interface/blog/apis/server_' . strtolower( $api ) . '.php' );
$webservice = new xmlrpc_server( $registry );
$webservice->classApiServer =& $server;
$server->addObjectMap( $webservice, 'UTF-8' );
//-----------------------------------------
// Process....
//-----------------------------------------
$server->getXmlRpc();
}
else
{
$server->apiSendError( 100, "Requested API not found" );
}
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Blog XMLRPC Interface
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Blog
* @link http://www.invisionpower.com
* @version $Revision: 5713 $
*
*/
/**
* Script type
*
*/
define( 'IPB_THIS_SCRIPT', 'api' );
define( 'IPB_LOAD_SQL' , 'queries' );
/**
* Matches IP address of requesting API
* Set to 0 to not match with IP address
*/
define( 'CVG_IP_MATCH', 1 );
require_once( '../../initdata.php' );
//===========================================================================
// MAIN PROGRAM
//===========================================================================
define( 'IPS_CLASS_PATH', IPS_ROOT_PATH . 'sources/classes/' );
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );
//-----------------------------------------
// Set up cookie stuff
//-----------------------------------------
$registry = ipsRegistry::instance();
$registry->init();
IPSCookie::$sensitive_cookies = array( 'session_id', 'ipb_admin_session_id', 'member_id', 'pass_hash' );
//--------------------------------
// Set up our vars
//--------------------------------
$registry->DB()->obj['use_shutdown'] = 0;
//--------------------------------
// Set debug mode
//--------------------------------
$registry->DB()->setDebugMode( ipsRegistry::$settings['sql_debug'] == 1 ? intval($_GET['debug']) : 0 );
//===========================================================================
// Create the XML-RPC Server
//===========================================================================
require_once( IPS_KERNEL_PATH . 'classApiServer.php' );
$server = new classApiServer();
$api = $server->decodeRequest();
//===========================================================================
// Define Service
//===========================================================================
$valid_api = 0;
switch( $api )
{
case 'blogger':
$valid_api = 1;
break;
case 'wp':
case 'metaWeblog':
$api = 'metaWeblog';
$valid_api = 1;
break;
}
if( $valid_api )
{
require_once( DOC_IPS_ROOT_PATH . 'interface/blog/apis/server_' . strtolower( $api ) . '.php' );
$webservice = new xmlrpc_server( $registry );
$webservice->classApiServer =& $server;
$server->addObjectMap( $webservice, 'UTF-8' );
//-----------------------------------------
// Process....
//-----------------------------------------
$server->getXmlRpc();
}
else
{
$server->apiSendError( 100, "Requested API not found" );
}
exit;