Skip to content

Commit

Permalink
Detect new brands: FFF SmartLife, NuVision, Versus and Detect devices…
Browse files Browse the repository at this point in the history
… for exist brands (#7362)

* feat(bot) detect Cloudflare Health Checks bot

* feat(device) detect brand HTC: Desire 320 (v01), One Mini (PO582), One (PN071), One Mini 2 (M8MINx), One E8 (M8Sx)

* feat(device) detect new brand NuVision: TM800A620M, TM101A620M
feat(device) detect brand Condor: TMK715L
feat(device) detect brand Karbonn: Titanium Vista 4G
feat(device) detect brand Ulefone: Tiger Lite
feat(device) detect brand Cloudfone: Thrill Boost, Thrill HD
feat(device) detect brand ThL: T9+, T9 Pro, T9 Plus

* feat(device) detect brand Telenor: Smart 4G
feat(device) detect brand TWZ: OX X1
feat(device) detect brand Condor: TFX711G, TFX714L, TFX713L

* feat(device) detect brand Hyundai: Koral 7W3 (HT0703W08)

* feat(device) detect new brand FFF SmartLife: AB-10A4
feat(device) detect new brand Versus: V-Pad Pop
feat(device) detect brand Sony: Walkman A300
feat(device) detect brand Sharp: Leica Leitz Phone 2 (LP-02)
feat(device) detect brand Huawei: Honor 80 5G (ANN-AN00)
feat(device) detect brand Walton: Primo VX
feat(device) detect brand Cube: iWork 8 3G (I1_3GD)
feat(device) detect brand Lenovo: Tab M10 Plus (Gen 3) (TB128FU)
feat(device) detect brand Vankyo: MatrixPad S8
feat(device) detect brand Polaroid: Pure 10.1"
feat(device) detect brand Onda: V80 SE

---------

Co-authored-by: Stefan Giehl <stefan@matomo.org>
  • Loading branch information
sanchezzzhak and sgiehl committed Mar 4, 2023
1 parent a6b4b82 commit 77536a8
Show file tree
Hide file tree
Showing 8 changed files with 934 additions and 36 deletions.
3 changes: 3 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'4F' => 'Funai',
'5J' => 'Fusion5',
'FF' => 'Future Mobile Technology',
'FFF' => 'FFF SmartLife',
'FW' => 'FNF',
'FXT' => 'Fxtec',
'GT' => 'G-TiDE',
Expand Down Expand Up @@ -1035,6 +1036,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'NJ' => 'NuAns',
'NL' => 'NUU Mobile',
'N0' => 'Nuvo',
'NUV' => 'NuVision',
'NV' => 'Nvidia',
'NY' => 'NYX Mobile',
'O3' => 'O+',
Expand Down Expand Up @@ -1506,6 +1508,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'VE' => 'Vertu',
'VL' => 'Verykool',
'QV' => 'Verssed',
'VER' => 'Versus',
'V8' => 'Vesta',
'VT' => 'Vestel',
'48' => 'Vexia',
Expand Down
9 changes: 9 additions & 0 deletions Tests/fixtures/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5530,6 +5530,15 @@
producer:
name: IAB Technology Laboratory, Inc.
url: https://iabtechlab.com/
-
user_agent: 'Mozilla/5.0 (compatible;Cloudflare-Healthchecks/1.0;+https://www.cloudflare.com/; healthcheck-id: e645d1e65d3b18b4)'
bot:
name: Cloudflare Health Checks
category: Service Agent
url: https://developers.cloudflare.com/health-checks/
producer:
name: CloudFlare
url: http://www.cloudflare.com
-
user_agent: Mozilla/5.0 (Morningscore/1.0)
bot:
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/portable_media_player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -773,3 +773,21 @@
model: Touch
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; NW-A300Series) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 105.0.0.0
engine: Blink
engine_version: 105.0.0.0
device:
type: portable media player
brand: Sony
model: Walkman A300
os_family: Android
browser_family: Chrome
Loading

0 comments on commit 77536a8

Please sign in to comment.