1
0
Fork 0
Commit Graph

2174 Commits

Author SHA1 Message Date
CoDEmanX 4158f7d12b Add AQL function DATE_DAYS_IN_MONTH(), extend DATE_FORMAT()
Conflicts:
	js/server/modules/org/arangodb/aql.js
2015-09-14 11:35:04 +02:00
CoDEmanX c4c22086e9 Alternative implementation of DATE_FORMAT()
Conflicts:
	js/server/modules/org/arangodb/aql.js
2015-09-14 11:31:44 +02:00
Frank Celler d828ae39b4 remove rc and devel for version check 2015-09-14 10:40:37 +02:00
Jan Steemann ea4754546a clear AQL cache objects when starting a query, fixed a few TODOs in AQL date implementation 2015-09-11 21:23:07 +02:00
Jan Steemann b5e76b91cb fixed tests 2015-09-11 10:18:26 +02:00
CoDEmanX 6fba9c5284 Additional AQL date functions: DATE_DAYOFYEAR, DATE_ISOWEEK, DATE_LEAPYEAR, DATE_QUARTER, DATE_ADD, DATE_SUBTRACT, DATE_DIFF, DATE_COMPARE and DATE_FORMAT.
Unit tests incomplete and untested. Behavior of some functions might need adjustments. ISO duration cache needs to be cleared on every AQL query to avoid a memory leak.

