1
0
Fork 0
Commit Graph

2475 Commits

Author SHA1 Message Date
Jan Steemann 677e681b23 adjusted test 2014-09-15 18:17:42 +02:00
Jan Steemann 69d0703a68 fixed teardown 2014-09-15 16:13:35 +02:00
Jan Steemann bc7c7c5c60 fixed construction of bounds from json 2014-09-15 16:11:59 +02:00
Jan Steemann 99683e3021 added test for dynamic bounds 2014-09-15 15:28:31 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Willi Goesgens b5688131f5 Work on the sort unit tests 2014-09-15 12:52:32 +02:00
Jan Steemann 6fb48cdd0c fixed test expectation 2014-09-15 12:25:16 +02:00
Willi Goesgens 258cf9ee7d Fix the result analysis of the multi-plan cross tests 2014-09-15 10:57:26 +02:00
Jan Steemann 34d2913002 added NOT IN operator, added keywords NOT, AND, OR 2014-09-14 01:34:58 +02:00
Jan Steemann ed7e5d0e67 allow primary key access via _id attribute, too 2014-09-14 00:46:44 +02:00
Jan Steemann 287a6f6b49 fixed errors reported by jslint 2014-09-14 00:09:09 +02:00
Jan Steemann 26a24bf5a2 adjusted tests 2014-09-12 17:18:36 +02:00
Jan Steemann 76c1da4e9c added test for remove-redundant-calculations 2014-09-12 16:58:01 +02:00
Willi Goesgens 3e502b672d Test execute all optimizer generaten variations of the plans and compare all their results. Don't do this with Queries which we know that they will fail. 2014-09-12 14:48:18 +02:00
Willi Goesgens ea6ab2510e getQueryMultiplePlansAndExecutions: add optional debug facility which does trace output. 2014-09-12 14:36:55 +02:00
Willi Goesgens d2a5ad91f3 Adjust the access to the IndexRangeNodes ranges to respect the two dimmensional list. 2014-09-12 11:16:25 +02:00
Willi Goesgens 9bb0f22b7b Cleanup tests to make the linter happy, move multi-query-helper into the aql-helper. 2014-09-12 10:40:44 +02:00
Willi Goesgens dfae2d92c5 Fix indention 2014-09-12 09:49:38 +02:00
Jan Steemann 5f4c27f311 added test 2014-09-12 09:07:34 +02:00
Jan Steemann 0b018d26cf Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 18:19:14 +02:00
Jan Steemann 2767bdc7e0 use edge index on both _from and _to 2014-09-11 18:19:05 +02:00
Willi Goesgens 2a6a6fd132 work on test which inspects all optimizer passes by executing them via the AQL_EXECUTEJSON interface 2014-09-11 18:00:47 +02:00
Jan Steemann 7a2774b822 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 15:50:56 +02:00
Jan Steemann d4cb250d4a fixed tests 2014-09-11 15:50:50 +02:00
Max Neunhoeffer a532544a9f Fix test for new IndexRange behaviour. 2014-09-11 14:48:41 +02:00
Max Neunhoeffer aa00df7edf Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/Query.h
2014-09-11 14:31:13 +02:00
Jan Steemann 611ef2b73c removed "old" AQL function AQL_EXPLAIN 2014-09-11 14:12:01 +02:00
Jan Steemann 672eec350e removed "old" AQL function 2014-09-11 13:56:15 +02:00
Jan Steemann 318921de00 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 13:36:23 +02:00
Jan Steemann 19ab100576 added range test 2014-09-11 13:36:16 +02:00
Willi Goesgens 0225311f2d Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-11 13:25:18 +02:00
Willi Goesgens 01363e6759 UnitTests: divert to AQL2 in the modifying queries tests; adjust to new reply-syntax. 2014-09-11 11:32:44 +02:00
Willi Goesgens f8b681a5f8 re-enable test; its working now. 2014-09-11 11:31:49 +02:00
Jan Steemann cb4c60a36f explain tests 2014-09-11 09:54:59 +02:00
Max Neunhoeffer 7b8cc04d90 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 16:10:32 +02:00
Jan Steemann c034307dca Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/CollectionNameResolver.h
2014-09-10 15:54:49 +02:00
Michael Hackstein 03cf0d69fb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-10 15:50:28 +02:00
Michael Hackstein 9b62c7367b Deprecated _directedRelation and _undirectedRelation in general-graphs. Created _relation in general-graphs creating a _directedRelation. Handling undirected relations is now given to the user / api-implementor as arangodb itself does not offer any direction constrains which caused some confusion 2014-09-10 15:50:22 +02:00
Max Neunhoeffer 8bb938b6de Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 15:21:00 +02:00
Max Neunhoeffer 69c464ef13 Restructure RangesInfo handling to allow for variable ranges. 2014-09-10 15:20:28 +02:00
Jan Steemann 1907d8bb05 added optimizer rule test 2014-09-10 14:35:18 +02:00
Jan Steemann 39f64dcc5f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 14:32:20 +02:00
Jan Steemann 7113480e98 changed return value of applicationContext.collectionName
Now, a valid collection name is always returned, even if the application name prefix contains invalid characters
2014-09-10 14:30:45 +02:00
Willi Goesgens 74248e64f0 Finalize the remove unnecessary calculation tests. 2014-09-10 13:58:53 +02:00
Max Neunhoeffer 5552d21711 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 12:15:00 +02:00
Jan Steemann c05d844626 fixed test assertion 2014-09-10 12:08:25 +02:00
Jan Steemann f824474503 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 12:00:10 +02:00
Jan Steemann 2c37bd89b7 specified test result assertion 2014-09-10 11:59:35 +02:00
scottashton 9a739ec403 fixed bug in floyd-warshall result generation 2014-09-10 11:47:35 +02:00
Jan Steemann c027750d19 jshint 2014-09-10 11:45:59 +02:00
Max Neunhoeffer 7dcdd27891 Merge branch 'aql2' into mmh 2014-09-10 09:41:54 +02:00
Max Neunhoeffer c4442355f0 Adjust tests to new ranges format. 2014-09-10 09:39:21 +02:00
Jan Steemann 2642888b6d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-09 23:33:31 +02:00
Jan Steemann 346a41a009 fixed reporting of "undefined" response code 2014-09-09 23:18:25 +02:00
Jan Steemann c16ddedc83 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	js/server/modules/org/arangodb/ahuacatl.js
	js/server/modules/org/arangodb/aql-helper.js
	js/server/tests/shell-skiplist-index.js
