Permalink
Browse files

Updates user agent detection in client library.

  • Loading branch information...
JB Lebrun
JB Lebrun committed Sep 24, 2018
1 parent f49365e commit 0a585bb9f6ce5e6f8925f91283962a5c0bf8074a
@@ -4,7 +4,7 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientBots/Tools.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.5
* @version 1.0.6
* @date Creation: May 2018
* @date Modification: Sep 2018
* @copyright 2018 CaMykS Team
@@ -1061,6 +1061,16 @@ function _client_getKnownTools() {
'engine_url' => 'https://crushus.com',
);
/* Goose */
$knownTools['goose'] = array(
'platform_type' => 'tool',
'platform_format' => 'desktop',
'tool_title' => '',
'tool_url' => '',
'engine_title' => 'Goose',
'engine_url' => 'https://pypi.org/project/goose3/',
);
/* return list */
return $knownTools;
}
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/BlackBerry.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0
* @version 1.0.1
* @date Creation: Aug 2018
* @date Modification: Aug 2018
* @date Modification: Sep 2018
* @copyright 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -20,7 +20,8 @@
*/
function get_BlackberryClientDevice($deviceCode='') {
$deviceList = array(
'BBF100-1' => array('platform_model' => 'Key2', 'platform_year' => 2018),
'BBB100-2' => array('platform_model' => 'KeyOne', 'platform_year' => 2017),
'BBF100-1' => array('platform_model' => 'Key2', 'platform_year' => 2018),
);
/* Check for returning list */
@@ -4,7 +4,7 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/OnePlus.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.4
* @version 1.0.5
* @date Creation: Apr 2018
* @date Modification: Sep 2018
* @copyright 2018 CaMykS Team
@@ -23,6 +23,7 @@ function get_OnePlusClientDevices() {
'A3003' => array('platform_model' => '3T', 'platform_year' => 2016),
'A3010' => array('platform_model' => '3T', 'platform_year' => 2016),
'A5000' => array('platform_model' => '5', 'platform_year' => 2017),
'A5010' => array('platform_model' => '5T', 'platform_year' => 2018),
'A6003' => array('platform_model' => '6', 'platform_year' => 2018),
'E1003' => array('platform_model' => 'X', 'platform_year' => 2015),
);
@@ -4,9 +4,9 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Samsung.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.13
* @version 1.0.14
* @date Creation: Apr 2018
* @date Modification: Aug 2018
* @date Modification: Sep 2018
* @copyright 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -110,6 +110,7 @@ function get_SamsungClientDevice($deviceCode='') {
'SM-A700F' => array('platform_model' => 'Galaxy A7', 'platform_year' => 2015),
'SM-A700L' => array('platform_model' => 'Galaxy A7', 'platform_year' => 2015),
'SM-A530F' => array('platform_model' => 'Galaxy A8', 'platform_year' => 2018),
'SM-A530W' => array('platform_model' => 'Galaxy A8', 'platform_year' => 2018),
'SM-A910F' => array('platform_model' => 'Galaxy A9 Pro', 'platform_year' => 2016),
'SM-E500F' => array('platform_model' => 'Galaxy E5', 'platform_year' => 2015),
'SM-E500H' => array('platform_model' => 'Galaxy E5', 'platform_year' => 2015),
@@ -4,7 +4,7 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Sony.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.9
* @version 1.0.10
* @date Creation: Apr 2018
* @date Modification: Sep 2018
* @copyright 2018 CaMykS Team
@@ -46,7 +46,9 @@ function get_SonyClientDevice($deviceCode='') {
'F5321' => array('platform_model' => 'Xperia X Compact', 'platform_year' => 2016),
'F8331' => array('platform_model' => 'Xperia XZ', 'platform_year' => 2016),
'G3121' => array('platform_model' => 'Xperia XA1', 'platform_year' => 2017),
'G3312' => array('platform_model' => 'Xperia L1', 'platform_year' => 2017),
'G8141' => array('platform_model' => 'Xperia XZ Premium', 'platform_year' => 2017),
'G8342' => array('platform_model' => 'Xperia XZ1', 'platform_year' => 2017),
'H3311' => array('platform_model' => 'Xperia L2', 'platform_year' => 2018),
'H3113' => array('platform_model' => 'Xperia XA2', 'platform_year' => 2018),
'H4113' => array('platform_model' => 'Xperia XA2', 'platform_year' => 2018),
@@ -4,7 +4,7 @@
* @details Engine / Tool Library
* @file engine/lib/tool/clientDevices/Xiaomi.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.6
* @version 1.0.7
* @date Creation: May 2018
* @date Modification: Sep 2018
* @copyright 2018 CaMykS Team
@@ -29,6 +29,7 @@ function get_XiaomiClientDevice($deviceCode='') {
'mi 5x' => array('platform_model' => 'Mi 5X', 'platform_year' => 2017),
'mi a1' => array('platform_model' => 'Mi A1', 'platform_year' => 2017),
'mi note pro' => array('platform_model' => 'Mi Note Pro', 'platform_year' => 2015),
'redmi 4' => array('platform_model' => 'Redmi 4', 'platform_year' => 2016),
'redmi 4x' => array('platform_model' => 'Redmi 4X', 'platform_year' => 2017),
'redmi 3s' => array('platform_model' => 'Redmi 3S', 'platform_year' => 2016),
'redmi note 3' => array('platform_model' => 'Redmi Note 3', 'platform_year' => 2015),

0 comments on commit 0a585bb

Please sign in to comment.