Alan Plum
820e694d0c
Re-implement cleanupCancelation
2015-10-06 15:10:43 +02:00
Alan Plum
5b7f3d19d0
Deprecate CS in 2.9, not 2.8
2015-10-06 12:47:58 +02:00
Jan Steemann
beaf3acbd3
simplifications
2015-10-06 11:58:23 +02:00
Jan Steemann
3f622d71fb
fixed some require issues
2015-10-05 10:28:44 +02:00
Jan Steemann
7933fe5d4b
restore 2.6 behavior for db-based modules
2015-10-01 10:51:23 +02:00
Jan Steemann
74358962b5
fixed require on Windows
2015-09-30 13:06:36 +02:00
Alan Plum
e26fc9b442
S'more.
2015-09-25 17:04:08 +02:00
Alan Plum
40837eacf1
Refactored db module loading
2015-09-25 17:02:51 +02:00
Alan Plum
a58fc5fdfa
Also add node/node_modules on Windows
2015-09-25 16:43:50 +02:00
Wilfried Goesgens
06b0057bb1
Fix module loading
2015-09-25 16:24:17 +02:00
Alan Plum
963d9b082e
Removed hack for extension-free package main
2015-09-24 14:23:15 +02:00
Alan Plum
30588d556f
Add support for 'main: "index"' and expose globalPaths
2015-09-24 13:46:14 +02:00
Alan Plum
f8ef55f437
Fixed Foxx preprocessing
2015-09-24 13:46:14 +02:00
Alan Plum
252cba5e9f
Implemented FoxxService
2015-09-24 13:46:14 +02:00
Alan Plum
f021cdc471
Implemented require from db collection
2015-09-24 13:46:13 +02:00
Alan Plum
038267cb06
Re-implemented require/module based on Node 4.1.0
...
The require function should now behave as expected and treat ArangoDB's module paths as sources for "external" modules.
The "assert", "buffer" and "path" modules have been moved out of ./js/node into the bootstrap modules.
The module "org/arangodb/foxx/arangoApp" (as well as any modules depending on it) is incompatible with the new module loading behaviour and will be have to be rewritten from scratch.
The "Package" class has been removed entirely and is no longer needed.
Support for the database-stored modules is currently missing and needs to be re-implemented within the module loader.
2015-09-24 13:46:13 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Alan Plum
7bd08e29aa
Deprecated CS.
2015-08-05 12:48:27 +02:00
Jan Steemann
f5a7e2120f
pass filename to internal.parse() call
2015-07-14 18:23:08 +02:00
Alan Plum
fc15d421d6
Implemeneted JSON configs. Cleaned up optional configs.
2015-06-16 17:58:38 +02:00
Alan Plum
273d16c0ed
Linting.
2015-06-16 14:54:14 +02:00
Jan Steemann
bd055a3b1d
fix line numbers being off by 2 in Foxx stack traces
2015-06-10 09:14:55 +02:00
Alan Plum
9d3a1dc453
Less noise.
2015-06-03 21:06:59 +02:00
Alan Plum
9b5acdf25a
Don't dump file content in console.
2015-05-27 12:43:31 +02:00
Alan Plum
e9c5b87ea5
Inject process and console in Module.run.
2015-05-27 10:28:13 +02:00
Alan Plum
00cbb400fd
Simplification.
2015-05-27 10:27:56 +02:00
Alan Plum
4fe795db3c
Implemented script args and results.
2015-05-26 19:52:06 +02:00
Alan Plum
a98f1b088e
Readability.
2015-05-26 19:52:05 +02:00
Alan Plum
1b3d22ebe3
Whitespace.
2015-05-07 23:14:18 +02:00
Alan Plum
2a40edaa41
Fixed Foxx trace paths.
2015-05-07 23:09:22 +02:00
Alan Plum
45cfa12c91
Added Controller#apiDocumentation.
2015-05-07 01:30:14 +02:00
Alan Plum
decbc6dcea
Fully implemented tests API.
2015-04-14 13:39:06 +02:00
Alan Plum
044669cdac
Hardcore stubbing action.
2015-04-14 13:39:06 +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
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
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
211d6f3987
Lunt.
2015-04-07 17:41:04 +02:00
Alan Plum
df23003452
Extracted Module#run.
2015-04-07 17:34:32 +02:00
Frank Celler
de1a9fe833
added reload for DB modules
2015-04-05 14:02:34 +02:00
Michael Hackstein
449f6dfc6c
Fixed bugs for app path movement
2015-02-09 08:53:51 +01:00
Michael Hackstein
aad7e46f10
Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
...
Conflicts:
Documentation/Books/Users/SUMMARY.md
js/actions/api-system.js
js/common/bootstrap/modules.js
js/server/modules/org/arangodb/foxx/manager.js
js/server/tests/shell-routing.js
2015-02-06 17:22:01 +01:00
Michael Hackstein
acc4aabdad
Renamed App folder from databases to _db. It is now consistent with url
2015-02-03 15:45:00 +01:00
Frank Celler
86c1082935
added path cache
2015-02-02 17:07:31 +01:00
Alan Plum
0859b83558
Fixed unset mount point.
2015-01-28 18:50:42 +01:00
Frank Celler
0e7f958e0e
moved console to package environment
2015-01-28 18:43:22 +01:00