2014-09-09 22:18:52 +02:00
Jan Steemann 428865f3b5 issue #1014: WITHIN function returns wrong distance
added attribute setters for ShapedJson so document attributes can be updated

Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-09 19:58:27 +02:00
Willi Goesgens bdeb2d9d0f Remove unnecessary calculations test now has all tests to check for whether the rule applies. 2014-09-09 18:25:19 +02:00
Willi Goesgens 69e388dec3 SortNode optimizations: adjust tests to another rule needed to remove the SortNodes dependency. 2014-09-09 18:08:08 +02:00
Alan Plum 844621f070 Implemented Foxx.createQuery. 2014-09-09 17:02:21 +02:00
Jan Steemann 2a49bf843d updated tests 2014-09-09 15:20:42 +02:00
Jan Steemann 8127ff49bd more tests 2014-09-09 11:04:30 +02:00
Jan Steemann 8bf495f9b5 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-09 09:58:04 +02:00
Jan Steemann 639a026c66 fixed tests 2014-09-09 09:57:52 +02:00
Max Neunhoeffer b02856bff1 Better failure message of testSleep. 2014-09-09 09:53:06 +02:00
Jan Steemann a9a7b7d6d0 finished test for optimizer rule remove-unnecessary-filters 2014-09-09 08:55:56 +02:00
Jan Steemann a5100e3849 fixed parse error 2014-09-09 08:45:50 +02:00
Jan Steemann 28fd6b84c9 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-08 17:33:21 +02:00
Jan Steemann 4bda3e3979 finished test for remove-redundant-sorts 2014-09-08 17:33:11 +02:00
Willi Goesgens e30227195a Start implementation for remove unecessary filters. 2014-09-08 15:38:38 +02:00
Jan Steemann 557d37c688 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-08 11:43:54 +02:00
Jan Steemann 5c3b88b30c added test for optimizer rule 2014-09-08 11:43:39 +02:00
Willi Goesgens dd5ba978f1 Use better names for the optimiser control vars 2014-09-08 11:16:40 +02:00
Willi Goesgens 9473dc83cf Index Sort: add test which should remove duplicate sort. 2014-09-08 11:02:17 +02:00
Willi Goesgens 9524863c44 finalize test for the time being. 2014-09-05 15:02:16 +02:00
Alan Plum e2c4a62ff7 Cleaned up FoxxController#activateSessions. 2014-09-04 22:30:39 +02:00
Alan Plum 99f9088830 Removed cookie logic from sessions app, simplified jwt logic. 2014-09-04 21:34:46 +02:00
Alan Plum 251e046929 Added req.cookie and res.cookie helper methods to Foxx. 2014-09-04 21:33:33 +02:00
Alan Plum 39ba358cd8 Added JWT support for session headers. 2014-09-04 18:51:06 +02:00
Alan Plum 7a43e3df14 Fixed failing session test. 2014-09-04 18:35:13 +02:00
Willi Goesgens ebbb9c34b6 Redundand-Sort: implement removing of left item superseeding the sort 2014-09-04 17:53:20 +02:00
Willi Goesgens 8cb1330cc2 Add optimizer tests for removing unneccessary calculations. 2014-09-04 16:57:53 +02:00
scottashton db5a109b0a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-04 16:50:56 +02:00
scottashton ff8791f6fb fixed betweeness and bug in floyd warshall 2014-09-04 16:50:52 +02:00
Alan Plum 0a2ffb19ee Only lowercase session header when reading it. 2014-09-04 16:33:57 +02:00
Willi Goesgens e23cbf1add Work on Filter to IndexRangeNode tests 2014-09-04 16:33:37 +02:00
Alan Plum e48fb8bfe8 Lowercase HTTP headers for maximum profit. 2014-09-04 16:04:19 +02:00
Alan Plum abe5de335b Add support for "header" sessions. 2014-09-04 15:58:32 +02:00
Willi Goesgens fab66690eb Fix syntax. 2014-09-03 17:26:44 +02:00
Willi Goesgens 96186458b9 Use index for Sort: add more tests, more clever test data structures. 2014-09-03 17:15:49 +02:00
Willi Goesgens 49ff0423f0 Recurse into subqueries to dig for nodes; thus the test gets a flat representation. 2014-09-03 17:14:21 +02:00
scottashton 581ffee899 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-03 13:48:41 +02:00
scottashton ccb1e58e9b vertex/edge examples now support a list od id strings 2014-09-03 13:48:36 +02:00
Willi Goesgens 8ec9525c05 SortIndex: move inspection of IndexRangeNode into functions. 2014-09-03 11:05:03 +02:00
Willi Goesgens 74784da12d Use function to search for whether there is a sortnode or not. 2014-09-03 10:40:37 +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
Willi Goesgens 135afc043c Try checking whether rules didn't apply because of non-match 2014-09-02 17:30:07 +02:00
Willi Goesgens 8ffdd01d5f Cleanup of tests
- use assertEqual
  - use centralized definitions for the various optimizer parameter permutations
2014-09-02 17:11:03 +02:00
Frank Celler e7e9afd4a7 added around 2014-09-01 23:26:04 +02:00
Willi Goesgens e29668c514 SortIndex: start implementing unittests for the different usecases. 2014-09-01 18:48:32 +02:00
Willi Goesgens dbb4ef6e41 add tests to revalidate IndexRangeNodes superseeding sorts
TODO: two cases aren't found by the 'use-index-range' as we would expect
2014-09-01 13:35:49 +02:00
Jan Steemann a02b962e3e added optimizer test 2014-09-01 12:14:15 +02:00
Jan Steemann 7851e5e54c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-01 11:05:41 +02:00
Jan Steemann 0b3e1557d5 fixed creating database w/ users in cluster 2014-09-01 11:05:18 +02:00
Max Neunhoeffer 8549e97e6c Adjust test to new non-sparse skiplists. 2014-08-30 00:33:15 +02:00
Jan Steemann 8a96f907b0 refactored function argument conversion 2014-08-29 10:59:24 +02:00
Jan Steemann 0eac5dcf47 fixed tests 2014-08-29 09:33:09 +02:00
Jan Steemann a32fac3747 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-29 09:20:36 +02:00
Jan Steemann 6cd4372299 fixed several tests 2014-08-28 22:33:50 +02:00
Jan Steemann b54e791f8f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-28 22:23:25 +02:00
Jan Steemann d72354da66 issue #1003: added feature to use backslash escaping for CSV data in arangoimp 2014-08-28 21:03:58 +02:00
Jan Steemann 2a104b8bcb fixed several AQL tests 2014-08-28 16:19:05 +02:00
Jan Steemann 694d64da3c do not optimize away non-deterministic functions 2014-08-28 15:34:06 +02:00
Jan Steemann a014b44ba4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/Transaction.h
2014-08-28 11:06:14 +02:00
Jan Steemann 81c095105b issue #1003 2014-08-28 10:32:32 +02:00
Jan Steemann cd1d0c45f8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-query.cpp
2014-08-27 19:25:37 +02:00
Jan Steemann 6721dd787c fix typo in manual 2014-08-27 12:26:24 +02:00
Alan Plum b977c3e605 Fixed destroySession docs. 2014-08-26 11:45:18 +02:00
Lucas Dohmen 8578042b73 Fixed the success callback for Queues
When an option was missing, the resulting String would have `, ,`
in the String to be evaluated which would result in a syntax error
2014-08-25 17:36:50 +02:00
Alan Plum 7f120194f4 Added "preprocess" to job type definitions. 2014-08-25 15:29:07 +02:00
Alan Plum de9a1c6efc Replaced sessions collection upgrade task. 2014-08-25 10:17:31 +02:00
Jan Steemann a70a9613f6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Jan Steemann 1b3c8b88cf jslint 2014-08-22 17:58:19 +02:00
Michael Hackstein 8232035989 Improved graph traversals by an order of magnitute 2014-08-22 17:01:02 +02:00
Alan Plum 83f47db07f Pass worker result to success/failure handler instead of discarding it. 2014-08-22 13:16:45 +02:00
Jan Steemann 317c7870f0 fix tests with Valgrind 2014-08-21 11:52:05 +02:00
Alan Plum 30ee27d1c0 Fixed Foxx params with alternatives breaking API docs. 2014-08-20 17:01:33 +02:00
Alan Plum 501735c78b Keep legacy users API backwards-compatible. 2014-08-20 14:19:08 +02:00
Alan Plum 369485b129 Replaced backticks with splats to follow doc styleguide. 2014-08-20 11:10:50 +02:00
Alan Plum fefe0d0e6d Replaced org/arangodb/users internals with users app compatible format. 2014-08-20 11:10:50 +02:00
Alan Plum 288c6d8d31 Allow specifying "_" as collection prefix. 2014-08-20 10:57:48 +02:00
Alan Plum 3b00e307ea Formatting. Fixed inline docs in controller. 2014-08-20 10:57:47 +02:00
Alan Plum 3be0e11110 Simplified is-mounted-as-system-app check. 2014-08-20 10:57:47 +02:00
Alan Plum cb3842b149 System apps now mount at _system instead of system. 2014-08-20 10:57:47 +02:00
Alan Plum 7bfb6d5d3f Fixed activateSessions default app path. 2014-08-20 10:57:46 +02:00
Alan Plum a85bc09de4 Only prohibit unmounting system apps mounted at system paths. 2014-08-20 10:57:46 +02:00
Alan Plum 0d653ca67a Implemented activateSessions. 2014-08-20 10:57:06 +02:00
Heiko Kernbach 9e88c0b58c fixed jslint 2014-08-19 13:22:56 +02:00
Frank Celler 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +02:00
Frank Celler 986bf7d0e8 added dispatcherThreads 2014-08-18 12:08:33 +02:00
Jan Steemann f8cf5dc26d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-08-15 18:47:18 +02:00
Alan Plum a97417408a Applied performance optimization for queues. 2014-08-15 17:43:49 +02:00
Jan Steemann 828fd9cc76 set waitForSync to false for system collections 2014-08-15 17:37:44 +02:00
Alan Plum 98d475c103 Fixed deleting queues/jobs. 2014-08-15 15:47:42 +02:00
Jan Steemann 30b32f1f90 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.h
	arangod/V8Server/v8-vocbase.cpp
	js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Alan Plum da36a1d42e Added support for job type schemas. 2014-08-13 15:37:44 +02:00
