1
0
Fork 0
Commit Graph

154 Commits

Author SHA1 Message Date
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
Alan Plum 6a4625e1e0 Added Foxx log manager. 2015-01-27 20:00:00 +01:00
Alan Plum 755b1567d3 Rewrote all the logging. 2015-01-27 20:00:00 +01:00
Alan Plum 964d6f93df Inject console into app modules. 2015-01-27 19:59:59 +01:00
Michael Hackstein 986cdbacec The new modules arangoApp and routing now are able to create an app including a context. Also the routing information is created in the routing file. Now has to be included into the routing table 2015-01-26 11:57:05 +01:00
Michael Hackstein 4bafbc44b1 Moved ArangoApp to its own file. It is not contained in bootstrap modules anymore 2015-01-26 11:56:32 +01:00
Michael Hackstein f74c181bf5 The ArangoApp in modules now takes a configuration and exports the configuration to be stored in a collection 2015-01-26 11:36:20 +01:00
Michael Hackstein a8cdd1b6d1 Moved description computation from moduels to manager. And deleted obsolete code 2015-01-26 11:36:20 +01:00
Michael Hackstein 0df4242965 Moved some code from the module into foxx manager 2015-01-26 11:36:20 +01:00
Michael Hackstein 939e12c458 Removed foxx store and client foxx manager dependency on common/bootstrap/module 2015-01-26 11:36:19 +01:00
Jan Steemann d3be7cb7f5 indentation 2014-11-05 16:29:25 +01:00
Frank Celler a7d93abe43 fixed requireApp in development mode 2014-10-21 12:28:33 +02:00
Jan Steemann 3da082fdc8 issue #1026: Modules loaded in different files within the same app should refer to the same module 2014-09-24 17:05:04 +02:00
Jan Steemann d0639f584b fixed line number in stack traces to show the correct line 2014-09-22 20:53:21 +02:00
Frank Celler 070326f4e2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-03 10:32:30 +02:00
Frank Celler e764896cba fixed loading of modules and usage of strict 2014-09-03 10:32:21 +02:00
Alan Plum 7b24bdba8d Enabled strict: true. 2014-09-02 22:16:07 +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
Frank Celler be06ef7f25 new upgrade-database (formely known as version-check) and new startup procedure 2014-08-07 14:12:19 +02:00
Frank Celler e436ecfa40 if a cancelation has occured, flush the module cache 2014-07-08 11:54:53 +02:00
Frank Celler 44aefb2344 added mountedApp 2014-06-03 17:19:03 +02:00
Alan Plum 6e33c8966b Fallback for sub-module requires. Fixes #789. 2014-06-02 15:01:37 +02:00
Frank Celler c2d57c7909 added applicationContext and foxxFilename 2014-05-09 17:12:55 +02:00
Jan Steemann c843a12149 jshund 2014-05-09 00:42:18 +02:00
Frank Celler e25945aaba fixed javascript.execute for coffee-script 2014-03-20 22:51:30 +01:00
Frank Celler e3df90d2c3 coffee script fix
Conflicts:
	js/server/modules/org/arangodb/foxx/manager.js
2014-03-20 19:36:42 +01:00
Jan Steemann 25b622aab1 fixed jslint warnings 2014-02-17 11:21:01 +01:00
Frank Celler 6d51527fb5 check for drive letter 2014-02-14 16:51:40 +01:00
Frank Celler 25878be3d4 added fix for absolute path 2014-02-12 13:54:32 +01:00
Frank Celler 289a7dc0e0 fixed unloadAll for system modules 2014-02-11 22:54:02 +01:00
Frank Celler 5b7eb66c9d added iced coffee script 2014-02-11 14:49:01 +01:00
Frank Celler da0453daa6 removed moduleNames, fixed app module 2014-02-11 13:48:37 +01:00
Frank Celler c6ce5c7406 made module loader more node compatible, added coffee script support 2014-02-11 13:26:11 +01:00
Frank Celler 98ed813138 added json reading 2014-02-09 18:27:47 +01:00