1
0
Fork 0
Commit Graph

2162 Commits

Author SHA1 Message Date
Jan Steemann c677ea8b88 added tests for collection.lookupByKeys() and collection.removeByKeys() 2015-05-05 17:57:33 +02:00
Willi Goesgens 312972a4ec Modify examples so they clean up after their run. 2015-05-04 17:22:25 +02:00
Alan Plum 4f17dfe10e Added error 1237: collection type mismatch. 2015-05-03 22:55:56 +02:00
Jan Steemann b0924956f8 allow `@` character in document keys, too. 2015-04-30 21:28:26 +02:00
Alan Plum fa24c0d229 Implemented dependencies configuring. 2015-04-29 15:59:51 +02:00
Alan Plum 00f36b07a5 Expose deps on Aardvark API and add cfg and deps to listJson. 2015-04-29 15:57:58 +02:00
Willi Goesgens 57e361a74b Adust documentation snipets
- they now node when they expect to throw an exception, so all exceptions else thrown are real bugs
  - bugs some snippets fixed
  - some snippets now do a proper setup & teardown
2015-04-27 17:12:35 +02:00
Jan Steemann 96fdbe91dc issue #1318: Inconsistent db._create() syntax 2015-04-27 10:51:22 +02:00
Jan Steemann 6dd12e423e fixed jslint warnings 2015-04-24 10:32:11 +02:00
Jan Steemann 260554cb35 added encoding tests 2015-04-24 00:10:05 +02:00
Willi Goesgens f7175f6652 Add way to fake the foxx github store structure for faster unittests. 2015-04-21 17:23:56 +02:00
Jan Steemann 90610ccb3c fixed typos in tests 2015-04-21 14:45:36 +02:00
Jan Steemann 974b656c1b allow overriding COLLECT method 2015-04-21 14:45:22 +02:00
Jan Steemann f0fdf3aacc fixed tests 2015-04-20 18:15:33 +02:00
Jan Steemann ad2e80d334 fixed graph examples 2015-04-20 17:29:24 +02:00
Jan Steemann 10b3ffb877 fixed graph examples 2015-04-20 16:51:16 +02:00
Jan Steemann 9f2643acaa show type of collect method in explain 2015-04-16 16:29:36 +02:00
Jan Steemann 7e0597f215 fixed cursor output in browser shell 2015-04-15 12:00:35 +02:00
Willi Goesgens 950e05787b Instead of zip'ing for move, copy recursive & remove original. 2015-04-14 18:30:03 +02:00
Willi Goesgens 6579eefc33 Add function that can copy files recursive. 2015-04-14 14:46:17 +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
Jan Steemann a17d2d2e0e added generated file 2015-04-13 13:41:57 +02:00
Alan Plum 501f5a3f51 Removed unused modules. 2015-04-10 00:33:47 +02:00
Alan Plum b02fb586aa More beautiful console.trace. 2015-04-09 20:04:13 +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 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 8133bd4c6a Linting 2015-04-07 20:04:59 +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 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
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 3ddf23d093 hand-moved changes from other branch 2015-03-30 12:30:45 +02:00
Michael Hackstein a4e4abe3cd Improved several graph AQL functions by moving the logic into the visitor, reducing the amount of necessary loops thereby 2015-03-30 11:11:05 +02:00
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 2f58e4ea61 small cleanup 2015-03-25 12:42:44 +01:00
Jan Steemann a26c7c7f28 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-25 08:57:33 +01:00
Alan Plum 9afb093e84 Replace bundled backbone extend with npm dep. 2015-03-24 22:58:45 +01:00
Jan Steemann 01745402f3 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-24 14:34:20 +01:00
Jan Steemann a3c0612798 added cluster tests 2015-03-24 14:34:09 +01:00
Alan Plum d1a37cdc17 Fixed failing tests. 2015-03-24 13:33:42 +01:00
Jan Steemann 16348cd10c added tests 2015-03-24 11:11:55 +01:00
Jan Steemann 7d5cc17d98 added tests 2015-03-23 22:28:26 +01:00
Jan Steemann c62c26e088 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-23 15:31:41 +01:00
Jan Steemann e3bf1c709c upsert blocks 2015-03-23 15:31:07 +01:00
Willi Goesgens d8d0196b85 Add tests for the environment handling. 2015-03-23 11:18:20 +01:00
Jan Steemann d63f47e840 added possibility to kill JS traversals 2015-03-20 23:05:41 +01:00
Jan Steemann d512b5fa35 issue #1282: Geo WITHIN_RECTANGLE for nested lat/lng 2015-03-20 19:27:30 +01:00
Jan Steemann 29ea9f40ec added tests for attribute names and values containing specifically dollar signs 2015-03-20 12:28:38 +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
Jan Steemann f04f1ef4cb fixed inefficiencies in `remove` method of general-graph module
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2015-03-17 18:28:26 +01:00
Jan Steemann 35fdc9a9c0 attempt to fix test 2015-03-17 08:30:07 +01:00
Michael Hackstein 3c7aaf204c Made the foxx manager install spec more robust and added a test app containing 'app' as sub folder 2015-03-16 11:13:25 +01:00
Jan Steemann f59dca83d4 fixed warning 2015-03-16 10:40:55 +01:00
Michael Hackstein 4543668a07 Fixed installing of Apps containing an internal app folder 2015-03-16 10:27:32 +01:00
Jan Steemann ce7b75064a fixed test 2015-03-14 20:49:35 +01:00
Jan Steemann d91cc3e9b3 added more tests 2015-03-14 20:49:22 +01:00
Michael Hackstein 6e893826dc Further tests for api query analysis 2015-03-12 16:05:46 +01:00
Michael Hackstein 08933b3c93 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-11 17:50:02 +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
Alan Plum 5b277891a6 Fixed fixture. 2015-03-11 16:58:39 +01:00
Alan Plum 644a2dc415 Added fixtures for Foxx config errors. 2015-03-11 16:57:04 +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
Michael Hackstein 6ff88839e9 Removed unnecessary throw 2015-03-10 16:03:57 +01:00
Michael Hackstein 3a8fee211f The Foxx Comment preprocessor now trimes strings properly 2015-03-10 15:22:16 +01:00
Michael Hackstein aafd1feb9f Activated comments in Foxx Test 2015-03-10 15:04:07 +01:00
Jan Steemann 349683fd38 fixed JSDoc comments parsing 2015-03-10 14:38:04 +01:00
Michael Hackstein d0a43227fb Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-10 14:00:43 +01:00
Michael Hackstein ba266d4a0f Added a test for crazy comments in foxx apps. Deactivated right now due to inconsitencies in testing framework 2015-03-10 13:53:14 +01:00
Jan Steemann d73ee0fbfe fix comment parsing in Foxx controllers 2015-03-10 12:08:37 +01:00
Michael Hackstein f2ea8b0068 Added minimal working test apps 2015-03-06 14:23:58 +01:00
Michael Hackstein 9e99ce2f90 Upgrading and replacing Apps using FoxxManager with broken Apps will now maintain the original App instead of deleting everything 2015-03-06 13:16:50 +01:00
Michael Hackstein 3a1559caa6 Added a more informative stacktrace to foxx manager install spec 2015-03-05 11:30:05 +01:00
Michael Hackstein 67626650df The frontend now properly prints the license of an app. 2015-03-05 10:37:07 +01:00
Willi Goesgens 24451f3709 Testsuite:
- add possibility to skip ruby https tests
  - try to send test results from arangosh to server via a temporary file; fallback to rc.
2015-03-02 19:09:28 +01:00
Michael Hackstein 8fc3fd2908 The webinterface will now print the path to a foxx in development mode 2015-03-02 14:23:03 +01:00
Willi Goesgens 2619529f63 Relax cluster timeout when compiled with -DCOVERAGE 2015-02-26 11:01:53 +01:00
Willi Goesgens 8651e88d15 More information on fox manager errors. 2015-02-26 10:35:50 +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 ba23741348 Fix error handling in directory creation: only catch errors of directory existing; throw meaningfull error message. 2015-02-24 11:27:43 +01:00
Michael Hackstein 8db83ce903 Fixed regex to identify Windows absolute and relative pathes also 2015-02-23 15:07:03 +01:00
Michael Hackstein 65b1492bbd Disallowed mointpoints starting with illegal characters for collection prefixes. Including tests 2015-02-23 14:50:52 +01:00
Frank Celler 5f2655c3d9 Merge branch 'devel' of github.com:arangodb/arangodb into 2.5 2015-02-20 12:49:56 +01:00