Kristina
991bfa6eae
more commands require authentication SERVER-3773
...
Not getLastError, for now, as it's a little more complicated.
2011-09-29 13:07:14 -04:00
gregs
e5d902202f
full API change to command interface, add options SERVER-3405
2011-07-27 15:59:27 -04:00
Eliot Horowitz
131e1d2182
more cleaning
2011-06-22 15:51:08 -04:00
agirbal
1725803c20
SERVER-2579: all v8 object creation is now lazy.
...
Correct allocation and freeing of underlying C++ object.
Correct ordering of object properties even when new ones are added within JS.
Supports deletion of properties with lazzy wrapper.
Also removed scope->setThis in favor of passing it in the invoke() command.
2011-05-02 16:08:41 -07:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Eliot Horowitz
d31fdaef02
option for db.eval not to lock SERVER-381
2010-10-24 18:51:43 -04:00
Eliot Horowitz
a5e1865e28
SERVER-778 don't allow running write command with read lock
2010-05-11 10:05:34 -04:00
Eliot Horowitz
a48c830de9
Command::run gets "test" not "test.$cmd"
2010-05-03 16:25:34 -04:00
Dwight
bd28578ab8
stdafx->pch
2010-04-27 15:27:52 -04:00
Dwight Merriman
c4bd465042
towards 3
2010-04-24 18:25:58 -04:00
Dwight
837fd2cd86
/_commands in the http interface
2010-04-23 15:50:49 -04:00
Eliot Horowitz
a347ce9b85
change Command locking config
2010-02-26 14:38:51 -05:00
Dwight
1d38e43c77
change error text
2010-02-09 16:10:58 -05:00
Eliot Horowitz
62f47cc910
cleaning up security - moving to centralized location
2010-02-04 10:49:19 -05:00
Aaron
eab0cc8da6
merge
2010-02-02 10:03:15 -08:00
Aaron
946d42e8e7
SERVER-258 make db.eval work with read only mode
2010-02-01 10:31:08 -08:00
Dwight
03abb654fb
eliminate findElement - use getField() instead
2010-01-28 13:41:51 -05:00
Eliot Horowitz
758cd7350d
configure "slow" queries
...
either --slowms on the command line
or through setProfilingLevel
SERVER-457
2009-12-29 14:48:42 -05:00
Eliot Horowitz
0ab8149a8e
uassert/massert take error code SERVER-112
2009-12-28 16:43:43 -05:00
Eliot Horowitz
411b4d279e
only put a timeout on db.eval if --quota is on
2009-10-16 11:37:31 -04:00
Dwight
16f8b77c5e
move the var 'database' inside Client object
2009-10-14 14:34:38 -04:00
Eliot Horowitz
dcbe8fbd95
handle js -> bson in 1 place
2009-09-21 15:54:41 -04:00
Eliot Horowitz
b2d07883fa
uassert instead assert for bad eval thing
2009-08-16 13:30:51 -04:00
Eliot Horowitz
c9ad39db79
caching js context, also THREADSAFE mangling
2009-08-05 13:14:06 -04:00
Dwight
384f32a70e
ctrl-c handler for windows (important for clean shutdown)
...
http://jira.mongodb.org/browse/SERVER-93
2009-07-29 11:16:51 -04:00
Eliot Horowitz
8db5cbbea8
fix null,date returns from db.eval SERVER-151
2009-07-13 12:49:29 -04:00
Eliot Horowitz
a5bbcaa94b
fix eval returning Array
2009-06-08 10:53:50 -04:00
Eliot Horowitz
7155f7aa55
handle broken eval scripts correctly
2009-05-20 15:47:48 -04:00
Aaron
f9c896224b
Add paramaterizable timeout for engine's invoke and exec, set timeout of 10 minutes for db.eval
2009-05-19 16:13:24 -04:00
Eliot Horowitz
8e0ff9805a
Spider Monkey: udpate working, other db.eval things
2009-05-06 15:30:05 -04:00
Eliot Horowitz
e49beecc3a
handle null return in db.eval
2009-05-05 14:59:38 -04:00
Eliot Horowitz
dac117fc10
better debugging
2009-05-05 13:48:56 -04:00
Eliot Horowitz
a9e3f4912f
typo MINOR
2009-05-05 12:28:25 -04:00
Eliot Horowitz
b9111a11f8
safety for unhandled cases MINOR
2009-05-05 12:26:05 -04:00
Eliot Horowitz
871476dbb5
better javascript error reporting
2009-05-01 14:34:44 -04:00
Eliot Horowitz
e366fb43ac
Spider Monkey: abstracting away db.eval connection
2009-04-30 10:51:54 -04:00
Aaron
532e369024
Revert "Revert "use static variables for OCCASIONALLY/RARELY/ONCE to get per function uniqueness""
...
This reverts commit ce91c67c40 .
2009-04-28 10:11:39 -04:00
Aaron Staple
ce91c67c40
Revert "use static variables for OCCASIONALLY/RARELY/ONCE to get per function uniqueness"
...
This reverts commit cc3887c864 .
2009-04-27 16:51:35 -07:00
Aaron
cc3887c864
use static variables for OCCASIONALLY/RARELY/ONCE to get per function uniqueness
2009-04-27 19:12:32 -04:00
Eliot Horowitz
2cd10ab9c2
cleaner way of turning off JNI at compile time
2009-04-23 16:51:51 -04:00
Eliot Horowitz
c434bed746
Scripting: make args a paramter to invoke() rather than magic
2009-04-23 16:39:41 -04:00
Eliot Horowitz
1f696e2143
abstracted out ScriptEngine to allow for playing with other javascript engines
2009-04-23 14:28:22 -04:00
Eliot Horowitz
a7a3ee41fc
cleaning javascript interface - make everything use Scope
2009-04-23 11:27:52 -04:00
dwight
e1021ee8ab
authenticate command work
...
some dbhelpers additions
less verbose logging
2009-01-18 17:48:44 -05:00
Aaron
261a467aa5
Replaced our #defined cout with mongo::out()
2009-01-15 11:26:38 -05:00
Aaron
90d45238aa
Indent all lines within namespaces one level
2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de
Replace tab indentation with spaces
2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd
Put our code in 'mongo' namespace
2009-01-14 17:09:51 -05:00
Eliot Horowitz
d61abc7489
eval works with a string
...
return java exception
2009-01-08 16:23:59 -05:00
Dwight
1cc123561a
try not to die in segv printouts with deadlocks and such
2009-01-06 18:25:38 -05:00