Skip to content

Commit 2a5f44c

Browse files
committed
refs #20 - added detection for microsoft outlook
1 parent 146d214 commit 2a5f44c

File tree

7 files changed

+144
-100
lines changed

7 files changed

+144
-100
lines changed

Tests/Parser/Client/fixtures/pim.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
type: pim
55
name: Outlook Express
66
version: 7.0
7+
-
8+
user_agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET CLR 1.1.4322; FDM; Tablet PC 2.0; .NET4.0E; Microsoft Outlook 14.0.7113; ms-office; MSOffice 14)
9+
client:
10+
type: pim
11+
name: Microsoft Outlook
12+
version: 14.0.7113
713
-
814
user_agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5
915
client:

Tests/fixtures/desktop.yml

Lines changed: 46 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@
425425
os_family: Unix
426426
browser_family: Unknown
427427
-
428-
user_agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009031915 Gentoo Firefox/3.0.7
428+
user_agent: Mozilla/5.0 (X11; U; Gentoo x86_64; de-DE) Firefox/26.0
429429
os:
430430
name: Gentoo
431431
short_name: GNT
@@ -434,15 +434,15 @@
434434
type: browser
435435
name: Firefox
436436
short_name: FF
437-
version: 3.0.7
437+
version: 26.0
438438
device:
439439
type: desktop
440440
brand:
441441
model:
442442
os_family: GNU/Linux
443443
browser_family: Firefox
444444
-
445-
user_agent: Mozilla/5.0 (X11; U; Gentoo x86_64; de-DE) Firefox/26.0
445+
user_agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009031915 Gentoo Firefox/3.0.7
446446
os:
447447
name: Gentoo
448448
short_name: GNT
@@ -451,7 +451,7 @@
451451
type: browser
452452
name: Firefox
453453
short_name: FF
454-
version: 26.0
454+
version: 3.0.7
455455
device:
456456
type: desktop
457457
brand:
@@ -1428,11 +1428,11 @@
14281428
os_family: Unix
14291429
browser_family: Unknown
14301430
-
1431-
user_agent: Mozilla/3.01Gold (X11; I; SunOS 5.5.1 sun4m)
1431+
user_agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100215 Solaris/10.1 (GNU) Superswan/3.5.8 (Byte/me)
14321432
os:
14331433
name: Solaris
14341434
short_name: SOS
1435-
version: 5.5.1
1435+
version: 10.1
14361436
client:
14371437
type: UNK
14381438
name: UNK
@@ -1445,11 +1445,11 @@
14451445
os_family: Unix
14461446
browser_family: Unknown
14471447
-
1448-
user_agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100215 Solaris/10.1 (GNU) Superswan/3.5.8 (Byte/me)
1448+
user_agent: Mozilla/3.01Gold (X11; I; SunOS 5.5.1 sun4m)
14491449
os:
14501450
name: Solaris
14511451
short_name: SOS
1452-
version: 10.1
1452+
version: 5.5.1
14531453
client:
14541454
type: UNK
14551455
name: UNK
@@ -2073,6 +2073,40 @@
20732073
model:
20742074
os_family: Windows
20752075
browser_family: Unknown
2076+
-
2077+
user_agent: Microsoft Office/14.0 (Windows NT 6.1; Microsoft Outlook 14.0.6106; Pro; ms-office; MSOffice 14)
2078+
os:
2079+
name: Windows 7
2080+
short_name: WI7
2081+
version: 7
2082+
client:
2083+
type: pim
2084+
name: Microsoft Outlook
2085+
short_name: UNK
2086+
version: 14.0.6106
2087+
device:
2088+
type: desktop
2089+
brand:
2090+
model:
2091+
os_family: Windows
2092+
browser_family: Unknown
2093+
-
2094+
user_agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET CLR 1.1.4322; FDM; Tablet PC 2.0; .NET4.0E; Microsoft Outlook 14.0.7113; ms-office; MSOffice 14)
2095+
os:
2096+
name: Windows 7
2097+
short_name: WI7
2098+
version: 7
2099+
client:
2100+
type: pim
2101+
name: Microsoft Outlook
2102+
short_name: UNK
2103+
version: 14.0.7113
2104+
device:
2105+
type: desktop
2106+
brand:
2107+
model:
2108+
os_family: Windows
2109+
browser_family: Unknown
20762110
-
20772111
user_agent: Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.16
20782112
os:
@@ -2516,7 +2550,7 @@
25162550
os_family: Windows
25172551
browser_family: Unknown
25182552
-
2519-
user_agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.6) Gecko/20091201 (WEB.DE/1.5) Firefox/3.5.6 (.NET CLR 3.5.30729)
2553+
user_agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
25202554
os:
25212555
name: Windows Vista
25222556
short_name: WVI
@@ -2525,15 +2559,15 @@
25252559
type: browser
25262560
name: Firefox
25272561
short_name: FF
2528-
version: 3.5.6
2562+
version: 18.0
25292563
device:
25302564
type: desktop
25312565
brand:
25322566
model:
25332567
os_family: Windows
25342568
browser_family: Firefox
25352569
-
2536-
user_agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
2570+
user_agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.6) Gecko/20091201 (WEB.DE/1.5) Firefox/3.5.6 (.NET CLR 3.5.30729)
25372571
os:
25382572
name: Windows Vista
25392573
short_name: WVI
@@ -2542,7 +2576,7 @@
25422576
type: browser
25432577
name: Firefox
25442578
short_name: FF
2545-
version: 18.0
2579+
version: 3.5.6
25462580
device:
25472581
type: desktop
25482582
brand:

0 commit comments

Comments
 (0)