1
0
Fork 0
Commit Graph

8131 Commits

Author SHA1 Message Date
Alan Plum 448e496df6 Don't load the foxx too early. 2015-04-10 11:58:15 +02:00
Alan Plum e0b21f6823 Revert "Create default queue in setup, not on module load."
This reverts commit 6c391827c707216a10183ea3b40ac58f7030b428.
2015-04-10 11:50:27 +02:00
Alan Plum a94b333a26 Create default queue in setup, not on module load. 2015-04-10 10:57:17 +02:00
Alan Plum f108ecd86b Linting. 2015-04-10 10:19:57 +02:00
Alan Plum 4ff33f6f4d Updated deps. 2015-04-10 00:36:13 +02:00
Alan Plum 501f5a3f51 Removed unused modules. 2015-04-10 00:33:47 +02:00
Alan Plum 3c089a6d50 Added minimatch for globbing. 2015-04-09 23:24:44 +02:00
Alan Plum 5deadef133 appCollection what? 2015-04-09 22:49:08 +02:00
Alan Plum c5cca6dccf More strict. 2015-04-09 22:47:45 +02:00
Alan Plum 63f65f7907 Added rudimentary support for Foxx dependencies.
The manifest parsing / configuration aspect of dependencies is missing,
but dependencies defined in the _apps collection (via options.dependencies)
will be resolved correctly.

Also, setup scripts for non-system apps are delayed
until system apps setup scripts have been executed.
Ideally, `requireApp` should ensure the setup scripts for the app-to-require
have already been executed (to support using dependencies in setup scripts).

We'll also probably want to run "startup" scripts instead of "setup" scripts
and reserve setup scripts for upgrades and installs.

We also still need a way to run Foxx app code in each thread on startup
in addition to the (necessarily) one-thread-only "startup" script.
2015-04-09 20:05:18 +02:00
Alan Plum b02fb586aa More beautiful console.trace. 2015-04-09 20:04:13 +02:00
Alan Plum 96bc36499f No need to emit. 2015-04-09 17:30:41 +02:00
Alan Plum 69e63c2c64 Strict mode all the things. 2015-04-09 00:22:05 +02:00
Alan Plum e8ba1a1332 Even more strictness. 2015-04-08 17:12:34 +02:00
Alan Plum 45ff33b404 More strictness. 2015-04-08 16:18:11 +02:00
Alan Plum 30adf407f0 Cleaned up FoxxManager install tests. 2015-04-08 14:23:02 +02:00
Alan Plum 4f51343100 Fixed Foxx installer errors. 2015-04-08 14:19:38 +02:00
Max Neunhoeffer 19b14bd98c Move loading of db:// modules later in the search.
Collection lookups are painfully slow on a coordinator if they fail,
because the cache has to be reloaded from the Agency. Therefore we
only want to load modules from there after all other local methods
have been tried.
2015-04-08 13:16:34 +02:00
Alan Plum f8cfcbdbd6 Use ArangoError in module loader. 2015-04-08 13:16:12 +02:00
Alan Plum 83b1b4596a Added module loader errors. 2015-04-08 13:12:43 +02:00
Alan Plum ecbc6f581f Merge pull request #1287 from arangodb/vulpine-grace
Foxx improvements (fixes #1284, #1257)
2015-04-08 03:23:55 +02:00
Alan Plum e4a2e5ddde Rebuilt aardvark. 2015-04-08 01:55:13 +02:00
Alan Plum 20fdb71e9c Exposed some tests. 2015-04-08 01:54:31 +02:00
Alan Plum 064599d1a5 Code style. 2015-04-08 01:53:09 +02:00
Alan Plum 4dcdb1cde9 Fixed relative requires in apps. Also fixes #887. 2015-04-08 01:49:27 +02:00
Alan Plum eb255f73ed Use ArangoError in Module#run. 2015-04-07 23:33:23 +02:00
Alan Plum 5bc058d247 Removed unused code. 2015-04-07 20:06:43 +02:00
Alan Plum 8133bd4c6a Linting 2015-04-07 20:04:59 +02:00
Alan Plum 8e94402b43 Fixed session errors. 2015-04-07 19:58:58 +02:00
Alan Plum f47c4a4572 Allow running tests. 2015-04-07 19:58:24 +02:00
Alan Plum c0bc47165b Added more stubs. 2015-04-07 19:55:58 +02:00
Alan Plum efe7dba4c1 Workaround for internal.sprintf not handling dates properly. 2015-04-07 19:55:45 +02:00
Alan Plum 3b48230976 More stubs. 2015-04-07 19:55:01 +02:00
Alan Plum 211d6f3987 Lunt. 2015-04-07 17:41:04 +02:00
Alan Plum df23003452 Extracted Module#run. 2015-04-07 17:34:32 +02:00
Alan Plum b707f690b2 Removed unused method ArangoApp#getAppContext. 2015-04-07 13:12:40 +02:00
Alan Plum c7994a1b3c Added mocha. 2015-04-07 13:10:59 +02:00
Frank Celler de1a9fe833 added reload for DB modules 2015-04-05 14:02:34 +02:00
Jan Steemann 178e77bc5d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-04 19:44:41 +02:00
Jan Steemann 748107b291 changed behavior of `db._query()` in the ArangoShell:
if the command's result is printed in the shell, the first 10 results will be printed. Previously
only a basic description of the underlying query result cursor was printed. Additionally, if the
cursor result contains more than 10 results, the cursor is assigned to a global variable `more`,
which can be used to iterate over the cursor result.

Example:

    arangosh [_system]> db._query("FOR i IN 1..15 RETURN i")
    [object ArangoQueryCursor, count: 15, hasMore: true]

    [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10
    ]

    type 'more' to show more documents

    arangosh [_system]> more
    [object ArangoQueryCursor, count: 15, hasMore: false]

    [
      11,
      12,
      13,
      14,
      15
    ]
2015-04-04 19:42:55 +02:00
Frank Celler 992f4d0fbb fixed pipelining and close for polling 2015-04-04 19:09:36 +02:00
Jan Steemann bed9f44873 added missing files for web interface 2015-04-03 15:01:12 +02:00
Jan Steemann 37e0233d10 Revert "added missing files for JSH"
This reverts commit 99b80dd1e338ec122fea54e6af604f2310f1e080.
2015-04-03 14:57:52 +02:00
Jan Steemann 8b132ad60f added missing files for JSH 2015-04-03 14:57:12 +02:00
Alan Plum c23390360b Unbreak the build. 2015-04-02 01:49:00 +02:00
Alan Plum 8ffd5ddd1c Allow running arbitrary Foxx scripts. 2015-04-02 00:16:23 +02:00
Michael Hackstein 3c79b54330 Merge branch 'devel' of github.com:arangodb/arangodb into gos 2015-04-01 13:38:29 +02:00
Michael Hackstein e2fd4cdd65 Further improvements of graph queries. All queries should now be noticably faster. 2015-04-01 13:25:25 +02:00
Jan Steemann 33de89915c make graph viewer issue less expensive queries 2015-04-01 11:40:38 +02:00
Jan Steemann 6dfb4d4b09 Merge branch 'devel' of https://github.com/arangodb/arangodb into cursor-refactoring
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	lib/HttpServer/HttpHandler.cpp
	lib/HttpServer/HttpServerJob.h
2015-03-31 15:13:31 +02:00