140 Commits

Author SHA1 Message Date
Nick Martin
9ee5fe4702 Bump to version 0.0.41 v0.0.41 2011-12-21 13:11:54 -08:00
Geoff Schmidt
e2fb49da71 fix ie9 Sky.startup
("Enhanced Support Across A Broad Diversity Of Customer Platform")

the deal here:
- IE9 no longer autobinds doScroll as IE <9 does
- but IE9 has DOMContentLoaded so let's use that
2011-12-20 18:52:02 -08:00
Nick Martin
212cdd8b5c Fix embarrassing typo caught by IE8. 2011-12-20 17:12:06 -08:00
Nick Martin
0edcc2e77a Correct lying help message. 2011-12-20 16:04:38 -08:00
Nick Martin
1d056815e8 Fix mongo shell on local database. 2011-12-20 15:37:24 -08:00
Nick Martin
b06c391df4 optimist requires .boolean for both the alias and the original. This may be fixed in git master node-optimist. 2011-12-20 15:28:06 -08:00
Nick Martin
f925a52fde Make 'skybreak help deploy' work correctly. 2011-12-20 15:15:17 -08:00
Nick Martin
7dbe566121 Run a post-upgrade script from the newly downloaded skybreak. This will let us run arbitrary code after the upgrade (eg to rename the project) 2011-12-19 17:54:18 -08:00
Nick Martin
c2f988ac2c Merge branch 'performance-merge' 2011-12-19 17:02:32 -08:00
Nick Martin
d38efe6345 Rework reactive logic for new Sky.deps API. 2011-12-19 16:53:14 -08:00
Geoff Schmidt
8503c55453 even cleaner implementation of deps/session
eliminates 'once', easier to understand, saves a little memory
2011-12-19 16:39:28 -08:00
Geoff Schmidt
349d18df0c cosmetic 2011-12-19 16:39:28 -08:00
Geoff Schmidt
3666cff408 redo Sky.deps api for clarity and flexibility
especially the ability for the caller of monitor to grab the invalidation function
2011-12-19 16:39:28 -08:00
Geoff Schmidt
c13415b818 invalidations accumulate until flushed (or the event loop runs again)
this way, when you use find instead of findLive, liveui doesn't do O(n^2) work when a subscription returns n records (it used to, because it'd render the list with 1 element, then with 2, …, then with n)

flush guarantees that all changes have been committed to the DOM, for your jquerying pleasure

experimental - needs docs
2011-12-19 16:39:28 -08:00
Geoff Schmidt
e57b93a1b8 coalesce redundant dependencies created by Session 2011-12-19 16:39:28 -08:00
Geoff Schmidt
74c42ccf4e make handlebars more robust to null/undefined 2011-12-19 16:38:21 -08:00
matt debergalis
1cfad0500e test commit 2011-12-16 17:41:25 -08:00
Nick Martin
60abb2090c Comment on constants per matt. 2011-12-15 23:59:57 -08:00
Nick Martin
9fbf4c7b6b Merge branch 'refs/heads/reconnect' 2011-12-15 21:45:22 -08:00
Nick Martin
cc60375468 Re-subscribe and reset the database when we reconnect. 2011-12-15 20:36:41 -08:00
Nick Martin
1801b33cf7 retransmit unacked messages when we reconnect again. 2011-12-15 16:48:03 -08:00
matt debergalis
7e7d3013c7 move restart_server out of closure 2011-12-15 16:18:52 -08:00
matt debergalis
10be9ed3d0 Merge branch 'deberg-misc' 2011-12-15 14:14:24 -08:00
matt debergalis
60c7ac32eb clean up deploy 2011-12-15 14:13:04 -08:00
matt debergalis
81c03785a0 stronger language about not for sharing in readme.md 2011-12-15 00:07:23 -08:00
matt debergalis
61dad1ad50 handle EADDRINUSE 2011-12-14 23:41:13 -08:00
Nick Martin
1e956fcfe7 Hook up reconnect function to actually do something. 2011-12-14 21:41:13 -08:00
Nick Martin
2c24b1edf0 Expose retry_time in status. 2011-12-14 20:42:13 -08:00
Nick Martin
916a1147fc Real retry timeout logic. 2011-12-14 19:33:10 -08:00
matt debergalis
a01fb670e5 Merge branch 'deploy-delete' 2011-12-14 18:48:47 -08:00
matt debergalis
f46d94c6cd skybreak deploy --delete
refactors all the deploy-related material into deploy.js
2011-12-14 18:47:31 -08:00
Geoff Schmidt
b3d3d7276d update the jquery 1.7.1
kills irritating deprecation warning in Chrome
2011-12-14 17:58:49 -08:00
Nick Martin
3787999ce8 Retry ourselves by starting a new socket.io connection each time. Still a WIP, but getting there. 2011-12-14 17:45:35 -08:00
Nick Martin
1bda75a203 Wire up reactivity to status(). 2011-12-13 21:55:46 -08:00
Nick Martin
e03e1d716e Merge branch 'reconnect' 2011-12-13 19:02:43 -08:00
Nick Martin
f549efd952 Remove namespace pollution. No functional changes, just cleanup. 2011-12-13 14:31:25 -08:00
Nick Martin
918d15afdc Factor socket.io into stream package on the server as well. Much cleaner now. 2011-12-13 13:40:13 -08:00
Nick Martin
46effaa9b3 Factor stream out of livedata. Client side only. No functional changes. 2011-12-12 20:56:12 -08:00
Geoff Schmidt
5d172d0ded rename renderlist 'query' option to 'selector'
for consistency with other APIs
2011-12-09 23:37:50 -08:00
Geoff Schmidt
d73a647bdd jquery cleanups. also, fix htmljs bug. 2011-12-09 23:15:14 -08:00
Geoff Schmidt
3ec06f7381 eliminate jquery dependency in template assembly 2011-12-09 20:45:11 -08:00
Nick Martin
584f62e254 Bump to version 0.0.40 v0.0.40 2011-12-09 16:47:52 -08:00
Geoff Schmidt
c6e4c46b14 liveui requires jquery 2011-12-09 16:39:11 -08:00
Nick Martin
56b9273680 IE8 fix. eval doesn't actually return a value. 2011-12-09 13:42:58 -08:00
Geoff Schmidt
8543df9649 use Sky.startup in todos 2011-12-09 13:14:01 -08:00
Nick Martin
3f2c867fff Also drop a tag in git as we cut a release. 2011-12-09 10:37:03 -08:00
Nick Martin
a0203c652c Merge branch 'password' 2011-12-08 23:23:21 -08:00
Nick Martin
db91d57ef4 Remove comment left over from debugging. 2011-12-08 23:20:45 -08:00
Nick Martin
8b985ec67b Factor duplicated validation code to one place. 2011-12-08 23:14:56 -08:00
Nick Martin
5293001ff5 Actually hash the users password like we said. 2011-12-08 23:14:56 -08:00