Alan Plum 4f5caa805e Fixed undefined CLUSTER_COORDINATOR. 2014-08-12 19:32:26 +02:00
Jan Steemann 52911293f7 added special compare function to take into account floating point differences 2014-08-12 19:14:13 +02:00
Frank Celler 9350b5a975 start the queue manager once during boot 2014-08-12 19:02:46 +02:00
Alan Plum 1913a7b231 Extracted worker, manager modules from queue. Implemented backOff, delayUntil, success/failure callbacks, push(maxFailures). 2014-08-12 19:02:46 +02:00
Alan Plum fce8ab70f2 Renamed queues.destroy => queues.delete. 2014-08-12 19:02:46 +02:00
Alan Plum f5ad50d930 Return number of pending jobs in queue on push. 2014-08-12 19:02:45 +02:00
Alan Plum 88d684e1d6 Allow creating queues with default number of workers, don't update queue if maxWorkers is not set. 2014-08-12 19:02:45 +02:00
Alan Plum f4f201872c Cache queue objects. 2014-08-12 19:02:45 +02:00
Alan Plum 19578891fb More consistent naming. 2014-08-12 19:02:45 +02:00
Alan Plum aaefbfb79f Removed unused variable. 2014-08-12 19:02:45 +02:00
Alan Plum cc6a141d66 Linting. 💥 2014-08-12 19:02:45 +02:00
Alan Plum 191b3fc88a Implemented worker/manager internals. 2014-08-12 19:02:44 +02:00
Alan Plum 2093c28359 Fixed Foxx.queues. 2014-08-12 19:02:44 +02:00
Alan Plum 123127e57d Exposed Foxx.queues._manager.run. 2014-08-12 19:02:44 +02:00
Alan Plum 698fd3d8ec Revised implementation of Foxx queues. 2014-08-12 19:02:44 +02:00
Alan Plum 76c7920457 Basic implementation. 2014-08-12 19:02:44 +02:00
Jan Steemann 413ce6c50c test fixes 2014-08-12 18:53:49 +02:00
Willi Goesgens e823314a63 Adapt #8c280e255cce88af22377bee0e3ea8669c2b6d97 and #35303ab5eb5f3d588c2c6fe276dcc3772836d89f to give us a graph in defined sequence here too. 2014-08-12 17:10:29 +02:00
Michael Hackstein 1ee7cecdd7 Enforced sorting in ahuacatl generel graph test 2014-08-12 16:38:15 +02:00
Jan Steemann 80848b62a9 make test deterministic 2014-08-12 16:28:59 +02:00
Jan Steemann 3ae6d85711 removed tests for now-unsupported functionality 2014-08-12 16:22:32 +02:00
Jan Steemann d910e468f5 fixed issue with SLEEP() in test 2014-08-12 15:28:52 +02:00
Michael Hackstein 9d4642c4b5 Fixed ahuacatl-general-graph test. It does not depend on the sorting any more 2014-08-12 14:32:30 +02:00
Michael Hackstein 2622f00915 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-12 14:31:23 +02:00
Michael Hackstein dc998e3116 Fixed ahuacatl-general-graph test. It does not depend on the sorting any more 2014-08-12 14:31:18 +02:00
Frank Celler 0cc3bc6f1a fixed foxx initialisation when creating a new database 2014-08-12 12:19:30 +02:00
Frank Celler ec3d0452f3 better names 2014-08-12 10:45:06 +02:00
Frank Celler 7a6d5413a1 database version is now AABBCC, where AA = major, BB = minor, CC = patch 2014-08-12 09:58:42 +02:00
Willi Goesgens 5d495e4f64 Output the failing functions during tests. 2014-08-11 17:34:45 +02:00
Willi Goesgens 62d9435269 in case of we don't like the error number, output it plus the error message. 2014-08-11 16:50:56 +02:00
Willi Goesgens 4ae37d8840 If before/after Unittests fail to match results, print the query responsible. 2014-08-11 16:09:32 +02:00
Max Neunhoeffer 3b1d938dda Make test framework throw if results are unequal. 2014-08-11 09:33:58 +02:00
Jan Steemann 579fad3d6a added tests 2014-08-11 09:03:45 +02:00
James 5dc4f414f3 working on the tests. 2014-08-08 16:51:59 +02:00
Max Neunhoeffer 4037112858 Make AQL2 test framework work. 2014-08-08 15:33:36 +02:00
Max Neunhoeffer 3e5493a164 Fix js tests. 2014-08-08 14:40:02 +02:00
Max Neunhoeffer 9d9d3962c0 Create unittest framework for new AQL. 2014-08-08 14:39:08 +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
Jan Steemann dbf2842a28 much better exception handling 2014-08-06 18:37:37 +02:00
scottashton fba85a7c6c GRAPH_VERTICES now returns orphans 2014-07-30 11:23:10 +02:00
scottashton 0a15993322 jslinted filed 2014-07-25 16:09:40 +02:00
scottashton 8776a84447 fixed bug with edgeCollectionRestrictions 2014-07-25 15:55:45 +02:00
Alan Plum facd7dc515 Fixed #961. Undocumented bodies should never throw. 2014-07-24 11:22:30 +02:00
Jan Steemann 328e3c209c fixed another test 2014-07-23 18:50:45 +02:00
Jan Steemann a91af39243 make test succeed after Max's optimization 2014-07-23 17:15:13 +02:00
Jan Steemann 8cb85fd973 optimization for AQL queries with limit 2014-07-23 17:15:01 +02:00
scottashton a30c8fe8ec performance boost for GRAPH_EDGES and GRAPH_NEIGHBORS 2014-07-23 13:49:00 +02:00
Jan Steemann 55a3bb5929 style 2014-07-22 17:39:29 +02:00
Jan Steemann ddf69e99a9 fixed tasks with offset 0.0 2014-07-21 14:22:39 +02:00
Alan Plum 2c812af557 Fixed cookie domain being set to cookie path if a cookie path is provided. 2014-07-17 12:41:18 +02:00
Thomas Schmidts 389439932f Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-14 13:37:51 +02:00
Max Neunhoeffer 9e3ccdc2e0 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-14 11:25:38 +02:00
Alan Plum 15372670e0 Fixes #947. 2014-07-14 10:49:34 +02:00
Thomas Schmidts ecb2c29729 Fixed wrong link in Aql/GraphOperations 2014-07-11 15:47:47 +02:00
scottashton 0a69895d74 FIXED GRAPH_NEIGHBORS , DID THROW WHEN NO EDGES HAVE BEEN DEFINED 2014-07-11 09:05:36 +02:00
scottashton ad989fe036 minor bug fix 2014-07-10 15:43:57 +02:00
scottashton 435cf1a4df minor bugs ahuacatl 2014-07-09 15:59:09 +02:00
scottashton a249dd46eb minor bugs ahuacatl 2014-07-09 15:45:25 +02:00
scottashton c6a5425930 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-09 14:43:15 +02:00
scottashton 267c8ba451 minor fixes in gharial and ahuacatl 2014-07-09 14:43:06 +02:00
Alan Plum b596941aa5 Documentation method syntax. 2014-07-09 14:00:50 +02:00
Alan Plum 38581d714f Marked old requestContext.queryParam/pathParam syntax for deprecation. 2014-07-09 13:10:13 +02:00
Alan Plum f44d319f3e Added tests. 2014-07-09 13:09:16 +02:00
Alan Plum 557167f74d Fixed copy-paste error. 2014-07-09 13:09:16 +02:00
Alan Plum 5671bf1440 Implement joi validation of query and path params. Fixes #936. 2014-07-09 13:09:16 +02:00
Alan Plum 2d4a76417c Removed deprecation warning for now. 2014-07-09 12:41:03 +02:00
Alan Plum 3a117f5bd8 Undocumented body param now uses new syntax. 2014-07-09 12:40:05 +02:00
Alan Plum 7887f1b282 Added tests. 2014-07-09 12:40:05 +02:00
Alan Plum 25afdec36e Made Foxx RequestContext bodyParam more consistent with other param methods. Fixes #935. 2014-07-09 12:40:05 +02:00
Alan Plum 0b97f4731d Marked old Model.extend syntax for deprecation. 2014-07-09 12:00:35 +02:00
Alan Plum 2d6a0f2a73 Clarified isEmpty check. 2014-07-09 12:00:35 +02:00
Alan Plum 08d3be148c Docs consistency. 2014-07-09 12:00:35 +02:00
Alan Plum 34de2d00d3 Added documentation for errors and isValid. 2014-07-09 12:00:35 +02:00
Alan Plum 292ff5c8e7 Don't clone objects just to throw them away. 2014-07-09 12:00:35 +02:00
Alan Plum b2415d7871 Implemented Foxx model auto-validation with joi. 2014-07-09 12:00:34 +02:00
Alan Plum 889e8de4c9 Implemented Joi validation/toJSONSchema with legacy fallback. See #926. 2014-07-09 12:00:34 +02:00
Max Neunhoeffer 951be763d3 Disable a test in the cluster that needs transactions. 2014-07-09 10:17:34 +02:00
Alan Plum 0ebddb7bb5 Updated Foxx RequestContext docs to new method syntax. 2014-07-08 17:15:15 +02:00
Lucas Dohmen 1b46f78c54 Unfinished, undocumented graph feature
Psst... It's a secret...
2014-07-08 15:44:35 +02:00
Thomas Schmidts c2fa9cb091 Erased useless @startDocuBlocks 2014-07-08 11:16:56 +02:00
Thomas Schmidts 57cd57c55d Fixed wrong @startDocuBlock in Documentation 2014-07-08 09:37:07 +02:00
scottashton 90e4bf9bd3 distinct result on GRAPH_EDGES 2014-07-08 08:35:37 +02:00
Frank Celler 0703809e00 added isIP 2014-07-07 18:46:02 +02:00
Thomas Schmidts 19e750b35f Fixed some small errors in @startDocuBlock 2014-07-07 16:58:26 +02:00
Thomas Schmidts 1a78807a67 Fixed a few @startDocuBlock errors 2014-07-07 16:15:50 +02:00
Jan Steemann c12df38eb2 fixed broken examples 2014-07-06 02:25:19 +02:00
Jan Steemann ca97aa4a07 added tests, fixed segfault 2014-07-05 22:58:36 +02:00
Jan Steemann 5d5b3d7009 added AQL documentation 2014-07-05 19:10:56 +02:00
Alan Plum eaf855d964 Documentation method syntax. 2014-07-05 16:05:55 +02:00
Alan Plum 61909ccd23 Added tests for Repository index magic. Fixes #899. 2014-07-04 17:09:50 +02:00
Alan Plum 40448d69cc Consistency in docs. 2014-07-04 17:08:34 +02:00
Alan Plum 2f1ef93574 Allow using Repository::all without arguments. 2014-07-04 17:08:34 +02:00
Alan Plum f1d0124a0f Added index-specific repository methods. 2014-07-04 17:08:34 +02:00
Jan Steemann 772f5fc876 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-04 13:52:45 +02:00
Jan Steemann 6f4ab77d9b fixed WAL collector moving markers 2014-07-04 13:52:31 +02:00
Alan Plum b5442e1ec8 Whitelist metadata in Model::set. 2014-07-04 11:15:56 +02:00
Alan Plum 391810aa61 Don't throw in Model::get. 2014-07-04 11:15:56 +02:00
Jan Steemann 96b195a34d added test 2014-07-04 08:06:02 +02:00
Jan Steemann 04ed18be47 recovery 2014-07-03 22:50:22 +02:00
Jan Steemann 470839ffb9 fixed tests 2014-07-03 18:51:40 +02:00
Jan Steemann 6fc0c051d0 added test case 2014-07-03 17:12:25 +02:00
Jan Steemann d5e4f6762c foxx-directories test 2014-07-03 12:58:02 +02:00
Lucas Dohmen f9360c2577 Merge pull request #927 from triAGENS/foxx-model-set-validation
FoxxModel.set validation
2014-07-03 07:49:33 +02:00
Thomas Schmidts 0328c9a900 Fixed a few spelling and code erros and deleted last examples 2014-07-02 17:48:54 +02:00
Alan Plum 299cfd80fe Replaced ES5 methods with underscore because reasons. 2014-07-02 17:14:03 +02:00
Alan Plum e3baa87072 Coding style. 2014-07-02 17:14:03 +02:00
Alan Plum e1aa528295 Added tests for bad model attribute setting. 2014-07-02 17:14:02 +02:00
Alan Plum 7b56ff643f Linting. 2014-07-02 17:14:02 +02:00
Alan Plum 19edeb18ba Implemented simple validation in FoxxModel.set 2014-07-02 17:14:02 +02:00
Jan Steemann 8a36d58524 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 16:53:30 +02:00
Jan Steemann d4858f90d3 added test for renaming 2014-07-02 16:53:23 +02:00
Thomas Schmidts e46d87f23c Changed documentation code in configure chapter 2014-07-02 14:08:41 +02:00
Jan Steemann a46ac4a8a2 removed mruby 2014-07-02 13:32:07 +02:00
Max Neunhoeffer da4ca4a6b5 Fix bug in disabling of tests. 2014-07-02 11:37:56 +02:00
Max Neunhoeffer ad767b5aee Implement disabling of client tests. 2014-07-02 11:32:38 +02:00
Jan Steemann 28965618d1 handle renaming of collections 2014-07-02 10:28:43 +02:00
Jan Steemann 84ef51aaf4 handle properties marker 2014-07-02 09:54:28 +02:00
Jan Steemann ab70cfb9bb Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 09:31:17 +02:00
Jan Steemann 7fa01da9b4 handle empty logfiles on startup 2014-07-02 09:31:00 +02:00
Jan Steemann eae94f97a8 removed dead code 2014-07-02 00:21:58 +02:00
Jan Steemann 0a230b77e3 jshund 2014-07-02 00:17:25 +02:00
Jan Steemann a5cf53d417 fixed examples 2014-07-01 16:48:47 +02:00
Alan Plum 1624c6a1b8 Formatting. 2014-07-01 15:08:38 +02:00
Alan Plum 1d497135cf Allow specifying config options when mounting apps in aardvark. 2014-07-01 14:35:08 +02:00
Max Neunhoeffer 140072a8f0 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-01 13:21:06 +02:00
Max Neunhoeffer 7fb712c681 Fix create collection in cluster really. 2014-07-01 13:20:45 +02:00
Jan Steemann 815bb8480a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-01 13:12:47 +02:00
Jan Steemann 4cd20bfb7c fixed syncs across multiple files 2014-07-01 13:12:36 +02:00
Max Neunhoeffer 89654b68cd Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-01 11:47:25 +02:00
Max Neunhoeffer 351da7709d Fix bug in creation of sharded collections in cluster. 2014-07-01 11:47:09 +02:00
Jan Steemann 9469513170 remove replication collection 2014-07-01 11:36:13 +02:00
Jan Steemann c28b672fe5 fixed test 2014-07-01 11:35:57 +02:00
Jan Steemann 41008dab3a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-30 19:00:42 +02:00
Jan Steemann d55626c038 xxx 2014-06-30 19:00:36 +02:00
Alan Plum 5b62aae51e Disambiguated "lifetime" in Foxx auth. 2014-06-30 17:55:18 +02:00
Alan Plum edf850ce87 Formatting, whitespace. 2014-06-30 17:43:59 +02:00
Max Neunhoeffer 4a37680d92 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-06-30 16:49:08 +02:00
Max Neunhoeffer 412abdea0b Implement arangodump/restore test in unittests for cluster.
Not yet working completely.
2014-06-30 16:48:33 +02:00
Michael Hackstein 2bb8ace423 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-30 15:28:18 +02:00
Michael Hackstein 4cb1cdd977 Added upgrade script for Foxx API endpoints 2014-06-30 15:27:26 +02:00
Thomas Schmidts d9b733b997 Fixes some documentation pages for API. fixes #922 2014-06-30 14:22:17 +02:00
Jan Steemann 9d0f781289 jslint 2014-06-30 13:56:03 +02:00
Jan Steemann d3f8f1b8e0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-30 13:52:19 +02:00
Max Neunhoeffer 5fa0b5f54d Recognise Jasmin tests for shell_server tests in JS framework. 2014-06-30 13:16:05 +02:00
Jan Steemann d6a93a5535 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-30 13:07:56 +02:00
Jan Steemann bda2db16da recovery and replication 2014-06-30 13:07:48 +02:00
Max Neunhoeffer 48762f3cc2 Add disabled tests.
Disable shell-readonly test on server.
2014-06-30 12:45:10 +02:00
Thomas Schmidts 52ad8fc702 Some changes in the documentation code for gitbook 2014-06-30 09:29:02 +02:00
Thomas Schmidts c263b2a5e1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-29 03:34:42 +02:00
Thomas Schmidts c2cb0d5a10 Some changes to the comments in the code 2014-06-29 03:34:22 +02:00
Jan Steemann 56a9361f9f fill secondary indexes after recovery only 2014-06-29 00:18:21 +02:00
Jan Steemann 21ea9b4d4b recovery tests 2014-06-28 01:58:06 +02:00
Jan Steemann 187a006db7 jslint 2014-06-27 19:26:18 +02:00
Jan Steemann e7aef1e468 be less chatty on upgrade / initialisation 2014-06-27 19:25:06 +02:00
Thomas Schmidts 22f7b8390b Changed documentation in code for Foxx 2014-06-27 14:30:39 +02:00
Thomas Schmidts 148f400991 Changed some (sub)chapters and fixed spelling errors 2014-06-27 11:02:10 +02:00
Thomas Schmidts dd9e29702c changed design of functions in documentation 2014-06-26 17:25:43 +02:00
Jan Steemann bb2818a210 added oversize marker tests 2014-06-26 17:16:36 +02:00
Jan Steemann cea36cf8b4 less randomness 2014-06-26 16:26:50 +02:00
Jan Steemann c8978771c0 exclude test in cluster mode 2014-06-26 16:02:08 +02:00
Jan Steemann 1bb171787f clean up when journal creation fails 2014-06-26 13:03:45 +02:00
Jan Steemann 9f37a21729 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-26 12:37:11 +02:00
scottashton de0da1e7b7 changed signature of the traversal functions 2014-06-26 11:55:35 +02:00
Jan Steemann 183469227c fixed rollback of updates 2014-06-26 11:38:41 +02:00
Frank Celler 9bfaeeebd0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-25 17:22:30 +02:00
Frank Celler 87e1e16ad9 execute setup for system apps 2014-06-25 17:22:24 +02:00
Thomas Schmidts a43e8e065d Some changes in the documentation code 2014-06-25 16:29:17 +02:00
Thomas Schmidts cba9529153 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-25 16:15:36 +02:00
scottashton 9d0399ee0e new templates for graph management 2014-06-25 16:08:21 +02:00
scottashton 235a438c0c finished documentation of complexity 2014-06-25 15:51:41 +02:00
Thomas Schmidts f005d676cb Some changes in the code documentation 2014-06-25 15:10:13 +02:00
Thomas Schmidts f7be757b0b Some changes in the code documentation 2014-06-25 14:57:29 +02:00
Frank Celler 291c92dbf3 renamed ReadOnly to NoCreate 2014-06-25 14:32:00 +02:00
Thomas Schmidts 34e1addcfb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-24 17:23:54 +02:00
Jan Steemann 1ac957a5ac fixed indentation, copy&paste, incomplete and too complicated tests 2014-06-24 17:20:14 +02:00
Jan Steemann cf14609727 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 16:12:07 +02:00
Jan Steemann f411fceb2e exposed WAL API 2014-06-24 16:10:27 +02:00
Thomas Schmidts f4c6c97488 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-24 16:09:27 +02:00
Esteban Lombeyda fab2e0b855 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-24 15:23:18 +02:00
Esteban Lombeyda fff305170e renaming test in order to run in only in non cluster environments 2014-06-24 15:22:24 +02:00
Jan Steemann a289c9aa78 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 15:11:30 +02:00
Jan Steemann c4aad1e0cd added tests 2014-06-24 15:11:19 +02:00
Thomas Schmidts 0bf957ddd7 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-24 14:28:50 +02:00
Thomas Schmidts 0d969e6814 Changes in the gitbook, also bug fixing in code 2014-06-24 14:28:30 +02:00
scottashton 3dc7188141 heal the build 2014-06-24 14:26:46 +02:00
scottashton 3ba8719173 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 13:13:09 +02:00
scottashton 4f01409c4b processed lucas feedback regarding aql docu 2014-06-24 13:13:01 +02:00
Jan Steemann 303378d8e2 honor `--server.disable-statistics` 2014-06-24 12:06:47 +02:00
Jan Steemann c17d550097 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 11:26:55 +02:00
Esteban Lombeyda 357183ce3e Bug fix in setUp function 2014-06-24 10:58:51 +02:00
Jan Steemann 98f87b1f80 write-throttling 2014-06-24 10:55:05 +02:00
Jan Steemann 9695b25673 added tests 2014-06-24 09:19:26 +02:00
Lucas Dohmen 9bf547374d JSLint 😊 2014-06-24 13:47:41 +08:00
Lucas Dohmen 04ddc2ba3c Review of GraphOperations 2014-06-24 13:29:14 +08:00
Lucas Dohmen d625e38acf Foxx Model: Also update whitelisted attributes 2014-06-24 13:29:14 +08:00
Jan Steemann 5ce280b5f4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 00:38:33 +02:00
Jan Steemann d56719ae4d simplification of signatures 2014-06-24 00:32:40 +02:00
Thomas Schmidts 8d4527a8c9 Changed Documentation in code 2014-06-24 00:01:27 +02:00
Jan Steemann 53909c0dcd adjusted tests 2014-06-23 18:45:06 +02:00
Thomas Schmidts 859ad4fbb0 Changes in the code documentation 2014-06-23 16:18:58 +02:00
Thomas Schmidts 10a5b782fd Some changes in the documentation code 2014-06-23 14:55:14 +02:00
Lucas Dohmen c67b1d9d5a Foxx: Fix Model.fromClient 2014-06-23 14:43:58 +02:00
Lucas Dohmen f62ce6cd7f Foxx: Fix error for `body()` when body is empty 2014-06-23 14:16:13 +02:00
Lucas Dohmen 8831f91f9d Foxx Model: Allow to access the whitelisted attributes from ancestor 2014-06-23 13:52:29 +02:00
scottashton 7efc5b77cf Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-23 13:35:01 +02:00
scottashton 371bfabf67 spellchecked gitbook for general-graph and ahuacatl 2014-06-23 13:34:44 +02:00
Michael Hackstein 658fa5cc25 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-23 13:18:06 +02:00
Michael Hackstein 7e3bebead7 Sorted export ordering of graph functions in ahuacatl. First deprecated modules are exported, afterwards general graph functions 2014-06-23 13:18:00 +02:00
scottashton fa2084ea9b fixed bug in commonPorperties, now attributes with the value of 'false' are included in result, fixed js shell to full general-graph support 2014-06-23 11:37:43 +02:00
Thomas Schmidts c11417cbdb Fixed some some issues with the appearance of the Foxx Chapter 2014-06-23 09:56:08 +02:00
scottashton 62fd91ce3d changed return value of common properties so only the matching attributes are returned 2014-06-23 07:27:20 +02:00
Jan Steemann b5fe73270c use test-helper for unloading collections 2014-06-21 03:19:54 +02:00
Jan Steemann 16bf152c8f fully removed replication logger 2014-06-21 00:32:47 +02:00
scottashton 1cef1a0cd7 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-20 16:59:58 +02:00
scottashton fb7c608f6c refactored ahuacatl docs 2014-06-20 16:59:51 +02:00
Lucas Dohmen f6b7bb23a0 Remove the stub and mock module
This is now inside of shell-foxx until it has been converted to
Jasmine
2014-06-20 16:40:34 +02:00
Lucas Dohmen ca6a9c02ca `backbone` is now `org/arangodb/extend` 2014-06-20 16:40:34 +02:00
Frank Celler 248b3e3329 fixed typo 2014-06-20 15:59:59 +02:00
Heiko Kernbach 5ef874f8f3 merge 2014-06-20 14:58:30 +02:00
Heiko Kernbach ff6877fdc9 added functionality to identify and inform about github information of a foxx 2014-06-20 14:55:22 +02:00
Frank Celler af109c73ca Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/server/modules/org/arangodb/foxx/manager.js
2014-06-20 14:41:13 +02:00
Lucas Dohmen b8e0d95b69 Removed `apps` as an alias for `controllers` in Foxx manifest files 2014-06-20 14:39:48 +02:00
Frank Celler e5c0418a35 fixed issue #707: Missing exception on mounting foxx app without collection 2014-06-20 14:28:23 +02:00
Frank Celler 2cd0e6d77e Merge pull request #913 from triAGENS/foxx-authentication-options
Foxx Authentication accepts all options that we support
2014-06-20 14:27:21 +02:00
Jan Steemann e51dcdb2cb Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/common/tests/shell-general-graph.js
2014-06-20 13:39:51 +02:00
Jan Steemann 3353066f65 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-20 13:38:10 +02:00
Frank Celler 9c33dec659 verbose comment 2014-06-20 13:34:22 +02:00
scottashton ec2d0e94f5 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-20 13:00:01 +02:00
scottashton ec45a40d0b changed examples in routplanner 2014-06-20 12:59:56 +02:00
Lucas Dohmen 03b4a01037 Foxx Authentication accepts all options that we support 2014-06-20 11:12:56 +02:00
Esteban Lombeyda 809d951a50 formating 2014-06-20 10:34:14 +02:00
Heiko Kernbach 3c72644b00 added functionality to download and install foxx applications from github 2014-06-20 10:30:35 +02:00
scottashton 678277981c fixed merge conflict 2014-06-20 09:59:00 +02:00
scottashton b263e38a9e docu refactoring, added more functions into graph module 2014-06-20 09:58:09 +02:00
Jan Steemann 2e734b6a9a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-20 09:53:32 +02:00
Jan Steemann 218d23d761 fixed jslint warning 2014-06-20 09:53:01 +02:00
Jan Steemann e132c8ea19 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-20 09:45:53 +02:00
Jan Steemann cc35e4696c added more tests 2014-06-20 09:20:27 +02:00
gschwab dbe0cbbf7f renamed _directedRelationDefinition(...) -> _directedRelation(..) 2014-06-20 09:01:35 +02:00
gschwab 639e657897 renamed _undirectedRelationDefinition(...) -> _undirectedRelation(..) 2014-06-20 08:56:59 +02:00
Jan Steemann c60bde28b6 added crash tests 2014-06-20 08:36:36 +02:00
Jan Steemann 86def51c51 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-20 08:22:04 +02:00
Jan Steemann 6c0dcf85c4 WAL DDL markers 2014-06-19 14:33:38 +02:00
Lucas Dohmen 049067dbc4 Merge pull request #874 from triAGENS/foxx-doc-generator-improvements
Foxx API Documentation explorer doesn't show POST/PUT/PATCH bodies without bodyParam
2014-06-19 11:53:48 +02:00
Lucas Dohmen 96866a0d9f Some tweaks to the Foxx.Repository documentation 2014-06-19 10:28:36 +02:00
Lucas Dohmen e83d05d3b2 Foxx.Repository#count 2014-06-19 10:28:36 +02:00
Lucas Dohmen ca41f74a63 Foxx.Repository#updateById 2014-06-19 10:28:35 +02:00
Lucas Dohmen 473566a4e2 Foxx.Repository#updateByExample 2014-06-19 10:28:35 +02:00
Lucas Dohmen 94e2d0e9a4 Foxx.Repository#replaceByExample 2014-06-19 10:28:35 +02:00
Lucas Dohmen 3bfff286d0 Foxx.Repository#remove 2014-06-19 10:28:35 +02:00
Lucas Dohmen 4b769867be Foxx.Repository#all 2014-06-19 10:28:35 +02:00
Lucas Dohmen b9d4a96652 Add simple documentation for methods without bodyParam
post, put and patch requests without a bodyParam will now be documented
with an undocumented bodyParam. This will allow people to try out this
undocumented field in the Swagger documentation in the admin interface.
2014-06-19 10:28:16 +02:00
Jan Steemann bded33eec8 fixed typos 2014-06-18 21:48:29 +02:00
Jan Steemann 73e3fd5551 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-18 21:13:51 +02:00
Jan Steemann e39737f99e no error but a warning 2014-06-18 21:13:25 +02:00
Jan Steemann 44ad4eea48 added tests for AQL write operations 2014-06-18 20:43:08 +02:00
Frank Celler 42b7014237 replaced @EXAMPLES 2014-06-18 19:44:32 +02:00
Jan Steemann 1d68586500 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2014-06-18 16:37:28 +02:00
Jan Steemann 8b9cdbe075 fixed tests 2014-06-18 16:34:11 +02:00
Alan Plum ba61e07e02 More linting. 2014-06-18 15:21:29 +02:00
Alan Plum c9d7f113a6 Linting. 2014-06-18 15:19:12 +02:00
Frank Celler 900aa7f33b moved gharial from /system to /_api 2014-06-18 14:08:06 +02:00
Alan Plum 40f3e268dd Adjusted injector naming. 2014-06-18 11:09:40 +02:00
Alan Plum 282be72c5c Implemented controller dependency injection. 2014-06-18 01:17:10 +02:00
Lucas Dohmen 5057400e18 Repository#all 2014-06-17 17:34:55 +02:00
Lucas Dohmen df658a0648 A spec for the existing Foxx Repository functionality 2014-06-17 17:34:55 +02:00
Jan Steemann acba4c8851 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	CHANGELOG
2014-06-17 15:31:04 +02:00
Jan Steemann 091491d13b crash recovery tests 2014-06-17 15:30:11 +02:00
Lucas Dohmen 3c3f4b0b8f Foxx: Reorder and update the tests of Repository 2014-06-17 15:19:19 +02:00
Lucas Dohmen d57f88507b Foxx: Add examples for each of the methods of Repository 2014-06-17 15:19:19 +02:00
scottashton 094809bdf8 more docs 2014-06-17 11:43:21 +02:00
Frank Celler f794ee8368 fixed datafile debugger
Conflicts:
	CHANGELOG
