Commit Graph

2264 Commits

Author SHA1 Message Date
Emily Stark
9d577ae58c Specify securePort for admin apps.
Otherwise they bind to 4433 by default, which conflicts with normal proxy
running on the same machine.
2013-08-06 12:58:29 -07:00
Emily Stark
6decfd43d6 Use setting to select which proxy service to bind to 2013-08-06 12:58:29 -07:00
Nick Martin
6e565bf26e Add missing package usage. Fixes #1284. 2013-08-06 12:53:33 -07:00
Nick Martin
d70c3d54e0 Use soon-to-be-released mongo driver version 1.3.16. It includes a fix for a connection storm that impacted production hosting. 2013-08-06 12:16:11 -07:00
Nick Martin
017407301d Also skip logging test on old safari that doesn't support it. 2013-08-06 11:59:06 -07:00
Tim Haines
723e4b5b50 Attach response object to accounts generated errors resulting from HTTP failures 2013-08-06 11:37:05 -07:00
Slava Kim
56c1eb3ee8 Merge branch 'check-path' into devel
Small improvements to 'check' package:

- Match.Integer matches 32-bit integers.
- Match.Error shows full path of sub-object where error occurred.
- Better docs for Match.Optional.
2013-08-05 16:22:37 -07:00
Slava Kim
580de65f62 Grammar corrections. Comments moving. 2013-08-05 13:26:43 -07:00
David Glasser
063c446263 Put a space after the "this timestamp isn't actually from the Log call" question
mark.
2013-08-02 16:29:10 -07:00
Slava Kim
67129c7e70 Nick's comments.
Don't duplicate the logic.
2013-08-02 15:22:49 -07:00
David Glasser
c3d1f7bbd2 Don't fail if stylus or less files are in a non-client-specific place.
Make the plugin's arch check less sketchy.

Improve less and stylus error handling.
2013-08-02 15:16:53 -07:00
David Glasser
c22f681d9c Fix a test in IE8; elsewhere make it actually test what it's trying to test. 2013-08-02 14:57:30 -07:00
Slava Kim
1023a97e07 Add Match.Integer match for 32-bit integers. #1171 2013-08-02 14:22:00 -07:00
David Glasser
6e67c755e1 clear all sockjs handlers 2013-08-02 13:47:10 -07:00
David Glasser
aa6315e109 minor improvements to a livedata test 2013-08-02 13:46:54 -07:00
Slava Kim
cd3d87625f Remove duplication in error of unknown key.
"Unknown key in field Y" instead of "Unknown key Y in field Y"
2013-08-02 12:41:29 -07:00
Slava Kim
ec05981a1a Improve comment. Cleaner way to construct path string. 2013-08-02 12:37:44 -07:00
David Glasser
0e785039ae Avoid using Meteor.absoluteUrl for client-side tests.
This way tests can pass both when ran against localhost or against a
10.0.2.2-style hostname for VMs.
2013-08-02 11:47:59 -07:00
David Glasser
8e4be18c88 Use json package in sockjs client.
Because sockjs-client doesn't think it's loading in a closure, it ALWAYS ends up
redefining JSON to non-native code, and sockjs-client does not want to change
this:
  https://github.com/sockjs/sockjs-client/issues/123

Fixes #1162.
2013-08-02 11:22:03 -07:00
David Glasser
e712d78cfb Export JSON from json package.
Make sure to use the built-in JSON if it exists.

Fixes #1204.
2013-08-02 11:19:08 -07:00
Slava Kim
1cd8931eff Nick's comments. One line Error message, comments. 2013-08-01 23:56:33 -07:00
Slava Kim
7db4b8eaf0 Check's error has path in the object tree. 2013-08-01 17:43:13 -07:00
David Glasser
f276b34148 comment about updating BUILT_BY when js-analyze changes 2013-07-31 23:50:31 -07:00
Nick Martin
ae965f1aa1 Make an environment variable to control where we bind.
This only affects the bundled app (eg, what you'd run in production). The dev mode runner has a bunch of '127.0.0.1' addresses hardcoded, and will need more work.
2013-07-30 20:00:15 -07:00
David Glasser
b5c907b034 accounts-twitter doesn't have an HTML file any more 2013-07-30 15:37:06 -07:00
Emily Stark
da3cd5d09e Merge deployConfig with a deployConfig from db in ctl 2013-07-30 11:23:07 -07:00
David Glasser
719bbb115b Move bindToProxy to WebAppInternals; it is needed by the Galaxy proxy. 2013-07-29 23:21:08 -07:00
David Glasser
97eca2bd7c Put Mongo internal stuff onto MongoInternals. 2013-07-29 17:11:42 -07:00
David Glasser
0c7954b476 Expose Mongo timestamp class a little more. 2013-07-29 16:48:22 -07:00
David Glasser
3fa2a8c0b0 Better fix for minimongo/mongo-livedata dep issue.
Still hacky though. They should have a mutual dependency.
2013-07-29 16:30:21 -07:00
David Glasser
e3ab617f5f Fix Packages -> Package 2013-07-29 16:14:59 -07:00
David Glasser
1202b781ef Rename 'native' to 'os', in arch names.
Requires a BUILT_BY bump, unless you really want to fail to load your plugins
and crash.
2013-07-29 15:39:50 -07:00
David Glasser
541c68a251 Treat {$regex: /foo/i, $options: ''} same as in minimongo. 2013-07-29 13:41:01 -07:00
Avital Oliver
a9b59ea867 Correct mongo selector rewrite for {$regex: /foo/, $options: '...'} 2013-07-29 12:43:02 -07:00
Avital Oliver
f7d991cc87 Fix Mongo queries with {$regex: /foo/}
The bug manifested as incorrect cursor de-duping, making
queries on different regular expressions "de-dup" into one,
which, combined with hot code reload caused crazy seeming
things such as needing to save twice to see a code change
executed.
2013-07-29 12:43:02 -07:00
David Glasser
3e76c40cce Improve data flow from deployConfig to mongo-livedata.
(Still ought to be better refactored though.)
2013-07-29 11:54:52 -07:00
David Glasser
3b03386b63 Fix force-ssl. 2013-07-29 11:35:25 -07:00
David Glasser
d9b1172116 Fix configureLoginService.
Fixes #1250.
2013-07-26 19:42:46 -07:00
David Glasser
03e0ca8a49 Remove function moved from server file to common file.
Caught by Tim Haines!
2013-07-26 19:38:44 -07:00
David Glasser
03105fd495 Forgot to include standard-app-packages/.gitignore. 2013-07-26 19:34:59 -07:00
David Glasser
af06112044 templating implies spark and meteor: generated code needs them.
also finish getting rid of deprecated startup package, and some other minor
packaging cleanups to templating.
2013-07-26 19:34:45 -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
26163ce69e Don't use a subclass for minimongo errors; they print poorly.
Fixes #1246.
2013-07-26 14:38:28 -07:00
Tim Haines
3dd8c230b3 Add callback param to oauth request handler, allowing async calls 2013-07-26 11:25:50 -07:00
David Glasser
1cafd85984 Fix test failure after rebase. 2013-07-25 18:54:43 -07:00
David Glasser
4b3cb9d305 Rename api.exportSymbol -> api.export. 2013-07-25 18:54:43 -07:00
David Glasser
0faf93b180 oops, define Meteor.autosubscribe correctly 2013-07-25 18:54:43 -07:00
David Glasser
ae6f226425 Make backbone use the _ in its scope. 2013-07-25 18:54:43 -07:00
David Glasser
2894252578 Mark test helpers as test-only, too. 2013-07-25 18:54:43 -07:00
David Glasser
d387e043ea Rename _FooTest symbols to FooTest. They are already test-only. 2013-07-25 18:54:42 -07:00