Commit Graph

61 Commits

Author SHA1 Message Date
Avital Oliver
ffcf942447 Fix python-ddp-client's test_input 2012-05-10 18:56:13 -07:00
Avital Oliver
10092efab5 Inital commit of a Python DDP client 2012-05-10 18:53:00 -07:00
matt debergalis
cf59a3609b s/san-serif/sans-serif/ 2012-04-24 18:45:24 -07:00
matt debergalis
647fccfb1e Merge remote-tracking branch 'pull/patch-5' into devel 2012-04-16 16:57:20 -07:00
matt debergalis
deb7895ca0 Merge remote-tracking branches 'pull/patch-1', 'pull/patch-2' and 'pull/patch-6' into devel 2012-04-16 16:55:40 -07:00
Jonathan Kingston
7ff1093eba Adding in cursor pointer changes to leaderboard. 2012-04-16 12:23:41 +02:00
Jonathan Kingston
c2d6608242 Removal of Skybreak name, no other instances found 2012-04-16 12:21:10 +02:00
Jonathan Kingston
db2cf9eca1 Same as the other request but for wordplay. makes the squares have a pointer cursor :). 2012-04-11 14:53:23 +02:00
Jonathan Kingston
d136f904d5 Adding in pointer cursor to CSS to make it easier to use. 2012-04-11 14:47:33 +02:00
Nick Martin
390317935e Update wordplay todos 2012-04-10 12:14:29 -07:00
Nick Martin
926f70bf82 Merge branch 'refs/heads/wordplay' into devel 2012-04-10 12:09:24 -07:00
matt debergalis
0a0a4bbb87 i think you meant 6502 2012-04-10 12:06:41 -07:00
Geoff Schmidt
6934fb2efb use consistent data between examples 2012-04-10 12:04:00 -07:00
Nick Martin
e23b309cee Rework lobby logic to not add people with no names. Button to start is disabled until you enter a name. 2012-04-10 11:24:49 -07:00
Nick Martin
95cd398e07 Comments and cleanups. 2012-04-10 11:10:47 -07:00
Nick Martin
bba2469278 Declare and show a winner at the end of each game. 2012-04-10 11:10:47 -07:00
Nick Martin
3c638d8f75 Save a record of who was in the game so we can keep showing them when they are gone. 2012-04-10 11:10:47 -07:00
Nick Martin
b40c23ec90 Add keepalives and don't show idle players. 2012-04-10 11:10:47 -07:00
matt debergalis
13e494cc23 Wordplay example, in progress 2012-04-10 11:10:47 -07:00
David Greenspan
133338ac39 make leaderboard work in IE 7/8 2012-04-10 11:08:41 -07:00
Geoff Schmidt
dbd7b1e71b Leaderboard tweaks 2012-04-09 22:00:34 -07:00
David Greenspan
848ae0470e todos: better icons 2012-04-05 22:22:39 -07:00
David Greenspan
81ba92c207 todos fix: use _.sortBy properly 2012-04-05 18:15:33 -07:00
David Greenspan
4433e78b1c item counts in tags :) 2012-04-05 17:20:06 -07:00
David Greenspan
117e9e0467 additional documentation etc in todos 2012-04-05 16:47:04 -07:00
David Greenspan
2093fa8928 more style tweaks 2012-04-05 15:34:13 -07:00
David Greenspan
714b5d2837 more todos tweaks 2012-04-05 15:04:33 -07:00
David Greenspan
f743bac7d6 CSS rewrite, first cut 2012-04-05 12:28:43 -07:00
David Greenspan
69cd6a646c fix (all?) editing weirdness in todos, remove use of jquery for events 2012-04-05 11:01:27 -07:00
David Greenspan
89ce396ae5 Overhaul liveui & templating to support "smart patch" and rendering HTML (rebase-2) 2012-04-03 22:10:20 -07:00
matt debergalis
8209ff545c use templates 2012-04-03 16:19:30 -07:00
Geoff Schmidt
b3fc3150d4 simplify signature of observe()'s remove callback 2012-03-16 18:26:19 -07:00
Geoff Schmidt
8cdadb3762 make insert return the id of the new object
(not a copy of the new object)
avoid updating docs to prevent merge conflict
(will handle out of band)
2012-03-16 02:55:14 -07:00
Geoff Schmidt
e0f7c6dd37 Keep leaderboard, move leaderboard-remote 2012-03-12 21:36:52 -07:00
Geoff Schmidt
56d2ac669c move examples/leaderboard-remote to unfinished 2012-03-12 21:23:19 -07:00
Nick Martin
d6939c8382 Since leaderboard no longer limits to 10 people, only put 10 people in the db.
Otherwise the list is too long, and the add points button is not visible by default. You can't just add a limit statement, because observe will not work with limit.
2012-03-08 17:04:49 -08:00
Nick Martin
10236609f4 Ensure unique timestamp when adding new entries.
Fixes issue where the order would dance around as you modify items.
2012-03-06 15:45:24 -08:00
Geoff Schmidt
14d41036f4 Simplify subscription API
- Use positional arguments
- Pass the subscription object in 'this'
2012-03-06 15:44:42 -08:00
matt debergalis
3f1ff26e43 Convert to new publish API. 2012-02-29 16:08:59 -08:00
matt debergalis
8a8e402510 autopublish in leaderboard 2012-02-29 16:08:59 -08:00
Geoff Schmidt
bd1e4eb858 leaderboard-remote example 2012-02-17 01:58:15 -08:00
Geoff Schmidt
3e47029a61 port skel, todos, leaderboard to new data API 2012-02-17 01:02:34 -08:00
Nick Martin
453cffe99a Make leaderboard safe for session being defined at startup (which happens on reloads). 2012-02-06 23:15:31 -08:00
matt debergalis
44fb1d2150 use findOne() and set initial timestamp on items. 2012-01-30 12:03:18 -08:00
matt debergalis
5e7daaaff3 New Collection API
The new Collection API separates query handles from result sets.  It
allows template iterators to only redraw changed objects instead of
entire result sets.  This implementation also sets the stage for
minimongo indexes and better invalidation performance.

collection.find() now returns a Collection.Query handle.  To retrieve
results we provide these methods on Collection.Query:

Iterators (encouraged way to access results):

 * query.forEach(function (obj) { ... });
 * results = query.map(function (obj) { ... });

Cursor-based retrieval (iterators are built on fetch):

 * docs = query.fetch(maxlen); // return next [maxlen] (all) docs.
 * doc = query.get(skip);      // return next doc, skipping [skip] (0) docs.

Counter:

 * length = query.count(); // number of results in query.

Live queries (replaces findLive):

 * live_handle = query.observe({added: function (obj, idx) { ... },
                                removed: function (id, idx) { ... },
                                changed: function (obj, idx) { ... },
                                moved: function (obj, old_idx, new_idx) { ... }});

Convenience finders:

 * doc = collection.findOne({color: 'red'});
 * doc = collection.findOne(id_val);

On the client, calling forEach(), map(), fetch(), get(), or findOne()
inside an invalidation context will register a dependency on the entire
query result.  Any change to any objects invalidates the context.

Calling count() inside an invalidation context will register a
dependency that only triggers if objects enter or leave the result set.

Calling observe() does not register a dependency.
2012-01-27 20:59:08 -08:00
Nick Martin
0e39cbe5be Replace new occurances of Skybreak with Meteor. 2012-01-18 17:53:21 -08:00
Nick Martin
459dac9cac Merge branch 'master' into meteor
conflicts hand resolved. deftemplate and liveui reverted to master, will re-do later.

Conflicts:
	admin/generate-dev-bundle.sh
	admin/install-s3.sh
	admin/manifest.json
	app/meteor/deploy.js
	app/meteor/meteor.js
	examples/leaderboard/leaderboard.js
	examples/unfinished/azrael/client/azrael.js
	examples/unfinished/azrael/model.js
	packages/liveui/liveui.js
	packages/templating/deftemplate.js
	packages/templating/html_scanner.js
	tests/minimongo/test.html
2012-01-18 16:14:54 -08:00
Nick Martin
cdb50e3cd8 Work around weird IE8/underscore issue. 2012-01-17 18:05:48 -08:00
Nick Martin
9d3d31df6e Rename .skybreak directories. 2012-01-04 21:27:14 -08:00
Nick Martin
ad8adcbc90 Include missed .skybreak directories. 2012-01-04 21:19:52 -08:00