Commit Graph

2132 Commits

Author SHA1 Message Date
Sashko Stubailo
82d1db5107 Rename Meteor.Collection to Mongo.Collection again 2014-08-29 12:28:32 -07:00
Sashko Stubailo
6b3d31ff5b Revert "Rename Meteor.Collection -> Mongo.Collection"
This reverts commit 96952dda2b.

Conflicts:
	packages/ddp/livedata_tests.js
	packages/minimongo/minimongo.js
	packages/mongo/collection.js
	packages/mongo/mongo_driver.js
	packages/mongo/mongo_livedata_tests.js
	packages/mongo/oplog_tests.js
	packages/reactive-dict/reactive-dict.js
	packages/session/session_tests.js
	tools/auth.js
2014-08-29 12:26:28 -07:00
Sashko Stubailo
84f1fcace1 Fix docs and self-test 2014-08-29 11:52:33 -07:00
Sashko Stubailo
96952dda2b Rename Meteor.Collection -> Mongo.Collection 2014-08-29 10:11:21 -07:00
Sashko Stubailo
aafd8a0d3e Merge branch 'release-0.9.1' into ddp
Conflicts:
	packages/livedata/package.js
2014-08-28 17:16:38 -07:00
Sashko Stubailo
c4e0ec5a14 Merge branch 'release-0.9.1' into mongo
Conflicts:
	packages/mongo-livedata/package.js
2014-08-28 17:15:06 -07:00
Sashko Stubailo
c24e96ff83 Update deps to tracker in self-test 2014-08-28 13:25:01 -07:00
Sashko Stubailo
3189a364e9 Rename livedata to ddp, meteor test-packages passes 2014-08-28 12:53:34 -07:00
Sashko Stubailo
932ab597b0 Merge branch 'release-0.9.1' of github.com:meteor/meteor into release-0.9.1 2014-08-28 12:04:33 -07:00
Sashko Stubailo
6f72a3c649 Update deps to tracker in self-test 2014-08-28 12:04:27 -07:00
David Glasser
3d10208869 Fix 'meteor list' if not all packages on server
Fixes #2468.  Regression from 0.9.0.
2014-08-28 11:38:00 -07:00
Sashko Stubailo
be8c503760 Rename mongo-livedata to mongo 2014-08-28 11:14:40 -07:00
Emily Stark
3f6ad09361 Change a thrown exception to 'selftest.fail' 2014-08-28 09:03:34 -07:00
Emily Stark
87bac7820d Remove some more strict checks in auth tests.
They're too strict for universe output.
2014-08-27 22:54:35 -07:00
Sashko Stubailo
ab0e177561 Rename standard-app-packages to meteor-platform
Summary: Also update the skeleton app to use meteor-platform

Test Plan: Created a new app, it had meteor-platform, it ran

Reviewers: dgreenspan

Reviewed By: dgreenspan

CC: avital, emily, nim

Differential Revision: https://phabricator.meteor.com/D785
2014-08-27 22:04:08 -07:00
Sashko Stubailo
a3cec3b6dc Rename standard-app-packages to meteor-platform 2014-08-27 21:14:34 -07:00
Emily Stark
c21ed42a33 Remove 'expectEnd' from login test.
It'll fail if we have a universe file, because the universe will get
printed.
2014-08-27 19:36:57 -07:00
Emily Stark
28ec9e62d2 Start crash count reset timer only after app is bundled.
Change the timeout back to what it was before 0.9.0
2014-08-27 18:56:32 -07:00
Emily Stark
3e999c4f69 Fix authorized test for DEPLOY_HOSTNAME 2014-08-27 15:56:08 -07:00
Emily Stark
1b9f57322b Add packages organizations selftest 2014-08-27 15:56:08 -07:00
Emily Stark
d5e3b2691a Make test packages server URL universe-friendly 2014-08-27 15:56:07 -07:00
Emily Stark
fc1b3e596e Don't require test package server to have 'standard-app-packages' 2014-08-27 15:56:07 -07:00
Emily Stark
d059106bba Remove dead 'admin remove-member' command 2014-08-27 08:56:34 -07:00
Emily Stark
f7c4e8a3b4 Rename orgs commands 2014-08-27 08:54:19 -07:00
Emily Stark
f17be05c79 Clean up some organization commands error handling.
Particularly when we have an expired/revoked token.
2014-08-27 08:54:19 -07:00
Emily Stark
1c991ee8b5 Prompt for login on orgs commands if you're logged out 2014-08-27 08:54:19 -07:00
Emily Stark
5c884cbe11 Remove delete-organization command and tests.
We're not going to allow organization deletion just yet.
2014-08-27 08:54:19 -07:00
Emily Stark
f1e03a6539 Remove obsolete XXX 2014-08-27 08:54:19 -07:00
Emily Stark
c07f940ec2 Remove stray 'console.log's 2014-08-27 08:54:19 -07:00
Emily Stark
a15b9ed7ae More organizations selftest 2014-08-27 08:54:18 -07:00
Emily Stark
2e7e9fbb9e Add guards against proc not existing in selftest 2014-08-27 08:54:18 -07:00
Emily Stark
d785da8dcd Skip unknown usernames rather than print "<unknown>".
Not sure what the original motivation for printing <unknown> was (it
shouldn't ever come up in normal operation, only if something weird
happens like we manually unset a user's username in the database). But
it's now rather inconvenient because we don't yet clean up deleted
organizations from a site, so you would see <unknown> for every
authorized organization that has been deleted. While we should
eventually clean up deleted organizations from a site's
"authorized_orgs" field, for now this will clean up the output of this
command.
2014-08-27 08:54:18 -07:00
Emily Stark
96019ffe66 Print errors from delete-organization 2014-08-27 08:54:18 -07:00
Emily Stark
aa0998750f Beginnings of an orgs selftest 2014-08-27 08:54:18 -07:00
Emily Stark
554c5f81b6 Print error messages for orgs commands 2014-08-27 08:54:18 -07:00
Emily Stark
a023e4b60c Grab selftest.fail from packaging branch 2014-08-27 08:54:18 -07:00
Emily Stark
a5d60f443f Add some more orgs commands 2014-08-27 08:54:18 -07:00
Emily Stark
922e1099a7 create-organization and list-organizations commands 2014-08-27 08:54:18 -07:00
David Glasser
cc16bcafe3 Merge branch 'release-0.9.0.1' into devel
Conflicts:
	packages/autoupdate/autoupdate_client.js
2014-08-27 00:00:15 -07:00
David Glasser
273b70bea4 prerelease versions shouldn't prompt you do update
Replace catalog.getLatestVersion with catalog.getLatestMainlineVersion,
which skips prerelease versions (those with dashes in the
version). Ensure that this function is only used by high-level commands
like 'meteor list'.  Replace other uses of that function with other
equivalent functions.

Also, don't stack trace on 'meteor add' constraint failure.
2014-08-26 23:56:51 -07:00
David Glasser
07d9a5e36c Arch-specific plugins make a package arch-specific.
Fixes #2449.
2014-08-26 23:35:28 -07:00
David Glasser
3564c3ac4e Fix 'meteor add x@version' over x@other
Before, we were running the constraint solver with both the new and the
old constraint, which would fail if they were not simultaneously
satisfiable. (We were writing the right thing to disk if it succeeded,
at least.)
2014-08-26 23:04:29 -07:00
David Glasser
43e01c09eb Improve treatment of prerelease (dashed) packages
Drop the "at-least" constraint type entirely. It was not user-accessible
and was only used in the form ">=0.0.0" to represent a constraint with
no version constraint at all. This type of constraint is now called
"any-reasonable".

The definition of "any-reasonable" is:

  - Any version that is not a pre-release (has no dash)
  - Or a pre-release version that is explicitly mentioned in a TOP-LEVEL
    constraint passed to the constraint solver

For example, constraints from .meteor/packages, constraints from the
release, and constraints from the command line of "meteor add" end up
being top-level.

Why only top-level-constrained pre-release versions, and not versions we
find explicitly desired by some other desired version while walking the
graph?

The constraint solver assumes that adding a constraint to the resolver
state can't make previously impossible choices now possible.  If
pre-releases mentioned anywhere worked, then applying the constraints
"any reasonable" followed by "1.2.3-rc1" would result in "1.2.3-rc1"
ruled first impossible and then possible again. That's no good, so we
have to fix the meaning based on something at the start.  (We could try
to apply our prerelease-avoidance tactics solely in the cost functions,
but then it becomes a much less strict rule.)

At the very least, this change should allow you to run meteor on a
preview branch like cordova-hcp without getting a conflict between the
prerelease package on the branch/release and the lack of an explicit
constraint in .meteor/packages on that package, because we are
reintepreting the .meteor/packages constraint as meaning "anything
reasonable" and the in-the-release version counts as reasonable.
2014-08-26 21:54:48 -07:00
Emily Stark
64ecaaf136 Add 'net' tag to "talk to package server" test 2014-08-26 20:49:11 -07:00
Emily Stark
2e870042d3 Add new argument to another loginWithTokenOrOAuth call 2014-08-26 20:49:11 -07:00
Emily Stark
4bb1c3f6ce Do login prompt when talking to package server with expired credential 2014-08-26 20:49:11 -07:00
Emily Stark
f89e633553 Add 'net' tag to "talk to package server" test 2014-08-26 18:19:24 -07:00
Emily Stark
28e2719ae5 Add new argument to another loginWithTokenOrOAuth call 2014-08-26 17:53:23 -07:00
Emily Stark
38d6525cea Do login prompt when talking to package server with expired credential 2014-08-26 17:04:42 -07:00
David Glasser
2732de966d Merge branch 'master' into devel
Conflicts:
	History.md
2014-08-26 08:09:22 -07:00