updates
This commit is contained in:
@@ -65,44 +65,6 @@ angular.module('app.frontend')
|
||||
})
|
||||
.controller('EditorCtrl', function ($sce, $timeout, apiController, modelManager, markdownRenderer, $rootScope) {
|
||||
|
||||
this.demoNotes = [
|
||||
{title: "Live print a file with tail", content: "tail -f log/production.log"},
|
||||
{title: "Create SSH tunnel", content: "ssh -i .ssh/key.pem -N -L 3306:example.com:3306 ec2-user@example.com"},
|
||||
{title: "List of processes running on port", content: "lsof -i:8080"},
|
||||
{title: "Set ENV from file", content: "export $(cat .envfile | xargs)"},
|
||||
{title: "Find process by name", content: "ps -ax | grep <application name>"},
|
||||
{title: "NPM install without sudo", content: "sudo chown -R $(whoami) ~/.npm"},
|
||||
{title: "Email validation regex", content: "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$"},
|
||||
{title: "Ruby generate 256 bit key", content: "Digest::SHA256.hexdigest(SecureRandom.random_bytes(32))"},
|
||||
{title: "Mac add user to user tag", content: "sudo dsedittag -o edit -a USERNAME -t user GROUPNAME"},
|
||||
{title: "Kill Mac OS System Apache", content: "sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist"},
|
||||
{title: "Docker run with mount binding and port", content: "docker run -v /home/vagrant/www/app:/var/www/app -p 8080:80 -d kpi/s3"},
|
||||
{title: "MySQL grant privileges", content: "GRANT [type of permission] ON [database name].[table name] TO ‘[username]’@'%’;"},
|
||||
{title: "MySQL list users", content: "SELECT User FROM mysql.user;"},
|
||||
];
|
||||
|
||||
$timeout(function(){
|
||||
this.showSampler = !this.user.uuid && modelManager.filteredNotes.length == 0;
|
||||
|
||||
this.demoNoteNames = _.map(this.demoNotes, function(note){
|
||||
return note.title;
|
||||
});
|
||||
|
||||
this.currentDemoContent = {text: null};
|
||||
|
||||
this.prebeginFn = function() {
|
||||
this.currentDemoContent.text = null;
|
||||
}.bind(this)
|
||||
|
||||
this.callback = function(index) {
|
||||
this.currentDemoContent.text = this.demoNotes[index].text;
|
||||
}.bind(this)
|
||||
|
||||
this.contentCallback = function(index) {
|
||||
}
|
||||
}.bind(this), 100)
|
||||
|
||||
|
||||
this.setNote = function(note, oldNote) {
|
||||
this.editorMode = 'edit';
|
||||
if(note.content.text.length == 0) {
|
||||
|
||||
@@ -18,7 +18,7 @@ angular.module('app.frontend')
|
||||
console.log("Get user response", user, items);
|
||||
$scope.defaultUser = user;
|
||||
modelManager.items = items;
|
||||
$rootScope.title = "Notes — Neeto";
|
||||
$rootScope.title = "Notes — Standard Notes";
|
||||
onUserSet();
|
||||
} else {
|
||||
$scope.defaultUser = new User(apiController.localUser());
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
%nav.animated-fast.fadeInDown
|
||||
%a.navbar-brand{"ui-sref" => "home"}
|
||||
.header-name
|
||||
neeto
|
||||
%span.tagline{"ng-if" => "!ctrl.user.uuid", "ng-cloak" => "true"} secure code box for developers
|
||||
Standard Notes
|
||||
|
||||
.menu.navbar-text.navbar-right
|
||||
.items
|
||||
@@ -50,7 +49,7 @@
|
||||
%img.icon{"lazy-img" => "assets/encryption.png"}
|
||||
.meta-container
|
||||
.title Local Encryption
|
||||
.desc Encrypt notes locally before sending to server. Neither the server owner nor an intrusive government can decrypt your locally encrypted notes.
|
||||
.desc Encrypt notes locally before sending to server. Neither the server owner nor an intruder can decrypt your locally encrypted notes.
|
||||
.action-container
|
||||
%span.status-title Status: enabled.
|
||||
{{ctrl.encryptionStatusForNotes()}} (shared notes not encrypted)
|
||||
@@ -70,7 +69,7 @@
|
||||
.account-item
|
||||
.meta-container
|
||||
.title Server
|
||||
.desc Use a custom Neeto server to store and retrieve your account data.
|
||||
.desc Use a custom Standard Notes server to store and retrieve your account data.
|
||||
.action-container
|
||||
%form.account-form{'ng-submit' => 'ctrl.changeServer()', 'name' => "serverChangeForm"}
|
||||
.form-tag.has-feedback
|
||||
@@ -96,25 +95,5 @@
|
||||
%a{"ng-click" => "ctrl.signOutPressed()"} Sign Out
|
||||
|
||||
.item
|
||||
%a.menuItem{"ng-click" => "ctrl.showFaq = !ctrl.showFaq"}
|
||||
faq
|
||||
.panel.panel-default.faq-panel{"ng-if" => "ctrl.showFaq"}
|
||||
.panel-body
|
||||
.faq-item
|
||||
%strong.question What is Neeto?
|
||||
%p.answer Neeto is a secure code box for developers to store common commands and useful notes.
|
||||
.faq-item
|
||||
%strong.question What privacy features does Neeto have?
|
||||
%p.answer
|
||||
We don't want your data. We really don't. Storing your data in our database is a liability for us. But there's a tradeoff between privacy and convenience. We try to be convenient but also focus highly on privacy and security.
|
||||
%ul
|
||||
%li Neeto can be used locally, so that no data is sent to our servers whatsoever. This means however that your data is controlled by your browser, and can vanish without notice.
|
||||
%li When signed in, your data is always sent through a secure connection to Neeto servers.
|
||||
%li When the server receives your data, it is encrypted before being saved.
|
||||
%li Your password is never sent to Neeto servers. Instead, we derive a key from your password and send that instead. This way, Neeto can never know the original contents of your password.
|
||||
%li With Neeto Advanced, you can enable Local Encryption. This encrypts your notes locally on your machine <strong>before</strong> sending to Neeto servers. This means that technically even Neeto couldn't see the contents of your notes (and for that matter any government eavesdroppers.)
|
||||
%li Neeto does not use Google Analytics, a seemingly harmless tool that Google uses to track your web usage patterns and sells it to advertisers.
|
||||
.faq-item
|
||||
%strong.question How does local encryption work?
|
||||
%p.answer Users who opt into using local encryption can add an additional layer of security over their notes. These notes will be encrypted locally on your machine before being sent over the wire. This means that when Neeto receives your notes, we have no idea what the contents are. And if a government ever forces us to give up your data, we couldn't decrypt it for them even if we wanted to.
|
||||
%p This encryption is based on your password, which is also never sent over the air. The strength of this encryption is directly tied to the strength of your password.
|
||||
%a.menuItem{"href" => "https://standardnotes.org", "target" => "_blank"}
|
||||
about
|
||||
|
||||
@@ -13,20 +13,20 @@
|
||||
<link color="#5bbad5" href="favicon/safari-pinned-tab.svg" rel="mask-icon"></link>
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<meta ng-bind="title" content="Neeto" name="apple-mobile-web-app-title"/>
|
||||
<meta ng-bind="title" content="Neeto" name="application-name"/>
|
||||
<meta ng-bind="title" content="Standard Notes" name="apple-mobile-web-app-title"/>
|
||||
<meta ng-bind="title" content="Standard Notes" name="application-name"/>
|
||||
<base href="/"></base>
|
||||
|
||||
<title ng-bind="title">Neeto</title>
|
||||
<meta name="description" content="A private and secure personal notes/blogging system."/>
|
||||
<title ng-bind="title">Standard Notes</title>
|
||||
<meta name="description" content="Standard Notes is a basic notes app that delivers only the essentials in note taking. Because of its simplicity and resistance to growth, users can count on durability and convenience."/>
|
||||
|
||||
<meta name="twitter:title" content="Neeto, a private and secure notes app."/>
|
||||
<meta name="twitter:description" content="A private and secure personal notes/blogging system."/>
|
||||
<meta name="twitter:site" content="@neetoapp"/>
|
||||
<meta name="twitter:title" content="Standard Notes, a private and secure notes app."/>
|
||||
<meta name="twitter:description" content="Standard Notes is a basic notes app that delivers only the essentials in note taking. Because of its simplicity and resistance to growth, users can count on durability and convenience."/>
|
||||
<meta name="twitter:site" content="@standardnotes"/>
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
|
||||
<meta name="og:title" content="Neeto, a private and secure notes app."/>
|
||||
<meta name="og:description" content="A private and secure personal notes/blogging system."/>
|
||||
<meta name="og:title" content="Standard Notes, a private and secure notes app."/>
|
||||
<meta name="og:description" content="Standard Notes is a basic notes app that delivers only the essentials in note taking. Because of its simplicity and resistance to growth, users can count on durability and convenience."/>
|
||||
|
||||
<% if Rails.env.development? %>
|
||||
<%= javascript_include_tag "compiled.js", debug: true %>
|
||||
|
||||
24
vendor/assets/javascripts/transpiled.js
vendored
24
vendor/assets/javascripts/transpiled.js
vendored
@@ -514,28 +514,6 @@ angular.module('app.frontend').controller('BaseCtrl', BaseCtrl);
|
||||
};
|
||||
}).controller('EditorCtrl', function ($sce, $timeout, apiController, modelManager, markdownRenderer, $rootScope) {
|
||||
|
||||
this.demoNotes = [{ title: "Live print a file with tail", content: "tail -f log/production.log" }, { title: "Create SSH tunnel", content: "ssh -i .ssh/key.pem -N -L 3306:example.com:3306 ec2-user@example.com" }, { title: "List of processes running on port", content: "lsof -i:8080" }, { title: "Set ENV from file", content: "export $(cat .envfile | xargs)" }, { title: "Find process by name", content: "ps -ax | grep <application name>" }, { title: "NPM install without sudo", content: "sudo chown -R $(whoami) ~/.npm" }, { title: "Email validation regex", content: "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$" }, { title: "Ruby generate 256 bit key", content: "Digest::SHA256.hexdigest(SecureRandom.random_bytes(32))" }, { title: "Mac add user to user tag", content: "sudo dsedittag -o edit -a USERNAME -t user GROUPNAME" }, { title: "Kill Mac OS System Apache", content: "sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist" }, { title: "Docker run with mount binding and port", content: "docker run -v /home/vagrant/www/app:/var/www/app -p 8080:80 -d kpi/s3" }, { title: "MySQL grant privileges", content: "GRANT [type of permission] ON [database name].[table name] TO ‘[username]’@'%’;" }, { title: "MySQL list users", content: "SELECT User FROM mysql.user;" }];
|
||||
|
||||
$timeout(function () {
|
||||
this.showSampler = !this.user.uuid && modelManager.filteredNotes.length == 0;
|
||||
|
||||
this.demoNoteNames = _.map(this.demoNotes, function (note) {
|
||||
return note.title;
|
||||
});
|
||||
|
||||
this.currentDemoContent = { text: null };
|
||||
|
||||
this.prebeginFn = function () {
|
||||
this.currentDemoContent.text = null;
|
||||
}.bind(this);
|
||||
|
||||
this.callback = function (index) {
|
||||
this.currentDemoContent.text = this.demoNotes[index].text;
|
||||
}.bind(this);
|
||||
|
||||
this.contentCallback = function (index) {};
|
||||
}.bind(this), 100);
|
||||
|
||||
this.setNote = function (note, oldNote) {
|
||||
this.editorMode = 'edit';
|
||||
if (note.content.text.length == 0) {
|
||||
@@ -898,7 +876,7 @@ angular.module('app.frontend').controller('BaseCtrl', BaseCtrl);
|
||||
console.log("Get user response", user, items);
|
||||
$scope.defaultUser = user;
|
||||
modelManager.items = items;
|
||||
$rootScope.title = "Notes — Neeto";
|
||||
$rootScope.title = "Notes — Standard Notes";
|
||||
onUserSet();
|
||||
} else {
|
||||
$scope.defaultUser = new User(apiController.localUser());
|
||||
|
||||
2
vendor/assets/javascripts/transpiled.js.map
vendored
2
vendor/assets/javascripts/transpiled.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user