Commit 0c8bd902 authored by Benjamin Van Ryseghem's avatar Benjamin Van Ryseghem

Initial commit

parent 2fc460ee
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
"download-electron": {
version: "0.33.7",
outputDir: "./electron",
rebuild: true
}
});
grunt.loadNpmTasks('grunt-download-electron');
};
This diff is collapsed.
atom: env LEIN_FAST_TRAMPOLINE=y lein trampoline cljsbuild auto atom-dev
great-things-done: env LEIN_FAST_TRAMPOLINE=y rlwrap lein trampoline figwheel great-things-done
# great-things-done
A fully open-source GTD application made with Clojure/ClojureScript and Electron
# How to run
foreman start &
# How to dev
In separate terminal run:
- `lein cljsbuild auto electron`
- `lein clean && lein cljsbuild once && rlwrap lein trampoline figwheel dev`
- `lein less auto`
- and finally `./electron/Electron.app/Contents/MacOS/Electron .`
# Buid for prod
lein prod
## License
Copyright © 2015 Benjamin Van Ryseghem
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.
@import url(http://fonts.googleapis.com/css?family=Droid+Sans+Mono:200,300,400);
@import url(http://fonts.googleapis.com/css?family=Lato:light,regular);
@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400,500);
body {
font-family: "Lato", Helvetica, Arial, sans-serif;
font-weight: 300;
color:#585858;
font-size: 100%;
margin: 0px;
}
pre, code {
font-family: "Droid Sans Mono","DejaVu Sans Mono","Monospace",monospace;
font-weight: 300;
}
section.container {
display: flex;
font-size: 100%;
}
h2 {
font-weight: normal;
font-size: 3em;
padding: 10px 0 2px 0;
margin: 0;
}
header {
color: #333;
padding: 10px;
}
header small {
font-style: italic;
}
header h1 {
margin: 0;
padding: 0;
/* font-size: 12pt; */
font-weight: lighter;
/* text-shadow: -1px -1px 0px #333; */
}
header h1 a {
color: #333;
/* font-size: 32px; */
font-weight: 400;
text-decoration: none;
}
#content {
overflow: auto;
background: #fff;
color: #333;
padding: 0 18px;
font-size: 1.3em;
}
#namespaces {
border-right: solid 1px #cccccc;
min-width: 200px;
padding-right: 15px;
}
#vars {
border-right: solid 1px #cccccc;
width: 200px;
}
.sidebar {
overflow: auto;
}
.sidebar a {
color: #333;
display: block;
text-decoration: none;
}
.sidebar h3 {
margin: 0;
padding: 10px 10px 0 10px;
font-size: 19px;
font-weight: normal;
}
.sidebar ul {
padding: 0.5em 0em;
margin: 0;
}
.sidebar li {
display: block;
vertical-align: middle;
}
.sidebar li a, .sidebar li .no-link {
border-left: 3px solid transparent;
padding: 0 15px;
white-space: nowrap;
}
.sidebar li .no-link {
display: block;
color: #777;
font-style: italic;
}
.sidebar li .inner {
display: inline-block;
padding-top: 7px;
height: 24px;
}
.sidebar li a, .sidebar li .tree {
height: 31px;
/* height: 25px; */
}
.depth-1 .inner { padding-left: 2px; }
.depth-2 .inner { padding-left: 6px; }
.depth-3 .inner { padding-left: 20px; }
.depth-4 .inner { padding-left: 34px; }
.depth-5 .inner { padding-left: 48px; }
.depth-6 .inner { padding-left: 62px; }
.sidebar li .tree {
display: block;
float: left;
position: relative;
top: -10px;
margin: 0 4px 0 0;
padding: 0;
}
.sidebar li.depth-1 .tree {
display: none;
}
.sidebar li .tree .top, .sidebar li .tree .bottom {
display: block;
margin: 0;
padding: 0;
width: 7px;
}
.sidebar li .tree .top {
border-left: 1px solid #aaa;
border-bottom: 1px solid #aaa;
height: 19px;
}
.sidebar li .tree .bottom {
height: 22px;
}
.sidebar li.branch .tree .bottom {
border-left: 1px solid #aaa;
}
#namespaces li.current a {
border-left: 3px solid #a33;
border-left: 3px solid #7a2518;
color: #a33;
color: #7a2518;
}
#vars li.current a {
border-left: 3px solid #33a;
color: #33a;
}
.namespace-docs h2 {
color: #7a2518;
}
.namespace-docs h3 a {
color: #ba3925;
font-family: "Droid Sans Mono","DejaVu Sans Mono","Monospace",monospace;
font-weight: 400;
text-decoration: none;
}
.namespace-docs .usage code {
display: block;
color: #777;
margin: 2px 0;
font-size: 0.6em;
}
/* .usage code:first-child { */
/* padding-top: 10px; */
/* } */
.namespace-index h3 a {
text-decoration: none;
color: #ba3925;
font-family: "Droid Sans Mono","DejaVu Sans Mono","Monospace",monospace;
font-weight: 300;
}
.public h3 {
margin: 0;
}
.public {
margin: 0;
border-top: 1px solid #efefef;
padding-top: 14px;
padding-bottom: 6px;
}
.public:last-child {
margin-bottom: 20%;
}
.members .public:last-child {
margin-bottom: 0;
}
.members {
margin: 15px 0;
}
.members h4 {
color: #555;
font-weight: normal;
font-variant: small-caps;
margin: 0 0 5px 0;
}
.members .inner {
padding-top: 5px;
padding-left: 12px;
margin-top: 2px;
margin-left: 7px;
border-left: 1px solid #bbb;
}
#content .members .inner h3 {
/* font-size: 12pt; */
}
.members .public {
border-top: none;
margin-top: 0;
padding-top: 6px;
padding-bottom: 0;
}
.members .public:first-child {
padding-top: 0;
}
h4.type,
h4.dynamic,
h4.added,
h4.deprecated {
margin: 3px 10px 10spx 0;
font-weight: bold;
font-variant: small-caps;
}
.public h4.type,
.public h4.dynamic,
.public h4.added,
.public h4.deprecated {
font-weight: bold;
/* margin: 3px 0 0 10px; */
font-size: 0.7em;
}
.members h4.type,
.members h4.added,
.members h4.deprecated {
margin-top: 1px;
}
h4.type {
color: #717171;
}
h4.dynamic {
color: #9933aa;
}
h4.added {
color: #508820;
}
h4.deprecated {
color: #880000;
}
.namespace {
margin-bottom: 40px;
}
.namespace:last-child {
margin-bottom: 10%;
}
.index {
padding: 0;
margin: 15px 0;
}
.index * {
display: inline;
}
.index p {
padding-right: 3px;
}
.index li {
padding-right: 5px;
}
.index li a {
color: #333;
font-family: "Droid Sans Mono","DejaVu Sans Mono","Monospace",monospace;
font-size: 0.8em;
text-decoration: none;
font-weight: 300;
}
.index ul {
padding-left: 0;
}
p {
margin: 15px 0;
}
.public p:first-child, .public pre.plaintext {
margin-top: 12px;
}
.doc {
margin: 0 0 26px 0;
clear: both;
}
.public .doc {
margin: 0;
}
.namespace-index .doc {
margin-bottom: 20px;
}
.namespace-index .namespace .doc {
margin-bottom: 10px;
}
.markdown {
/* line-height: 18px; */
/* font-size: 16px; */
}
.doc, .public, .namespace .index {
max-width: 780px;
overflow-x: visible;
}
.markdown code, .src-link a {
border-radius: 2px;
font-size: 0.8em;
color: #444;
}
.markdown pre {
background: #f4f4f4;
border: 1px solid #e0e0e0;
/* border-radius: 2px; */
padding: 5px 5px;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.markdown pre code {
background: transparent;
border: none;
}
.doc ul, .doc ol {
padding-left: 30px;
}
.doc table {
border-collapse: collapse;
margin: 0 10px;
}
.doc table td, .doc table th {
border: 1px solid #dddddd;
padding: 4px 6px;
}
.doc table th {
background: #f2f2f2;
}
.doc dl {
margin: 0 10px 20px 10px;
}
.doc dl dt {
font-weight: bold;
margin: 0;
padding: 3px 0;
border-bottom: 1px solid #ddd;
}
.doc dl dd {
padding: 5px 0;
margin: 0 0 5px 10px;
}
.doc abbr {
border-bottom: 1px dotted #333;
font-variant: none
cursor: help;
}
.src-link {
margin-bottom: 15px;
}
.src-link a {
/* font-size: 70%; */
padding: 1px 4px;
text-decoration: none;
color: #5555bb;
}
\ No newline at end of file
#!/bin/bash
env NODE_NO_READLINE=1 rlwrap nc $@
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link href="css/default.css" rel="stylesheet" type="text/css"><title>gtd.app-menu documentation</title></head><body><header><section class="title"><h1><a href="index.html">Great Things Done Api Documentation</a></h1></section><small>Version: 0.1.0-SNAPSHOT</small></header><section class="container"><div class="sidebar" id="namespaces"><h3><a href="index.html"><span class="inner">Namespaces</span></a></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gtd</span></div></div></li><li class="depth-2 branch current"><a href="gtd.app-menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>app-menu</span></div></a></li><li class="depth-2 branch"><a href="gtd.crypto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>crypto</span></div></a></li><li class="depth-2 branch"><a href="gtd.db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></a></li><li class="depth-2 branch"><a href="gtd.import-db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>import-db</span></div></a></li><li class="depth-2 branch"><a href="gtd.integration.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>integration</span></div></a></li><li class="depth-2 branch"><a href="gtd.platform.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>platform</span></div></a></li><li class="depth-2"><a href="gtd.state.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -238px;"><span class="top" style="height: 247px;"></span><span class="bottom"></span></span><span>node</span></div></div></li><li class="depth-2"><a href="node.fs.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>repl</span></div></div></li><li class="depth-2"><a href="repl.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>ui</span></div></div></li><li class="depth-2 branch"><a href="ui.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="ui.menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>menu</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>utils</span></div></div></li><li class="depth-2 branch"><a href="utils.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="utils.keychain.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>keychain</span></div></a></li></ul></div><section class="namespace-docs" id="content"><h2 class="anchor" id="top">gtd.app-menu</h2><div class="doc"><div class="markdown"></div></div><div class="public anchor" id="var-init"><h3><a href="#var-init">init</a></h3><div class="usage"><code>(init)</code></div><div class="doc"><div class="markdown"><p>Initialize the application menu.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/app_menu.cljs#L3">view source</a></div></div></section></section></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link href="css/default.css" rel="stylesheet" type="text/css"><title>gtd.crypto documentation</title></head><body><header><section class="title"><h1><a href="index.html">Great Things Done Api Documentation</a></h1></section><small>Version: 0.1.0-SNAPSHOT</small></header><section class="container"><div class="sidebar" id="namespaces"><h3><a href="index.html"><span class="inner">Namespaces</span></a></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gtd</span></div></div></li><li class="depth-2 branch"><a href="gtd.app-menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>app-menu</span></div></a></li><li class="depth-2 branch current"><a href="gtd.crypto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>crypto</span></div></a></li><li class="depth-2 branch"><a href="gtd.db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></a></li><li class="depth-2 branch"><a href="gtd.import-db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>import-db</span></div></a></li><li class="depth-2 branch"><a href="gtd.integration.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>integration</span></div></a></li><li class="depth-2 branch"><a href="gtd.platform.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>platform</span></div></a></li><li class="depth-2"><a href="gtd.state.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -238px;"><span class="top" style="height: 247px;"></span><span class="bottom"></span></span><span>node</span></div></div></li><li class="depth-2"><a href="node.fs.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>repl</span></div></div></li><li class="depth-2"><a href="repl.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>ui</span></div></div></li><li class="depth-2 branch"><a href="ui.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="ui.menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>menu</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>utils</span></div></div></li><li class="depth-2 branch"><a href="utils.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="utils.keychain.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>keychain</span></div></a></li></ul></div><section class="namespace-docs" id="content"><h2 class="anchor" id="top">gtd.crypto</h2><div class="doc"><div class="markdown"><p>Encryption/Decryption node module based on <a href="https://gist.github.com/chris-rock/993d8a22c7138d1f0d2e#file-crypto-ctr-js">https://gist.github.com/chris-rock/993d8a22c7138d1f0d2e#file-crypto-ctr-js</a></p></div></div><div class="public anchor" id="var-decrypt"><h3><a href="#var-decrypt">decrypt</a></h3><div class="usage"><code>(decrypt text password &amp; {:keys [algorithm], :or {algorithm &quot;aes-256-ctr&quot;}})</code></div><div class="doc"><div class="markdown"><p>Decrypt the provided text with the provided password. An optional algorithm can be provided, default is <code>aes-256-ctr</code></p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/crypto.cljs#L31">view source</a></div></div><div class="public anchor" id="var-encrypt"><h3><a href="#var-encrypt">encrypt</a></h3><div class="usage"><code>(encrypt text password &amp; {:keys [algorithm], :or {algorithm &quot;aes-256-ctr&quot;}})</code></div><div class="doc"><div class="markdown"><p>Encrypt the provided text with the provided password. An optional algorithm can be provided, default is <code>aes-256-ctr</code></p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/crypto.cljs#L16">view source</a></div></div></section></section></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link href="css/default.css" rel="stylesheet" type="text/css"><title>gtd.db documentation</title></head><body><header><section class="title"><h1><a href="index.html">Great Things Done Api Documentation</a></h1></section><small>Version: 0.1.0-SNAPSHOT</small></header><section class="container"><div class="sidebar" id="namespaces"><h3><a href="index.html"><span class="inner">Namespaces</span></a></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gtd</span></div></div></li><li class="depth-2 branch"><a href="gtd.app-menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>app-menu</span></div></a></li><li class="depth-2 branch"><a href="gtd.crypto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>crypto</span></div></a></li><li class="depth-2 branch current"><a href="gtd.db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></a></li><li class="depth-2 branch"><a href="gtd.import-db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>import-db</span></div></a></li><li class="depth-2 branch"><a href="gtd.integration.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>integration</span></div></a></li><li class="depth-2 branch"><a href="gtd.platform.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>platform</span></div></a></li><li class="depth-2"><a href="gtd.state.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -238px;"><span class="top" style="height: 247px;"></span><span class="bottom"></span></span><span>node</span></div></div></li><li class="depth-2"><a href="node.fs.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>repl</span></div></div></li><li class="depth-2"><a href="repl.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>ui</span></div></div></li><li class="depth-2 branch"><a href="ui.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="ui.menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>menu</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>utils</span></div></div></li><li class="depth-2 branch"><a href="utils.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="utils.keychain.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>keychain</span></div></a></li></ul></div><section class="namespace-docs" id="content"><h2 class="anchor" id="top">gtd.db</h2><div class="doc"><div class="markdown"></div></div><div class="public anchor" id="var-decrypt-task"><h3><a href="#var-decrypt-task">decrypt-task</a></h3><div class="usage"><code>(decrypt-task encrypted-string)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L16">view source</a></div></div><div class="public anchor" id="var-deserialize-project"><h3><a href="#var-deserialize-project">deserialize-project</a></h3><div class="usage"><code>(deserialize-project path &amp; [callback])</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L41">view source</a></div></div><div class="public anchor" id="var-deserialize-task"><h3><a href="#var-deserialize-task">deserialize-task</a></h3><div class="usage"><code>(deserialize-task path task-id &amp; [callback])</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L24">view source</a></div></div><div class="public anchor" id="var-encrypt-task"><h3><a href="#var-encrypt-task">encrypt-task</a></h3><div class="usage"><code>(encrypt-task task)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L8">view source</a></div></div><div class="public anchor" id="var-ensure-project"><h3><a href="#var-ensure-project">ensure-project</a></h3><div class="usage"><code>(ensure-project project)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L114">view source</a></div></div><div class="public anchor" id="var-ensure-structure"><h3><a href="#var-ensure-structure">ensure-structure</a></h3><div class="usage"><code>(ensure-structure)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L107">view source</a></div></div><div class="public anchor" id="var-remove-task.21"><h3><a href="#var-remove-task.21">remove-task!</a></h3><div class="usage"><code>(remove-task! task)</code></div><div class="doc"><div class="markdown"><p>Remove old file in old project</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L97">view source</a></div></div><div class="public anchor" id="var-rename-project.21"><h3><a href="#var-rename-project.21">rename-project!</a></h3><div class="usage"><code>(rename-project! project old-id)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L87">view source</a></div></div><div class="public anchor" id="var-serialize-project.21"><h3><a href="#var-serialize-project.21">serialize-project!</a></h3><div class="usage"><code>(serialize-project! project)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L75">view source</a></div></div><div class="public anchor" id="var-serialize-task.21"><h3><a href="#var-serialize-task.21">serialize-task!</a></h3><div class="usage"><code>(serialize-task! task)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/db.cljs#L58">view source</a></div></div></section></section></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link href="css/default.css" rel="stylesheet" type="text/css"><title>gtd.import-db documentation</title></head><body><header><section class="title"><h1><a href="index.html">Great Things Done Api Documentation</a></h1></section><small>Version: 0.1.0-SNAPSHOT</small></header><section class="container"><div class="sidebar" id="namespaces"><h3><a href="index.html"><span class="inner">Namespaces</span></a></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gtd</span></div></div></li><li class="depth-2 branch"><a href="gtd.app-menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>app-menu</span></div></a></li><li class="depth-2 branch"><a href="gtd.crypto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>crypto</span></div></a></li><li class="depth-2 branch"><a href="gtd.db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></a></li><li class="depth-2 branch current"><a href="gtd.import-db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>import-db</span></div></a></li><li class="depth-2 branch"><a href="gtd.integration.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>integration</span></div></a></li><li class="depth-2 branch"><a href="gtd.platform.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>platform</span></div></a></li><li class="depth-2"><a href="gtd.state.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -238px;"><span class="top" style="height: 247px;"></span><span class="bottom"></span></span><span>node</span></div></div></li><li class="depth-2"><a href="node.fs.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>repl</span></div></div></li><li class="depth-2"><a href="repl.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>ui</span></div></div></li><li class="depth-2 branch"><a href="ui.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="ui.menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>menu</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>utils</span></div></div></li><li class="depth-2 branch"><a href="utils.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="utils.keychain.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>keychain</span></div></a></li></ul></div><section class="namespace-docs" id="content"><h2 class="anchor" id="top">gtd.import-db</h2><div class="doc"><div class="markdown"></div></div><div class="public anchor" id="var-import-all-projects.21"><h3><a href="#var-import-all-projects.21">import-all-projects!</a></h3><div class="usage"><code>(import-all-projects!)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/import_db.cljs#L30">view source</a></div></div><div class="public anchor" id="var-import-meta-projects"><h3><a href="#var-import-meta-projects">import-meta-projects</a></h3><div class="usage"><code>(import-meta-projects)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/import_db.cljs#L7">view source</a></div></div><div class="public anchor" id="var-import-project"><h3><a href="#var-import-project">import-project</a></h3><div class="usage"><code>(import-project folder-name)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/import_db.cljs#L23">view source</a></div></div><div class="public anchor" id="var-import-task"><h3><a href="#var-import-task">import-task</a></h3><div class="usage"><code>(import-task project-path task-id)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/import_db.cljs#L16">view source</a></div></div></section></section></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link href="css/default.css" rel="stylesheet" type="text/css"><title>gtd.integration documentation</title></head><body><header><section class="title"><h1><a href="index.html">Great Things Done Api Documentation</a></h1></section><small>Version: 0.1.0-SNAPSHOT</small></header><section class="container"><div class="sidebar" id="namespaces"><h3><a href="index.html"><span class="inner">Namespaces</span></a></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gtd</span></div></div></li><li class="depth-2 branch"><a href="gtd.app-menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>app-menu</span></div></a></li><li class="depth-2 branch"><a href="gtd.crypto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>crypto</span></div></a></li><li class="depth-2 branch"><a href="gtd.db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></a></li><li class="depth-2 branch"><a href="gtd.import-db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>import-db</span></div></a></li><li class="depth-2 branch current"><a href="gtd.integration.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>integration</span></div></a></li><li class="depth-2 branch"><a href="gtd.platform.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>platform</span></div></a></li><li class="depth-2"><a href="gtd.state.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -238px;"><span class="top" style="height: 247px;"></span><span class="bottom"></span></span><span>node</span></div></div></li><li class="depth-2"><a href="node.fs.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>repl</span></div></div></li><li class="depth-2"><a href="repl.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>ui</span></div></div></li><li class="depth-2 branch"><a href="ui.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="ui.menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>menu</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>utils</span></div></div></li><li class="depth-2 branch"><a href="utils.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="utils.keychain.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>keychain</span></div></a></li></ul></div><section class="namespace-docs" id="content"><h2 class="anchor" id="top">gtd.integration</h2><div class="doc"><div class="markdown"></div></div><div class="public anchor" id="var-get-current-app-data"><h3><a href="#var-get-current-app-data">get-current-app-data</a></h3><div class="usage"><code>(get-current-app-data fun)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L69">view source</a></div></div><div class="public anchor" id="var-get-current-app-info"><h3><a href="#var-get-current-app-info">get-current-app-info</a></h3><div class="usage"><code>(get-current-app-info)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L60">view source</a></div></div><div class="public anchor" id="var-get-current-app-info-osx"><h3><a href="#var-get-current-app-info-osx">get-current-app-info-osx</a></h3><div class="usage"><code>(get-current-app-info-osx)</code></div><div class="doc"><div class="markdown"><p>Return info about the current frontmost application on OSX</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L47">view source</a></div></div><div class="public anchor" id="var-js-get-current-app-data"><h3><a href="#var-js-get-current-app-data">js-get-current-app-data</a></h3><div class="usage"><code>(js-get-current-app-data fun)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L75">view source</a></div></div><div class="public anchor" id="var-js-get-current-app-info"><h3><a href="#var-js-get-current-app-info">js-get-current-app-info</a></h3><div class="usage"><code>(js-get-current-app-info)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L65">view source</a></div></div><div class="public anchor" id="var-osx-finder-applescript"><h3><a href="#var-osx-finder-applescript">osx-finder-applescript</a></h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L17">view source</a></div></div><div class="public anchor" id="var-osx-mail-applescript"><h3><a href="#var-osx-mail-applescript">osx-mail-applescript</a></h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L4">view source</a></div></div><div class="public anchor" id="var-retrieve-current-app-data-osx"><h3><a href="#var-retrieve-current-app-data-osx">retrieve-current-app-data-osx</a></h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L38">view source</a></div></div><div class="public anchor" id="var-run-applescript"><h3><a href="#var-run-applescript">run-applescript</a></h3><div class="usage"><code>(run-applescript code callback)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/gtd/integration.cljs#L28">view source</a></div></div></section></section></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link href="css/default.css" rel="stylesheet" type="text/css"><title>node.fs documentation</title></head><body><header><section class="title"><h1><a href="index.html">Great Things Done Api Documentation</a></h1></section><small>Version: 0.1.0-SNAPSHOT</small></header><section class="container"><div class="sidebar" id="namespaces"><h3><a href="index.html"><span class="inner">Namespaces</span></a></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gtd</span></div></div></li><li class="depth-2 branch"><a href="gtd.app-menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>app-menu</span></div></a></li><li class="depth-2 branch"><a href="gtd.crypto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>crypto</span></div></a></li><li class="depth-2 branch"><a href="gtd.db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></a></li><li class="depth-2 branch"><a href="gtd.import-db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>import-db</span></div></a></li><li class="depth-2 branch"><a href="gtd.integration.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>integration</span></div></a></li><li class="depth-2 branch"><a href="gtd.platform.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>platform</span></div></a></li><li class="depth-2"><a href="gtd.state.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -238px;"><span class="top" style="height: 247px;"></span><span class="bottom"></span></span><span>node</span></div></div></li><li class="depth-2 current"><a href="node.fs.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>repl</span></div></div></li><li class="depth-2"><a href="repl.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>ui</span></div></div></li><li class="depth-2 branch"><a href="ui.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="ui.menu.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>menu</span></div></a></li><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree" style="top: -83px;"><span class="top" style="height: 92px;"></span><span class="bottom"></span></span><span>utils</span></div></div></li><li class="depth-2 branch"><a href="utils.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2"><a href="utils.keychain.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>keychain</span></div></a></li></ul></div><section class="namespace-docs" id="content"><h2 class="anchor" id="top">node.fs</h2><div class="doc"><div class="markdown"></div></div><div class="public anchor" id="var-ensure-dir.21"><h3><a href="#var-ensure-dir.21">ensure-dir!</a></h3><div class="usage"><code>(ensure-dir! path &amp; [callback])</code></div><div class="doc"><div class="markdown"><p>Ensure tha provided <code>path</code> exists on disk. If <code>callback</code> is provided, the execution is asynchronous.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L86">view source</a></div></div><div class="public anchor" id="var-mkdir.21"><h3><a href="#var-mkdir.21">mkdir!</a></h3><div class="usage"><code>(mkdir! path &amp; [mode callback])</code></div><div class="doc"><div class="markdown"><p>mkdir(2). <code>mode</code> defaults to <code>0777</code>. If <code>callback</code> is provided, the execution is asynchronous and <code>callback</code> is invoked with no arguments other than a possible exception.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L21">view source</a></div></div><div class="public anchor" id="var-path-exists.3F"><h3><a href="#var-path-exists.3F">path-exists?</a></h3><div class="usage"><code>(path-exists? path &amp; [callback])</code></div><div class="doc"><div class="markdown"><p>Test whether or not the given path exists by checking the file system. If <code>callback</code> is provided, the execution is asynchronous and <code>callback</code> is invoked with either true or false.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L14">view source</a></div></div><div class="public anchor" id="var-read-dir"><h3><a href="#var-read-dir">read-dir</a></h3><div class="usage"><code>(read-dir path &amp; [callback])</code></div><div class="doc"><div class="markdown"><p>Synchronous readdir(3). Returns an array of filenames excluding &lsquo;.&rsquo; and &lsquo;..&rsquo;. If <code>callback</code> is provided the execution is asynchronous.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L59">view source</a></div></div><div class="public anchor" id="var-read-file"><h3><a href="#var-read-file">read-file</a></h3><div class="usage"><code>(read-file path &amp; [options callback])</code></div><div class="doc"><div class="markdown"><p>Synchronously reads the entire contents of a file. If <code>callback</code> is provided the execution is asynchronous.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L66">view source</a></div></div><div class="public anchor" id="var-rename.21"><h3><a href="#var-rename.21">rename!</a></h3><div class="usage"><code>(rename! old-path new-path &amp; [callback])</code></div><div class="doc"><div class="markdown"><p>Synchronous rename(2). If <code>callback</code> is provided the execution is asynchronous.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L45">view source</a></div></div><div class="public anchor" id="var-rm-dir.21"><h3><a href="#var-rm-dir.21">rm-dir!</a></h3><div class="usage"><code>(rm-dir! path &amp; [callback])</code></div><div class="doc"><div class="markdown"><p>Synchronous rmdir(2). If <code>callback</code> is provided the execution is asynchronous.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L73">view source</a></div></div><div class="public anchor" id="var-unlink.21"><h3><a href="#var-unlink.21">unlink!</a></h3><div class="usage"><code>(unlink! path &amp; [callback])</code></div><div class="doc"><div class="markdown"><p>Synchronous unlink(2). If <code>callback</code> is provided the execution is asynchronous.</p></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L52">view source</a></div></div><div class="public anchor" id="var-write-file.21"><h3><a href="#var-write-file.21">write-file!</a></h3><div class="usage"><code>(write-file! filename data &amp; [options callback])</code></div><div class="doc"><div class="markdown"><p>Write data to a file, replacing the file if it already exists. data can be a string or a buffer.</p><p>The encoding option is ignored if data is a buffer. It defaults to &lsquo;utf8&rsquo;.</p>
<ul>
<li><code>filename</code> String</li>
<li><code>data</code> String | Buffer</li>
<li><code>options</code> Object
<ul>
<li><code>encoding</code> String | Null default = &lsquo;utf8&rsquo;</li>
<li><code>mode</code> Number default = 438 (aka 0666 in Octal)</li>
</ul></li>
<li><code>flag</code> String default = &lsquo;w&rsquo;</li>
<li><code>callback</code> Function</li>
</ul></div></div><div class="src-link"><a href="https://github.com/BenjaminVanRyseghem/great-things-done/blob/master/src/node/fs.cljs#L28">view source</a></div></div></section></section></body></html>
\ No newline at end of file
{
"name": "great-things-done",
"version": "0.0.0",
"main": "resources/js/main.js",
"description": "",
"devDependencies": {
"electron-packager": "^5.1.0",
"electron-prebuilt": "^0.33.7",
"electron-rebuild": "^1.0.1",
"grunt": "^0.4.5",
"grunt-download-electron": "^2.1.1"
},
"dependencies": {
"applescript": "^1.0.0",
"keytar": "3.0.0",
"nodobjc": "TooTallNate/NodObjC#e4e3e2fac301fb3f5eb0bc4714850f6b7b1db29d"
}
}
(defproject great-things-done "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[com.lucasbradstreet/cljs-uuid-utils "1.0.2"]
[figwheel "0.4.1"]
[funcool/cuerdas "0.6.0"]
[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.122"]