2014-06-17 09:22:56 +02:00
Jan Steemann 30460bb72c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-17 00:49:37 +02:00
Jan Steemann b303db2b50 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
2014-06-17 00:49:18 +02:00
Jan Steemann a1177816aa modifiable AQL, final syntax 2014-06-17 00:37:08 +02:00
Frank Celler 89dbc6d04a Merge pull request #902 from triAGENS/foxx_repository
[WIP] Foxx.Repository should provide more methods
2014-06-16 20:16:56 +02:00
Jan Steemann 7f1c67b964 recovery tests 2014-06-16 17:22:20 +02:00
Jan Steemann 02d1cf3ea4 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-16 17:09:58 +02:00
scottashton ef6ed992f1 fixed typos in docs 2014-06-16 16:58:42 +02:00
Jan Steemann ff494cc897 added recovery tests (not functional yet) 2014-06-16 16:52:26 +02:00
scottashton cc3eff2a1e added documentation for ahuacatl 2014-06-16 16:33:40 +02:00
Esteban Lombeyda 19d851c3cb Merge branch 'mjmh' of github.com:triAGENS/ArangoDB into mjmh 2014-06-16 15:24:54 +02:00
Esteban Lombeyda 2405a5ffa2 read-only: unit tests for client and server side 2014-06-16 15:24:12 +02:00
scottashton 252d320795 jslinted code 2014-06-16 15:03:54 +02:00
scottashton b8d2c7f0f6 resolve merge conflict 2014-06-16 14:59:14 +02:00
Jan Steemann 59a5c1fda6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-16 14:47:47 +02:00
Jan Steemann 02d171412d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2014-06-16 14:47:41 +02:00
scottashton 99be3816b3 optimized dijsktra search 2014-06-16 14:44:34 +02:00
Alan Plum ef0210830b Fixed appContext reference in manifest cfg. 2014-06-16 14:43:11 +02:00
Jan Steemann 2a0e0b18d0 added many tests 2014-06-16 14:39:26 +02:00
Frank Celler 50b6533d0d added configuration to manifest, install and mount
Conflicts:
	js/server/modules/org/arangodb/foxx/manager.js
