commit
83aa5152aa
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
1. Fork the repository
|
1. Fork the repository
|
||||||
2. Create a new branch for each feature or improvement
|
2. Create a new branch for each feature or improvement
|
||||||
3. Send a pull request from each feature branch to the master branch
|
3. Send a pull request from each feature branch to the stable branch
|
||||||
|
|
||||||
It is very important to separate new features or improvements into separate feature branches, and to send a
|
It is very important to separate new features or improvements into separate feature branches, and to send a
|
||||||
pull request for each branch. This allows us to review and pull in new features or improvements individually.
|
pull request for each branch. This allows us to review and pull in new features or improvements individually.
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
"byjg/webrequest": "^1.0",
|
"byjg/webrequest": "^1.0",
|
||||||
"gettext/gettext": "^4.6",
|
"gettext/gettext": "^4.6",
|
||||||
"gofabian/negotiation-middleware": "^0.1.3",
|
"gofabian/negotiation-middleware": "^0.1.3",
|
||||||
|
"laminas/laminas-escaper": "^2.6",
|
||||||
"masterminds/html5": "^2.3",
|
"masterminds/html5": "^2.3",
|
||||||
"monolog/monolog": "^1.17",
|
"monolog/monolog": "^1.17",
|
||||||
"mrpetovan/net_ping": "^1.0",
|
"mrpetovan/net_ping": "^1.0",
|
||||||
|
@ -31,7 +32,6 @@
|
||||||
"seld/cli-prompt": "^1.0",
|
"seld/cli-prompt": "^1.0",
|
||||||
"slim/slim": "^3.1",
|
"slim/slim": "^3.1",
|
||||||
"slim/php-view": "^2.0",
|
"slim/php-view": "^2.0",
|
||||||
"zendframework/zend-escaper": "^2.6",
|
|
||||||
"fxp/composer-asset-plugin": "^1.4",
|
"fxp/composer-asset-plugin": "^1.4",
|
||||||
"bower-asset/bootstrap.native": "^2.0",
|
"bower-asset/bootstrap.native": "^2.0",
|
||||||
"bower-asset/fontawesome": "^5.5"
|
"bower-asset/fontawesome": "^5.5"
|
||||||
|
@ -39,8 +39,8 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"bower-asset/bootstrap": "^4.1",
|
"bower-asset/bootstrap": "^4.1",
|
||||||
"phpunit/phpunit": ">=4.8 < 6.0",
|
"phpunit/phpunit": ">=4.8 < 6.0",
|
||||||
"vimeo/psalm": "^2.0",
|
"scssphp/scssphp": "^1.1",
|
||||||
"leafo/scssphp": "^0.7.7"
|
"vimeo/psalm": "^2.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
@ -53,6 +53,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
"platform": {
|
||||||
|
"php": "7.1.0"
|
||||||
|
},
|
||||||
"process-timeout" : 0,
|
"process-timeout" : 0,
|
||||||
"autoloader-suffix": "FriendicaDirectory",
|
"autoloader-suffix": "FriendicaDirectory",
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
|
|
3602
composer.lock
generated
3602
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -46,7 +46,7 @@ class Servers extends BaseController
|
||||||
{
|
{
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ class Statistics extends BaseController
|
||||||
|
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -355,7 +355,7 @@ class Server
|
||||||
} else {
|
} else {
|
||||||
$stable_version = $this->simplecache->get('stable_version');
|
$stable_version = $this->simplecache->get('stable_version');
|
||||||
if (!$stable_version) {
|
if (!$stable_version) {
|
||||||
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/master/VERSION'));
|
$stable_version = trim(file_get_contents('https://git.friendi.ca/friendica/friendica/raw/branch/stable/VERSION'));
|
||||||
$this->simplecache->set('stable_version', $stable_version);
|
$this->simplecache->set('stable_version', $stable_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Interop\Container\ContainerInterface;
|
use Psr\Container\ContainerInterface;
|
||||||
|
|
||||||
// DIC configuration
|
// DIC configuration
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue