Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imdone

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imdone - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

1

imdone/config.js

@@ -12,2 +12,3 @@ /*

module.exports = {
include:/^.*$/,
exclude:/^(node_modules|imdone|target)\/|^\.(git|svn)\/|\~$|\.(jpg|png|gif|swp)$/,

@@ -14,0 +15,0 @@ port:8080,

3

lib/config.js

@@ -8,6 +8,7 @@ /*

*/
// [add include option for processing tasks](#doing:0)
// [add include option for processing tasks](#done:10)
module.exports = {
include:/^.*$/,
exclude:/^(node_modules|imdone|target)\/|^\.(git|svn)\/|\~$|\.(jpg|png|gif|swp)$/,

@@ -14,0 +15,0 @@ port:8080,

@@ -53,2 +53,3 @@ /*

var newName = request.newName;
var pos = _.indexOf(imdone.lists, name);
var list = _.where(imdone.getSortedLists(),{name:name})[0];

@@ -70,2 +71,7 @@ //console.log(JSON.stringify(list, null, 3));

var lists = _.without(imdone.lists, newName);
lists.splice(pos,0,newName);
imdone.lists = lists;
imdone.saveListData();
return imdone.lists;

@@ -162,3 +168,3 @@ };

_.each(files, function(file, i) {
if (imdone.config.exclude.test(file) == false && !fs.statSync(file).isDirectory()) {
if (imdone.config.include.test(file) == true && imdone.config.exclude.test(file) == false && !fs.statSync(file).isDirectory()) {
console.log("Extracting tasks from file: " + file);

@@ -205,3 +211,3 @@ //for each file get the tasks

if (!imdone.isPaused(file)) {
//[Store last updated time, and check to see if we should process](#doing:30)
//[Store last updated time, and check to see if we should process](#done:0)
imdone.processFiles([file]);

@@ -286,3 +292,3 @@ }

console.log("args:" + process.argv);
//[We want to accept a root directory as an argument](#todo:30)
//[We want to accept a root directory as an argument](#todo:20)
imdone.start(".");

@@ -289,0 +295,0 @@

@@ -70,3 +70,3 @@ /*

//[Maybe use **Mu - <https://github.com/raycmorgan/Mu>** or **HandleBars** - <http://handlebarsjs.com/> for templating.](#done:20)
//[Maybe use **Mu - <https://github.com/raycmorgan/Mu>** or **HandleBars** - <http://handlebarsjs.com/> for templating.](#done:60)
app.use(express.static(__dirname + '/static'));

@@ -73,0 +73,0 @@

imdone notes for development
==========
###Local kanban board
- [Use ***Global install so command line will execute server*** > <http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/>](#done:40)
- [Use ***Global install so command line will execute server*** > <http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/>](#done:80)
- <http://package.json.jit.su/>
- [How will this work in github?](#done:70)
- [Create Kanban board functionality](#done:50)
###Chrome extension for kanban
- [Use ***context menu api*** > <http://developer.chrome.com/beta/extensions/contextMenus.html#examples> for chrome extension that opens the live kanban board](#todo:0)
- [How will this work in github?](#done:30)
- [Create Kanban board functionality](#done:10)
###Writing a node package

@@ -18,10 +13,22 @@ - <http://javascriptplayground.com/blog/2012/08/writing-a-command-line-node-tool>

###UI
- [use this for sortable <http://farhadi.ir/projects/html5sortable/> decided to use jquery](#done:50)
- [use this for sortable <http://farhadi.ir/projects/html5sortable/> decided to use jquery](#done:90)
###Config
- [Do allow, deny - add include regex to config](#doing:20)
- [Do allow, deny - add include regex to config](#done:20)
###websockets
- [websockets multiuser example](https://github.com/einaros/ws/blob/master/examples/fileapi/server.js)
###Misc
- [Create github site](#done:40)
- [Use ***context menu api*** > <http://developer.chrome.com/beta/extensions/contextMenus.html#examples> for chrome extension that opens the live kanban board](#todo:10)
- On links that look like tasks include something in markdown that defines the source of the content
`[whatever you want](http://link/to/project/root "imdone:source")`
- [Use github developer api for accessing repositories? <http://developer.github.com/>](#todo:30)
{
"name":"imdone",
"preferGlobal":"true",
"version":"0.1.2",
"version":"0.1.3",
"description":"Create tasks in files using markdown syntax and organize them with kanban",

@@ -6,0 +6,0 @@ "author":{

iMDone
==========
##Keep your tasks in your files and organize using kanban
Create tasks in any file using markdown syntax and organize them with a local kanban board. Share your board on [github](http://www.github.com), [dropbox](http://www.dropbox.com), and other cloud providers.
##Create tasks in any file using markdown syntax and organize them with a local kanban board.
##Your tasks are in your files, so you can share your board on [github](http://www.github.com), [dropbox](http://www.dropbox.com), or any other cloud storage provider.
##Install
npm install -g imdone
###Prerequisites
- [nodejs](http://nodejs.org/) is [installed](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager)
- [npm](https://npmjs.org/) is [installed](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager)
##And run!
###Disclaimer
iMDone has only been tested on my Ubuntu 12.04 desktop using chrome 23.0.x as the default browser. It should work on any machine that has nodejs and npm installed and for auto update of boards, a browser that supports websockets.
###Install
`npm install -g imdone`
###And run!
navigate to your local project folder and run:
imdone
`imdone`
###Put a task at the top of a list called "to-do"
`[this is a task](#todo:20)`
###In javascript code
`//[this is a task in javascript code](#done:60)`
###Put a task on the bottom of a list called "doing"
####Put a task at the top of a list called "to-do"
`[this is a task](#todo:0)`
####In javascript code
`//[this is a task in javascript code](#done:100)`
####Put a task on the bottom of a list called "doing"
`[this is a task in doing](#doing:40)`
###Tasks are sorted by the number after the `:`
###imdone will create a folder named imdone that will contain your custom configuration and a file to keep your lists in order
####Tasks are sorted by the number after the `:`
####imdone will create a folder named imdone that will contain your custom configuration and a file to keep your lists in order
- you should keep imdone in source control
##Configuration
Create a file called imdone.js in your project directory. The default config looks like this. Your imdone.js will extend this.
###Configuration
After running imdone for the first time, modify imdone/imdone.js in your project directory. The default config looks like this. Your imdone.js will extend this.

@@ -37,3 +45,3 @@ module.exports = {

##Implemented in version 0.1.2
- [Page needs to refresh when tasks have been modified, deleted or added. Use <https://npmjs.org/package/ws>](#done:0)
###Implemented in version 0.1.2
- [Page needs to refresh when tasks have been modified, deleted or added. Use <https://npmjs.org/package/ws>](#done:30)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc