Commit Graph

279 Commits

Author SHA1 Message Date
Nick Martin
1214eec099 test and bump version numbers for examples and docs. 2013-10-08 23:34:43 -07:00
Geoff Schmidt
77d50e4f3d parties example: force selection to an actually-existing party.
This handles the case where the selected party is
deleted by another user, and also the case where
the server rejects the party creation request.
2013-10-04 18:21:18 -07:00
Geoff Schmidt
b28c817241 Use Random.id rather than the deprecated Meteor.uuid. 2013-09-30 15:41:53 -07:00
Geoff Schmidt
f0e273eaf0 #1063 In parties example, latency compensate object insertion from method. 2013-09-30 15:32:34 -07:00
David Glasser
79d900cf65 Remove random from leaderboard and wordplay .meteor/packages.
It's part of standard-app-packages (though it wasn't added to it
until relatively late in the linker project).
2013-09-25 22:35:41 -07:00
Matt DeBergalis
5889adea90 Various wordplay fixes:
* Don't add blank lines to the dictionary.
 * Fix broken word length check in `score_word`.
 * Prevent event handler from submitting blank words.
2013-09-25 12:14:58 -07:00
Matt DeBergalis
a3d539ed0b Disallow words added after game clock expires.
Fixes #541.
2013-09-25 11:39:24 -07:00
Nick Martin
16b8f0b0b6 update examples for 0.6.5.1 2013-08-28 14:13:09 -07:00
Nick Martin
21df324a1d bump version numbers. 2013-08-14 13:30:46 -07:00
David Glasser
ce73cfaa7a Update examples to 0.6.5-rc12. 2013-08-02 18:15:29 -07:00
David Glasser
4e222d8e26 The standard app packages are brought in explicitly now.
.meteor/packages in new apps now contains "standard-app-packages", which implies
the standard set of packages like mongo-livedata. There is no special-casing in
initFromAppDir.  This line has been added to all the examples, etc.

There's a new concept of "upgraders".  "meteor run-upgrader app-packages" will
add standard-app-packages to the app, as well as all of the package in the app's
packages/ directory (an unrelated change since 0.6.4). This will be integrated
soon with "meteor update"; run-upgrader is essentially for testing.

project.add_package no longer adds packages that are already there.
2013-07-26 19:02:12 -07:00
David Glasser
ce16794cbb Push through on the Meteor.connect -> DDP.connect rename. 2013-07-25 18:54:42 -07:00
David Glasser
db51a3a14c Eliminate the "past" package.
This package was always included in apps, and even if it was possible to remove,
there wasn't a compelling story about when users would remove and replace
it. Plus, not all backwards-compatibility code could even live in it (eg, field
names of objects), so it was incomplete. It also introduced odd load order
constraints.

Instead, we introduce two conventions for backwards-compatibility code:

  - Special comments of the form "// XXX COMPAT WITH 0.6.4"
  - When feasible, put backwards-compatibility code in a file called
    "deprecated.js" in the relevant package.

This is documented at:
https://github.com/meteor/meteor/wiki/Meteor-Style-Guide#deprecated-code-and-backwards-compatibility

Additionally, removed some symbols that existed for backwards compatibility with
Meteor 0.4.0 (changes made 10 months ago): Meteor.is_client, Meteor.is_server,
and (in a method) this.is_simulation.
2013-07-25 18:54:42 -07:00
Emily Stark
bd7e0d768c Merge branch 'master' into devel
Conflicts:
	History.md
	docs/.meteor/release
	packages/mongo-livedata/.npm/package/npm-shrinkwrap.json
	packages/mongo-livedata/package.js
2013-07-19 16:05:29 -07:00
Emily Stark
614ab6a172 Update docs and examples to 0.6.4.1 2013-07-19 15:54:21 -07:00
David Glasser
e8af79e151 Update docs and examples to rc3. 2013-07-19 12:09:01 -07:00
David Glasser
abe145736d Update docs and examples to the RC. 2013-07-19 11:13:17 -07:00
David Glasser
3fa0b533cc wordplay: make dictionary check O(1) and take punctuation out of word list
apologies to deberg for stealing all of his git blame credit.
2013-06-14 11:09:57 -07:00
Emily Stark
1f3a69d7eb Update wordplay example to use Assets API 2013-06-14 08:40:26 -07:00
Nick Martin
299543da78 bump release number in docs and examples. 2013-06-10 11:48:00 -07:00
Nick Martin
55dd8a0304 Bump example version numbers for QA testing. 2013-06-05 22:13:02 -07:00
David Glasser
6edeacf29e Update examples to 0.6.4-rc1. 2013-05-31 13:02:41 -07:00
Nick Martin
bb4afdff5b move app out of package 2013-05-22 21:58:43 -07:00
Tim Haines
b7754f8c28 Refactor Oauth packages and extract twitter package from accounts-twitter 2013-05-17 18:00:35 -07:00
Nick Martin
2fb44613ce Bump example version numbers. 2013-05-15 11:52:09 -07:00
Avital Oliver
98c5efd8f1 Prerequisites for python-ddp-client 2013-05-06 12:13:02 -07:00
Avital Oliver
3ff6df2e9e Merge branch 'master' into devel
Conflicts:
	History.md
	packages/accounts-github/github_server.js
2013-04-24 14:01:22 -07:00
Avital Oliver
97b4ed263d 0.6.2.1 2013-04-24 11:10:16 -07:00
Nick Martin
c12f3851d1 Add audit-argument-checks to parties. This way when we do QA, we will exercise the package. 2013-04-18 19:30:44 -07:00
David Glasser
f67db983c3 New check library. 2013-04-18 19:17:53 -07:00
Nick Martin
f8c561140f Bump version numbers on apps. 2013-04-16 12:51:51 -07:00
Nick Martin
ac1e62ac30 Update apps to 0.6.2-rc3 2013-04-15 23:35:44 -07:00
Avital Oliver
a163c78dd0 0.6.1 2013-04-08 10:42:07 -07:00
David Glasser
1c8a667242 Update docs and examples to 0.6.0. 2013-04-04 12:08:38 -07:00
David Glasser
974583d9a6 Tested examples and docs with 0.6.0-rc7. 2013-04-03 17:00:32 -07:00
David Glasser
43f6ea8a80 update docs and examples to 0.6.0-rc1 2013-04-01 12:17:25 -07:00
David Greenspan
fe58789d8f fix error logging in login-demo 2013-03-26 11:13:55 -07:00
David Greenspan
f7dbbca72f log errors from login (eg not configured) 2013-03-25 22:07:57 -07:00
David Greenspan
d90f422b43 more readme 2013-03-25 21:25:05 -07:00
David Greenspan
2c8f7d5d87 demo of login and private data 2013-03-25 21:19:33 -07:00
David Glasser
a0e9fc3979 Add release files (0.6.0) to docs and all examples.
As part of the release process we'll update docs and all active
examples (other/unfinished examples can be updated as necessary). eg, first to
0.6.1-rc1, etc, and then to 0.6.1 when that is tagged from rc.
2013-03-19 15:13:54 -07:00
David Glasser
3c8f0b5949 Wrap client code in closure too.
Update parties and test helpers to not use file-level vars.
2013-03-19 15:11:14 -07:00
David Glasser
faa1818973 drop 'var' from wordplay functions used outside file 2013-03-19 15:11:14 -07:00
Avital Oliver
78ca755d3d Npm.require unified requireNpm and __meteor_bootstrap__.require 2013-03-19 15:11:04 -07:00
David Glasser
1a68026aa3 collection.update() and .remove() may only use IDs as selectors when sending RPCs.
ie, they can use arbitrary selectors on the server and in client stubs, but not
in other client contexts. This is to prevent clients from executing arbitrary
selectors against the DB.

Because of this, the update and remove allow/deny callbacks can only ever get
one doc, so switch them from getting an array to just getting the doc (like
insert).
2013-03-13 04:44:47 -07:00
David Greenspan
a18a92e65f Deps.run => Deps.autorun 2013-03-11 12:17:39 -07:00
David Greenspan
b9c3e1fa30 port examples 2013-03-08 12:50:46 -08:00
Naomi Seyfer
dba23bd29c Session.setDefault, and updating todos to use it. #698 2013-02-20 17:56:39 -08:00
David Glasser
9b486b3c9b Meteor.random -> Random.fraction
add Random.choice
2013-02-13 00:08:50 -08:00
David Glasser
d2ae5f7e1c Replace almost all uses of Meteor.uuid with Random.id. 2013-02-12 23:55:19 -08:00