Please rebuild Aardvark and see TODOs in code. Also added Windows shortcuts to ignore list.
2015-09-11 06:23:36 +02:00
Michael Hackstein 9cbbd7dd0f Fixed wrong error reporting in Graph functions 2015-09-08 15:30:32 +02:00
CoDEmanX 3a9648d78a More Americanization 2015-09-03 22:25:43 +02:00
CoDEmanX 956b396e43 Change spelling of 'initialize' to American English (actual code and files) 2015-09-01 17:29:22 +02:00
CoDEmanX b4593a7e82 Change spelling of 'initialize' to American English (comments and log messages only) 2015-09-01 17:07:21 +02:00
Willi Goesgens 34e8a8fc9f debug printing for misterious ignore of skip 2015-08-26 15:39:02 +02:00
Willi Goesgens 7b081fb6f3 print usefull error if we fail to start procdump. 2015-08-25 17:14:44 +02:00
Jan Steemann 893f9592f8 Merge branch 'devel' of https://github.com/arangodb/arangodb into replication 2015-08-24 09:58:04 +02:00
Jan Steemann 387e3e9cd4 make removeByExample, replaceByExample and updateByExample use AQL internally 2015-08-22 23:22:24 +02:00
Jan Steemann b58ecfe206 added firstTick() 2015-08-21 17:11:40 +02:00
Jan Steemann 9e08b1ebc5 add tickRanges() function 2015-08-21 17:00:32 +02:00
Willi Goesgens 8992b99ec5 add possibility to skip benchmark tests 2015-08-18 17:02:28 +02:00
Michael Hackstein 527120a3ea Removed outdated documentation, has been replased by a newer version earlier 2015-08-18 16:36:13 +02:00
Michael Hackstein 3f90914397 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-08-18 16:15:42 +02:00
Michael Hackstein 602c3d0d59 Improved the documentation for Foxx controller 2015-08-18 16:14:39 +02:00
Alan Plum 80b92488f8 Don't warn about Foxx app versions at all. 2015-08-18 13:42:47 +02:00
Michael Hackstein b81ac9be43 Foxx: controller.allRoutes can now use functions defined by extending the controller. 2015-08-18 13:12:40 +02:00
Jan Steemann a8e6b1f6a6 added comment 2015-08-16 22:07:16 +02:00
Alan Plum 09723c4757 Foxx non-semver version should merely warn. 2015-08-16 22:05:21 +02:00
Willi Goesgens f36dc42a0e fix docublock syntax 2015-08-14 14:46:28 +02:00
Willi Goesgens 994d850a79 remove toket that is not used anymore. 2015-08-13 18:42:11 +02:00
Willi Goesgens 1dd4d2b326 Disarm deprecated documentation tokens, we won't fix them before deleting them. 2015-08-13 18:40:29 +02:00
Willi Goesgens 662b3e76c7 Unify the usage of docublocks for the foxx-queues 2015-08-13 15:44:38 +02:00
Michael Hackstein 90d089f49f Fixed an issue with neighborExamples in GRAPH_EDGES 2015-08-13 11:22:06 +02:00
Jan Steemann 5838e8c8aa fixed wrong usage of errors 2015-08-13 00:17:18 +02:00
Max Neunhoeffer b844ff3468 Finish the role "SECONDARY" in a cluster. Configure replication automatically. 2015-08-12 10:54:30 +02:00
Alan Plum 398a868ea6 Add support for joi options. Fixes #1425. 2015-08-11 16:12:11 +02:00
Willi Goesgens ad75a69e26 fix syntax in documentation. 2015-08-11 14:09:59 +02:00
Willi Goesgens 40ba3dcffc Improve error message if module doesn't have a callback hook. 2015-08-11 14:08:32 +02:00
Alan Plum 5c6484d3ed Deprecated controller.addInjector. 2015-08-11 13:26:32 +02:00
Alan Plum 5e4630d31d Class-based controllers, models, repos and request contexts. 2015-08-11 13:08:41 +02:00
Alan Plum 1031a3d4e9 Added optional Foxx deps. 2015-08-11 13:08:06 +02:00
Willi Goesgens f44d246a34 Lintify. 2015-08-05 09:19:10 +02:00
Alan Plum f6a01f3e67 Removed session opts.type. 2015-08-04 21:12:09 +02:00
Willi Goesgens 021d01e4fe Rework index documentation; add more executed examples. 2015-08-04 18:42:44 +02:00
Alan Plum a37248e2d2 Yak shaved. 2015-08-04 18:12:37 +02:00
Willi Goesgens 8130368f43 Work on re-grouping the index documentation, using automated examples. 2015-08-04 13:44:25 +02:00
Jan Steemann d7cb705d58 make foxx-queue-mananger poll list of databases less often 2015-08-04 09:25:12 +02:00
Willi Goesgens db38b4f63a move skiplist documentation back into the source. 2015-08-03 17:34:47 +02:00
Willi Goesgens c9ccb0ce00 Properly generate examples for cap constraints. 2015-08-03 16:50:41 +02:00
Willi Goesgens 3766ab9f59 de-duplicate documentation of geo-indices. 2015-08-03 14:42:11 +02:00
Willi Goesgens a7d40a19ea increase timeout of benchmark tests 2015-08-03 12:42:41 +02:00
Alan Plum 668f78c4af BadRequest -> UnprocessableEntity. Fixes #1420. 2015-07-30 18:28:06 +02:00
Jan Steemann dc68b78bb6 improve error message output for Foxx 2015-07-30 09:31:22 +02:00
Heiko Kernbach 1d0dfad48c Merge branch 'devel' of github.com:arangodb/arangodb into web-ui 2015-07-29 16:46:03 +02:00
Heiko Kernbach f5ccad83de jslint 2015-07-28 15:49:39 +02:00
Heiko Kernbach 92ae28ef8a added frontend gzip support 2015-07-28 14:43:45 +02:00
Jan Steemann 5f4b0eeacb Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-27 08:50:30 +02:00
Jan Steemann b6b277d94a require file on initialization 2015-07-27 08:50:12 +02:00
Michael Hackstein a0e3ea9c7b Fixed Neighbor tests in cluster 2015-07-24 16:05:49 +02:00
Jan Steemann 5a393e1705 fixed tests 2015-07-24 14:02:06 +02:00
Jan Steemann 38b2d6caea Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-24 13:21:49 +02:00
Jan Steemann 74c83d2d5b make role accessible during cluster startup 2015-07-24 13:21:26 +02:00
Frank Celler 4dccc6a8dc Merge branch 'devel' of github.com:arangodb/arangodb into dispatcher 2015-07-23 15:41:05 +02:00
Frank Celler 35a3c6421c moved dispatcher to atomic 2015-07-23 15:40:34 +02:00
Willi Goesgens dc1aa7c550 Use windows CDB to automagically analyze core dumps. 2015-07-22 16:36:29 +02:00
Jan Steemann 20c96b5e46 removed locks 2015-07-21 17:34:57 +02:00
Alan Plum f4f91d20d3 Added param sessions. 2015-07-21 16:21:54 +02:00
Alan Plum ea16d48b78 Added readme route. 2015-07-21 13:29:54 +02:00
Jan Steemann f77dbc005c some fixes for graph functions 2015-07-15 09:35:37 +02:00
Alan Plum 1a0762eb22 Make jshint stfu. 2015-07-14 19:19:25 +02:00
Alan Plum f5ce6e4331 Added basic auth support to Foxx app manager. 2015-07-14 18:11:23 +02:00
Willi Goesgens 419f2d965a fix syntax 2015-07-14 17:22:17 +02:00
Willi Goesgens cf38aa0f17 If there is not a single testcase in a testsuite somethings fishy -> fail. 2015-07-14 14:53:13 +02:00
Jan Steemann c71dc4d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache 2015-07-13 10:49:14 +02:00
Alan Plum 348d4278ca Don't warn about setup/teardown if manifest also contains scripts.setup/teardown and both are equal. 2015-07-02 16:36:04 +02:00
Alan Plum c73b28eaba Warn when versions incompatible. 2015-07-02 12:03:13 +02:00
Alan Plum 4826007168 Mention manifest.name when warning about deprecated manifests. 2015-07-02 11:47:39 +02:00
Alan Plum 7e5566176b Ported fixes from 2.6. 2015-07-01 19:03:52 +02:00
Willi Goesgens 78ba722479 wrap lines to make jslint happy 2015-06-30 15:07:01 +02:00
Willi Goesgens 2ecda1757f Output if we flag the build as crashy, so one can find it in the log. 2015-06-30 14:36:58 +02:00
Jan Steemann e25ecb5be8 added function cacheability info 2015-06-27 09:06:35 +02:00
Jan Steemann 1f5e047486 query cache, now with result limitations, HTTP and JavaScript APIs 2015-06-27 01:12:32 +02:00
Alan Plum 5295e2802c Fixed manifest default values. 2015-06-24 14:39:58 +02:00
Jan Steemann 259b74b60e Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-star-operator-cxx 2015-06-23 22:34:29 +02:00
Jan Steemann 6325eb7f47 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-23 22:33:08 +02:00
Willi Goesgens 6447a17240 Fix calculation of valgrind report xml filenames for clusters. 2015-06-23 13:23:39 +02:00
Alan Plum 7073b7c18f Added support for repeating jobs. 2015-06-22 16:47:07 +02:00
Alan Plum 061b34f72a 2.7: Removed legacy job types support. 2015-06-22 16:47:06 +02:00
Alan Plum 40507358f4 2.7: Enabled deprecation warnings in manifest. 2015-06-22 14:17:02 +02:00
Jan Steemann 5480e6f4bd removed AQL `SKIPLIST` function deprecated in 2.6 2015-06-21 16:21:49 +02:00
Jan Steemann 7313b19431 implemented FILTER, LIMIT and multi-star features 2015-06-20 14:21:58 +02:00
Willi Goesgens a70014cfca Add possibility to bypass auth tests; they're restarting the server often which is stressy under valgrind. 2015-06-19 14:49:05 +02:00
Max Neunhoeffer 57716566c2 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-06-18 17:30:08 +02:00
Max Neunhoeffer e3623cf6a5 Improve diagnostic output when dispatcher is reporting. 2015-06-18 17:29:36 +02:00
Jan Steemann dcfe29211a updated CHANGELOG 2015-06-18 14:03:31 +02:00
Michael Hackstein 0858dce805 Updated documentation and changes for graph features 2015-06-18 09:47:54 +02:00
Willi Goesgens a79730a4ff Don't wait eternaly before retrying whether the cluster is available. 2015-06-18 09:23:26 +02:00
Alan Plum a4af1dc2e2 sessionStorageApp -> sessionStorage 2015-06-17 18:59:03 +02:00
Alan Plum 1b44a7496d Nevermind. 2015-06-17 17:13:27 +02:00
Alan Plum 67c43abf0c Misc Foxx fixes. 2015-06-17 17:07:17 +02:00
Alan Plum b3d8466c98 Fixed isDevelopment check. 2015-06-17 17:07:17 +02:00
Willi Goesgens 88764f6252 Wait gracefully for the Coordinator to be fully bootstrapped until we give up on it. 2015-06-17 15:53:31 +02:00
Jan Steemann dd314561ed Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-16 19:34:22 +02:00
Alan Plum 90cc290f7f Removed queue_legacy from allTests. 2015-06-16 18:41:17 +02:00
Alan Plum fc15d421d6 Implemeneted JSON configs. Cleaned up optional configs. 2015-06-16 17:58:38 +02:00
Alan Plum f428d047cb Allow optional configs. 2015-06-16 16:45:47 +02:00
Alan Plum 1210ee8858 Removed Foxx queue exports warmup workaround. 2015-06-16 15:59:26 +02:00
Jan Steemann 7cd27d5c56 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-16 15:14:18 +02:00
Jan Steemann d6f3436cc9 added tests 2015-06-16 15:13:53 +02:00
Alan Plum 273d16c0ed Linting. 2015-06-16 14:54:14 +02:00
Alan Plum 6e9900c462 Deprecated sessions options jwt and type. 2015-06-16 14:26:37 +02:00
Michael Hackstein 7f8be74c09 Added a test for OOM in Ditches for Neighbors. Added a test for missing vocbase in ExampleMatcher 2015-06-16 10:46:33 +02:00
Michael Hackstein 817df056a2 Fixed display of statistics for database servers in cluster interface. 2015-06-15 09:48:09 +02:00
Jan Steemann 3e99e76b4f fixed range access 2015-06-13 02:27:17 +02:00
Jan Steemann c5d099a1c5 fixed array range accesses 2015-06-12 23:45:08 +02:00
Michael Hackstein 4f29e51798 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-06-12 18:31:24 +02:00
Jan Steemann 1174cfd05c added tests 2015-06-12 18:29:54 +02:00
Jan Steemann ba49ab41c8 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-12 17:25:02 +02:00
Max Neunhoeffer 36514d7eb8 Fix --cluster.disableDispatcherFrontend switch. 2015-06-12 16:06:10 +02:00
Jan Steemann 04b4f3399d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-12 15:40:39 +02:00
Jan Steemann 3d5ec4d906 speedup for V8-based AQL functions with huge literal array/object parameters 2015-06-12 15:40:08 +02:00
Willi Goesgens 9e964694f3 Add option to skip queue tests. 2015-06-12 15:32:31 +02:00
Michael Hackstein 72503ea332 Introduced stopAtFirstMatch in GRAPH_SHORTEST_PATH to find the shortest path from a startVertex to a targetVertex that is defined by a pattern. 2015-06-12 15:09:03 +02:00
Jan Steemann e7ff3f2a19 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-12 12:04:41 +02:00
Jan Steemann 680490f305 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-12 11:51:24 +02:00
Jan Steemann 1a18fb0282 factor out huge array/object literals when calling V8-based AQL functions 2015-06-12 11:50:22 +02:00
Michael Hackstein fbca93fb19 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-06-12 11:36:02 +02:00
Michael Hackstein ca110ea40b Fixed bug in GRAPH_EDGES which was not able to find self referencing edges any more 2015-06-12 11:35:50 +02:00
Willi Goesgens 1b4fdd123c after queue_legacy scan for log messages. 2015-06-12 09:42:51 +02:00
Willi Goesgens 5070c6d716 Fix arguments. 2015-06-11 13:29:31 +02:00
Jan Steemann 3985498fc3 added [x..y] array access, added [**] operator 2015-06-11 00:09:41 +02:00
Alan Plum f86678ed38 Linting. 2015-06-10 20:21:13 +02:00
Alan Plum 3be72ee76d Removed TODO. 2015-06-10 20:17:16 +02:00
Alan Plum 53dff0b2d1 Added queue legacy test. 2015-06-10 19:14:49 +02:00
Alan Plum e79088c528 Allow re-using tmpDir in unit tests. 2015-06-10 19:14:49 +02:00
Alan Plum c3aeb5519c Fixed worker for function-based job types. 2015-06-10 19:14:48 +02:00
Alan Plum 3576b898d7 Fixed toArgv implementation. 2015-06-10 18:02:23 +02:00
Alan Plum 1e4bd51b93 SPAAACE. 2015-06-10 15:27:54 +02:00
Alan Plum 662a2055c7 Lint. 2015-06-10 14:58:43 +02:00
Alan Plum a7a1ca2e00 More fixing of the queues. 2015-06-10 14:17:33 +02:00
Alan Plum ddf39db6c8 Pre-load Foxx exports on start and smarter queue sleep. 2015-06-10 14:17:33 +02:00
Alan Plum fbf6c0021b Deprecated function-based job types. 2015-06-09 13:42:09 +02:00
Michael Hackstein 0c524ae537 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-06-09 11:57:35 +02:00
Max Neunhoeffer 240d147973 Better error handling if runInfo object absent or bad. 2015-06-09 11:54:15 +02:00
Michael Hackstein dc7a910521 Added an accitional 'includeVertices' option to EDGES AQL function. This can now return the forat that has been returned by Neighbors before. 2015-06-08 15:22:27 +02:00
Jan Steemann 4e33128092 adjusted links 2015-06-05 10:08:52 +02:00
Alan Plum 1e71cd6b6e Can't use ErrorStackParser because internally created ArangoError instances sometimes have stacktraces in their message (d'oh). 2015-06-04 02:27:10 +02:00
Alan Plum f61671ded5 Fixed validation error detection. 2015-06-04 00:58:38 +02:00
Alan Plum df226744f5 Better routing error handling. 2015-06-03 21:08:52 +02:00
Alan Plum b67166bac9 Minor tweaks. 2015-06-03 21:08:21 +02:00
Alan Plum 9d3a1dc453 Less noise. 2015-06-03 21:06:59 +02:00
Alan Plum 84950f47fc Removed BaseMiddleware#stringRepresentation. Let's see if this breaks stuff. 2015-06-03 20:23:42 +02:00
Alan Plum abee6392c2 Removed vestigial instanceof check. 2015-06-03 20:23:42 +02:00
Alan Plum d3f8c5dbd7 Fixed instanceof checks. 2015-06-03 20:23:42 +02:00