From afb60b9061109d06fa678c730a3b0716d5718777 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Thu, 2 Feb 2017 15:02:32 -0800 Subject: modification of notices. --- development/notice-generator.js | 36 ------------------------------------ development/notices.json | 1 - development/states/first-time.json | 2 +- 3 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 development/notice-generator.js delete mode 100644 development/notices.json (limited to 'development') diff --git a/development/notice-generator.js b/development/notice-generator.js deleted file mode 100644 index 08b0c9843..000000000 --- a/development/notice-generator.js +++ /dev/null @@ -1,36 +0,0 @@ -var fsp = require('fs-promise') -var path = require('path') -var prompt = require('prompt') -var open = require('open') -var extend = require('extend') -var notices = require('./notices.json') - -var id = 0 -var date = new Date().toDateString() - -var notice = { - read: false, - date: date, -} - -fsp.readdir('notices') - .then((files) => { - files.forEach(file => { id ++ }) - Promise.resolve() - }).then(() => { - fsp.writeFile(`notices/notice_${id}.md`,'Message goes here. Please write out your notice and save before proceeding at the command line.') - .then(() => { - open(`notices/notice_${id}.md`) - prompt.start() - prompt.get(['title'], (err, result) => { - notice.title = result.title - fsp.readFile(`notices/notice_${id}.md`) - .then((body) => { - notice.body = body.toString() - notice.id = id - notices.push(notice) - return fsp.writeFile(`development/notices.json`, JSON.stringify(notices)) - }) - }) - }) - }) diff --git a/development/notices.json b/development/notices.json deleted file mode 100644 index ffe67097a..000000000 --- a/development/notices.json +++ /dev/null @@ -1 +0,0 @@ -[{"read":false,"date":"Fri Dec 16 2016","title":"Ending Morden Support","body":"Due to [recent events](https://blog.ethereum.org/2016/11/20/from-morden-to-ropsten/), MetaMask is now deprecating support for the Morden Test Network.\n\nUsers will still be able to access Morden through a locally hosted node, but we will no longer be providing hosted access to this network through [Infura](http://infura.io/).\n\nPlease use the new Ropsten Network as your new default test network.\n\nYou can fund your Ropsten account using the buy button on your account page.\n\nBest wishes!\nThe MetaMask Team\n\n","id":0}] diff --git a/development/states/first-time.json b/development/states/first-time.json index d6d95fe06..598adc4cb 100644 --- a/development/states/first-time.json +++ b/development/states/first-time.json @@ -11,7 +11,7 @@ "network": null, "accounts": {}, "transactions": [], - "isDisclaimerConfirmed": true, + "isDisclaimerConfirmed": false, "unconfMsgs": {}, "messages": [], "shapeShiftTxList": [], -- cgit