This repository was archived by the owner on Sep 18, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +38
-11
lines changed Expand file tree Collapse file tree 5 files changed +38
-11
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ deploy:
15
15
on :
16
16
repo : mozilla/voicefill
17
17
tags : true
18
- branch : 1.4.5
18
+ branch : 1.4.7
19
19
notifications :
20
20
slack :
21
21
on_success : always
Original file line number Diff line number Diff line change 1
1
# Voice Fill Changelog
2
2
3
+ ## [ 1.4.7] - 2021-01-27
4
+ - EOL for VoiceFill. Thanks to all our users!
5
+
3
6
## [ 1.4.5] - 2020-05-19
4
7
### Added
5
8
- Permission settings to allow Mozilla to store the audio samples
Original file line number Diff line number Diff line change @@ -9,9 +9,32 @@ const analytics = new TestPilotGA({
9
9
ds : 'addon' ,
10
10
an : 'Voice Fill' ,
11
11
12
- av : '1.4.5 '
12
+ av : '1.4.7 '
13
13
} ) ;
14
14
15
+ // self-uninstall
16
+ let today = new Date ( ) ;
17
+ let uninstall_date = new Date ( 2021 , 1 , 19 ) ;
18
+
19
+ const openDiscourse = ( ) => {
20
+ browser . tabs . create ( {
21
+ url : "https://discourse.mozilla.org/t/retiring-the-voice-fill-and-firefox-voice-beta-extensions/74581"
22
+ } ) ;
23
+ }
24
+
25
+ if ( ! localStorage . getItem ( "openDiscourse" ) ) {
26
+ openDiscourse ( ) ;
27
+ localStorage . setItem ( "openDiscourse" , 1 ) ;
28
+ }
29
+
30
+ // uninstall on Feb 19
31
+ if ( today >= uninstall_date ) {
32
+ openDiscourse ( ) ;
33
+ browser . management . uninstallSelf ( {
34
+ showConfirmDialog : false
35
+ } ) ;
36
+ }
37
+
15
38
browser . runtime . onMessage . addListener ( event => {
16
39
console . log ( '[metrics] Event successfully sent. Calling analytics.' ) ;
17
40
Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 2 ,
3
3
"name" : " Voice Fill" ,
4
- "version" : " 1.4.5 " ,
4
+ "version" : " 1.4.7 " ,
5
5
"description" : " Adds voice input to popular search pages in Firefox. Learn more about Voice Fill at https://testpilot.firefox.com" ,
6
6
"developer" : {
7
7
"name" : " Emerging Technologies Advanced Dev Team" ,
Original file line number Diff line number Diff line change 2
2
"name" : " voicefill" ,
3
3
4
4
"description" : " This is a simple WebExtension that adds support to use Speech To Text as an input method in web pages." ,
5
- "version" : " 1.4.5 " ,
5
+ "version" : " 1.4.7 " ,
6
6
"author" : {
7
7
"name" : " Andre Natal & Fabrice Desré" ,
8
8
"url" : " https://github.com/mozilla/voicefill"
11
11
"url" : " https://github.com/mozilla/voicefill/issues"
12
12
},
13
13
"devDependencies" : {
14
- "eslint" : " ^5.7 .0" ,
15
- "eslint-plugin-mozilla" : " ^0.16.1 " ,
16
- "eslint-plugin-no-unsanitized" : " ^3.0.2 " ,
14
+ "eslint" : " ^5.16 .0" ,
15
+ "eslint-plugin-mozilla" : " ^0.16.3 " ,
16
+ "eslint-plugin-no-unsanitized" : " ^3.1.4 " ,
17
17
"markdown" : " ^0.5.0" ,
18
- "npm-run-all" : " ^4.1.3 " ,
19
- "prettier" : " ^1.14.3 " ,
20
- "web-ext" : " ^2.9.1 "
18
+ "npm-run-all" : " ^4.1.5 " ,
19
+ "prettier" : " ^1.19.1 " ,
20
+ "web-ext" : " ^5.5.0 "
21
21
},
22
22
"dependencies" : {
23
23
"bodymovin" : " ^4.13.0" ,
39
39
"lint:js" : " eslint extension" ,
40
40
"once" : " web-ext run -s extension" ,
41
41
"package" : " npm run build && mv web-ext-artifacts/*.zip addon.xpi" ,
42
- "postinstall" : " bin/postinstall.sh"
42
+ "postinstall" : " bin/postinstall.sh" ,
43
+ "start:firefox" : " web-ext run --source-dir extension/"
43
44
}
44
45
}
You can’t perform that action at this time.
0 commit comments