Commit graph

72 commits

Author SHA1 Message Date
Nicholas Kariniemi
73d965f8f7 Use root URL for WebSocket connection (because Heroku) 2014-01-12 17:40:33 +02:00
Nicholas Kariniemi
3b7dc67b5f Move clj-webdriver to normal deps as it is referred to by grub.core 2014-01-12 17:40:33 +02:00
Nicholas Kariniemi
b454e782bf Connect db to MONGOHQ_URL if it exists 2014-01-12 17:40:33 +02:00
Nicholas Kariniemi
f10f47274c Update clojurescript, cljsbuild deps 2014-01-12 16:17:34 +02:00
Nicholas Kariniemi
081a85379b Parse command line args better 2014-01-12 15:59:01 +02:00
Nicholas Kariniemi
019d735167 Update .gitignore 2014-01-12 15:24:02 +02:00
Nicholas Kariniemi
091aa3c1d7 Use core.async from Maven 2014-01-12 15:05:16 +02:00
Nicholas Kariniemi
d4753418ca Reconnect automatically when disconnected
- only send all server items when connecting initially
- on reconnect, send pending events (that couldn't be sent)
- rudimentary solution
2013-10-22 12:15:11 +03:00
Nicholas Kariniemi
307c6cfad5 Fix: add recipe :steps --> :grubs 2013-10-21 23:44:48 +03:00
Nicholas Kariniemi
4a07d98fe9 Refactor recipe view - remove dommy dependence 2013-10-21 23:39:46 +03:00
Nicholas Kariniemi
48ccf9e447 Event to add grubs/recipes as list 2013-10-21 22:56:23 +03:00
Nicholas Kariniemi
42c02397a0 Refactor grub view - remove dommy dependence 2013-10-21 20:43:58 +03:00
Nicholas Kariniemi
e5698f4ff4 Simple alphabetical sorting 2013-10-15 17:58:42 +03:00
Nicholas Kariniemi
38935270e7 Update README 2013-10-11 22:49:16 +03:00
Nicholas Kariniemi
8f95beefd8 Move add grubs button to unexpanded rows 2013-10-09 22:37:44 +03:00
Nicholas Kariniemi
9669f57fbb Remove disconnected clients 2013-10-09 21:57:50 +03:00
Nicholas Kariniemi
955e853e93 Add back sorting of grubs 2013-10-08 22:25:44 +03:00
Nicholas Kariniemi
81299b43dd Edit recipes + major refactoring 2013-10-08 21:39:58 +03:00
Nicholas Kariniemi
f76eba6829 Fetch jquery locally 2013-10-01 10:53:32 +03:00
Nicholas Kariniemi
6bc7582255 Refactor server to use new core.async goodness 2013-10-01 10:53:32 +03:00
Nicholas Kariniemi
331f74fa4d Allow CTRL-Enter to save recipes 2013-10-01 10:53:32 +03:00
Nicholas Kariniemi
5e25ffe296 Clicking done button finishes new recipe/recipe editing 2013-10-01 10:53:32 +03:00
Nicholas Kariniemi
d4fbae9464 Recipes can be added 2013-10-01 10:53:31 +03:00
Nicholas Kariniemi
e14fb90e0f Bugfix: selecting text now also [un]completes grub 2013-09-05 11:41:52 +03:00
Nicholas Kariniemi
f4eaf7cef9 Grubs can be edited by long-pressing 2013-09-01 13:39:35 +03:00
Nicholas Kariniemi
f8abd291ef Remove unused delete grub code 2013-08-31 10:40:14 +03:00
Nicholas Kariniemi
f000807c10 Increase spec short delay to make tests pass 2013-08-31 10:29:49 +03:00
Nicholas Kariniemi
6717854475 Connect WebSocket to origin server 2013-08-25 13:58:12 +03:00
Nicholas Kariniemi
d754955694 Clear all button 2013-08-25 13:53:47 +03:00
Nicholas Kariniemi
6ff138ade0 Reduce margin above title text 2013-08-25 12:55:25 +03:00
Nicholas Kariniemi
26963fff9e Use production port also, remove log messages 2013-08-25 12:38:54 +03:00
Nicholas Kariniemi
26035a5174 Production server 2013-08-25 00:32:56 +03:00
Nicholas Kariniemi
0cc95f0829 Fix state tests 2013-08-24 19:24:29 +03:00
Nicholas Kariniemi
71806ee7e3 Use dev db if not production 2013-08-24 18:13:26 +03:00
Nicholas Kariniemi
39b8df2852 Update core.async project config 2013-08-24 17:44:15 +03:00
Nicholas Kariniemi
be4e908412 Update bootstrap, use checkbox glyphicons 2013-08-24 15:56:02 +03:00
Nicholas Kariniemi
d7ec05cefc Selecting a whole row checks off a grub 2013-08-24 15:55:56 +03:00
Nicholas Kariniemi
c168227df7 Sort completed grubs to end 2013-08-20 19:16:23 +03:00
Nicholas Kariniemi
f19a0b022b Use grub.js if production arg is given 2013-08-20 19:16:23 +03:00
Nicholas Kariniemi
1f9108b96a Large refactoring
- State handler intermediates between view, server
2013-08-18 14:36:16 +03:00
Nicholas Kariniemi
707fb9f22d Minor database refactoring 2013-08-18 14:13:55 +03:00
Nicholas Kariniemi
635dfd948e Integration test: verify grubs are stored on server 2013-08-18 14:11:05 +03:00
Nicholas Kariniemi
6754e05001 Add log message for starting server 2013-08-18 11:32:53 +03:00
Nicholas Kariniemi
dbd6222251 Integration test for adding synced grubs 2013-08-18 11:22:08 +03:00
Nicholas Kariniemi
82eb60cbc2 Minor cleanup 2013-08-18 10:08:38 +03:00
Nicholas Kariniemi
c9ce7e3160 Remove compiled js files, add to ignored files 2013-08-17 19:32:40 +03:00
Nicholas Kariniemi
f0c352b598 Test state management on client 2013-08-17 19:29:29 +03:00
Nicholas Kariniemi
ad02da6c88 Switch from Midje to Speclj[s] 2013-08-17 17:29:30 +03:00
Nicholas Kariniemi
44798d5b4b Simple tests for [un]completing, deleting grubs 2013-08-17 14:49:41 +03:00
Nicholas Kariniemi
9943a58fd7 Put sources in src/clj[s], tests in test/clj[s] 2013-08-17 14:28:46 +03:00