1
0
Fork 0
Commit Graph

1304 Commits

Author SHA1 Message Date
Lucas Dohmen a9e674b368 Merge pull request #1024 from triAGENS/repo-methods
Made Foxx.Repository methods behave more consistently (fixes #975)
2014-09-16 15:44:31 +02:00
Willi Goesgens ce08c58718 add the ability to run the test themselves in valgrind. 2014-09-16 14:25:25 +02:00
Alan Plum 6f357edb67 Made Foxx.Repository methods behave more consistently. Fixes #975. 2014-09-16 14:05:20 +02:00
Lucas Dohmen a2e56535f1 Merge pull request #1021 from triAGENS/easy-params
Allow passing joi params directly
2014-09-16 12:58:02 +02:00
Alan Plum cd8af52859 Added documentation for ctrl.before interrupts. 2014-09-16 11:45:08 +02:00
Alan Plum e04cfebfe2 Added tests and docs for param shorthand syntax, allow passing 'allowMultiple' via joi.meta, fixed joi.required/optional being ignored. 2014-09-16 11:33:35 +02:00
Lucas Dohmen 7abbb58ac2 Merge pull request #1023 from triAGENS/foxx-before-guard
Allow ctrl.before to prevent further processing of the request
2014-09-16 10:51:36 +02:00
scottashton b12d7f99cd added resolving from example strings to objects in GRAPH_NEIGHBORS 2014-09-16 10:36:56 +02:00
Alan Plum cf3c219f22 Revert "Allow specifying "_" as collection prefix."
This reverts commit ebc5c1490d14471b04b8398b44a06896a9460ea8.
2014-09-16 10:27:08 +02:00
Alan Plum 6e3e5d47fc Allow ctrl.before to prevent further processing of the request. 2014-09-16 00:17:46 +02:00
Alan Plum b1a0098c03 Allow passing joi params directly. 2014-09-15 23:34:41 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Jan Steemann 34d2913002 added NOT IN operator, added keywords NOT, AND, OR 2014-09-14 01:34:58 +02:00
Jan Steemann 287a6f6b49 fixed errors reported by jslint 2014-09-14 00:09:09 +02:00
Willi Goesgens ea6ab2510e getQueryMultiplePlansAndExecutions: add optional debug facility which does trace output. 2014-09-12 14:36:55 +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
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
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
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
Jan Steemann f824474503 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 12:00:10 +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
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
Alan Plum 844621f070 Implemented Foxx.createQuery. 2014-09-09 17:02:21 +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
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
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 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
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 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
Jan Steemann a02b962e3e added optimizer test 2014-09-01 12:14: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
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
Frank Celler 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +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
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
Jan Steemann 52911293f7 added special compare function to take into account floating point differences 2014-08-12 19:14:13 +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