Commit Graph

17 Commits

Author SHA1 Message Date
gitea 34695ac9ce bugfix parent to parentId 2016-01-29 10:00:13 +08:00
gitea 57fb0a73af Added single task view 2016-01-29 09:44:02 +08:00
gitea 75f56dde6f Updated to express 4 2016-01-29 07:42:04 +08:00
gitea 7bcec8bcf2 Updated versions 2016-01-22 17:18:04 +08:00
DC* 7b6a87a58b Fixed tasks' parent update 2014-08-17 01:19:46 -03:00
DC* 0e16b74e9b Add option to override port configuration with environment variable: PORT 2014-08-14 22:38:09 -03:00
DC* b4d3eab02c Heroku integration with foreman
Add foreman configuration for Heroku:
- To test production configuration execute NODE_ENV=production foreman
  start
- Database connection configuration now handles "use_env_variable" which
  should be defined as a environment variable such as "DATABASE_URL"
  with a proper database URI connection string, ie:
  postgres://user:password@db.example.com:5432/database
- Added package.json configuration to run migrations and db seed after
  `npm install`

Update frontend models to match sequelize definition.
Update views to work according to the changes above.
Handling isCompleted and parentId apropiately for PostgreSQL databases
2014-08-14 22:05:54 -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
base of tree fa875e9123 Allow the server port to be configurable via config.js 2014-07-11 10:23:18 -07: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 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 3f19a78c22 added is_completed in put call 2013-08-22 17:52:16 +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 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 4bb398353e Use socketio for syncing task changes across clients 2013-03-30 18:10:12 +05:30
Abhishek Das 0485272d93 Initial work on the server 2013-03-25 06:08:51 +05:30