Methods Summary | ||
---|---|---|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
next_version( string $version , string $maximalbranch = '99999999.99999999.99999999' )
Get next Discourse version
Overrides |
|
public
|
#
reconfigure( string $field , string $attribute , array $new , array $old = NULL )
Reconfigure a Discourse instance
|
|
public
|
||
protected
|
||
public
|
||
protected
|
||
protected
|
||
public
|
||
public
|
||
public
|
||
protected
|
||
protected
|
||
public
|
||
public
|
||
public
|
#
install_plugin( string $hostname , string $path = '', string $plugin , string $version = 'stable' )
Install and activate plugin
|
|
public
|
||
protected
|
||
public
|
#
is_current( string $version = NULL, string $branchcomp = NULL )
Check if version is latest or get latest version
Overrides |
|
public
|
#
change_admin( string $hostname , string $path = '', array $fields )
Change Discourse admin credentials
Common fields include: password, email, username, name
|
|
public
|
||
public
|
#
update_all( string $hostname , string $path = '', string $version = NULL )
Update core, plugins, and themes atomically
|
|
public
|
||
public
|
||
public
|
||
public
|
#
update_themes( string $hostname , string $path = '', array $themes = array ( ) )
Update Laravel themes
|
|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
install_theme( string $hostname , string $path = '', string $theme , string $version = NULL )
Overrides |
|
public
|
Methods inherited from Module\Skeleton\Standard |
---|
__construct() ,
setUserParameters() ,
autoloadModule() ,
__wakeup() ,
_invoke() ,
__debugInfo() ,
getExportedFunctions() ,
_reset() ,
_resetModule() ,
cleanUserParameters() ,
query()
|
Methods used from Module\Support\Webapps\Traits\PublicRelocatable trait |
---|
getAppRoot()
|
Constants Summary | ||
---|---|---|
public
string
|
DEFAULT_RUBY
|
#
'2.6.2'
|
public
array
|
MINIMUM_INTERPRETERS
|
#
array (
0 => '2.4.2',
'2.2.0.beta5' => '2.5.2',
'2.4.0.beta5' => '2.6.1',
'2.4.0' => '2.6.5',
)
|
public
string
|
APP_NAME
|
#
'Discourse'
|
public
string
|
DEFAULT_VERSION_LOCK
|
#
'major'
|
public
string
|
DISCOURSE_REPO
|
#
'https://github.com/discourse/discourse.git'
|
Constants inherited from Module\Support\Webapps |
---|
APPLICATION_PREF_KEY
,
APP_NAME
,
DEFAULT_VERSION_LOCK
,
BANNED_DIRECTIVES
|
Constants inherited from Module\Skeleton\Standard |
---|
DEPENDENCY_MAP
|
Properties inherited from Module\Support\Webapps |
---|
$exportedFunctions
|
Properties inherited from Module\Skeleton\Standard |
---|
$exportedFunctions ,
$username ,
$password ,
$domain ,
$user_id ,
$group_id ,
$permission_level ,
$session_id ,
$site ,
$site_id
|
Properties used from Module\Support\Webapps\Traits\PublicRelocatable |
---|
|