Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_100002;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_100014;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -38,7 +38,7 @@ class _Upgrade
|
||||
$offset = isset( \IPS\Request::i()->extra ) ? \IPS\Request::i()->extra : 0;
|
||||
|
||||
$select = \IPS\Db::i()->select( '*', 'nexus_ads', NULL, 'ad_id', array( $offset, 100 ) );
|
||||
if ( count( $select ) )
|
||||
if ( \count( $select ) )
|
||||
{
|
||||
\IPS\Settings::i()->changeValues( array( 'ads_exist' => 1 ) );
|
||||
|
||||
@@ -92,6 +92,6 @@ class _Upgrade
|
||||
*/
|
||||
public function step1CustomTitle()
|
||||
{
|
||||
return "Upgrading advertisements...";
|
||||
return "Upgrading advertisements";
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_100016;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -49,7 +49,7 @@ class _Upgrade
|
||||
*/
|
||||
public function step1CustomTitle()
|
||||
{
|
||||
return "Fixing package titles...";
|
||||
return "Fixing package titles";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -81,6 +81,6 @@ class _Upgrade
|
||||
*/
|
||||
public function step2CustomTitle()
|
||||
{
|
||||
return "Fixing settings...";
|
||||
return "Fixing settings";
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_100018;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_100028;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101000;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -31,9 +31,9 @@ class _Upgrade
|
||||
public function step1()
|
||||
{
|
||||
\IPS\Settings::i()->changeValues( array(
|
||||
'card_storage_gateways' => count( \IPS\nexus\Gateway::cardStorageGateways() ),
|
||||
'donation_goals' => count( \IPS\nexus\Donation\Goal::roots() ),
|
||||
'customer_fields' => count( \IPS\nexus\Customer\CustomField::roots() )
|
||||
'card_storage_gateways' => \count( \IPS\nexus\Gateway::cardStorageGateways() ),
|
||||
'donation_goals' => \count( \IPS\nexus\Donation\Goal::roots() ),
|
||||
'customer_fields' => \count( \IPS\nexus\Customer\CustomField::roots() )
|
||||
) );
|
||||
return TRUE;
|
||||
}
|
||||
@@ -167,7 +167,7 @@ class _Upgrade
|
||||
|
||||
$offset = isset( \IPS\Request::i()->extra ) ? \IPS\Request::i()->extra : 0;
|
||||
$select = \IPS\Db::i()->select( '*', 'nexus_shipping', NULL, 's_id', array( $offset, 100 ) );
|
||||
if ( count( $select ) )
|
||||
if ( \count( $select ) )
|
||||
{
|
||||
foreach ( $select as $row )
|
||||
{
|
||||
@@ -189,18 +189,18 @@ class _Upgrade
|
||||
break;
|
||||
// Invoice subtotal
|
||||
case 't':
|
||||
$min = array( \IPS\Settings::i()->nexus_currency => floatval( $value['value'] ) );
|
||||
$min = array( \IPS\Settings::i()->nexus_currency => \floatval( $value['value'] ) );
|
||||
break;
|
||||
// Total weight of items
|
||||
case 'w':
|
||||
$min = floatval( $value['value'] );
|
||||
$min = \floatval( $value['value'] );
|
||||
break;
|
||||
}
|
||||
|
||||
$decoded[ $k ] = array(
|
||||
'min' => $min,
|
||||
'max' => isset( $decoded[ $k + 1 ] ) ? array( \IPS\Settings::i()->nexus_currency => floatval( $decoded[ $k + 1 ]['value'] ) ) : '*',
|
||||
'price' => array( \IPS\Settings::i()->nexus_currency => floatval( $value['cost'] ) )
|
||||
'max' => isset( $decoded[ $k + 1 ] ) ? array( \IPS\Settings::i()->nexus_currency => \floatval( $decoded[ $k + 1 ]['value'] ) ) : '*',
|
||||
'price' => array( \IPS\Settings::i()->nexus_currency => \floatval( $value['cost'] ) )
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -224,7 +224,7 @@ class _Upgrade
|
||||
{
|
||||
foreach ( $locations as $i => $location )
|
||||
{
|
||||
if ( !in_array( $location, \IPS\GeoLocation::$states[ $countryCode ] ) )
|
||||
if ( !\in_array( $location, \IPS\GeoLocation::$states[ $countryCode ] ) )
|
||||
{
|
||||
if ( $key = array_search( $location, $statesFrom3[ $countryCode ] ) )
|
||||
{
|
||||
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101017;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -72,7 +72,7 @@ class _Upgrade
|
||||
}
|
||||
|
||||
$select = \IPS\Db::i()->select( '*', 'nexus_packages', NULL, 'p_id', array( $offset, 100 ) );
|
||||
if ( count( $select ) )
|
||||
if ( \count( $select ) )
|
||||
{
|
||||
foreach ( $select as $row )
|
||||
{
|
||||
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101021;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -32,7 +32,7 @@ class _Upgrade
|
||||
{
|
||||
$perCycle = 500;
|
||||
$did = 0;
|
||||
$limit = intval( \IPS\Request::i()->extra );
|
||||
$limit = \intval( \IPS\Request::i()->extra );
|
||||
$cutOff = \IPS\core\Setup\Upgrade::determineCutoff();
|
||||
|
||||
foreach( \IPS\Db::i()->select( '*', 'nexus_purchases', array( 'ps_invoice_pending!=?', 0 ), 'ps_id', array( $limit, $perCycle ) ) as $row )
|
||||
@@ -56,7 +56,7 @@ class _Upgrade
|
||||
}
|
||||
|
||||
/* If this purchase is listed in the list of renewal_ids, do nothing - the invoice is correct. */
|
||||
if ( in_array( $row['ps_id'], $pendingInvoice->renewal_ids ) )
|
||||
if ( \in_array( $row['ps_id'], $pendingInvoice->renewal_ids ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -95,7 +95,7 @@ class _Upgrade
|
||||
*/
|
||||
public function step2()
|
||||
{
|
||||
\IPS\Settings::i()->changeValues( array( 'billing_agreement_gateways' => count( \IPS\nexus\Gateway::billingAgreementGateways() ) ) );
|
||||
\IPS\Settings::i()->changeValues( array( 'billing_agreement_gateways' => \count( \IPS\nexus\Gateway::billingAgreementGateways() ) ) );
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101026;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -32,7 +32,7 @@ class _Upgrade
|
||||
{
|
||||
$perCycle = 500;
|
||||
$did = 0;
|
||||
$limit = intval( \IPS\Request::i()->extra );
|
||||
$limit = \intval( \IPS\Request::i()->extra );
|
||||
$cutOff = \IPS\core\Setup\Upgrade::determineCutoff();
|
||||
|
||||
foreach( \IPS\Db::i()->select( '*', 'nexus_customer_addresses', array(), NULL, array( $limit, $perCycle ) ) as $row )
|
||||
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101034;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -35,7 +35,7 @@ class _Upgrade
|
||||
'query' => "UPDATE " . \IPS\Db::i()->prefix . "nexus_donate_goals SET d_current=COALESCE( (SELECT SUM(dl_amount) FROM " . \IPS\Db::i()->prefix . "nexus_donate_logs WHERE " . \IPS\Db::i()->prefix . "nexus_donate_logs.dl_goal=" . \IPS\Db::i()->prefix . "nexus_donate_goals.d_id), 0)"
|
||||
) ) );
|
||||
|
||||
if ( count( $toRun ) )
|
||||
if ( \count( $toRun ) )
|
||||
{
|
||||
\IPS\core\Setup\Upgrade::adjustMultipleRedirect( array( 1 => 'nexus', 'extra' => array( '_upgradeStep' => 2 ) ) );
|
||||
|
||||
@@ -53,7 +53,7 @@ class _Upgrade
|
||||
*/
|
||||
public function step1CustomTitle()
|
||||
{
|
||||
return "Adjusting Nexus donation goals";
|
||||
return "Adjusting commerce donation goals";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -70,7 +70,7 @@ class _Upgrade
|
||||
'query' => "UPDATE " . \IPS\Db::i()->prefix . "nexus_support_requests SET r_severity={$defaultSeverity->id} WHERE r_severity=0"
|
||||
) ) );
|
||||
|
||||
if ( count( $toRun ) )
|
||||
if ( \count( $toRun ) )
|
||||
{
|
||||
\IPS\core\Setup\Upgrade::adjustMultipleRedirect( array( 1 => 'nexus', 'extra' => array( '_upgradeStep' => 3 ) ) );
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_10104;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -30,16 +30,16 @@ class _Upgrade
|
||||
*/
|
||||
public function step1()
|
||||
{
|
||||
$offset = isset( \IPS\Request::i()->extra ) ? intval( \IPS\Request::i()->extra ) : 0;
|
||||
$offset = isset( \IPS\Request::i()->extra ) ? \intval( \IPS\Request::i()->extra ) : 0;
|
||||
$pergo = 50;
|
||||
$select = \IPS\Db::i()->select( '*', 'nexus_invoices', NULL, 'i_id', array( $offset, $pergo ) );
|
||||
if ( count( $select ) )
|
||||
if ( \count( $select ) )
|
||||
{
|
||||
foreach ( $select as $row )
|
||||
{
|
||||
$items = \unserialize( $row['i_items'] );
|
||||
$renewalIds = array();
|
||||
if ( is_array( $items ) )
|
||||
if ( \is_array( $items ) )
|
||||
{
|
||||
foreach ( $items as $i )
|
||||
{
|
||||
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101042;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -32,7 +32,7 @@ class _Upgrade
|
||||
{
|
||||
$offset = isset( \IPS\Request::i()->extra ) ? \IPS\Request::i()->extra : 0;
|
||||
$select = \IPS\Db::i()->select( '*', 'nexus_purchases', NULL, 'ps_id', array( $offset, 500 ) );
|
||||
if ( count( $select ) )
|
||||
if ( \count( $select ) )
|
||||
{
|
||||
foreach ( $select as $row )
|
||||
{
|
||||
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101075;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101088;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -50,11 +50,11 @@ class _Upgrade
|
||||
\IPS\Db::i()->returnQuery = FALSE;
|
||||
}
|
||||
|
||||
if( count( $queries ) )
|
||||
if( \count( $queries ) )
|
||||
{
|
||||
$toRun = \IPS\core\Setup\Upgrade::runManualQueries( $queries );
|
||||
|
||||
if ( count( $toRun ) )
|
||||
if ( \count( $toRun ) )
|
||||
{
|
||||
\IPS\core\Setup\Upgrade::adjustMultipleRedirect( array( 1 => 'nexus', 'extra' => array( '_upgradeStep' => 2 ) ) );
|
||||
|
||||
@@ -90,7 +90,7 @@ class _Upgrade
|
||||
'query' => "ALTER TABLE " . \IPS\Db::i()->prefix . "core_members ADD COLUMN cm_return_group SMALLINT(3) NOT NULL DEFAULT 0;"
|
||||
) ) );
|
||||
|
||||
if ( count( $toRun ) )
|
||||
if ( \count( $toRun ) )
|
||||
{
|
||||
\IPS\core\Setup\Upgrade::adjustMultipleRedirect( array( 1 => 'nexus', 'extra' => array( '_upgradeStep' => 3 ) ) );
|
||||
|
||||
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_101100;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_102010;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -32,10 +32,7 @@ class _Upgrade
|
||||
{
|
||||
$support = new \IPS\nexus\extensions\core\FileStorage\Support;
|
||||
\IPS\Task::queue( 'core', 'RepairFileUrls', array( 'storageExtension' => 'filestorage__nexus_Support', 'count' => $support->count() ), 1 );
|
||||
|
||||
$purchase = new \IPS\nexus\extensions\core\FileStorage\PurchaseFields;
|
||||
\IPS\Task::queue( 'core', 'RepairFileUrls', array( 'storageExtension' => 'filestorage__nexus_PurchaseFields', 'count' => $purchase->count() ), 1 );
|
||||
|
||||
|
||||
$customer = new \IPS\nexus\extensions\core\FileStorage\Customer;
|
||||
\IPS\Task::queue( 'core', 'RepairFileUrls', array( 'storageExtension' => 'filestorage__nexus_Customer', 'count' => $customer->count() ), 1 );
|
||||
return TRUE;
|
||||
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_103000;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -69,9 +69,18 @@ class _Upgrade
|
||||
|
||||
unset( \IPS\Data\Store::i()->settings );
|
||||
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step2CustomTitle()
|
||||
{
|
||||
return 'Improving payment performance';
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the subscriptions menu item
|
||||
@@ -84,4 +93,14 @@ class _Upgrade
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step3CustomTitle()
|
||||
{
|
||||
return 'Adding subscriptions menu';
|
||||
}
|
||||
}
|
||||
Whitespace-only changes.
@@ -12,7 +12,7 @@
|
||||
namespace IPS\nexus\setup\upg_103003;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
@@ -69,6 +69,6 @@ class _Upgrade
|
||||
*/
|
||||
public function step1CustomTitle()
|
||||
{
|
||||
return 'Cleaning up orphaned Commerce packages';
|
||||
return 'Cleaning up orphaned commerce packages';
|
||||
}
|
||||
}
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,546 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "createTable",
|
||||
"params": [
|
||||
{
|
||||
"name": "nexus_customer_spend",
|
||||
"columns": {
|
||||
"spend_member_id": {
|
||||
"name": "spend_member_id",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "Member ID Number",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": true,
|
||||
"binary": false
|
||||
},
|
||||
"spend_amount": {
|
||||
"name": "spend_amount",
|
||||
"type": "DECIMAL",
|
||||
"length": 20,
|
||||
"decimals": 2,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": "0.00",
|
||||
"comment": "Total amount spent in a specific currency",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"spend_currency": {
|
||||
"name": "spend_currency",
|
||||
"type": "CHAR",
|
||||
"length": 3,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "Currency of customer spend",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
"spend_lookup": {
|
||||
"type": "unique",
|
||||
"name": "spend_lookup",
|
||||
"columns": [
|
||||
"spend_member_id",
|
||||
"spend_currency"
|
||||
],
|
||||
"length": [
|
||||
null,
|
||||
null
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"method": "createTable",
|
||||
"params": [
|
||||
{
|
||||
"name": "nexus_package_filters",
|
||||
"columns": {
|
||||
"pfilter_id": {
|
||||
"name": "pfilter_id",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "ID Number",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": true,
|
||||
"binary": false
|
||||
},
|
||||
"pfilter_order": {
|
||||
"name": "pfilter_order",
|
||||
"type": "INT",
|
||||
"length": 10,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "The position in the list of filters",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
"PRIMARY": {
|
||||
"type": "primary",
|
||||
"name": "PRIMARY",
|
||||
"columns": [
|
||||
"pfilter_id"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"3": {
|
||||
"method": "createTable",
|
||||
"params": [
|
||||
{
|
||||
"name": "nexus_package_filters_values",
|
||||
"columns": {
|
||||
"pfv_filter": {
|
||||
"name": "pfv_filter",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "The ID number of the filter",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"pfv_value": {
|
||||
"name": "pfv_value",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "The ID number of this value",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"pfv_lang": {
|
||||
"name": "pfv_lang",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "The ID number of the language for this value",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"pfv_text": {
|
||||
"name": "pfv_text",
|
||||
"type": "VARCHAR",
|
||||
"length": 255,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "The value (name in the specified language)",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"pfv_order": {
|
||||
"name": "pfv_order",
|
||||
"type": "INT",
|
||||
"length": 10,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": null,
|
||||
"comment": "The position amongst the values for this filter",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
"pfv_filter": {
|
||||
"type": "key",
|
||||
"name": "pfv_filter",
|
||||
"columns": [
|
||||
"pfv_filter"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
},
|
||||
"unique_lookup": {
|
||||
"type": "unique",
|
||||
"name": "unique_lookup",
|
||||
"columns": [
|
||||
"pfv_filter",
|
||||
"pfv_value",
|
||||
"pfv_lang"
|
||||
],
|
||||
"length": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"method": "addColumn",
|
||||
"params": [
|
||||
"nexus_package_groups",
|
||||
{
|
||||
"name": "pg_filters",
|
||||
"type": "TEXT",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "Comma-delimited list of filter IDs which apply in this group",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"5": {
|
||||
"method": "createTable",
|
||||
"params": [
|
||||
{
|
||||
"name": "nexus_package_filters_map",
|
||||
"columns": {
|
||||
"pfm_package": {
|
||||
"name": "pfm_package",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "The package ID",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"pfm_filter": {
|
||||
"name": "pfm_filter",
|
||||
"type": "BIGINT",
|
||||
"length": 20,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "The filter ID",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"pfm_values": {
|
||||
"name": "pfm_values",
|
||||
"type": "TEXT",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "Comma-delimited list of value IDs",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
"unique_lookup": {
|
||||
"type": "unique",
|
||||
"name": "unique_lookup",
|
||||
"columns": [
|
||||
"pfm_package",
|
||||
"pfm_filter"
|
||||
],
|
||||
"length": [
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"pfm_package": {
|
||||
"type": "key",
|
||||
"name": "pfm_package",
|
||||
"columns": [
|
||||
"pfm_package"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"6": {
|
||||
"method": "addColumn",
|
||||
"params": [
|
||||
"nexus_package_groups",
|
||||
{
|
||||
"name": "pg_price_filters",
|
||||
"type": "TEXT",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "JSON-encoded array of price filters",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"7": {
|
||||
"method": "changeColumn",
|
||||
"params": [
|
||||
"nexus_support_streams",
|
||||
"stream_started",
|
||||
{
|
||||
"name": "stream_started",
|
||||
"type": "VARCHAR",
|
||||
"length": 64,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "JSON array of number of hours to restrict started time to and sort direction, or NULL for no restriction",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"8": {
|
||||
"method": "changeColumn",
|
||||
"params": [
|
||||
"nexus_support_streams",
|
||||
"stream_last_reply",
|
||||
{
|
||||
"name": "stream_last_reply",
|
||||
"type": "VARCHAR",
|
||||
"length": 64,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "JSON array of number of hours to restrict last reply time to and sort direction, or NULL for no restriction",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"9": {
|
||||
"method": "changeColumn",
|
||||
"params": [
|
||||
"nexus_support_streams",
|
||||
"stream_last_staff_reply",
|
||||
{
|
||||
"name": "stream_last_staff_reply",
|
||||
"type": "VARCHAR",
|
||||
"length": 64,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "JSON array of number of hours to restrict last staff reply time to and sort direction, or NULL for no restriction",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"10": {
|
||||
"method": "changeColumn",
|
||||
"params": [
|
||||
"nexus_support_streams",
|
||||
"stream_last_new_reply",
|
||||
{
|
||||
"name": "stream_last_new_reply",
|
||||
"type": "VARCHAR",
|
||||
"length": 64,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "JSON array of number of hours to restrict reopened time to and sort direction, or NULL for no restriction",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"11": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_billing_agreements",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "member",
|
||||
"columns": [
|
||||
"ba_member"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"12": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_customer_cards",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "member",
|
||||
"columns": [
|
||||
"card_member"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"13": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_support_requests",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "r_staff",
|
||||
"columns": [
|
||||
"r_staff"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"14": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_support_requests",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "r_last_reply_by",
|
||||
"columns": [
|
||||
"r_last_reply_by"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"15": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_support_ratings",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "rating_from",
|
||||
"columns": [
|
||||
"rating_from"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"16": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_support_request_log",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "rlog_member",
|
||||
"columns": [
|
||||
"rlog_member"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"17": {
|
||||
"method": "update",
|
||||
"params": [
|
||||
"nexus_paymethods",
|
||||
{
|
||||
"m_countries": "*"
|
||||
},
|
||||
"m_countries='' OR m_countries IS NULL"
|
||||
]
|
||||
},
|
||||
"18": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_billing_agreements",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "next_cycle",
|
||||
"columns": [
|
||||
"ba_next_cycle"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 4.4.0 Beta 1 Upgrade Code
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
* @subpackage Commerce
|
||||
* @since 27 Jul 2018
|
||||
*/
|
||||
|
||||
namespace IPS\nexus\setup\upg_104000;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 4.4.0 Beta 1 Upgrade Code
|
||||
*/
|
||||
class _Upgrade
|
||||
{
|
||||
/**
|
||||
* Update Notification Settings
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function step1()
|
||||
{
|
||||
foreach ( explode( ',', \IPS\Settings::i()->nexus_hosting_error_emails ) as $email )
|
||||
{
|
||||
$member = \IPS\Member::load( $email, 'email' );
|
||||
if ( $member->member_id )
|
||||
{
|
||||
\IPS\Db::i()->insert( 'core_acp_notifications_preferences', array(
|
||||
'member' => $member->member_id,
|
||||
'type' => 'nexus_HostingError',
|
||||
'view' => 1,
|
||||
'email' => 'always'
|
||||
) );
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step1CustomTitle()
|
||||
{
|
||||
return "Updating AdminCP notifictions";
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the gift cards menu item
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function step2()
|
||||
{
|
||||
\IPS\core\FrontNavigation::insertMenuItem( NULL, array( 'app' => 'nexus', 'key' => 'Gifts' ), \IPS\Db::i()->select( 'MAX(position)', 'core_menu' )->first() );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step2CustomTitle()
|
||||
{
|
||||
return "Updating menu configuration";
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix missing currency columns
|
||||
*
|
||||
*/
|
||||
public function step3()
|
||||
{
|
||||
if ( $currencies = json_decode( \IPS\Settings::i()->nexus_currency, TRUE ) )
|
||||
{
|
||||
$definition = \IPS\Db::i()->getTableDefinition( 'nexus_package_base_prices' );
|
||||
|
||||
foreach ( $currencies as $code => $defaults )
|
||||
{
|
||||
/* Add the column if it doesn't exist */
|
||||
if ( !isset( $definition['columns'][ $code ] ) )
|
||||
{
|
||||
\IPS\Db::i()->addColumn( 'nexus_package_base_prices', array(
|
||||
'name' => $code,
|
||||
'type' => 'FLOAT'
|
||||
) );
|
||||
}
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step3CustomTitle()
|
||||
{
|
||||
return "Fixing missing currency columns";
|
||||
}
|
||||
|
||||
/**
|
||||
* Finish - This is run after all apps have been upgraded
|
||||
*
|
||||
* @return mixed If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
* @note We opted not to let users run this immediately during the upgrade because of potential issues (it taking a long time and users stopping it or getting frustrated) but we can revisit later
|
||||
*/
|
||||
public function finish()
|
||||
{
|
||||
/* Build total spend for customers */
|
||||
\IPS\Task::queue( 'nexus', 'RecountTotalSpend', array(), 3 );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 4.4.0 Beta 3 Upgrade Code
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
* @subpackage Commerce
|
||||
* @since 01 Feb 2019
|
||||
*/
|
||||
|
||||
namespace IPS\nexus\setup\upg_104002;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 4.4.0 Beta 3 Upgrade Code
|
||||
*/
|
||||
class _Upgrade
|
||||
{
|
||||
/**
|
||||
* Remove orphaned product options
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function step1()
|
||||
{
|
||||
\IPS\Db::i()->delete( 'nexus_product_options', array( 'opt_package NOT IN (?)', \IPS\Db::i()->select( 'p_id', 'nexus_packages' ) ) );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step1CustomTitle()
|
||||
{
|
||||
return "Removing orphaned product options";
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove orphaned product base prices
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function step2()
|
||||
{
|
||||
\IPS\Db::i()->delete( 'nexus_package_base_prices', array( 'id NOT IN (?)', \IPS\Db::i()->select( 'p_id', 'nexus_packages' ) ) );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step2CustomTitle()
|
||||
{
|
||||
return "Removing orphaned product base prices";
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove orphaned package images
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function step3()
|
||||
{
|
||||
$perCycle = 25;
|
||||
$did = 0;
|
||||
$limit = \intval( \IPS\Request::i()->extra );
|
||||
|
||||
/* Try to prevent timeouts to the extent possible */
|
||||
$cutOff = \IPS\core\Setup\Upgrade::determineCutoff();
|
||||
|
||||
foreach( \IPS\Db::i()->select( '*', 'nexus_package_images', array( 'image_product NOT IN (?)', \IPS\Db::i()->select( 'p_id', 'nexus_packages' ) ), 'image_id ASC', array( $limit, $perCycle ) ) as $image )
|
||||
{
|
||||
if( $cutOff !== null AND time() >= $cutOff )
|
||||
{
|
||||
return ( $limit + $did );
|
||||
}
|
||||
|
||||
$did++;
|
||||
|
||||
/* Delete the actual image */
|
||||
try
|
||||
{
|
||||
\IPS\File::get( 'nexus_Products', $image['image_location'] )->delete();
|
||||
}
|
||||
catch( \Exception $e ) {}
|
||||
}
|
||||
|
||||
if( $did )
|
||||
{
|
||||
return ( $limit + $did );
|
||||
}
|
||||
else
|
||||
{
|
||||
\IPS\Db::i()->delete( 'nexus_package_images', array( 'image_product NOT IN (?)', \IPS\Db::i()->select( 'p_id', 'nexus_packages' ) ) );
|
||||
|
||||
unset( $_SESSION['_step3Count'] );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step3CustomTitle()
|
||||
{
|
||||
$limit = isset( \IPS\Request::i()->extra ) ? \IPS\Request::i()->extra : 0;
|
||||
|
||||
if( !isset( $_SESSION['_step3Count'] ) )
|
||||
{
|
||||
$_SESSION['_step3Count'] = \IPS\Db::i()->select( 'COUNT(*)', 'nexus_package_images', array( 'image_product NOT IN (?)', \IPS\Db::i()->select( 'p_id', 'nexus_packages' ) ) )->first();
|
||||
}
|
||||
|
||||
return "Removing orphaned package images (Removed so far: " . ( ( $limit > $_SESSION['_step3Count'] ) ? $_SESSION['_step3Count'] : $limit ) . ' out of ' . $_SESSION['_step3Count'] . ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "delete",
|
||||
"params": [
|
||||
"core_sys_lang_words",
|
||||
[
|
||||
"word_key=?",
|
||||
"account_cpanel_control_panel"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "addColumn",
|
||||
"params": [
|
||||
"nexus_member_subscription_packages",
|
||||
{
|
||||
"name": "sp_renew_upgrade",
|
||||
"type": "TINYINT",
|
||||
"length": 2,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": "0",
|
||||
"comment": "Upgrade options for non-renewable subscriptions",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 4.4.3 Beta 1 Upgrade Code
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
* @subpackage Commerce
|
||||
* @since 15 Mar 2019
|
||||
*/
|
||||
|
||||
namespace IPS\nexus\setup\upg_104021;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 4.4.3 Beta 1 Upgrade Code
|
||||
*/
|
||||
class _Upgrade
|
||||
{
|
||||
/**
|
||||
* Repair Custom Field URLs
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function finish()
|
||||
{
|
||||
\IPS\Task::queue( 'nexus', 'FixMissingAddresses', array(), 5 );
|
||||
|
||||
$purchase = new \IPS\nexus\extensions\core\FileStorage\PurchaseFields;
|
||||
\IPS\Task::queue( 'core', 'RepairFileUrls', array( 'storageExtension' => 'filestorage__nexus_PurchaseFields', 'count' => $purchase->count() ), 1 );
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "update",
|
||||
"params": [
|
||||
"nexus_purchases",
|
||||
{
|
||||
"ps_active": 0
|
||||
},
|
||||
[
|
||||
"ps_cancelled=?",
|
||||
1
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "delete",
|
||||
"params": [
|
||||
"core_tasks",
|
||||
[
|
||||
"app=? AND `key`=?",
|
||||
"nexus",
|
||||
"billingAgreements"
|
||||
]
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"method": "delete",
|
||||
"params": [
|
||||
"core_tasks",
|
||||
[
|
||||
"app=? AND `key`=?",
|
||||
"nexus",
|
||||
"gatewayPending"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 4.4.9 Beta 1 Upgrade Code
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
* @subpackage Commerce
|
||||
* @since 18 Nov 2019
|
||||
*/
|
||||
|
||||
namespace IPS\nexus\setup\upg_104048;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 4.4.9 Beta 1 Upgrade Code
|
||||
*/
|
||||
class _Upgrade
|
||||
{
|
||||
/**
|
||||
* Fix nexus_support_departments, if needed and add a webhook to PayPal
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function step1()
|
||||
{
|
||||
|
||||
foreach ( \IPS\nexus\Gateway::roots() as $method )
|
||||
{
|
||||
if ( $method instanceof \IPS\nexus\Gateway\PayPal )
|
||||
{
|
||||
try
|
||||
{
|
||||
$newSettings = $method->testSettings( json_decode( $method->settings, TRUE ) );
|
||||
$method->settings = json_encode( $newSettings );
|
||||
$method->save();
|
||||
}
|
||||
catch ( \Exception $e )
|
||||
{
|
||||
\IPS\core\AdminNotification::send( 'nexus', 'ConfigurationError', "pm{$method->id}", FALSE );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( ( $currencies = json_decode( \IPS\Settings::i()->nexus_currency, TRUE ) ) === NULL )
|
||||
{
|
||||
if( \IPS\Settings::i()->nexus_currency and \IPS\Db::i()->checkForColumn( 'nexus_support_departments', \IPS\Settings::i()->nexus_currency ) )
|
||||
{
|
||||
\IPS\Db::i()->dropColumn( 'nexus_support_departments', \IPS\Settings::i()->nexus_currency );
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 4.4.10 Beta 1 Upgrade Code
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
* @subpackage Commerce
|
||||
* @since 09 Jan 2020
|
||||
*/
|
||||
|
||||
namespace IPS\nexus\setup\upg_104057;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 4.4.10 Beta 1 Upgrade Code
|
||||
*/
|
||||
class _Upgrade
|
||||
{
|
||||
/**
|
||||
* Chexk Stripe's webhook settings
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function step1()
|
||||
{
|
||||
foreach ( \IPS\nexus\Gateway::roots() as $method )
|
||||
{
|
||||
if ( $method instanceof \IPS\nexus\Gateway\Stripe )
|
||||
{
|
||||
try
|
||||
{
|
||||
$newSettings = $method->testSettings( json_decode( $method->settings, TRUE ) );
|
||||
$method->settings = json_encode( $newSettings );
|
||||
$method->save();
|
||||
}
|
||||
catch ( \Exception $e )
|
||||
{
|
||||
\IPS\core\AdminNotification::send( 'nexus', 'ConfigurationError', "pm{$method->id}", FALSE );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
{
|
||||
"added": [
|
||||
"app=core&module=applications&controller=enhancements&do=edit&id=nexus_EasyPost&searchResult=form_easypost_enable",
|
||||
"app=core&module=applications&controller=enhancements&do=edit&id=nexus_Enom&searchResult=form_nexus_enom_un",
|
||||
"app=core&module=applications&controller=enhancements&do=edit&id=nexus_MaxMind&searchResult=form_maxmind_enable",
|
||||
"app=nexus&module=customers&controller=fields",
|
||||
"app=nexus&module=customers&controller=search",
|
||||
"app=nexus&module=hosting&controller=errors",
|
||||
"app=nexus&module=hosting&controller=monitoring",
|
||||
"app=nexus&module=hosting&controller=monitoring&searchResult=form_monitoring_on",
|
||||
"app=nexus&module=hosting&controller=monitoring&searchResult=network_status",
|
||||
"app=nexus&module=hosting&controller=monitoring&tab=eom",
|
||||
"app=nexus&module=hosting&controller=monitoring&tab=settings",
|
||||
"app=nexus&module=hosting&controller=queues",
|
||||
"app=nexus&module=hosting&controller=servers",
|
||||
"app=nexus&module=hosting&controller=settings",
|
||||
"app=nexus&module=hosting&controller=settings&searchResult=form_domain_options",
|
||||
"app=nexus&module=hosting&controller=settings&searchResult=form_nexus_hosting_terminate",
|
||||
"app=nexus&module=hosting&controller=settings&searchResult=nexus_hosting_nameservers",
|
||||
"app=nexus&module=hosting&controller=settings&searchResult=nexus_hosting_subdomains",
|
||||
"app=nexus&module=payments&controller=donations",
|
||||
"app=nexus&module=payments&controller=invoices",
|
||||
"app=nexus&module=payments&controller=invoices&do=settings&searchResult=form_cm_invoice_expireafter",
|
||||
"app=nexus&module=payments&controller=invoices&do=settings&searchResult=form_cm_invoice_generate",
|
||||
"app=nexus&module=payments&controller=invoices&do=settings&searchResult=form_cm_invoice_warning",
|
||||
"app=nexus&module=payments&controller=invoices&do=settings&searchResult=form_nexus_invoice_footer",
|
||||
"app=nexus&module=payments&controller=invoices&do=settings&searchResult=form_nexus_invoice_header",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=checkoutsettings",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=checkoutsettings&searchResult=form_nexus_checkreg_captcha",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=checkoutsettings&searchResult=form_nexus_checkreg_usernames",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=checkoutsettings&searchResult=form_nexus_checkreg_validate",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=checkoutsettings&searchResult=form_nexus_require_billing",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=checkoutsettings&searchResult=form_nexus_split_payments_on",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=checkoutsettings&searchResult=form_nexus_tac",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=checkoutsettings&searchResult=nexus_split_payments",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=currencies",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=emails",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=emails&searchResult=form_nexus_notify_copy_email",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=emails&searchResult=form_nexus_notify_copy_types",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=fraud",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=gateways",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=review",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=review&searchResult=form_nexus_revw_sa_on",
|
||||
"app=nexus&module=payments&controller=paymentsettings&tab=tax",
|
||||
"app=nexus&module=payments&controller=payouts",
|
||||
"app=nexus&module=payments&controller=payouts&do=settings",
|
||||
"app=nexus&module=payments&controller=payouts&do=settings&searchResult=form_allow_topups",
|
||||
"app=nexus&module=payments&controller=payouts&do=settings&searchResult=form_nexus_no_commission",
|
||||
"app=nexus&module=payments&controller=payouts&do=settings&searchResult=form_nexus_payout",
|
||||
"app=nexus&module=payments&controller=payouts&do=settings&searchResult=nexus_max_credit",
|
||||
"app=nexus&module=payments&controller=payouts&do=settings&searchResult=nexus_payout_approve",
|
||||
"app=nexus&module=payments&controller=payouts&do=settings&searchResult=nexus_payout_min",
|
||||
"app=nexus&module=payments&controller=shipping",
|
||||
"app=nexus&module=payments&controller=shippingrates",
|
||||
"app=nexus&module=payments&controller=transactions",
|
||||
"app=nexus&module=reports&controller=income",
|
||||
"app=nexus&module=reports&controller=income&tab=totals",
|
||||
"app=nexus&module=reports&controller=income&tab=USD",
|
||||
"app=nexus&module=reports&controller=markets",
|
||||
"app=nexus&module=reports&controller=markets&tab=count",
|
||||
"app=nexus&module=reports&controller=markets&tab=USD",
|
||||
"app=nexus&module=reports&controller=purchases",
|
||||
"app=nexus&module=store&controller=coupons",
|
||||
"app=nexus&module=store&controller=fields",
|
||||
"app=nexus&module=store&controller=packages",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_cm_protected",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_gift_vouchers",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_gift_vouchers_free",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_minimum_order",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_reg_force",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_show_stock",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_show_tax",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_store_new",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_store_popular",
|
||||
"app=nexus&module=store&controller=settings&searchResult=form_nexus_tax_explain",
|
||||
"app=nexus&module=subscriptions&controller=subscribers",
|
||||
"app=nexus&module=subscriptions&controller=subscriptions",
|
||||
"app=nexus&module=subscriptions&controller=subscriptions&do=settings&searchResult=nexus_subs_enabled",
|
||||
"app=nexus&module=support&controller=reports",
|
||||
"app=nexus&module=support&controller=reports&tab=feedback_ratings",
|
||||
"app=nexus&module=support&controller=reports&tab=latest_feedback",
|
||||
"app=nexus&module=support&controller=reports&tab=overview",
|
||||
"app=nexus&module=support&controller=reports&tab=replies",
|
||||
"app=nexus&module=support&controller=requests",
|
||||
"app=nexus&module=support&controller=settings&tab=autoresolve",
|
||||
"app=nexus&module=support&controller=settings&tab=customerfeedback",
|
||||
"app=nexus&module=support&controller=settings&tab=departments",
|
||||
"app=nexus&module=support&controller=settings&tab=fields",
|
||||
"app=nexus&module=support&controller=settings&tab=incomingemail",
|
||||
"app=nexus&module=support&controller=settings&tab=outgoingemail",
|
||||
"app=nexus&module=support&controller=settings&tab=outgoingemail&searchResult=form_nexus_sout_autoreply",
|
||||
"app=nexus&module=support&controller=settings&tab=outgoingemail&searchResult=form_nexus_sout_chrome",
|
||||
"app=nexus&module=support&controller=settings&tab=outgoingemail&searchResult=form_nexus_sout_from",
|
||||
"app=nexus&module=support&controller=settings&tab=severities",
|
||||
"app=nexus&module=support&controller=settings&tab=statuses",
|
||||
"app=nexus&module=support&controller=settings&tab=stockactions",
|
||||
"app=nexus&module=support&controller=volume"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105013,
|
||||
"name": "4.5.0 Beta 1",
|
||||
"steps": {
|
||||
"queries": true,
|
||||
"lang": true,
|
||||
"theme": true,
|
||||
"themeSettings": true,
|
||||
"javascript": true,
|
||||
"emailTemplates": true,
|
||||
"hooks": true,
|
||||
"acpSearchKeywords": true,
|
||||
"settings": true,
|
||||
"tasks": true,
|
||||
"modules": true,
|
||||
"widgets": true,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": true
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"added": [],
|
||||
"edited": [
|
||||
"newInvoice"
|
||||
],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"added": [
|
||||
"clientAreaLink",
|
||||
"clientAreaLinkLoad",
|
||||
"frontDispatcher",
|
||||
"register",
|
||||
"Database",
|
||||
"DispatcherAdmin"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"files": {
|
||||
"added": [
|
||||
"nexus\/global\/controllers\/forms\/ips.forms.businessAddressVat.js"
|
||||
],
|
||||
"edited": [
|
||||
"nexus\/admin\/controllers\/support\/ips.support.list.js",
|
||||
"nexus\/admin\/controllers\/support\/ips.support.request.js"
|
||||
],
|
||||
"removed": [
|
||||
"nexus\/front\/controllers\/clients\/ips.clients.referrals.js"
|
||||
]
|
||||
},
|
||||
"orders": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"global\/\/dev\/js\/\/library\/\/jquery"
|
||||
],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"normal": {
|
||||
"added": [
|
||||
"renew_weeks",
|
||||
"mass_manage_productgroups",
|
||||
"node_move_products",
|
||||
"products_delete_content",
|
||||
"gateway_deleted",
|
||||
"gateway_deprecated",
|
||||
"tstatus_okay_deleted",
|
||||
"invoice_unpaid_unassociate",
|
||||
"cm_invoice_generate_desc",
|
||||
"invoice_timeline_warning_time_h",
|
||||
"invoice_timeline_generate_time_h",
|
||||
"tax_rate_explain",
|
||||
"tax_rate_consumer",
|
||||
"tax_rate_business",
|
||||
"tax_rate_eu",
|
||||
"tax_rate_type",
|
||||
"tax_rate_type_single",
|
||||
"tax_rate_type_single_desc",
|
||||
"tax_rate_type_business",
|
||||
"tax_rate_type_business_desc",
|
||||
"tax_rate_type_eu",
|
||||
"tax_rate_type_eu_desc",
|
||||
"tax_basic_settings",
|
||||
"tax_default_single",
|
||||
"tax_default_consumer",
|
||||
"tax_default_business",
|
||||
"tax_default_eu",
|
||||
"confirm_and_no_pay",
|
||||
"cm_address_business",
|
||||
"cm_business_name",
|
||||
"cm_business_name_required",
|
||||
"cm_address_consumer",
|
||||
"cm_checkout_vat_number",
|
||||
"cm_checkout_vat_invalid",
|
||||
"cm_checkout_vat_wrong_country",
|
||||
"cm_checkout_vat_error",
|
||||
"mass_change_all_purchases",
|
||||
"mass_change_purchases_explain",
|
||||
"mass_change_purchases_type",
|
||||
"mass_change_purchases_change",
|
||||
"mass_change_purchases_expire",
|
||||
"mass_change_purchases_expire_desc",
|
||||
"mass_change_purchases_cancel",
|
||||
"mass_change_purchases_cancel_desc",
|
||||
"mass_change_purchases_to",
|
||||
"mass_change_purchases_to_desc",
|
||||
"mass_change_purchases_terms",
|
||||
"mass_change_purchases_terms_keep",
|
||||
"mass_change_purchases_terms_change",
|
||||
"mass_change_purchases_no_renewals",
|
||||
"mass_change_purchases_override",
|
||||
"mass_change_purchases_override_desc",
|
||||
"mass_change_purchases_confirm",
|
||||
"mass_change_purchases_in_progress",
|
||||
"mass_change_purchases_in_progress_text",
|
||||
"p_initial_term",
|
||||
"p_initial_term_desc",
|
||||
"p_store_desc",
|
||||
"product_delete_review",
|
||||
"product_delete_review_desc",
|
||||
"product_delete_review_complete",
|
||||
"product_delete_hide_desc",
|
||||
"product_delete_hide_1",
|
||||
"product_delete_hide_2",
|
||||
"product_delete_hide_3",
|
||||
"product_delete_edit",
|
||||
"product_ba_warning_tax",
|
||||
"product_count_purchases",
|
||||
"product_count_active",
|
||||
"product_count_expired",
|
||||
"product_count_expired_split",
|
||||
"product_count_canceled",
|
||||
"product_count_canceled_split",
|
||||
"product_purchasable",
|
||||
"product_not_purchasable",
|
||||
"product_upgradeable",
|
||||
"product_downgradeable",
|
||||
"product_not_upgradeable",
|
||||
"term_no_renewals",
|
||||
"term_same_as_initial",
|
||||
"term_same_as_renewal",
|
||||
"then_renewal",
|
||||
"package_initial_term",
|
||||
"package_initial_term_title",
|
||||
"package_subsequent_term",
|
||||
"package_subsequent_term_title",
|
||||
"nexus_hosting_deprecated",
|
||||
"referral_commission",
|
||||
"ref_no_cond",
|
||||
"sp_enabled_desc",
|
||||
"sp_renew_options_desc",
|
||||
"acplog__subscription_settings",
|
||||
"stats_overview_products",
|
||||
"stats_overview_subscriptions",
|
||||
"stats_overview_subs_head",
|
||||
"stats_overview_products_head",
|
||||
"nexus_sub_cost_free"
|
||||
],
|
||||
"edited": [
|
||||
"renew_option",
|
||||
"paypal_billing_agreements",
|
||||
"paypal_billing_agreements_req",
|
||||
"paypal_billing_agreements_req_desc",
|
||||
"paypal_billing_agreements_opt",
|
||||
"paypal_billing_agreements_dis",
|
||||
"paypal_billing_agreement_allowed_fails",
|
||||
"stripe_webhook_invalid",
|
||||
"stripe_dispute_status_under_review",
|
||||
"refund_cancel_billing_agreement",
|
||||
"refund_cancel_billing_agreement_desc",
|
||||
"refund_cancel_billing_agreement_warning",
|
||||
"nexus_require_billing_gift",
|
||||
"nexus_require_billing_desc",
|
||||
"cm_invoice_generate_suffix",
|
||||
"cm_invoice_warning_suffix",
|
||||
"cm_invoice_warning_desc",
|
||||
"invoice_timeline_generate_event",
|
||||
"invoice_timeline_ba_warn_event",
|
||||
"invoice_timeline_grace_event",
|
||||
"ba_gw_id",
|
||||
"billing_agreement_id",
|
||||
"billing_agreement_details",
|
||||
"billing_agreement_no_member",
|
||||
"billing_agreement_error",
|
||||
"billing_agreement_cancel_error",
|
||||
"task__billingAgreements",
|
||||
"billing_agreement_run_failed",
|
||||
"billing_agreement_suspend_confirm",
|
||||
"r__billingagreements",
|
||||
"r__billingagreements_view",
|
||||
"r__billingagreements_manage",
|
||||
"history_billingagreement_suspend",
|
||||
"history_billingagreement_reactivate",
|
||||
"history_billingagreement_cancel",
|
||||
"billing_agreement_purchase_info",
|
||||
"gateway_ba_delete_blurb",
|
||||
"delete_gateway_with_bas",
|
||||
"tax_default_desc",
|
||||
"void_cancel_billing_agreements",
|
||||
"num_billing_agreements",
|
||||
"customer_manage_paypal",
|
||||
"billing_agreements",
|
||||
"no_billing_agreements",
|
||||
"customer_tab_paypal",
|
||||
"ps_billing_agreement",
|
||||
"not_with_billing_agreement",
|
||||
"payout_description",
|
||||
"p_allow_upgrading_desc",
|
||||
"p_allow_downgrading_desc",
|
||||
"p_email_expire_soon_type_desc",
|
||||
"change_renew_ba_blurb",
|
||||
"change_renew_ba_skip",
|
||||
"change_renew_ba_cancel",
|
||||
"product_delete_blurb",
|
||||
"product_delete_hide",
|
||||
"client_billing_agreements",
|
||||
"billing_agreements_title",
|
||||
"billing_agreements_info",
|
||||
"billing_agreements_none",
|
||||
"billing_agreement",
|
||||
"view_billing_agreement",
|
||||
"email_expire_warning_billing_agreement",
|
||||
"emailtpl_giftVoucher",
|
||||
"block_featuredProduct",
|
||||
"block_featuredProduct_desc",
|
||||
"MFA_nexus_BillingAgreements",
|
||||
"log_type_title_giftvoucher",
|
||||
"log_type_title_billingagreement",
|
||||
"sp_enabled",
|
||||
"nexus_sub_cost_plus_renewal",
|
||||
"acpNotification_nexusBACancelErrors",
|
||||
"acp_notification_nexus_bacancelerror_desc",
|
||||
"emailstats__giftVoucher"
|
||||
],
|
||||
"removed": [
|
||||
"filestorage__nexus_ReferralBanners",
|
||||
"num_refer_count",
|
||||
"customer_manage_referrers",
|
||||
"no_referrals",
|
||||
"referred_by",
|
||||
"customer_tab_referrers",
|
||||
"r__referrals",
|
||||
"r__referrals_manage",
|
||||
"r__referrals_banners",
|
||||
"referrals",
|
||||
"referrals_desc",
|
||||
"commission_rules_blurb",
|
||||
"cm_ref_on",
|
||||
"cm_ref_on_desc",
|
||||
"referral_banners",
|
||||
"referral_banners_blurb",
|
||||
"referral_link",
|
||||
"referral_directlink",
|
||||
"referral_html",
|
||||
"referral_bbcode",
|
||||
"sp_renew_upgrade_desc"
|
||||
]
|
||||
},
|
||||
"js": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"added": [
|
||||
"front\/store",
|
||||
"front\/checkout",
|
||||
"front\/support",
|
||||
"front\/clients",
|
||||
"front\/promotion",
|
||||
"front\/subscriptions",
|
||||
"admin\/payments",
|
||||
"admin\/customers",
|
||||
"admin\/support",
|
||||
"admin\/store",
|
||||
"admin\/hosting",
|
||||
"admin\/reports",
|
||||
"admin\/subscriptions"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,161 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "delete",
|
||||
"params": [
|
||||
"core_sys_lang_words",
|
||||
[
|
||||
"word_app='nexus' AND word_key IN( 'filestorage__nexus_ReferralBanners','customer_manage_referrers','no_referrals','r__referrals','r__referrals_manage','r__referrals_banners','referrals_desc','cm_ref_on','cm_ref_on_desc','referral_banners','referral_banners_blurb','referral_link','referral_directlink','referral_html','referral_bbcode' )"
|
||||
]
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"method": "changeColumn",
|
||||
"params": [
|
||||
"nexus_package_groups",
|
||||
"pg_seo_name",
|
||||
{
|
||||
"name": "pg_seo_name",
|
||||
"type": "VARCHAR",
|
||||
"length": 255,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"3": {
|
||||
"method": "dropTable",
|
||||
"params": [
|
||||
"nexus_referrals",
|
||||
true
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"method": "dropTable",
|
||||
"params": [
|
||||
"nexus_referral_banners",
|
||||
true
|
||||
]
|
||||
},
|
||||
"5": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_transactions",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "t_auth",
|
||||
"columns": [
|
||||
"t_auth"
|
||||
],
|
||||
"length": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"6": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_purchases",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "ps_expire",
|
||||
"columns": [
|
||||
"ps_active",
|
||||
"ps_expire",
|
||||
"ps_grace_period"
|
||||
],
|
||||
"length": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"7": {
|
||||
"method": "addIndex",
|
||||
"params": [
|
||||
"nexus_packages",
|
||||
{
|
||||
"type": "key",
|
||||
"name": "p_store",
|
||||
"columns": [
|
||||
"p_store",
|
||||
"p_date_added"
|
||||
],
|
||||
"length": [
|
||||
null,
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"8": {
|
||||
"method": "addColumn",
|
||||
"params": [
|
||||
"nexus_tax",
|
||||
{
|
||||
"name": "t_type",
|
||||
"type": "ENUM",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": [
|
||||
"single",
|
||||
"business",
|
||||
"eu"
|
||||
],
|
||||
"allow_null": false,
|
||||
"default": "single",
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"9": {
|
||||
"method": "addColumn",
|
||||
"params": [
|
||||
"nexus_packages",
|
||||
{
|
||||
"name": "p_initial_term",
|
||||
"type": "VARCHAR",
|
||||
"length": 32,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"10": {
|
||||
"method": "changeColumn",
|
||||
"params": [
|
||||
"nexus_packages",
|
||||
"p_meta_data",
|
||||
{
|
||||
"name": "p_meta_data",
|
||||
"type": "TINYINT",
|
||||
"length": 1,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": false,
|
||||
"default": "0",
|
||||
"comment": "",
|
||||
"unsigned": true,
|
||||
"auto_increment": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"added": [
|
||||
"billing_agreement_gateways",
|
||||
"card_storage_gateways",
|
||||
"cm_invoice_expireafter",
|
||||
"cm_invoice_generate",
|
||||
"cm_invoice_warning",
|
||||
"cm_protected",
|
||||
"customer_fields",
|
||||
"donation_goals",
|
||||
"easypost_address",
|
||||
"easypost_api_key",
|
||||
"easypost_delivery_adjustment",
|
||||
"easypost_phone",
|
||||
"easypost_price_adjustment",
|
||||
"easypost_show_rates",
|
||||
"easypost_tax",
|
||||
"gateways_counts",
|
||||
"idm_nexus_display",
|
||||
"idm_nexus_gateways",
|
||||
"idm_nexus_on",
|
||||
"idm_nexus_percent",
|
||||
"idm_nexus_tax",
|
||||
"idm_nexus_transfee",
|
||||
"maxmind_error",
|
||||
"maxmind_gateways",
|
||||
"maxmind_key",
|
||||
"monitoring_alert",
|
||||
"monitoring_allowed_fails",
|
||||
"monitoring_backup",
|
||||
"monitoring_from",
|
||||
"monitoring_panic",
|
||||
"monitoring_script",
|
||||
"network_status",
|
||||
"nexus_autoresolve_applicable",
|
||||
"nexus_autoresolve_days",
|
||||
"nexus_autoresolve_departments",
|
||||
"nexus_autoresolve_notify",
|
||||
"nexus_autoresolve_status",
|
||||
"nexus_checkreg_captcha",
|
||||
"nexus_checkreg_usernames",
|
||||
"nexus_checkreg_validate",
|
||||
"nexus_com_rules",
|
||||
"nexus_currency",
|
||||
"nexus_domain_prices",
|
||||
"nexus_domain_tax",
|
||||
"nexus_donate_loggedin",
|
||||
"nexus_enom_pw",
|
||||
"nexus_enom_un",
|
||||
"nexus_gift_vouchers",
|
||||
"nexus_gift_vouchers_free",
|
||||
"nexus_hosting_allow_change_domain",
|
||||
"nexus_hosting_allow_own_domain",
|
||||
"nexus_hosting_bandwidth",
|
||||
"nexus_hosting_error_emails",
|
||||
"nexus_hosting_nameservers",
|
||||
"nexus_hosting_own_domain_sub",
|
||||
"nexus_hosting_own_domains",
|
||||
"nexus_hosting_subdomains",
|
||||
"nexus_hosting_terminate",
|
||||
"nexus_invoice_footer",
|
||||
"nexus_invoice_header",
|
||||
"nexus_max_credit",
|
||||
"nexus_min_topup",
|
||||
"nexus_minimum_order",
|
||||
"nexus_no_commission",
|
||||
"nexus_notify_copy_email",
|
||||
"nexus_notify_copy_types",
|
||||
"nexus_payout",
|
||||
"nexus_payout_approve",
|
||||
"nexus_payout_max",
|
||||
"nexus_payout_max_period",
|
||||
"nexus_payout_min",
|
||||
"nexus_reg_force",
|
||||
"nexus_reg_group",
|
||||
"nexus_require_billing",
|
||||
"nexus_revw_sa",
|
||||
"nexus_severities",
|
||||
"nexus_show_renew_option_savings",
|
||||
"nexus_show_stock",
|
||||
"nexus_show_tax",
|
||||
"nexus_sout_autoreply",
|
||||
"nexus_sout_chrome",
|
||||
"nexus_sout_from",
|
||||
"nexus_split_payments",
|
||||
"nexus_store_new",
|
||||
"nexus_store_popular",
|
||||
"nexus_subs_downgrade",
|
||||
"nexus_subs_enabled",
|
||||
"nexus_subs_exclude_groups",
|
||||
"nexus_subs_invoice_grace",
|
||||
"nexus_subs_register",
|
||||
"nexus_subs_show_public",
|
||||
"nexus_subs_upgrade",
|
||||
"nexus_support_satisfaction",
|
||||
"nexus_tac",
|
||||
"nexus_tac_link",
|
||||
"reply_request_resolved"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"added": [
|
||||
"capture",
|
||||
"sendInvoiceWarnings",
|
||||
"generateRenewalInvoices",
|
||||
"expirePurchases",
|
||||
"expireInvoices",
|
||||
"supportAutoresolve",
|
||||
"supportAssignedReminder",
|
||||
"monitor",
|
||||
"terminateHosting",
|
||||
"expectedOutputMonitoring",
|
||||
"cartCleanup"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [
|
||||
"global\/forms\/businessAddress",
|
||||
"front\/global\/referralRulesCommission",
|
||||
"admin\/global\/vatNumber",
|
||||
"front\/store\/packageBlockPrice",
|
||||
"admin\/store\/productDeleteWarning",
|
||||
"admin\/store\/productRowHtml",
|
||||
"admin\/store\/productTaxWarning",
|
||||
"front\/store\/subscriptionPurchase"
|
||||
],
|
||||
"edited": [
|
||||
"admin\/billingagreements\/view",
|
||||
"front\/checkout\/changeShippingAddressForm",
|
||||
"front\/checkout\/confirmAndPay",
|
||||
"front\/checkout\/customerInformation",
|
||||
"front\/checkout\/paymentForm",
|
||||
"front\/clients\/address",
|
||||
"front\/clients\/addresses",
|
||||
"front\/clients\/alternatives",
|
||||
"front\/clients\/billingAgreement",
|
||||
"front\/clients\/billingAgreements",
|
||||
"front\/clients\/cards",
|
||||
"front\/clients\/invoice",
|
||||
"front\/clients\/invoices",
|
||||
"front\/clients\/purchase",
|
||||
"front\/clients\/purchaseList",
|
||||
"admin\/customers\/accountInformation",
|
||||
"admin\/customers\/accountInformationOverview",
|
||||
"admin\/customers\/notes",
|
||||
"admin\/customers\/numberOfPurchasesField",
|
||||
"admin\/customers\/purchaseValueField",
|
||||
"admin\/customers\/support",
|
||||
"global\/forms\/renewalTerm",
|
||||
"front\/global\/commentTableHeader",
|
||||
"front\/global\/embedProduct",
|
||||
"front\/global\/embedProductReview",
|
||||
"front\/global\/searchResultProductSnippet",
|
||||
"admin\/hosting\/viewAccounts",
|
||||
"admin\/invoices\/invoiceTimeline",
|
||||
"global\/invoices\/printInvoice",
|
||||
"admin\/invoices\/unpaidConsequences",
|
||||
"admin\/invoices\/view",
|
||||
"admin\/notifications\/support",
|
||||
"admin\/notifications\/transactions",
|
||||
"admin\/purchases\/advertisement",
|
||||
"admin\/purchases\/hosting",
|
||||
"admin\/purchases\/hostingNoConnect",
|
||||
"admin\/purchases\/hostingSupport",
|
||||
"admin\/purchases\/lkey",
|
||||
"admin\/purchases\/noLkey",
|
||||
"admin\/purchases\/view",
|
||||
"admin\/shiporders\/view",
|
||||
"front\/store\/cartContents",
|
||||
"front\/store\/category",
|
||||
"front\/store\/chooseCurrency",
|
||||
"front\/store\/giftCard",
|
||||
"front\/store\/giftCardForm",
|
||||
"front\/store\/package",
|
||||
"front\/store\/packageBlock",
|
||||
"front\/store\/packageBlockWidget",
|
||||
"front\/store\/packageRow",
|
||||
"front\/store\/price",
|
||||
"front\/store\/priceDiscounted",
|
||||
"front\/store\/reviews",
|
||||
"admin\/subscription\/disabled",
|
||||
"front\/subscription\/profileSubscription",
|
||||
"front\/subscription\/row",
|
||||
"front\/subscription\/rows",
|
||||
"front\/subscription\/table",
|
||||
"admin\/support\/filterForm",
|
||||
"admin\/support\/filterFormStream",
|
||||
"admin\/support\/myHistory",
|
||||
"front\/support\/ratingValue",
|
||||
"admin\/support\/replyContainer",
|
||||
"admin\/support\/request",
|
||||
"front\/support\/request",
|
||||
"front\/support\/requestList",
|
||||
"admin\/support\/requestPopup",
|
||||
"admin\/support\/requestsTable",
|
||||
"front\/support\/tableRows",
|
||||
"admin\/transactions\/view",
|
||||
"front\/widgets\/featuredProduct",
|
||||
"front\/widgets\/subscriptions"
|
||||
],
|
||||
"removed": [
|
||||
"front\/clients\/referrals",
|
||||
"admin\/customers\/referralsOverview",
|
||||
"admin\/customers\/referralsOverviewRows",
|
||||
"global\/promotion\/referralBanner"
|
||||
]
|
||||
},
|
||||
"css": {
|
||||
"added": [
|
||||
"front\/global.css"
|
||||
],
|
||||
"edited": [
|
||||
"front\/cart.css",
|
||||
"front\/checkout.css",
|
||||
"front\/clients.css",
|
||||
"admin\/customer.css",
|
||||
"front\/donations.css",
|
||||
"front\/embed.css",
|
||||
"admin\/nexus.css",
|
||||
"front\/nexus.css",
|
||||
"front\/store.css",
|
||||
"front\/subscriptions.css",
|
||||
"admin\/support.css",
|
||||
"admin\/transaction.css",
|
||||
"front\/widgets.css"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"added": [
|
||||
"cm_store_view"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 4.5.0 Beta 1 Upgrade Code
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
* @subpackage Commerce
|
||||
* @since 19 May 2020
|
||||
*/
|
||||
|
||||
namespace IPS\nexus\setup\upg_105013;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 4.5.0 Beta 1 Upgrade Code
|
||||
*/
|
||||
class _Upgrade
|
||||
{
|
||||
/**
|
||||
* Update time based settings
|
||||
*
|
||||
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
|
||||
*/
|
||||
public function step1()
|
||||
{
|
||||
\IPS\Settings::i()->changeValues( array( 'cm_invoice_generate' => \IPS\Settings::i()->cm_invoice_generate * 24, 'cm_invoice_warning' => \IPS\Settings::i()->cm_invoice_warning * 24 ) );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom title for this step
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function step1CustomTitle()
|
||||
{
|
||||
return "Updating Settings";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"added": [
|
||||
"pendingActions",
|
||||
"donations",
|
||||
"subscriptions",
|
||||
"bestSellers",
|
||||
"latestProducts",
|
||||
"recentCommerceReviews",
|
||||
"featuredProduct"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105014,
|
||||
"name": "4.5.0 Beta 1",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105015,
|
||||
"name": "4.5.0 Beta 2",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": true,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": true,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"files": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"orders": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"global\/\/dev\/js\/\/library\/\/jquery"
|
||||
],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"added": [
|
||||
"idm_nexus_mincost"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"front\/clients\/invoices",
|
||||
"admin\/customers\/supportTableRows",
|
||||
"global\/forms\/renewalTerm",
|
||||
"admin\/support\/severities"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105016,
|
||||
"name": "4.5.0 Beta 3",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": true,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"added": [],
|
||||
"edited": [
|
||||
"idm_nexus_mincost"
|
||||
],
|
||||
"removed": []
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105017,
|
||||
"name": "4.5.0 Beta 4",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"front\/global\/commentTableHeader"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105018,
|
||||
"name": "4.5.0 Beta 4",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105019,
|
||||
"name": "4.5.0 Beta 4",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105020,
|
||||
"name": "4.5.0 Beta 4",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105021,
|
||||
"name": "4.5.0 Beta 5",
|
||||
"steps": {
|
||||
"queries": true,
|
||||
"lang": true,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"normal": {
|
||||
"added": [
|
||||
"nexus_no_price_info",
|
||||
"nexus_no_price_info_desc"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": [
|
||||
"ref_member_id"
|
||||
]
|
||||
},
|
||||
"js": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "delete",
|
||||
"params": [
|
||||
"core_sys_lang_words",
|
||||
[
|
||||
"word_app=? AND word_key IN( 'ref_member_id', 'rb_upload', 'rb_upload_yes', 'rb_upload_no', 'rb_url_upload', 'rb_url_url' )",
|
||||
"nexus"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"global\/invoices\/printInvoice",
|
||||
"front\/store\/package",
|
||||
"front\/store\/packageBlockPrice",
|
||||
"front\/support\/requestList"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105022,
|
||||
"name": "4.5.0 Beta 6",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": true,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"normal": {
|
||||
"added": [
|
||||
"no_invoice_view",
|
||||
"no_invoice_view_guest"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"js": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"front\/store.css"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105023,
|
||||
"name": "4.5.0 Beta 6",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105024,
|
||||
"name": "4.5.0 Beta 7",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": true,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"normal": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"order_already_paid"
|
||||
],
|
||||
"removed": [
|
||||
"rb_upload",
|
||||
"rb_upload_yes",
|
||||
"rb_upload_no",
|
||||
"rb_url_upload",
|
||||
"rb_url_url"
|
||||
]
|
||||
},
|
||||
"js": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"front\/global\/searchResultProductSnippet"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105025,
|
||||
"name": "4.5.0 Beta 8",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"admin\/support_responsive.css",
|
||||
"admin\/support.css"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105026,
|
||||
"name": "4.5.0 Beta 8",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105027,
|
||||
"name": "4.5.0 Beta 8",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": false,
|
||||
"theme": false,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105028,
|
||||
"name": "4.5.0 Beta 9",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": true,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"normal": {
|
||||
"added": [
|
||||
"custom_price_filter"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"js": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"front\/store\/categorySidebar",
|
||||
"admin\/support\/filterFormStream"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105029,
|
||||
"name": "4.5.0 Beta 10",
|
||||
"steps": {
|
||||
"queries": true,
|
||||
"lang": true,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"normal": {
|
||||
"added": [
|
||||
"cancel_type_change_no_siblings"
|
||||
],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
},
|
||||
"js": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"1": {
|
||||
"method": "changeColumn",
|
||||
"params": [
|
||||
"nexus_purchases",
|
||||
"ps_name",
|
||||
{
|
||||
"name": "ps_name",
|
||||
"type": "VARCHAR",
|
||||
"length": 255,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"html": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"global\/forms\/businessAddress",
|
||||
"global\/forms\/renewalTerm"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"css": {
|
||||
"added": [],
|
||||
"edited": [
|
||||
"front\/store_responsive.css"
|
||||
],
|
||||
"removed": []
|
||||
},
|
||||
"resources": {
|
||||
"added": [],
|
||||
"edited": [],
|
||||
"removed": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": 105030,
|
||||
"name": "4.5.0 Beta 11",
|
||||
"steps": {
|
||||
"queries": false,
|
||||
"lang": true,
|
||||
"theme": true,
|
||||
"themeSettings": false,
|
||||
"javascript": false,
|
||||
"emailTemplates": false,
|
||||
"hooks": false,
|
||||
"acpSearchKeywords": false,
|
||||
"settings": false,
|
||||
"tasks": false,
|
||||
"modules": false,
|
||||
"widgets": false,
|
||||
"whatsnew": false,
|
||||
"customOptions": false,
|
||||
"customRoutines": false
|
||||
},
|
||||
"forceMainUpgrader": false,
|
||||
"forceManualDownloadNoCiC": false,
|
||||
"forceManualDownloadCiC": false
|
||||
}
|
||||
Loaded 100 of 3791 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user