1
0
Fork 0
Commit Graph

3523 Commits

Author SHA1 Message Date
Frank Celler 2e2600311a added aliases 2015-09-16 16:05:18 +02:00
Frank Celler c892174c6a added nightly 2015-09-16 15:14:34 +02:00
Jan Steemann c5c51f14da added tests for syncCollection 2015-09-16 11:40:57 +02:00
Jan Steemann a1dc321516 added more compaction tests 2015-09-16 11:39:41 +02:00
Jan Steemann a1a87c0c34 jslint 2015-09-15 14:23:26 +02:00
Jan Steemann dc7ac83354 incremental sync fixes 2015-09-15 14:20:08 +02:00
CoDEmanX f13c2f1fce Alternative DATE_FORMAT() implementation 2015-09-15 11:43:57 +02:00
Jan Steemann d2d3594351 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-09-14 17:45:09 +02:00
Jan Steemann 75ccd7e2cc fixed incremental sync method 2015-09-14 17:44:12 +02:00
Frank Celler b7bc8526d5 added engine match to available in FoxxManager 2015-09-14 16:52:05 +02:00
Jan Steemann 0c77b4fbe1 fixed tests 2015-09-14 11:55:39 +02:00
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 5810095d24 adjusted tests 2015-09-11 12:01:35 +02:00
Jan Steemann 7f3cb7fc2c fixed tests 2015-09-11 10:20:18 +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
Willi Goesgens a9ade74e87 Upgrade swagger. 2015-09-09 09:29:45 +02:00
Jan Steemann 79a34e94e6 jslint 2015-09-08 17:39:01 +02:00
Jan Steemann a7b51c39da added tests 2015-09-08 17:34:14 +02:00
Michael Hackstein fdde6a69c6 Added failure tests for new implementation of HashIndex. And fixed a memleak there. 2015-09-08 15:35:21 +02:00
Michael Hackstein 9cbbd7dd0f Fixed wrong error reporting in Graph functions 2015-09-08 15:30:32 +02:00
Jan Steemann 560a039f3e added tests 2015-09-08 14:22:23 +02:00
Jan Steemann 3e7f4b61ea added test 2015-09-07 20:54:51 +02:00
Jan Steemann 29d37eb346 added diagnosis functions 2015-09-07 20:48:42 +02:00
Jan Steemann 47360f4511 added tests 2015-09-04 14:21:31 +02:00
CoDEmanX 3a9648d78a More Americanization 2015-09-03 22:25:43 +02:00
Jan Steemann 2e617ac0cc Merge branch 'american-english' of https://github.com/CoDEmanX/ArangoDB into devel
Conflicts:
	arangod/Wal/Slots.cpp
	lib/Basics/debugging.cpp
	lib/Basics/files.cpp
2015-09-02 13:14:49 +02:00
Jan Steemann 0e802d6438 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-09-02 10:20:18 +02:00
Jan Steemann a80d6635ab create fat datafiles
This prevents SIGBUS when a sparse datafile is accessed and the disk is full. In
this case the mmapped region is not necessarily backed by physical memory, and
accessing the memory may crash the program
2015-09-02 10:18:24 +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
Michael Hackstein 25a52dac53 Disabled test for cluster mode for now 2015-09-01 10:06:26 +02:00
Alan Plum 6b3e08456b Handle ArangoCollection in aqlQuery templates. 2015-08-31 18:16:23 +02:00
Jan Steemann 1867d6c4de added template string generator function `aqlQuery` for generating AQL queries
This can be used to generate safe AQL queries with JavaScript parameter
variables or expressions easily:

    var name = 'test';
    var attributeName = '_key';
    var query = aqlQuery`FOR u IN users FILTER u.name == ${name} RETURN u.${attributeName}`;
    db._query(query);
2015-08-30 22:32:26 +02:00
Willi Goesgens 34e8a8fc9f debug printing for misterious ignore of skip 2015-08-26 15:39:02 +02:00
Michael Hackstein 4effa2291e Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing 2015-08-26 10:41:27 +02:00
Willi Goesgens 7b081fb6f3 print usefull error if we fail to start procdump. 2015-08-25 17:14:44 +02:00
Michael Hackstein 40c1361244 Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing 2015-08-25 16:40:31 +02:00
Jan Steemann 1af238a6d5 added tests for requireFromIncluded 2015-08-25 12:50:58 +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
Jan Steemann 31a6547d4c fix replication resumption 2015-08-21 15:57:24 +02:00
Michael Hackstein c26be36e61 Added tests for Sparse indexes 2015-08-21 15:04:01 +02:00
Michael Hackstein a2d26056b2 Added a test file for array indexing 2015-08-20 15:48:11 +02:00
Jan Steemann bc7e0f7bbd issue #1445: Object literal simplificatin does not support pseudo-variables NEW and OLD 2015-08-19 09:25:46 +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 580066fe8a Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-08-18 13:12:49 +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 76e85ffc1f added test case 2015-08-18 12:09:30 +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
Jan Steemann e1bdca6997 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-13 15:48:57 +02:00
Willi Goesgens 662b3e76c7 Unify the usage of docublocks for the foxx-queues 2015-08-13 15:44:38 +02:00
Jan Steemann 9f9a158419 do not execute OOM tests in cluster case, where they cannot fire 2015-08-13 15:38:01 +02:00
Jan Steemann 5b82096145 honor indexBuckets attribute in restore operation of collection 2015-08-13 15:37:32 +02:00
Jan Steemann 6845321737 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
Conflicts:
	js/server/tests/shell-foxx-manager-spec.js
