David Greenspan
033fd00a58
add npm "tar" package for use by engine
2012-12-12 16:06:21 -08:00
David Glasser
cd250f0945
tinytest: drop results for a run when requested by client, not onComplete.
...
Should be useful for a non-browser-based test runner.
2012-12-12 12:55:44 -08:00
Naomi Seyfer
69459b8c70
Add pre to the whitspace formatting of code
2012-12-12 12:53:39 -08:00
Naomi Seyfer
7724c7ef7f
Changed from a fake enum thing to just strings for debug opts
...
Taking Geoff's advice. Also adjusting the docstrings in the usage
for --debug and --debug-brk
2012-12-12 12:53:39 -08:00
Naomi Seyfer
06a3e23730
The rest of the docs for Meteor.settings
2012-12-12 12:53:39 -08:00
Avital Oliver
f247840536
Merge pull request #539 from timhaines/oauth1binding-to-accept-post-params
...
Update OAuth1Binding to allow post and get to receive params
2012-12-12 12:41:57 -08:00
Geoff Schmidt
da4699288d
tweaks to Email.send example
2012-12-12 12:17:53 -08:00
Evan
e2743eeab0
Update docs/client/api.html
...
Added example to Email.send
2012-12-12 12:05:52 -08:00
Tim Haines
0b1ced1aa2
Have an oauth call return the result including headers and statusCode, not just the data
2012-12-11 17:00:11 -08:00
Nick Martin
ae07218515
Convert the benchmark to use Meteor.settings to load scenarios.
2012-12-11 00:17:28 -08:00
Tim Haines
440d386ba1
Add post convenince method to OAuth1Binding, and allow post and get to receive params
2012-12-10 21:07:13 -08:00
David Greenspan
11f98e0748
include jsparse-docs app in main repo
...
Under examples/unfinished. Was in my personal repo.
This app displays a nicely-formatted full reference for the jsparse syntax tree.
2012-12-10 15:27:09 -08:00
David Greenspan
96cd1faf6b
jsparse: allow unescaped / in regex char classes
...
Regexes like /[/]/ are ES5 compliant and supported by Node and browsers.
Needed to parse prettify.js and SockJS!
2012-12-10 15:16:23 -08:00
Nick Martin
a13328b7f4
Use comment nodes for LiveRange in all IE, not just IE < 8. Fixes #458 .
2012-12-10 12:29:26 -08:00
David Glasser
28a136d7c2
Fix client-side c.update({foo: /bar/}) and remove.
...
Minimongo supported JS RegExp object in selectors, but previously we serialized
them poorly over DDP. Fix by converting to the equivalent {foo: {$regex: 'bar'}}
form.
Fixes #346 .
2012-12-10 11:42:18 -08:00
David Glasser
5e6bd79321
Followup to 7289950b: fix and add tests and comments.
...
7289950b removed the long-deprecated support for including "/sockjs" in
HTTP/HTTPS URLs passed to Meteor.connect (though it is require for the new
ddp+sockjs URLs), breaking some tests and making some comments incorrect. These
are now fixed.
2012-12-09 21:23:49 -08:00
David Greenspan
8eacb1ab9f
clarify comment
2012-12-07 18:03:52 -08:00
David Greenspan
85b502c296
jsparse: fix logic bug in lexing identifiers
2012-12-07 17:56:23 -08:00
Naomi Seyfer
f78e46607c
Make the default for Meteor.settings be the empty object
2012-12-07 13:43:05 -08:00
David Greenspan
c87b00f0c9
jsparse: fix decimal literals starting with '.'
2012-12-07 13:40:23 -08:00
Naomi Seyfer
0988203ca1
Merge branch 'mongo-error' into devel
2012-12-07 11:27:47 -08:00
Naomi Seyfer
9bc802b3f6
Added file with library of mongo exit codes
...
Make meteor clearer about why mongo exited.
test for one possible mongo badness
Only print explanation if we have it
2012-12-07 11:27:18 -08:00
David Glasser
7289950b54
Implement "ddp+sockjs://" and "ddpi+sockjs://" URLs for Meteor.connect.
...
This is not yet documented or fully supported (ie, it may change before 1.0).
ddp+sockjs:// URLs are translated into https:// URLs and explicitly contain the
"/sockjs" endpoint. Any '*' in the hostname should be changed into a random
digit before opening a SockJS connection, to help avoid browser per-hostname
connection limits.
ddpi+sockjs:// is identical but uses http:// instead.
The DEFAULT_DDP_ENDPOINT environment variable has been renamed
DDP_DEFAULT_CONNECTION_URL. (For now, 'meteor deploy' will continue to also
provide non-"ddp+sockjs://" URLs in the old environment variable so that old
apps continue to work).
2012-12-06 16:45:01 -08:00
David Glasser
8916b1cd02
Don't add '.meteor.com' to deployed app names (the server will do that now and
...
return the site URL).
2012-12-06 16:45:01 -08:00
Naomi Seyfer
9902ea7c2b
Merge remote-tracking branch 'settings' into devel
2012-12-06 16:43:53 -08:00
Naomi Seyfer
325b93e6ea
Add newline
2012-12-06 14:28:27 -08:00
Naomi Seyfer
16fff9ea48
Fixed documentation to talk about unsetting
2012-12-06 14:21:42 -08:00
Naomi Seyfer
ad45a0854b
Passing an empty settings file unsets settings on deploy
2012-12-06 14:21:42 -08:00
Naomi Seyfer
ad564f26aa
Re-silince settings test
2012-12-06 14:21:42 -08:00
Naomi Seyfer
3f8b7c9b78
More code review comments; simplifying mongo kill
2012-12-06 14:21:42 -08:00
Naomi Seyfer
0531db7dcb
Adjusting code as per code review comments
2012-12-06 14:21:42 -08:00
Naomi Seyfer
57ff26497d
Added explanation in docs for settings stickiness
2012-12-06 14:21:42 -08:00
Naomi Seyfer
836fd21a13
Docs for --settings in commandline.html
2012-12-06 14:21:42 -08:00
Naomi Seyfer
dc47e4304c
Geoff comments on usage text
2012-12-06 14:21:42 -08:00
Naomi Seyfer
67c37b9d41
removed extraneous console.log
2012-12-06 14:21:42 -08:00
Naomi Seyfer
8769274e76
Settings working with meteor deploy
2012-12-06 14:21:42 -08:00
Naomi Seyfer
fb1d2b319a
Tests for --settings, and also Nick's review comments
2012-12-06 14:21:42 -08:00
Naomi Seyfer
4d5498424a
launch_mongo now returns a handle that can stop the mongo proc
2012-12-06 14:21:42 -08:00
Naomi Seyfer
24e70fda21
Find mongo and kill it dead on --once exit
2012-12-06 14:21:42 -08:00
Naomi Seyfer
29a0391c32
Plumbed settings & once through run
...
--settings - specify a JSON file to use as settings for your app, which
will appear in Meteor.settings as an object
--once - only run once. Exit with whatever exit code your app produced.
2012-12-06 14:21:42 -08:00
Naomi Seyfer
196d52eeae
Read a settings file in meeteor run
...
For now, do nothing with it. Constructing the framework
to pass it to the running app, bit by bit
2012-12-06 14:21:42 -08:00
Naomi Seyfer
cc2dcd573d
Change start_server to use options call format
2012-12-06 14:21:42 -08:00
David Glasser
f40d60c093
Remove unused url module require.
2012-12-06 11:53:37 -08:00
Avital Oliver
3f8f9465a4
Fix autoReconnect Mongo URL addition
2012-12-05 21:56:57 -08:00
Avital Oliver
cdbfb84759
Add underscore to dev bundle
2012-12-05 19:51:56 -08:00
Avital Oliver
103757bb89
Allow running find-new-npm-versions.sh from any directory
2012-12-05 19:49:35 -08:00
Avital Oliver
6902c2a2ca
Don't hard-code meteor install directory in find-new-npm-versions.sh
2012-12-05 19:46:49 -08:00
Avital Oliver
ab0eb2c090
Add script to detect new versions of npm modules
2012-12-05 19:45:01 -08:00
David Greenspan
b4fae6212b
Rename variables in bundler with identical names
...
api -> declarationFuncs for top-level Package.on_use etc
on_{use,test} -> on_{use,test}_handler when stored
2012-12-04 17:21:16 -08:00
David Glasser
c941363d64
Make minimongo test parse on IE7 unminified.
2012-12-04 14:47:40 -08:00