1
0
Fork 0
Commit Graph

633 Commits

Author SHA1 Message Date
Willi Goesgens 0690b4943f - Replace the javascript implementation of makeDirectoryRecursive by our native implementation
- fix the native implementation so it doesn't try to create driveletters as directories.
2015-03-26 17:23:57 +01:00
Jan Steemann 7ec3a18e04 added internal.options() 2015-03-25 17:08:29 +01:00
Jan Steemann 7d5cc17d98 added tests 2015-03-23 22:28:26 +01:00
Willi Goesgens 108fccdbf7 Add environment variable to V8 wrapping. 2015-03-20 11:55:32 +01:00
Jan Steemann bdae982aa0 refuse to start the server when collection files or parameter.json files are not readable
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
2015-03-18 17:44:06 +01:00
Willi Goesgens a95a496920 Add (unix) implementation for chmod 2015-03-18 13:41:26 +01:00
Michael Hackstein 5be310fc21 It is now possible to install Apps that are invalid if they are not configured correctly. If they get broken by configuration they are still routed and will display an errorpage. They also display an errorpage until configured. 2015-03-11 17:49:42 +01:00
Willi Goesgens a9d9b56992 Argsparser:
- fix parsing of sub-option arrays
  - add possibibility to serialize to '--longopt=value' instead of '--longopt' 'value'
2015-03-11 15:04:01 +01:00
Willi Goesgens 2619529f63 Relax cluster timeout when compiled with -DCOVERAGE 2015-02-26 11:01:53 +01:00
Michael Hackstein c5adf7b089 Fixed tests for foxx on multiple databases. And added generated files 2015-02-25 10:44:15 +01:00
Willi Goesgens cd9ad14160 Fix error handling in directory creation: only catch errors of directory existing; throw meaningfull error message. 2015-02-20 12:55:46 +01:00
Michael Hackstein 28c0498330 Module fs circus 2015-02-20 11:47:49 +01:00
Michael Hackstein 3d8a4584dc Addded a wrapper around FS move that is actually able to move directories accross mountpoints and on FAT file systems 2015-02-20 10:49:40 +01:00
Jan Steemann 83ea75fa8f removed unused config options 2015-02-18 16:40:15 +01:00
Michael Hackstein c6e9d98251 Added a force uninstall for foxx apps, to make sure they are removed from disk even if sth is unclear with mounting. Also created an error for foxx not found on file system has been added 2015-02-16 17:14:36 +01:00
Michael Hackstein 9d5ae45b10 Improved errors thrown when trying to install malformed applications 2015-02-13 22:11:54 +01:00
Michael Hackstein 5b3fae42aa Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
Conflicts:
	js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	lib/Basics/voc-errors.cpp
	lib/Basics/voc-errors.h
2015-02-13 10:20:36 +01:00
Jan Steemann ec2b866200 Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
Conflicts:
	js/apps/system/aardvark/frontend/js/templates/documentsView.ejs
2015-02-11 17:53:23 +01:00
Jan Steemann ce69be69bf increase default value for maxIterations 2015-02-11 12:45:41 +01:00
Jan Steemann b10b2bb9b0 Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes 2015-02-10 10:36:45 +01:00
Jan Steemann 82c9d8cadd jslint, unglobalized functions 2015-02-10 10:04:56 +01:00
Jan Steemann b377a36577 Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes 2015-02-10 09:47:06 +01:00
Willi Goesgens b6556576d3 Handle commandline parsing in a nicer way. 2015-02-10 00:19:55 +01:00
Michael Hackstein 449f6dfc6c Fixed bugs for app path movement 2015-02-09 08:53:51 +01:00
Jan Steemann 003d7e9112 sparse indexes, initial commit, untested 2015-02-07 03:07:41 +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
Frank Celler 05b8115abf Merge pull request #1227 from triAGENS/foxxy-console
Foxx console
2015-01-29 17:16:05 +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
Max Neunhoeffer e24278828c Changes to cluster startup for mesos cooperation.
This simplifies the cluster startup by introducing a further agency
lookup step using "local info" to find the "id". This allows an external
discovery process (see scripts/discover.js as an example) to configure
a new server in the cluster dynamically when it starts up.

New GNUmakefile targets
  pack-tar-config
  pack-tar
