mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
roadmap fixes
This commit is contained in:
parent
01a14aa04e
commit
db5eb7e88a
5 changed files with 6 additions and 59 deletions
|
@ -193,7 +193,7 @@ class ContentActions extends Actions
|
||||||
|
|
||||||
public static function executeRoadmap()
|
public static function executeRoadmap()
|
||||||
{
|
{
|
||||||
$cache = !isset($_GET['nocache']);
|
$cache = !Request::getParam('nocache');
|
||||||
$githubItems = Github::listRoadmapChangesets($cache);
|
$githubItems = Github::listRoadmapChangesets($cache);
|
||||||
|
|
||||||
$projectMaxVersions = [];
|
$projectMaxVersions = [];
|
||||||
|
|
48
lib/thirdparty/Asana.class.php
vendored
48
lib/thirdparty/Asana.class.php
vendored
|
@ -6,52 +6,8 @@ class Asana
|
||||||
|
|
||||||
public static function listRoadmapTasks($cache = true)
|
public static function listRoadmapTasks($cache = true)
|
||||||
{
|
{
|
||||||
/*
|
// Use print_r(static::get('/projects')) to get project IDs
|
||||||
* return static::get('/projects');
|
|
||||||
[55] => Array
|
|
||||||
(
|
|
||||||
[id] => 158602294500138
|
|
||||||
[name] => Browser
|
|
||||||
)
|
|
||||||
|
|
||||||
[56] => Array
|
|
||||||
(
|
|
||||||
[id] => 158602294500137
|
|
||||||
[name] => Daemon
|
|
||||||
)
|
|
||||||
|
|
||||||
[57] => Array
|
|
||||||
(
|
|
||||||
[id] => 161514803479899
|
|
||||||
[name] => Blockchain and Wallet
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
[60] => Array
|
|
||||||
(
|
|
||||||
[id] => 158829550589337
|
|
||||||
[name] => Reporting and Analytics
|
|
||||||
)
|
|
||||||
|
|
||||||
[61] => Array
|
|
||||||
(
|
|
||||||
[id] => 158602294500214
|
|
||||||
[name] => Other
|
|
||||||
)
|
|
||||||
|
|
||||||
[62] => Array
|
|
||||||
(
|
|
||||||
[id] => 136290697597644
|
|
||||||
[name] => CI
|
|
||||||
)
|
|
||||||
|
|
||||||
[63] => Array
|
|
||||||
(
|
|
||||||
[id] => 158602294500249
|
|
||||||
[name] => Documentation
|
|
||||||
)
|
|
||||||
*/
|
|
||||||
// return static::get('/projects');
|
|
||||||
$projects = [
|
$projects = [
|
||||||
158602294500138 => ['LBRY Browser', 'https://github.com/lbryio/lbry-web-ui'],
|
158602294500138 => ['LBRY Browser', 'https://github.com/lbryio/lbry-web-ui'],
|
||||||
158602294500137 => ['LBRY Data Network', 'https://github.com/lbryio/lbry'],
|
158602294500137 => ['LBRY Data Network', 'https://github.com/lbryio/lbry'],
|
||||||
|
@ -127,4 +83,4 @@ class Asana
|
||||||
|
|
||||||
class AsanaException extends Exception
|
class AsanaException extends Exception
|
||||||
{
|
{
|
||||||
}
|
}
|
2
lib/thirdparty/Github.class.php
vendored
2
lib/thirdparty/Github.class.php
vendored
|
@ -114,8 +114,6 @@ class Github
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return $sets;
|
return $sets;
|
||||||
}
|
}
|
||||||
}
|
}
|
7
lib/thirdparty/Prefinery.class.php
vendored
7
lib/thirdparty/Prefinery.class.php
vendored
|
@ -20,10 +20,10 @@ class Prefinery
|
||||||
'json_data' => true,
|
'json_data' => true,
|
||||||
'json_response' => true
|
'json_response' => true
|
||||||
];
|
];
|
||||||
|
|
||||||
public static function findUser($emailOrId, $useApc = true)
|
public static function findUser($emailOrId, $useApc = true)
|
||||||
{
|
{
|
||||||
$apcEnabled = extension_loaded('apc') && ini_get('apc.enabled');
|
$apcEnabled = Apc::isEnabled();
|
||||||
if ($useApc && $apcEnabled)
|
if ($useApc && $apcEnabled)
|
||||||
{
|
{
|
||||||
$cached = apc_fetch('prefinery-user-' . $emailOrId, $success);
|
$cached = apc_fetch('prefinery-user-' . $emailOrId, $success);
|
||||||
|
@ -113,8 +113,7 @@ class Prefinery
|
||||||
{
|
{
|
||||||
throw new PrefineryException('Update tester must be called with a tester id');
|
throw new PrefineryException('Update tester must be called with a tester id');
|
||||||
}
|
}
|
||||||
$apcEnabled = extension_loaded('apc') && ini_get('apc.enabled');
|
if (Apc::isEnabled())
|
||||||
if ($apcEnabled)
|
|
||||||
{
|
{
|
||||||
apc_delete('prefinery-user-' . $testerData['id']);
|
apc_delete('prefinery-user-' . $testerData['id']);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by PhpStorm.
|
|
||||||
* User: kauffj
|
|
||||||
* Date: 8/16/16
|
|
||||||
* Time: 8:18 PM
|
|
||||||
*/
|
|
||||||
class Os
|
class Os
|
||||||
{
|
{
|
||||||
const OS_ANDROID = 'android',
|
const OS_ANDROID = 'android',
|
||||||
|
|
Loading…
Add table
Reference in a new issue