2015-08-13 13:21:55 +02:00
Jan Steemann 1aeca516f2 fix jslint 2015-08-13 13:18:02 +02:00
Willi Goesgens b322ede0f7 lintit 2015-08-13 13:11:56 +02:00
Jan Steemann 743d3914d3 enough is enough: disable failing test until properly fixed 2015-08-13 12:41:37 +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
Jan Steemann 68465ebba5 Merge branch 'collection-not-loaded' of https://github.com/arangodb/arangodb into devel
Conflicts:
	js/apps/system/_admin/aardvark/APP/frontend/build/app.js.gz
	js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js
	js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js.gz
	js/apps/system/_admin/aardvark/APP/frontend/build/scripts.html.part
	js/apps/system/_admin/aardvark/APP/frontend/build/standalone-min.html
	js/apps/system/_admin/aardvark/APP/frontend/build/standalone-min.html.gz
	js/apps/system/_admin/aardvark/APP/frontend/build/standalone.html
2015-08-11 14:16:12 +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
Jan Steemann 434d6167db added configuration option `--database.throw-collection-not-loaded-error` 2015-08-11 12:31:42 +02:00
Michael Hackstein 675766490b Fixed a failure test that was not deterministic 2015-08-07 14:56:57 +02:00
Alan Plum fa552c3a52 Removed stray type option from session tests. 2015-08-05 14:07:14 +02:00
Willi Goesgens b4675448c2 remove stray test of removed foxx-feature. 2015-08-05 09:48:08 +02:00
Willi Goesgens f44d246a34 Lintify. 2015-08-05 09:19:10 +02:00
Alan Plum 9f31b0eb57 Removed session opts.type from test. 2015-08-04 21:13:21 +02:00
Alan Plum f6a01f3e67 Removed session opts.type. 2015-08-04 21:12:09 +02:00
Alan Plum 2a17f87e38 Removed Foxx JWT tests. 2015-08-04 21:08:22 +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
Jan Steemann b591706484 fixed locking 2015-08-04 15:42:39 +02:00
Jan Steemann f89af3f6f4 adjusted tests for indexBuckets 2015-08-04 14:02:04 +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 7a3d49be88 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-04 10:30:28 +02:00
Jan Steemann 5dab23a3b7 CXX implementation of AQL `LIKE` 2015-08-04 10:30:18 +02:00
Max Neunhoeffer edfc933eb5 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-08-04 09:33:39 +02:00
Max Neunhoeffer 88518dd4ba Fix tests for new ClusterInfo: call ClusterInfo::flush after test. 2015-08-04 09:33:19 +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 72fefa71fc 400 -> 422 2015-07-30 19:00:25 +02:00
Alan Plum 668f78c4af BadRequest -> UnprocessableEntity. Fixes #1420. 2015-07-30 18:28:06 +02:00
Jan Steemann 81f0935662 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-30 09:36:03 +02:00
Jan Steemann dc68b78bb6 improve error message output for Foxx 2015-07-30 09:31:22 +02:00
Jan Steemann 2d8777bc6c make the optimizer create less plans 2015-07-30 00:07:32 +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
Michael Hackstein 25f7b25206 Fixed failing failure-tests 2015-07-28 13:21:54 +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 dbb740a705 activate distinct test 2015-07-24 13:41:01 +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
Jan Steemann ead280afe5 added DISTINCT 2015-07-24 13:19:55 +02:00
Frank Celler f96ab73745 Merge branch 'dispatcher' of github.com:arangodb/arangodb into devel 2015-07-24 11:32:22 +02:00
Michael Hackstein 9cc0554346 Merge branch 'fasterNeighbors' into devel 2015-07-24 10:25:00 +02:00
Michael Hackstein 488baac515 Fixed ordering in a aql-general-graph test 2015-07-23 17:19:59 +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
Michael Hackstein 84174aa99a Added edgeExamples functionality to CPPonly Neighbors. 2015-07-23 15:25:50 +02:00
Jan Steemann e5dbf725b2 added shorthand notation for attribute names in AQL object literals 2015-07-23 14:24:37 +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 4d0872f2b9 more cxx 2015-07-20 18:42:02 +02:00
Jan Steemann 118fd54fd0 split tests 2015-07-20 10:58:43 +02:00
Jan Steemann 1bd48bb606 rollback pseudo-optimization because of its side-effects 2015-07-15 09:48:48 +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 aecbf56745 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-07-14 14:53:55 +02:00
Jan Steemann ad30baa08c retry qcache with cluster 2015-07-14 14:53:16 +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 c4e2c8f894 renamed test 2015-07-14 14:07:25 +02:00
Jan Steemann 6306913010 AQL initialization at V8 context setup 2015-07-14 12:39:27 +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
Willi Goesgens 3da5855d6a Fix wait loop for file to dissappear 2015-07-03 16:16:05 +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