Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Detect new brands: AEEZO, Disney, Galactic, Geant, WAF, Zigo and Detect devices for exist brands #7406

Merged
merged 5 commits into from
May 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'AF' => 'AfriOne',
'FY' => 'AFFIX',
'A3' => 'AGM',
'AEE' => 'AEEZO',
'J0' => 'AG Mobile',
'AZ' => 'Ainol',
'AIR' => 'Airis',
Expand Down Expand Up @@ -383,6 +384,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'DIC' => 'DIGICOM',
'Q0' => 'DIGIFORS',
'DQ' => 'DISH',
'DIS' => 'Disney',
'9D' => 'Ditecma',
'D2' => 'Digma',
'1D' => 'Diva',
Expand Down Expand Up @@ -554,8 +556,10 @@ abstract class AbstractDeviceParser extends AbstractParser
'GM' => 'Garmin-Asus',
'GA' => 'Gateway',
'99' => 'Galaxy Innovations',
'GA1' => 'Galactic',
'GAZ' => 'Gazer',
'GEA' => 'Geanee',
'GEN' => 'Geant',
'GD' => 'Gemini',
'GN' => 'General Mobile',
'2G' => 'Genesis',
Expand Down Expand Up @@ -1595,6 +1599,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'ZC' => 'VUCATIMES',
'VUE' => 'Vue Micro',
'WA' => 'Walton',
'WAF' => 'WAF',
'WAL' => 'Waltter',
'WHI' => 'White Mobile',
'WM' => 'Weimei',
Expand Down Expand Up @@ -1693,6 +1698,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'FZ' => 'ZIFRO',
'ZX' => 'Ziox',
'ZIK' => 'ZIK',
'ZIG' => 'Zigo',
'ZIN' => 'Zinox',
'ZO' => 'Zonda',
'ZW' => 'Zonko',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5587,3 +5587,21 @@
name: sfFeedReader
category: Feed Fetcher
url: https://github.com/diem-project/sfFeed2Plugin
-
user_agent: HatenaBookmark/4.0 (Hatena::Bookmark; Analyzer)
bot:
name: Hatena Bookmark
category: Crawler
url: https://www.hatena.ne.jp/faq/
producer:
name: Hatena Co., Ltd.
url: https://www.hatena.ne.jp
-
user_agent: MoodleBot-LinkChecker (+https://docs.moodle.org/en/Usage)
bot:
name: MoodleBot Linkchecker
category: Search bot
url: hhttps://docs.moodle.org/en/Usage
producer:
name: Moodle Pty Ltd
url: https://moodle.org/
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6039,7 +6039,7 @@
engine_version: "67.0.3396.87"
device:
type: smartphone
brand: Xoro
brand: Xolo
model: Era 2X
os_family: Android
browser_family: Chrome
Expand Down
4 changes: 2 additions & 2 deletions Tests/fixtures/smartphone-28.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6236,7 +6236,7 @@
device:
type: smartphone
brand: Zen
model: ADMIRE CURVE NEO
model: Admire Curve Neo
os_family: Android
browser_family: Chrome
-
Expand Down Expand Up @@ -7330,7 +7330,7 @@
device:
type: smartphone
brand: Zen
model: ADMIRE GLORY+
model: Admire Glory+
os_family: Android
browser_family: Chrome
-
Expand Down
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-33.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8395,7 +8395,7 @@
device:
type: smartphone
brand: Zen
model: ADMIRE UNITY
model: Admire Unity
os_family: Android
browser_family: Chrome
-
Expand Down
Loading