Commit Graph

79 Commits

Author SHA1 Message Date
DC* 3d65dda277 Update app.json
Removed empty postscript block causing deploy failure.
2014-08-25 13:14:53 -03:00
DC* ef8e75cba0 Update README.md
Minor fixes
2014-08-25 13:10:37 -03:00
DC* 76858fb7c1 Update app.json
Fix addon wrong name: heroku-postgresql:dev is heroku-postgresql
2014-08-25 13:00:09 -03:00
DC* 9f80f34950 Added heroku app.json manifest 2014-08-17 01:47:10 -03:00
DC* 7b6a87a58b Fixed tasks' parent update 2014-08-17 01:19:46 -03:00
DC* d7b943d8ad Update install steps 2014-08-17 00:08:06 -03:00
DC* 832e629fdb Added repository field on package.json 2014-08-17 00:00:27 -03:00
DC* c20b692b28 Update heroku deploy steps 2014-08-16 23:54:48 -03:00
DC* a38d33c39d Update README.md with heroku deploy steps 2014-08-14 23:20:48 -03:00
DC* 0e16b74e9b Add option to override port configuration with environment variable: PORT 2014-08-14 22:38:09 -03:00
DC* 41e5a53020 Changed HTTP listening port for production 2014-08-14 22:20:03 -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* 64cea269a9 Initial heroku integration 2014-08-14 00:08:12 -03:00
Abhishek Das 4085e67a34 Merge pull request #16 from desyncr/integrate-sequelize-migrations
Introduce sequelize migrations
2014-08-08 15:41:15 +05:30
Abhishek Das 2682a54ec3 Merge pull request #15 from desyncr/fix-initial-view
Minor fixes on front end code
2014-08-08 15:41:09 +05:30
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
DC* f5c1f27863 Fixed PageView::createNewTask which referenced Task model without requiring it
Fixed task template to remove unneeded textarea
Removed commented out code on index template
2014-08-07 23:31:15 -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