Commit Graph

63 Commits

Author SHA1 Message Date
DC* ebab3b60a8 Changed configuration parameters' names to match sequelize nomemclature
Fixed seed/initial_tasks data which created tasks in a non-sequential order (tested on Postgres)
Added production-like example configuration
2014-08-08 00:47:38 -03:00
DC* d33305986c Fix deprecated attribute is_completed (now isCompleted) 2014-08-08 00:22:20 -03:00
DC* 7312c1b8bb Introduce sequelize migrations to create and migrate database tables and removed database scripts. See http://sequelizejs.com/docs/latest/migrations
Created seeds to initialize database with dummy tasks.
Introduce config module to handle configurations per environment. See https://github.com/lorenwest/node-config
Updated README.md to reflect changes.
2014-08-08 00:15:44 -03:00
Abhishek Das 2cef41ffb7 Merge pull request #11 from snicker/master
Allow the server port to be configurable via config.js
2014-07-11 22:58:17 +05:30
base of tree fa875e9123 Allow the server port to be configurable via config.js 2014-07-11 10:23:18 -07:00
Abhishek Das 48f859a8a8 Merge pull request #10 from asommer70/postgres
Created PostgreSQL schema.
2014-05-13 12:04:39 +05:30
Adam Sommer c3db287aeb Fixed default data insert. 2014-05-12 16:26:45 -04:00
Adam Sommer c65ebce9e6 Created PostgreSQL schema. 2014-05-12 16:15:04 -04:00
Abhishek Das 8a91ff2e21 Merge pull request #8 from desyncr/integrate-sequelize
Initial Sequelize integration.
2014-01-14 15:20:34 -08:00
DC* 6faeab4b0b Initial Sequelize integration.
Added orm module to abstract Sequelize usage to some degree. ORM module
handles the configuration and instantiation of Sequelize. Models are
defined and instantiated from models/*

Tested only against SQLite.

Faily new to nodejs so I probably messed up with something.
2014-01-12 01:47:34 -03:00
Abhishek Das 768df620f0 Merge pull request #7 from nickolay/patch-1
mention "npm install" in README
2013-12-14 05:12:32 -08:00
Nickolay Ponomarev 096a63532b mention npm install in README 2013-12-14 15:57:35 +03:00
Abhishek Das 9dad6d450f Merge pull request #6 from risacher/master
remove node_modules/* and update .gitignore
2013-11-04 05:25:24 -08:00
Daniel Risacher 199ef79578 updating .gitignore with github recommendations for node projects
removing node_modules/* to prevent spurious updates after 'npm install'
2013-11-04 06:22:39 -05:00
Abhishek Das 56ba4c6c61 Merge branch 'requirejs' of https://github.com/floydpraveen/HackFlowy into floydpraveen-requirejs
Conflicts:
	public/javascripts/views/task.js
2013-08-25 14:31:24 +05:30
floydpraveen e60ad83bd7 when task is marked complete/incomplete make a socket event 2013-08-25 14:11:02 +05:30
Abhishek Das 46ef9ed2aa Merge branch 'requirejs' of https://github.com/floydpraveen/HackFlowy into floydpraveen-requirejs
Conflicts:
	public/index.html
	public/javascripts/views/task.js
	server.js
2013-08-25 12:03:45 +05:30
floydpraveen 8c66346a9f on hover of link show options 2013-08-23 19:34:27 +05:30
floydpraveen 3f946b2db1 sql to alter the table and add is_completed column 2013-08-22 17:53:19 +05:30
floydpraveen 5ec46e8899 external templates 2013-08-22 17:52:54 +05:30
floydpraveen 3f19a78c22 added is_completed in put call 2013-08-22 17:52:16 +05:30
floydpraveen 28941e87dd added methods for showing options and marking the task complete 2013-08-22 17:51:54 +05:30
floydpraveen c5ac608510 method to mark the model complete/ uncomplete 2013-08-22 17:46:31 +05:30
floydpraveen efa5af0e3d styke for options div on hover of task 2013-08-22 17:45:50 +05:30
floydpraveen 73d06af4d7 added lib text.js to load external templates 2013-08-22 17:44:56 +05:30
floydpraveen fc49713246 moved task templete out 2013-08-22 17:43:55 +05:30
floydpraveen c22c91ca59 clean up 2013-08-17 13:17:27 +05:30
floydpraveen 23bac65558 using lodash instead of underscore 2013-08-17 12:22:58 +05:30
floydpraveen e7e4253bfc loading js files using requirejs 2013-08-17 03:29:44 +05:30
floydpraveen 6ac328dd44 added input to create task for first time, a page view which will handle the input and add to the list 2013-08-17 02:29:43 +05:30
iboboc 9ab0a0aeaf Update index.html 2013-07-21 16:31:21 +03:00
Abhishek Das cfa8738b1d Add keyboard controls to indent & navigate through tasks 2013-07-17 00:28:31 +05:30
Abhishek Das 615fab272a tab indents the task; Makes it a child of previous task 2013-04-10 23:40:42 +05:30
Abhishek Das 98400285f9 Focus on input of new task 2013-04-10 22:19:18 +05:30
Abhishek Das 4385ef6575 Remove unnecessary logging 2013-04-10 22:11:34 +05:30
Abhishek Das 1f03249389 Add installation instructions 2013-04-10 22:10:40 +05:30
Abhishek Das b9d87cd936 Sync parent_id with db;
* Update the corresponding query in `server.js`
* Add js to focus input of new element created
2013-04-07 20:23:28 +05:30
Abhishek Das 85a1b0674d Sublists are being rendered as expected;
* Setting each task's `margin-left` according to it's parent
* Putting a view element inside another view element was causing issues
2013-04-07 19:58:52 +05:30
Abhishek Das a97397188e Add favicon 2013-04-06 02:55:41 +05:30
Abhishek Das ea3c6d5743 Add screenshot 2013-04-06 02:25:32 +05:30
Abhishek Das 294528708b Update table; Add parent_id column 2013-04-06 02:10:20 +05:30
Abhishek Das 872341231c Shift to input boxes because of the multiline issue;
This prevents duplication; and enter key behaves as expected;
2013-04-06 02:07:41 +05:30
Abhishek Das ae1421597f Update readme 2013-04-02 01:40:46 +05:30
Abhishek Das a5a9673eb3 Change name 2013-04-02 01:30:00 +05:30
Abhishek Das 9546f67af3 Few style changes; Task gets appended now but mispositioned cursor +
duplication issues
2013-03-31 01:56:19 +05:30
Abhishek Das cfca359bcf Task gets added but not saved; Fix it 2013-03-30 20:26:41 +05:30
Abhishek Das 8b0f1a6dbc Add db structure 2013-03-30 19:12:28 +05:30
Abhishek Das 276d9930cb Remove functions not being used 2013-03-30 19:11:38 +05:30
Abhishek Das a580cec44c Handle keyup event better 2013-03-30 18:30:27 +05:30
Abhishek Das 4bb398353e Use socketio for syncing task changes across clients 2013-03-30 18:10:12 +05:30