Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
matomo-org#5829 detect teXet devices: TM-4982, TM-9749, TM-9746, TM-8…
…051, TM-8048, TM-4503, TM-4515, TM4516, TM-4982
  • Loading branch information
sanchezzzhak committed Oct 15, 2018
1 parent 4fa5ba0 commit 5464886
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 16 deletions.
142 changes: 141 additions & 1 deletion Tests/fixtures/smartphone-6.yml
Expand Up @@ -6804,7 +6804,7 @@
device:
type: smartphone
brand: TZ
model: TM-4503
model: X-quad
os_family: Android
browser_family: Android Browser
-
Expand Down Expand Up @@ -7126,4 +7126,144 @@
brand: LE
model: Moto Tab
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.1.1; TM-8041HD Build/JRO03C) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19
os:
name: Android
short_name: AND
version: 4.1.1
platform: ""
client:
type: browser
name: Chrome
short_name: CH
version: 18.0.1025.166
engine: WebKit
engine_version: "535.19"
device:
type: tablet
brand: TZ
model: TM-8041HD
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; X-pad PLUS 7.1 3G/TM-9749 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36
os:
name: Android
short_name: AND
version: 4.4.2
platform: ""
client:
type: browser
name: Chrome
short_name: CH
version: 30.0.0.0
engine: Blink
engine_version: ""
device:
type: tablet
brand: TZ
model: X-pad Plus 7.1 3G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; X-pad PLUS 7 3G/TM-9746 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36
os:
name: Android
short_name: AND
version: 4.4.2
platform: ""
client:
type: browser
name: Chrome
short_name: CH
version: 30.0.0.0
engine: Blink
engine_version: ""
device:
type: tablet
brand: TZ
model: X-pad Plus 7 3G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; TM-4515 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: 4.4.2
platform: ""
client:
type: browser
name: Chrome Mobile
short_name: CM
version: 30.0.0.0
engine: Blink
engine_version: ""
device:
type: smartphone
brand: TZ
model: X-style
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.2.2; TM-8051 Build/TM-8051) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.123 Safari/537.22
os:
name: Android
short_name: AND
version: 4.2.2
platform: ""
client:
type: browser
name: Chrome
short_name: CH
version: 25.0.1364.123
engine: WebKit
engine_version: "537.22"
device:
type: tablet
brand: TZ
model: X-pad Force 8i 3G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.2.2; TM-8048_revision1 Build/V1.1.JELLYBEAN.rus.teXet) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.91 Safari/537.36
os:
name: Android
short_name: AND
version: 4.2.2
platform: ""
client:
type: browser
name: Chrome
short_name: CH
version: 69.0.3497.91
engine: Blink
engine_version: ""
device:
type: tablet
brand: TZ
model: X-pad Force 8 3G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; TM-4982 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: 4.4.2
platform: ""
client:
type: browser
name: Chrome Mobile
short_name: CM
version: 30.0.0.0
engine: Blink
engine_version: ""
device:
type: smartphone
brand: TZ
model: iX-maxi
os_family: Android
browser_family: Chrome
47 changes: 32 additions & 15 deletions regexes/device/mobiles.yml
Expand Up @@ -6418,24 +6418,41 @@ Tesco:
- regex: 'W032i-C3[);/ ]'
model: 'Op3n Dott'

# teXet
# teXet
teXet:
regex: 'Texet|(NaviPad [^/;]*) Build|TM-(?:4503|4083|500[567]|3204R|5016|8043|7047HD[ _]3G|8041HD|7052|7041)|TB-(771A|711A)'
regex: 'Texet|(NaviPad [^/;]*) Build|TM-(?:4503|4982|4515|4083|500[567]|3204R|5016|8043|7047HD[ _]3G|8041HD|7052|7041|8041HD|8051|8048|974[96])|TB-(771A|711A)'
device: 'tablet'
models:
- regex: '(NaviPad [^/;]*) Build'
model: '$1'
- regex: '(TM-(?:8043|7052|7041|7047HD[_ ]3G|8041HD)|TB-(?:771A|711A))'
model: '$1'
- regex: '(TM-(?:4503|4083|500[56]|3204R))'
device: 'smartphone'
model: '$1'
- regex: 'TM-5007'
device: 'smartphone'
model: 'X-shine'
- regex: 'TM-5016'
device: 'smartphone'
model: 'X-maxi 2'
- regex: 'TM-9749'
model: 'X-pad Plus 7.1 3G'
- regex: 'TM-9746'
model: 'X-pad Plus 7 3G'
- regex: 'TM-8051'
model: 'X-pad Force 8i 3G'
- regex: 'TM-8048'
model: 'X-pad Force 8 3G'
- regex: '(NaviPad [^/;]*) Build'
model: '$1'
- regex: '(TM-(?:8043|7052|7041|7047HD[_ ]3G|8041HD)|TB-(?:771A|711A|8041HD))'
model: '$1'
- regex: 'TM-4503'
device: 'smartphone'
model: 'X-quad'
- regex: '(TM-(?:4083|500[56]|3204R))'
device: 'smartphone'
model: '$1'
- regex: 'TM-5007'
device: 'smartphone'
model: 'X-shine'
- regex: 'TM-4515'
device: 'smartphone'
model: 'X-style'
- regex: 'TM-5016'
device: 'smartphone'
model: 'X-maxi 2'
- regex: 'TM-4982'
device: 'smartphone'
model: 'iX-maxi'

# Telenor
Telenor:
Expand Down

0 comments on commit 5464886

Please sign in to comment.