Skip to content

Detect devices for existing brands #7122

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
May 24, 2022

Conversation

sanchezzzhak
Copy link
Collaborator

@sanchezzzhak sanchezzzhak commented May 18, 2022

No description provided.

feat(device) detect brand Logicom: Le Pulse, Le Prime
feat(device) detect brand Xiaomi:Redmi Note 8T (willow)
fix(os) fixed warning: Operations priority might differ from what you expect
feat(device) detect brand Logicom: La Tab 292
feat(device) detect brand DEXP: Ursus H410, Ursus H370
feat(device) detect brand iHunt: Alien X Pro (2021)
feat(device) detect brand POCO: X4 Pro 5G (2201116PG)
feat(device) detect brand Doogee: S59
feat(device) detect brand DEXP: Ursus S770i
feat(device) detect brand Gigabyte: Boston 4G
feat(device) detect brand Oysters: Life 4G
feat(device) detect brand Qilive: Q1-21
feat(device) detect new brand Quest: Raptor
feat(device) detect brand Thomson: TEOX103
feat(device) detect brand TOSCIDO: T13
feat(device) detect brand JAY-Tech: Tablet PC G1010
feat(device) detect brand Xiaomi: 12X (2112123AG)
…i Note 10S (rosemary), Redmi 10C (220333QAG, 220333QNY)

feat(device) detect brand OnePlus: 10 Pro (NE2215)
feat(device) detect brand Realme: Q3t (RMX3462)
feat(device) detect brand Gionee: P61
feat(device) detect brand Xiaomi: Black Shark 4 Pro (SHARK KSR-H0)
'17' => 'FarEasTone',
'9R' => 'FaRao Pro',
'FB' => 'Fantec',
'FAC' => 'Facetel',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please note that the 2-character shortcodes have ended.

Can we transfer $deviceBrands to YML file?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually don't see much benefit in moving this to a yml file. It will actually only add ann additional yml parsing, which might slow down the detection more.

Regarding three character shortcodes:
I need to check if Matomo is able to handle them properly before we can merge and release a new version. At least the database is able to store them already, but not sure if the code expects two chars somewhere. Need to investigate that. Meanwhile it might be better to focus on adding devices for already existing brands, as we can merge such PRs.

Copy link
Collaborator Author

@sanchezzzhak sanchezzzhak May 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I will move new brands from this PR in new branch #7129

feat(device) detect brand Crosscall: Core-M4 Go
feat(device) detect brand Qilive: QT19101
feat(device) detect brand PolarLine: 55PU11TC-SM
feat(device) detect brand PolarLine: 24PL51TC-SM
feat(device) detect brand Logicom: L-ixir Tab 1047 HD
feat(device) detect brand SFR: StarAddict 6
feat(device) rename models for SFR brand: Staraddict 3 => StarAddict , Staraddict => StarAddict, Staraddict 2 => StarAddict 2 etc.
@sanchezzzhak sanchezzzhak changed the title Detect new brands: Facetel. LNMBBS. Quest, YUMKEM and Detect devices for several existing brands Detect new brands: HLLO, Facetel, LNMBBS, Quest, YUMKEM and Detect devices for several existing brands May 20, 2022
@sanchezzzhak sanchezzzhak changed the title Detect new brands: HLLO, Facetel, LNMBBS, Quest, YUMKEM and Detect devices for several existing brands Detect new brands: TeachTouch, HLLO, Facetel, LNMBBS, Quest, YUMKEM and Detect devices for several existing brands May 21, 2022
@sanchezzzhak sanchezzzhak changed the title Detect new brands: TeachTouch, HLLO, Facetel, LNMBBS, Quest, YUMKEM and Detect devices for several existing brands Detect new brands: SNAMI, TeachTouch, HLLO, Facetel, LNMBBS, Quest, YUMKEM and Detect devices for several existing brands May 21, 2022
# Conflicts:
#	Parser/Device/AbstractDeviceParser.php
#	Tests/fixtures/tv-1.yml
#	regexes/device/mobiles.yml
@sanchezzzhak sanchezzzhak changed the title Detect new brands: SNAMI, TeachTouch, HLLO, Facetel, LNMBBS, Quest, YUMKEM and Detect devices for several existing brands Detect devices for existing brands May 24, 2022
@sanchezzzhak sanchezzzhak merged commit f711306 into matomo-org:master May 24, 2022
@sanchezzzhak sanchezzzhak deleted the pr_device_192 branch May 24, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants