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
David Glasser
77f926639b
Make minimongo tests pass in old browsers (FF3.6, IE8).
...
(Broken test added in 129154695455282a.)
2012-12-04 14:47:40 -08:00
David Glasser
442b86eebd
Preserve CHECKED status similarly to VALUE.
...
Fixes #510 .
2012-12-04 14:47:40 -08:00
David Glasser
723154e472
When preserving elements with values, preserve the value of elements unless the
...
server's rendering has changed.
This fixes two independent issues:
- If the user has changed the value in a preserved field, and something causes
the field to be rerendered, and the re-rendering renders the same value that
was originally rendered, this now preserves the user's change rather than
reverting to the original value.
- INPUTs with type other than TEXT can now have reactive values (eg,
type=SUBMIT).
2012-12-04 14:47:40 -08:00
David Glasser
362f0eb075
Fix DomUtils.htmlToFragment with SELECTs. Add helpers.
...
When a <SELECT> was rendered on IE9 (or older) via DomUtils.htmlToFragment, the
hack we used somehow failed to properly set some attributes; they would show up
in innerHTML but not affect property values. eg, SELECTED would show up in an
OPTION's innerHTML but option.selected would not be set (nor would the parent
SELECT's value or selectedIndex). Fix this by replacing a mergeAttributes call
with an explicit attribute copying loop.
Also, add the helpers setElementValue and getElementValue to DomUtils, which are
used both in the test of this fix and will be used in a future change.
Fixes #496 .
2012-12-04 14:47:40 -08:00
Avital Oliver
be5b53b157
Move the OAuth configuration wizard up.
...
Some of them are getting pretty high, and it was lower than
center on my 13" laptop.
2012-12-03 22:10:43 -08:00
Avital Oliver
5efd9ff4b2
OAuth offline token docs improvement
2012-12-03 22:10:43 -08:00
Avital Oliver
59c79edeee
Don't lose Google refresh tokens
2012-12-03 22:10:43 -08:00
Avital Oliver
240d6e64f7
Improve offline google oauth token support:
...
- Use an argument to Meteor.loginWithGoogle and Accounts.ui.config
rather than a UI-powered configuration option
- Add documentation
- Some cleanup
2012-12-03 22:10:43 -08:00
nwmartin
c3ffb54cc2
Initial support for offline google oauth token
2012-12-03 22:10:42 -08:00
David Glasser
31be7d61be
When connecting to Mongo, default autoReconnect parameter to true.
...
Fixes #425 .
2012-12-03 14:53:42 -08:00
Avital Oliver
27113a392d
Better management of user documents when created from external service.
...
Don't lose fields that were added in a previous login, but that aren't
received on a subsequent one. An example of this is the refresh token
sent from Google only on first login, in the case that the service
is configured on "offline" mode.
This is a prerequisite for merging in #464
2012-12-03 13:34:59 -08:00
Avital Oliver
b6ac7a2a14
Improve the way we log a specific error
2012-12-03 13:25:23 -08:00
Naomi Seyfer
682a883961
Merging pull request #412 from jwulf
...
With some additional edits
2012-12-03 12:04:35 -08:00
Naomi Seyfer
7bfa178bbd
Clean up & style-ify debug and debug-brk options
...
* --debug-brk instead of --debug_brk to match node.js
* Use an enum passed through functions instead of global vars
2012-12-03 12:02:12 -08:00
Naomi Seyfer
3367cf0840
Merged jwulf change to start inner server with debug.
2012-12-03 10:17:50 -08:00
meawoppl@gmail.com
3f0a5a3489
Fixed flaw in uuid generation where dynamic casting from hex string to integer
...
give the improper result for characters a-f.
See below for related snippet, spaced to make reading easy
X marks the spot!:
> s
["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]
> _.map(s, function(input) { return ((input & 0x3)| 0x8)})
[ 8, 9, 10, 11, 8, 9, 10, 11, 8, 9, 8, 8, 8, 8, 8, 8]
X, X, X, X, X
_.map(s, function(input) { return ((parseInt(input,16) & 0x3)| 0x8)})
> [8, 9, 10, 11, 8, 9, 10, 11, 8, 9, 10, 11, 8, 9, 10, 11]
2012-12-02 12:43:50 -08:00
David Glasser
ad9390ff6f
Merge branch 'dev-bundle-029' into devel
2012-11-30 01:04:50 -08:00
David Glasser
c09aaa7908
Bump dev bundle version to 0.2.9
2012-11-29 16:26:25 -08:00
David Glasser
3262492f8d
Update clean-css to 0.8.3. Fixes #515 .
2012-11-29 16:26:01 -08:00
David Glasser
a4db69aca2
Revert "Update clean-css to 0.8.3. Fixes #515."
...
This reverts commit 8ee9959a8e .
Need to do this on a branch and build a dev bundle.
2012-11-29 16:24:14 -08:00
David Glasser
8ee9959a8e
Update clean-css to 0.8.3. Fixes #515 .
2012-11-29 16:19:03 -08:00
Naomi Seyfer
1cbfe4e361
Modified cli-test.sh to be less sensitive to directory run from
2012-11-28 18:39:25 -08:00
Naomi Seyfer
6ccd7b4bb1
Changed cli-test.sh to default to using working copy meteor.
...
If you want the old behavior, using the installed meteor,
pass in the option --global
2012-11-28 18:30:04 -08:00
David Glasser
3a3126568a
docs: clarify that the 'fields' option to find/findOne is server-only
...
and the 'reactive' option is client-only.
Avoid using the term Minimongo to mean "client-only".
Fixes #492 .
2012-11-28 13:27:20 -08:00
David Glasser
401c0cfa21
Better error message from Spark when patching bad HTML fails.
...
Fixes #512 .
2012-11-28 13:22:29 -08:00
David Glasser
add592a32e
minimongo: Test observing a query-by-ID.
...
Demonstrates that the optimization in PR #504 is not safe.
2012-11-28 11:01:30 -08:00
David Glasser
4acd2551e4
Refactor $and/$or/$nor compilation.
2012-11-28 10:53:32 -08:00
Christian Schramm
eca9d705ae
Fixed bug where $and/$or/$nor accepted empty arrays
...
mongodb doesn't accept it, so we follow its example. Also fixed test
for that.
2012-11-28 10:48:17 -08:00
Christian Schramm
1291546954
Added $where tests
2012-11-28 10:48:17 -08:00
Christian Schramm
f080fb20e4
Added $and tests
2012-11-28 10:48:16 -08:00
Christian Schramm
7f89f059e5
Added test for $or and $nor
2012-11-28 10:48:16 -08:00
David Glasser
6d1c0a7c93
Merge branch 'master' into devel
2012-11-27 10:32:57 -08:00
David Glasser
067113a37d
Merge branch 'release-0.5.2'
2012-11-27 10:31:34 -08:00
David Glasser
6635ae1007
History.md update for 0.5.2.
v0.5.2
2012-11-27 08:46:09 -08:00
David Glasser
0757e96e6d
Fix use of cursor.observe at server-side startup.
...
A block that wasn't allowed to yield called _Mongo::_createSynchronousCursor,
which certainly can yield (it waits on a Future) but doesn't actually end up
needing to yield unless it is called during the initial connection to
Mongo... eg, during startup.
Fixes #507 (reported by paulreimer).
2012-11-27 08:45:01 -08:00
David Glasser
68db80f500
Update version number to 0.5.2.
2012-11-27 08:43:29 -08:00