2015-01-28 12:58:24 +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
Frank Celler 6363011339 fixed routing 2015-01-26 11:59:05 +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 58ddb95417 reduced number of monkeypatches affecting innocent regular objects 2015-01-24 14:23:53 +01:00
Alan Plum 0a89e0c113 Log native functions in a more conventional way. 2015-01-21 18:40:54 +01:00
Alan Plum 2346170016 Use Symbols for console timers if available. See joyent/node#9069. 2015-01-21 18:33:10 +01:00
Max Neunhoeffer 1cdf439845 Broken version, errors not yet fixed. 2014-12-23 16:51:48 +01:00
Jan Steemann 67aa5b67e5 ES6 2014-12-22 12:56:57 +01:00
Jan Steemann cded2892ef ES6 2014-12-21 19:12:16 +01:00
Jan Steemann 69e4665bf5 ES6 2014-12-20 21:57:30 +01:00
Jan Steemann d358b80080 ES6 2014-12-20 04:02:24 +01:00
Jan Steemann d92057dd03 the great rename: array => object, list => array 2014-12-18 22:33:23 +01:00
Jan Steemann f1f13a4284 added several AQL functions 2014-11-18 11:26:42 +01:00
Jan Steemann 777f70c8e2 fixed error message 2014-11-14 16:45:51 +01:00
Jan Steemann 0d9071e037 removed unused function 2014-11-12 21:08:26 +01:00
Jan Steemann 7cd1eb5474 more warnings 2014-11-12 14:52:54 +01:00
Jan Steemann 81c1919f44 minor adjustments for task API 2014-11-12 11:27:47 +01:00
Jan Steemann d3be7cb7f5 indentation 2014-11-05 16:29:25 +01:00
Jan Steemann 657a1be675 added derived file 2014-11-03 23:16:11 +01:00
Jan Steemann d4d3e37a0d added internal.parseFile 2014-10-30 19:18:05 +01:00
Jan Steemann 83252851e6 report warnings in queries 2014-10-30 17:33:15 +01:00
Jan Steemann 4418e58315 removed old-style Doxygen sections 2014-10-30 01:16:07 +01:00
Jan Steemann 260bfbf235 issue #1059: Bug in js module console 2014-10-25 00:04:39 +02:00
Frank Celler a7d93abe43 fixed requireApp in development mode 2014-10-21 12:28:33 +02:00
Jan Steemann edae662eb4 added res.send() and res.sendFile() 2014-10-15 17:33:10 +02:00
Jan Steemann c946a1536a documentation for fs 2014-10-15 14:01:15 +02:00
Jan Steemann 6bd448be46 added support for reading / writing binary data in fs.readFileSync && fs.write 2014-10-14 19:07:16 +02:00
Willi Goesgens e433a2831e Add a new wrapper which does fork + waitpid in one js call, so we're closer to the flame and less eventually miss something. 2014-10-08 16:48:30 +02:00
Max Neunhoeffer 046d4f524d Implement getSome for RemoteBlock. 2014-09-26 16:19:25 +02:00
Jan Steemann dd53bc295a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-24 17:14:50 +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
Max Neunhoeffer cf5e1be91e Version version of HTTP API done. 2014-09-24 16:17:18 +02:00
Max Neunhoeffer 1f74a64b58 Implement POST for HTTP API for queries. 2014-09-23 16:51:03 +02:00
Jan Steemann 92f87c19ce Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-22 23:51:16 +02:00
Jan Steemann d0639f584b fixed line number in stack traces to show the correct line 2014-09-22 20:53:21 +02:00
Jan Steemann c0a9d189c5 better error messages if mkdir fails 2014-09-18 17:48:05 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Jan Steemann 4e6f6f2cbd finalized move to cxx 2014-09-14 00:06:00 +02:00
Alan Plum b0995dfdb7 Replaced PBKDF2_HMAC with PBKDF2_HMAC_SHA1 for OSX compat. 2014-09-08 14:32:40 +02:00
Alan Plum 469af580e5 Added PBKDF2-HMAC. 2014-09-05 16:23:37 +02:00
Alan Plum 4e3659c01a Added support for sha384, sha512. 2014-09-04 23:17:58 +02:00
Alan Plum 46747e9ac4 Fixed console.log for non-objects. 2014-09-03 11:25:20 +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 e86c98dfe2 Enabled unused: true, ported aardvark jslint to jshint. 2014-09-02 22:18:18 +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 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +02:00
Frank Celler 3111d7cc4c relaxed % and escaping 2014-08-12 15:49:33 +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
Alan Plum 069644a2e4 Added flatten method. 2014-08-01 20:02:54 +02:00
Alan Plum d9b80d5ae1 Added exponential back-off helper. 2014-08-01 20:02:53 +02:00
Alan Plum 05ce0037da Fixed printRecursive for null. 2014-07-24 15:56:27 +02:00
Alan Plum e7e9ec33c5 Handle Object.create(null). 2014-07-23 16:29:48 +02:00
Alan Plum 80070b9e83 Allow printing any object recursively that doesn't override toString. 2014-07-23 16:15:04 +02:00
Max Neunhoeffer a8e3236560 Snapshot, legend cache started. 2014-07-22 16:59:19 +02:00
Michael Hackstein 4cf8df05dc Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-08 13:53:43 +02:00
Michael Hackstein f763f0aa13 Added an error for the graph module. It will be thrown on the attempt to add an orphan collection that is already used. Also alloed orphan collections for restrictions in fluentAQL 2014-07-08 13:53:39 +02:00
Frank Celler e436ecfa40 if a cancelation has occured, flush the module cache 2014-07-08 11:54:53 +02:00