jsteemann
0a7b17e917
use log level debug for startup warnings
2019-04-30 12:33:55 +02:00
Jan
65dc15bc61
Bug fix/misc issues ( #8013 )
...
* added missing return statements
* only spend up to 10 seconds for initially fetching the list of collections in arangosh
fetching the list of collections is a blocking operation, and the default timeout for this is very high.
If the server is blocked by whatever reason, then the shell is unusable until the collections list request returns.
To avoid this, the initial request is limited to 10 seconds, so the shell can be used afterwards.
* if an index cannot be used for sorting, its sort
cost was previously returned as 0. this will in fact favor
indexes that can be used for filtering but not for sorting
over indexes that can be used for both.
this change is to report the sort cost for indexes that
cannot be used for sorting to n * log(n), where n is the
number of documents that optimizer expects to come out of the
index after filtering
2019-01-28 08:55:22 +01:00
Alan Plum
50e0eb16d2
Use COLOR_OUTPUT to determine whether to use color
2017-03-15 20:44:03 +01:00
Alan Plum
2f07366b8f
Implement process.stdout.isTTY
2016-11-19 18:42:29 +01:00
Andreas Streichardt
6ee1f6d14a
Reformat code
2016-06-30 16:57:17 +02:00
Alan Plum
53dc168a71
Linting
2016-05-02 14:42:10 +02:00
Alan Plum
ac29066808
Make aql global in arangosh
2016-04-20 15:23:05 +02:00
Alan Plum
8b7a98f2e8
global.aqlQuery -> arangodb.aql
2016-04-20 13:05:27 +02:00
Jan Steemann
8390793699
moved docu blocks into their own files
2016-01-07 16:39:19 +01:00
Jan Steemann
76577f4332
fix inclusion of .arangosh.rc
2016-01-04 14:51:39 +01:00
Alan Plum
8853ede355
org/arangodb -> @arangodb
2015-12-15 15:51:44 +01:00
Alan Plum
9a097c31ef
aqlQuery should handle null/undefined
2015-11-04 17:33:19 +01:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Alan Plum
6b3e08456b
Handle ArangoCollection in aqlQuery templates.
2015-08-31 18:16:23 +02:00
Jan Steemann
dd9cd8f472
made `aqlQuery` run in web interface
2015-08-30 23:12:26 +02:00
Jan Steemann
1867d6c4de
added template string generator function `aqlQuery` for generating AQL queries
...
This can be used to generate safe AQL queries with JavaScript parameter
variables or expressions easily:
var name = 'test';
var attributeName = '_key';
var query = aqlQuery`FOR u IN users FILTER u.name == ${name} RETURN u.${attributeName}`;
db._query(query);
2015-08-30 22:32:26 +02:00
Alan Plum
1f865e4c21
Fixed #1268 regression.
2015-06-16 10:14:47 +02:00
Frank Celler
d295f87459
added check for newer version
2015-05-26 14:06:50 +02:00
Alan Plum
69e63c2c64
Strict mode all the things.
2015-04-09 00:22:05 +02:00
Alan Plum
45ff33b404
More strictness.
2015-04-08 16:18:11 +02:00
Alan Plum
e86c98dfe2
Enabled unused: true, ported aardvark jslint to jshint.
2014-09-02 22:18:18 +02:00
Alan Plum
606da1e3e8
Removed jslint headers from server/client/common modules.
2014-09-02 22:14:56 +02:00
Alan Plum
3156a245f6
Stricter jshintrc.
2014-09-02 22:12:46 +02:00
Alan Plum
6a3386e55a
Fixed jshint headers.
2014-09-02 22:12:45 +02:00
Jan Steemann
574b3f3d18
added ArangoShell tutorial
2014-08-30 19:46:20 +02:00
Frank Celler
35bb498614
be less verbose
2014-03-07 11:59:01 +01:00
Jan Steemann
3623cd4292
fixed issue #701 : ArangoStatement undefined in arangosh
2013-12-02 09:53:49 +01:00
Jan Steemann
81b18e1018
fixed #607 : console was redefined
2013-10-15 15:35:57 +02:00
Jan Steemann
089caeebcd
make console a default object
2013-10-14 13:47:49 +02:00
Jan Steemann
b844782d44
updated help texts for arangosh
2013-10-08 09:01:38 +02:00
Frank Celler
bbab760a54
renamed foxx-manager to foxx/manager
2013-09-05 10:02:31 +02:00
Jan Steemann
bb39e04d09
make fm available globally
2013-07-26 13:43:32 +02:00
Frank Celler
1b6dfad627
new name convention
2013-07-25 17:25:39 +02:00
Jan Steemann
1f68eaa221
issue #563 : can aal become a default object?
2013-07-01 10:21:18 +02:00
Frank Celler
49b5507b73
fixed issue #489 : Bug in aal.install
...
Conflicts:
Makefile.in
2013-05-05 21:10:14 +02:00
Jan Steemann
eef611b1da
fixed some compiler & jslint warnings
2013-05-03 11:09:45 +02:00
Frank Celler
b801054111
added global Buffer
2013-04-21 23:10:00 +02:00
Frank Celler
7bfce45ece
added more node modules
2013-04-21 22:00:54 +02:00
Frank Celler
b50bc6dd24
added thumbnail
2013-04-05 14:48:15 +02:00
Frank Celler
7031210a53
fixed browser
2013-03-31 00:10:48 +01:00
Frank Celler
1467b78676
cleanup of internal, fs, console
2013-03-31 00:10:48 +01:00
Frank Celler
2ed6b0145f
changed app-path and dev-app-path to be just one directory
2013-03-28 21:48:52 +01:00
Jan Steemann
60fa94e5b4
fixed errors in arangosh (browser)
2013-03-25 12:00:15 +01:00
Frank Celler
44806229f7
fixed jslint errors
2013-03-23 21:57:33 +01:00
Frank Celler
8a54df7419
added .arangosh.rc, added /_admin/execute
2013-03-23 14:04:08 +01:00
Jan Steemann
00fbda082d
fixed frontend bugs
2013-03-19 13:40:26 +01:00
Frank Celler
59184b39bd
added update disclaimer for JS files
2013-03-13 17:30:14 +01:00
Jan Steemann
4e41e0def6
fixed arangosh printing "undefined"
2013-03-07 17:34:31 +01:00
Jan Steemann
4acd777b6c
fixed jslint warnings
2013-02-14 11:40:14 +01:00
Frank Celler
8cca06127c
moved .dox to .md
2013-02-09 13:15:28 +01:00