2014-06-16 12:57:17 +02:00
Esteban Lombeyda 51d86d8351 Merge branch 'mjmh' of github.com:triAGENS/ArangoDB into mjmh 2014-06-16 11:44:46 +02:00
Esteban Lombeyda 9af2994eb9 read-only: unit-tests 2014-06-16 10:47:48 +02:00
Jan Steemann ae6ac271e3 index rework 2014-06-14 23:40:56 +02:00
Jan Steemann 18f3471325 disabled transaction failure tests 2014-06-13 20:26:11 +02:00
Jan Steemann 713b69f1f5 fixed tests 2014-06-13 20:18:55 +02:00
Jan Steemann 5a53dc9f44 fixed typos 2014-06-13 20:08:02 +02:00
Jan Steemann 34389a10d3 added AQL TRANSLATE function 2014-06-13 19:53:58 +02:00
Jan Steemann 85b92dbf21 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-13 18:16:48 +02:00
Jan Steemann 96385080bc fixed test 2014-06-13 18:16:42 +02:00
Jan Steemann 0c5950507c fixed test 2014-06-13 17:50:44 +02:00
Michael Hackstein fdece972d0 Added tests for vertex and edge collection lists in http interface. Added docu for _list in general-graph module 2014-06-13 16:41:48 +02:00
Lucas Dohmen 80ab3968bd Foxx: Adjust structure & content of documentation and code of Repository 2014-06-13 15:47:52 +02:00
Jan Steemann d7f35bcc7b fixed datafile ticks issues 2014-06-13 14:46:21 +02:00
Jan Steemann fabc51f889 fixed wrong ASSERT usage 2014-06-13 12:10:35 +02:00
Jan Steemann d592591a06 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-13 11:31:59 +02:00
Lucas Dohmen 120ecaa000 JSLint 2014-06-13 11:00:57 +02:00
Jan Steemann d5e695e63f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/RestServer/ArangoServer.h
	arangod/VocBase/server.cpp
	js/common/bootstrap/errors.js
2014-06-13 02:23:03 +02:00
Lucas Dohmen 87987b7a14 Merge pull request #897 from pluma/foxx-context-collection-method
Added `collection` method to Foxx applicationContext
2014-06-12 16:41:50 +02:00
Lucas Dohmen 4dbaa665ac Merge pull request #895 from pluma/sugary-foxx-exports
More sugary Foxx exports
2014-06-12 16:39:57 +02:00
Alan Plum 477cec53aa Cleaned up stray whitespace. 2014-06-12 15:57:39 +02:00
Alan Plum 475daa1ed2 Removed tests for deprecated code. 2014-06-12 15:54:27 +02:00
Alan Plum c935ea6d20 Fixed reference to context. 2014-06-12 15:54:01 +02:00
Lucas Dohmen d12e993289 Merge pull request #896 from pluma/foxx-no-required-controllers
Allow controller-free Foxx apps
2014-06-12 15:38:20 +02:00
Alan Plum 251f237184 Renamed Foxx.app -> Foxx.requireApp. 2014-06-12 15:14:09 +02:00
Alan Plum fdea995b6e Deprecated Foxx.Controller#collection. 2014-06-12 15:12:05 +02:00
Alan Plum 41a82d9726 Added friendlier wrapper for manager.mountedApp. 2014-06-12 15:09:02 +02:00
Alan Plum 9857fa571e Allow controller-free apps. 2014-06-12 15:08:46 +02:00
Alan Plum e7f6aecaf5 Added collection method to Foxx applicationContext. 2014-06-12 15:07:18 +02:00
Lucas Dohmen 38bf144496 Foxx: Documentation for extended bodyParam functionality 2014-06-12 15:02:47 +02:00
Lucas Dohmen c0bfeee04e Test multiple element functionality 2014-06-12 15:02:47 +02:00
Lucas Dohmen 89e9205b7c Test multiple items functionality 2014-06-12 15:02:47 +02:00
Lucas Dohmen 6d0d3565fa Foxx: Adjust fakeContext to feature the manifest element 2014-06-12 15:02:47 +02:00
Lucas Dohmen b5529ac37e Introduce optional root element for body params 2014-06-12 15:02:46 +02:00
Lucas Dohmen e24d344016 Add option for the rootElement and make it available via appContext 2014-06-12 15:02:46 +02:00
Lucas Dohmen d4a6250fc2 Foxx: Body Params can optionally take more than one object 2014-06-12 15:02:46 +02:00
Lucas Dohmen cec32b981a Adjust tests to @fceller's bug fix 2014-06-12 14:24:50 +02:00
Frank Celler 1aa671ed8c fixed string constraints 2014-06-12 13:42:46 +02:00
scottashton e6d68e6070 finished documenation for aql graph 2014-06-12 10:43:20 +02:00
Frank Celler 299b99ed00 fixed check-version for empty directory 2014-06-11 19:30:12 +02:00
Jan Steemann fa6e98d94c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
2014-06-11 17:40:15 +02:00
Jan Steemann cc115a2766 removed outdated upgrade methods 2014-06-11 17:38:49 +02:00
scottashton f4b67ed01d jslinted 2014-06-11 16:04:15 +02:00
Jan Steemann ba389b996c jslint 2014-06-11 16:00:27 +02:00
scottashton 5bb6a22e82 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-11 15:45:46 +02:00
scottashton 8209796f7c added documentation to ahuacatl general graph functions and refactored common_Neighbors and common_properties 2014-06-11 15:45:31 +02:00
Jan Steemann 49cc332361 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/common/bootstrap/errors.js
2014-06-11 14:23:47 +02:00
Jan Steemann 5a8cdb0ec5 wal flush 2014-06-11 09:32:20 +02:00
Frank Celler 57bb47185b moved try/catch block to the top of routing chain 2014-06-10 22:57:10 +02:00
Heiko Kernbach 812b93d9d0 merge 2014-06-10 15:21:47 +02:00
Heiko Kernbach eb08541171 foxx apps install now via github 2014-06-10 15:21:27 +02:00
scottashton d70688c61f stabilized tests 2014-06-10 11:55:43 +02:00
Jan Steemann 191b46c063 fixed undefined variable access 2014-06-10 09:43:15 +02:00
Jan Steemann d9653bc462 DML for AQL 2014-06-10 09:30:27 +02:00
Jan Steemann 72a102e794 major internal changes 2014-06-08 00:12:53 +02:00
Jan Steemann c6b8bb7313 do not create _trx collection 2014-06-06 17:06:07 +02:00
Michael Hackstein fdb79e26d1 The foxx manager now throws a more useful error if the fetched file is already on the server 2014-06-06 15:40:19 +02:00
Michael Hackstein 920cf4b7c3 Added fetchFromGithub to server-side foxx manager. Makes it a lot easier to update an already installed foxx from aardvark 2014-06-06 15:00:26 +02:00
Jan Steemann fd7f288a59 added test case for shape movements 2014-06-05 22:23:02 +02:00
scottashton fe621c1723 finished measurements 2014-06-05 16:59:43 +02:00
Frank Celler eda4b0cde4 fixed dfdb 2014-06-04 11:02:42 +02:00