1
0
Fork 0
Commit Graph

8568 Commits

Author SHA1 Message Date
Jan Steemann a8855908f6 less copying 2015-04-30 18:36:17 +02:00
Willi Goesgens c0905812a9 remove debug print 2015-04-29 17:44:56 +02:00
Alan Plum bf7c66cfa4 Rebuilt aardvark. 2015-04-29 16:05:00 +02:00
Alan Plum fa24c0d229 Implemented dependencies configuring. 2015-04-29 15:59:51 +02:00
Alan Plum e4b872534e Rebuilt aardvark. 2015-04-29 15:59:51 +02:00
Alan Plum c16388024f Indicate app problems more clearly. 2015-04-29 15:59:20 +02:00
Alan Plum 18a11a72d4 More partial implementating Foxx deps in GUI. 2015-04-29 15:59:20 +02:00
Alan Plum 00f36b07a5 Expose deps on Aardvark API and add cfg and deps to listJson. 2015-04-29 15:57:58 +02:00
Alan Plum 5289e9911f Set default value for app deps. 2015-04-29 15:57:58 +02:00
Alan Plum 89216506b8 Don't try to output swagger docs for fake app routes. 2015-04-29 15:57:58 +02:00
Jan Steemann beb2506bec add subquery tests 2015-04-29 11:32:14 +02:00
Michael Hackstein 7758250f2b Fixed some leftovers of new parameter documentation in GRAPH_SHORTEST_PATH. Should now be consistent again. #1321 2015-04-28 19:10:52 +00:00
Jan Steemann bb3316bf5b issue #1322: strange AQL result
This fixes a problem with unique skiplist indexes declared on multiple attributes
that were queried with an equality condition on only a prefix (e.g. a single
attribute only)
2015-04-28 09:41:03 +02:00
Jan Steemann 128b29c8d2 cxxified more functions 2015-04-28 09:29:09 +02:00
Jan Steemann 717df15a9c cxxified more AQL functions 2015-04-27 22:12:11 +02:00
Michael Hackstein a045cce27a Improved line width and time is always tp precission 3. 2015-04-27 11:58:33 -07:00
Michael Hackstein 997248d6d0 Added print of Top 1 list 2015-04-27 11:48:15 -07:00
Michael Hackstein efac24f464 Fixed size for airports 2015-04-27 11:42:13 -07:00
Michael Hackstein 86a1bde674 Printed the query information for shortest path 2015-04-27 11:30:38 -07:00
Michael Hackstein 828bc0000d Added shortest path to the demo interface 2015-04-27 09:30:20 -07:00
Jan Steemann 2fe04b4c5b added generated files 2015-04-27 17:44:00 +02:00
Willi Goesgens 57e361a74b Adust documentation snipets
- they now node when they expect to throw an exception, so all exceptions else thrown are real bugs
  - bugs some snippets fixed
  - some snippets now do a proper setup & teardown
2015-04-27 17:12:35 +02:00
Willi Goesgens 2973ca3a87 - fix detecing empty / undefined detection
- add proper here document wrappers, so curl commands work properly.
2015-04-27 17:08:46 +02:00
Jan Steemann 96fdbe91dc issue #1318: Inconsistent db._create() syntax 2015-04-27 10:51:22 +02:00
Michael Hackstein 7f3a9fbcae Included the CPP Shortest path into AQL. Only under certain conditions 2015-04-26 22:17:23 -07:00
Michael Hackstein 9c40c69c72 Final fixed for YC demo 2015-04-26 22:15:53 -07:00
Michael Hackstein 90dbd678bb Added generated files 2015-04-26 17:33:21 -07:00
Michael Hackstein 346048cb4d Added shortest path call in Demo and improved style for flight distribution 2015-04-26 17:32:58 -07:00
Claudius Weinberger 67b348c7d6 Added definition for demo overlay window 2015-04-26 16:58:20 -07:00
Michael Hackstein e0018d6895 Added fixes for the flights demo 2015-04-26 15:08:37 -07:00
Max Neunhoeffer cbd61804df Add some graph generators and a CSV_exporter. 2015-04-25 21:46:23 -07:00
Willi Goesgens fa1b2fee60 Lintify. 2015-04-24 13:44:57 +02:00
Willi Goesgens 25c6745d13 Add switch to disable noisy config tests 2015-04-24 11:54:59 +02:00
Heiko Kernbach 9d6e5d243f appstore css change, removed demo css import (because file is missing), runned grunt task, added grunt changes 2015-04-24 11:26:05 +02:00
Jan Steemann 6dd12e423e fixed jslint warnings 2015-04-24 10:32:11 +02:00
Michael Hackstein 076cc24e3c Documentation update for graph traversal 2015-04-24 00:02:00 -07:00
Jan Steemann 260554cb35 added encoding tests 2015-04-24 00:10:05 +02:00
Jan Steemann 40ed49ebfa fast path for MERGE() 2015-04-23 13:45:31 +02:00
Jan Steemann 1283d43608 simplification for comments parsing 2015-04-22 14:17:18 +02:00
Jan Steemann 224b33cc75 moved UNSET() and KEEP() to cxx implementation 2015-04-22 13:21:05 +02:00
Willi Goesgens e5be9353d0 Fix file copying for after crash. 2015-04-21 17:38:47 +02:00
Willi Goesgens f7175f6652 Add way to fake the foxx github store structure for faster unittests. 2015-04-21 17:23:56 +02:00
Jan Steemann d10e79c500 updated documentation 2015-04-21 16:08:22 +02:00
Jan Steemann 90610ccb3c fixed typos in tests 2015-04-21 14:45:36 +02:00
Jan Steemann 974b656c1b allow overriding COLLECT method 2015-04-21 14:45:22 +02:00
Heiko Kernbach 0f4644e91c first version for airport sizes bases on their count 2015-04-20 22:27:06 +02:00
Heiko Kernbach f7dc457292 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-20 18:36:55 +02:00
Heiko Kernbach 02dfdc372a demoview 2015-04-20 18:36:47 +02:00
Jan Steemann e774866f4b decrease the default size of some system collections 2015-04-20 18:17:04 +02:00
Jan Steemann f0fdf3aacc fixed tests 2015-04-20 18:15:33 +02:00
Heiko Kernbach 7529136f86 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-20 17:58:22 +02:00
Heiko Kernbach 54344de7ae cleanup, added some functions 2015-04-20 17:58:14 +02:00
Jan Steemann ad2e80d334 fixed graph examples 2015-04-20 17:29:24 +02:00
Jan Steemann 10b3ffb877 fixed graph examples 2015-04-20 16:51:16 +02:00
Jan Steemann c3b4e32571 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-20 16:10:38 +02:00
Jan Steemann 6c66320de8 fixed broken examples 2015-04-20 16:10:04 +02:00
Heiko Kernbach 3153f642f5 added gruntfile changes 2015-04-20 15:15:52 +02:00
Heiko Kernbach 154daee994 added _key attribute to index 2015-04-20 15:14:55 +02:00
Heiko Kernbach a34e27a7b3 demo view: added fulltext search for airports 2015-04-20 15:11:26 +02:00
Heiko Kernbach f7ef0e4317 added index for fulltext search 2015-04-20 14:49:44 +02:00
Heiko Kernbach 3dd4ec02fb jslint 2015-04-20 13:52:48 +02:00
Heiko Kernbach 933a19130a changed some styling 2015-04-20 13:29:34 +02:00
Heiko Kernbach 0ffac810d4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-20 12:20:58 +02:00
Heiko Kernbach 8fca525adf added function to change size and color of existing airports 2015-04-20 12:20:49 +02:00
Jan Steemann 61499432b7 do not remove constant sorts when creating plans, but during optimization phase
less utf8 comparisons
2015-04-20 11:32:29 +02:00
Claudius Weinberger a27953cf3b Design modifications Demo 2015-04-19 23:37:39 -07:00
Claudius Weinberger 241876b06c Design modifications Demo 2015-04-19 13:53:09 -07:00
Claudius Weinberger 16ac988ad3 Design modifications Demo 2015-04-19 13:51:16 -07:00
Heiko Kernbach c01e828dc9 added click event function for map object 2015-04-19 22:48:23 +02:00
Heiko Kernbach 604f859f27 some refactoring 2015-04-19 21:23:38 +02:00
Heiko Kernbach 237f997547 typo 2015-04-19 13:32:56 +02:00
Heiko Kernbach 34bdfb86d7 multiple flightlines, remove lines, code cleanup 2015-04-19 13:27:55 +02:00
Heiko Kernbach b33f963667 fixed typo 2015-04-19 12:12:42 +02:00
Claudius Weinberger 5f5b48bd0f Design modifications Demo 2015-04-19 02:10:23 -07:00
Claudius Weinberger b717045a21 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2015-04-18 23:38:54 -07:00
Claudius Weinberger 2d534ba840 Change airport mouseover 2015-04-18 23:36:08 -07:00
Michael Hackstein 132ca70f4c Apply fixes to demo 2015-04-18 23:31:43 -07:00
Michael Hackstein f19c9b1593 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-18 23:18:56 -07:00
Michael Hackstein 546393937e Added a function to get all flights from SFO 2015-04-18 23:17:15 -07:00
Claudius Weinberger cf512ba437 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2015-04-18 23:16:14 -07:00
Claudius Weinberger fe0f273cfd Design modification Demo 2015-04-18 23:13:12 -07:00
Michael Hackstein d6e3bb6790 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-18 21:15:47 -07:00
Michael Hackstein 3c8ad99245 Enforced a timeout for the web interface version check 2015-04-18 21:15:22 -07:00
Alan Plum 89ef7605fe Linting. 2015-04-18 12:41:15 +02:00
Alan Plum fe281e2699 Updated AQB to 1.10.0. 2015-04-18 11:42:15 +02:00
Michael Hackstein 13491efc04 Improved zoomlevel in demo view 2015-04-17 23:25:05 -07:00
Michael Hackstein 37a51856d4 Added function to draw a flight 2015-04-17 22:11:44 -07:00
Michael Hackstein ae4f58f81e Only request Lon,Lat and _key for Aiports and add them on the Map. Drawing lines aint working yet 2015-04-17 21:37:15 -07:00
Michael Hackstein e3180cdad5 The demo view now zooms into the US. Only flights from there are available 2015-04-17 16:53:56 -07:00
Heiko Kernbach 6fa0f64719 dummy test date 2015-04-17 20:24:56 +02:00
Heiko Kernbach 3052d20e03 render demo view 2015-04-17 19:35:44 +02:00
Heiko Kernbach 5e29529729 initial commit and prep for demonstration view 2015-04-17 19:11:22 +02:00
Jan Steemann d9add3a493 fixed collect in cluster 2015-04-16 21:10:48 +02:00
Jan Steemann c88109679d added tests for collect methods 2015-04-16 19:20:23 +02:00
Jan Steemann 528ec17bcd Merge branch 'devel' of https://github.com/arangodb/arangodb into hash-collect
Conflicts:
	arangod/FulltextIndex/fulltext-handles.cpp
2015-04-16 19:06:21 +02:00
Jan Steemann db4bbf6931 removed superfluous parameters 2015-04-16 16:29:56 +02:00
Jan Steemann 9f2643acaa show type of collect method in explain 2015-04-16 16:29:36 +02:00
Jan Steemann d3569d5c77 adjusted failure code names 2015-04-16 00:28:41 +02:00
Jan Steemann ff6e56d89c adjusted some tests 2015-04-15 23:45:07 +02:00
Alan Plum 0f475dc099 Lint. 2015-04-15 19:54:22 +02:00
Alan Plum af9abcbc1d Added 'tests' command to foxx-manager. 2015-04-15 18:18:24 +02:00
Alan Plum abb3d3bda2 More idiomatic Foxx app template. 2015-04-15 18:18:24 +02:00
Jan Steemann 5f5b11f422 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-15 14:00:54 +02:00
Jan Steemann 61c42e0ee2 fix relative URL redirects in internal.download() 2015-04-15 14:00:35 +02:00
Alan Plum 1be7717f0a Added chai support. 2015-04-15 13:04:49 +02:00
Jan Steemann 7b933f7d4f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-15 12:33:42 +02:00
Jan Steemann 7e0597f215 fixed cursor output in browser shell 2015-04-15 12:00:35 +02:00
Willi Goesgens 2982994444 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-15 10:22:24 +02:00
Willi Goesgens feda1119b4 We can simplify extra arguments now that we work with objects for argv all over the place. 2015-04-15 10:21:32 +02:00
Jan Steemann 19471fcec4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-14 19:26:54 +02:00
Alan Plum 3a15e749d1 Automatically show/hide scripts dropdown. 2015-04-14 19:19:30 +02:00
Jan Steemann 322b3f9c6d issue #1231: bug xor feature in AQL: LENGTH(null) == 4
This changes the behavior of the AQL `LENGTH` function as follows:

- if the single argument to `LENGTH()` is `null`, then the result will now be `0`. In previous
  versions of ArangoDB, the result of `LENGTH(null)` was `4`.

- if the single argument to `LENGTH()` is `true`, then the result will now be `1`. In previous
  versions of ArangoDB, the result of `LENGTH(true)` was `4`.

- if the single argument to `LENGTH()` is `false`, then the result will now be `0`. In previous
  versions of ArangoDB, the result of `LENGTH(false)` was `5`.

The results of `LENGTH()` with string, numeric, array object argument values do not change.
2015-04-14 19:03:29 +02:00
Alan Plum c6b72d01e1 Rebuilt aardvark again. Removed indent on test GUI stacktraces. 2015-04-14 18:54:24 +02:00
Alan Plum 2f3bf9ed82 Rebuilt aardvark. 2015-04-14 18:44:48 +02:00
Alan Plum 7c4a3daeea Implemented aardvark test GUI. 2015-04-14 18:44:37 +02:00
Alan Plum 281fbf1fcb Saner manifest handling.
Controllers and tests are coerced into an object/array on parse instead of on demand.
Removed unnecessary function.
2015-04-14 18:31:12 +02:00
Alan Plum 4e5d097f1a Linting. 2015-04-14 18:31:12 +02:00
Willi Goesgens 950e05787b Instead of zip'ing for move, copy recursive & remove original. 2015-04-14 18:30:03 +02:00
Willi Goesgens 6450d2a3b2 We have to detect for 'undefined' rather then empty string in the dev-AppPath 2015-04-14 17:17:52 +02:00
Willi Goesgens 6579eefc33 Add function that can copy files recursive. 2015-04-14 14:46:17 +02:00
Alan Plum decbc6dcea Fully implemented tests API. 2015-04-14 13:39:06 +02:00
Alan Plum 044669cdac Hardcore stubbing action. 2015-04-14 13:39:06 +02:00
Alan Plum 3dcb0f52e5 Reconstructed stubs. 2015-04-14 13:39:05 +02:00
Max Neunhoeffer f34a009885 Do not execute a time critical test on cluster tests. 2015-04-14 09:06:47 +02:00
Willi Goesgens 25c99c5365 - fix off by one in logfile parsing
- if we already have an exit status, the server is already dead.
2015-04-13 17:02:11 +02:00
Jan Steemann 1fce9850b5 return to original database instead of hard-coded _system database 2015-04-13 16:54:50 +02:00
Jan Steemann 7c393dec44 fixed assertion error on shutdown 2015-04-13 16:24:19 +02:00
Jan Steemann d7e4c6fd4c fixed test that failed in cluster
Conflicts:
	js/server/tests/shell-foxx-model.js
2015-04-13 15:33:29 +02:00
Jan Steemann a17d2d2e0e added generated file 2015-04-13 13:41:57 +02:00
Jan Steemann 60bad2ebd6 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-13 13:41:23 +02:00
Jan Steemann e8186a6ded issue #1308: ArangoDB Foxx Install via ZIP Frontend 2015-04-13 13:41:05 +02:00
Max Neunhoeffer 8a999c8cc1 Merge branch 'devel' of ssh://github.com/arangodb/arangodb into devel 2015-04-13 13:04:50 +02:00
Willi Goesgens 19eb79dd4d On windows also copy the pdb files on core exit 2015-04-13 12:17:08 +02:00
Max Neunhoeffer 1c9d348e0f Do not do waitForSync in upgrade-database.js. 2015-04-13 12:07:34 +02:00
Max Neunhoeffer 900cc84204 Only allow bootstrapDbServers action on coordinators. Only allow POST. 2015-04-13 12:01:25 +02:00
Max Neunhoeffer 0179922eb0 Create _configuration collection only at startup and no longer on the fly.
This gets rid of a race condition on coordinators.
2015-04-13 11:58:21 +02:00
Max Neunhoeffer 358714599a Do not initialise statistics collections on each coordinator. 2015-04-13 11:57:58 +02:00
Alan Plum 448e496df6 Don't load the foxx too early. 2015-04-10 11:58:15 +02:00
Alan Plum e0b21f6823 Revert "Create default queue in setup, not on module load."
This reverts commit 6c391827c707216a10183ea3b40ac58f7030b428.
2015-04-10 11:50:27 +02:00
Alan Plum a94b333a26 Create default queue in setup, not on module load. 2015-04-10 10:57:17 +02:00
Alan Plum f108ecd86b Linting. 2015-04-10 10:19:57 +02:00
Alan Plum 4ff33f6f4d Updated deps. 2015-04-10 00:36:13 +02:00
Alan Plum 501f5a3f51 Removed unused modules. 2015-04-10 00:33:47 +02:00
Alan Plum 3c089a6d50 Added minimatch for globbing. 2015-04-09 23:24:44 +02:00
Alan Plum 5deadef133 appCollection what? 2015-04-09 22:49:08 +02:00
Alan Plum c5cca6dccf More strict. 2015-04-09 22:47:45 +02:00
Alan Plum 63f65f7907 Added rudimentary support for Foxx dependencies.
The manifest parsing / configuration aspect of dependencies is missing,
but dependencies defined in the _apps collection (via options.dependencies)
will be resolved correctly.

Also, setup scripts for non-system apps are delayed
until system apps setup scripts have been executed.
Ideally, `requireApp` should ensure the setup scripts for the app-to-require
have already been executed (to support using dependencies in setup scripts).

We'll also probably want to run "startup" scripts instead of "setup" scripts
and reserve setup scripts for upgrades and installs.

We also still need a way to run Foxx app code in each thread on startup
in addition to the (necessarily) one-thread-only "startup" script.
2015-04-09 20:05:18 +02:00
Alan Plum b02fb586aa More beautiful console.trace. 2015-04-09 20:04:13 +02:00
Alan Plum 96bc36499f No need to emit. 2015-04-09 17:30:41 +02:00
Alan Plum 69e63c2c64 Strict mode all the things. 2015-04-09 00:22:05 +02:00
Alan Plum e8ba1a1332 Even more strictness. 2015-04-08 17:12:34 +02:00
Alan Plum 45ff33b404 More strictness. 2015-04-08 16:18:11 +02:00
Alan Plum 30adf407f0 Cleaned up FoxxManager install tests. 2015-04-08 14:23:02 +02:00
Alan Plum 4f51343100 Fixed Foxx installer errors. 2015-04-08 14:19:38 +02:00
Max Neunhoeffer 19b14bd98c Move loading of db:// modules later in the search.
Collection lookups are painfully slow on a coordinator if they fail,
because the cache has to be reloaded from the Agency. Therefore we
only want to load modules from there after all other local methods
have been tried.
2015-04-08 13:16:34 +02:00
Alan Plum f8cfcbdbd6 Use ArangoError in module loader. 2015-04-08 13:16:12 +02:00
Alan Plum 83b1b4596a Added module loader errors. 2015-04-08 13:12:43 +02:00
Alan Plum ecbc6f581f Merge pull request #1287 from arangodb/vulpine-grace
Foxx improvements (fixes #1284, #1257)
2015-04-08 03:23:55 +02:00
Alan Plum e4a2e5ddde Rebuilt aardvark. 2015-04-08 01:55:13 +02:00
Alan Plum 20fdb71e9c Exposed some tests. 2015-04-08 01:54:31 +02:00
Alan Plum 064599d1a5 Code style. 2015-04-08 01:53:09 +02:00
Alan Plum 4dcdb1cde9 Fixed relative requires in apps. Also fixes #887. 2015-04-08 01:49:27 +02:00
Alan Plum eb255f73ed Use ArangoError in Module#run. 2015-04-07 23:33:23 +02:00
Alan Plum 5bc058d247 Removed unused code. 2015-04-07 20:06:43 +02:00
Alan Plum 8133bd4c6a Linting 2015-04-07 20:04:59 +02:00
Alan Plum 8e94402b43 Fixed session errors. 2015-04-07 19:58:58 +02:00
Alan Plum f47c4a4572 Allow running tests. 2015-04-07 19:58:24 +02:00
Alan Plum c0bc47165b Added more stubs. 2015-04-07 19:55:58 +02:00
Alan Plum efe7dba4c1 Workaround for internal.sprintf not handling dates properly. 2015-04-07 19:55:45 +02:00
Alan Plum 3b48230976 More stubs. 2015-04-07 19:55:01 +02:00
Alan Plum 211d6f3987 Lunt. 2015-04-07 17:41:04 +02:00
Alan Plum df23003452 Extracted Module#run. 2015-04-07 17:34:32 +02:00
Alan Plum b707f690b2 Removed unused method ArangoApp#getAppContext. 2015-04-07 13:12:40 +02:00
Alan Plum c7994a1b3c Added mocha. 2015-04-07 13:10:59 +02:00
Frank Celler de1a9fe833 added reload for DB modules 2015-04-05 14:02:34 +02:00
Jan Steemann 178e77bc5d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-04 19:44:41 +02:00
Jan Steemann 748107b291 changed behavior of `db._query()` in the ArangoShell:
if the command's result is printed in the shell, the first 10 results will be printed. Previously
only a basic description of the underlying query result cursor was printed. Additionally, if the
cursor result contains more than 10 results, the cursor is assigned to a global variable `more`,
which can be used to iterate over the cursor result.

Example:

    arangosh [_system]> db._query("FOR i IN 1..15 RETURN i")
    [object ArangoQueryCursor, count: 15, hasMore: true]

    [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10
    ]

    type 'more' to show more documents

    arangosh [_system]> more
    [object ArangoQueryCursor, count: 15, hasMore: false]

    [
      11,
      12,
      13,
      14,
      15
    ]
2015-04-04 19:42:55 +02:00
Frank Celler 992f4d0fbb fixed pipelining and close for polling 2015-04-04 19:09:36 +02:00
Jan Steemann bed9f44873 added missing files for web interface 2015-04-03 15:01:12 +02:00
Jan Steemann 37e0233d10 Revert "added missing files for JSH"
This reverts commit 99b80dd1e338ec122fea54e6af604f2310f1e080.
2015-04-03 14:57:52 +02:00
Jan Steemann 8b132ad60f added missing files for JSH 2015-04-03 14:57:12 +02:00
Alan Plum c23390360b Unbreak the build. 2015-04-02 01:49:00 +02:00
Alan Plum 8ffd5ddd1c Allow running arbitrary Foxx scripts. 2015-04-02 00:16:23 +02:00
Michael Hackstein 3c79b54330 Merge branch 'devel' of github.com:arangodb/arangodb into gos 2015-04-01 13:38:29 +02:00
Michael Hackstein e2fd4cdd65 Further improvements of graph queries. All queries should now be noticably faster. 2015-04-01 13:25:25 +02:00
Jan Steemann 33de89915c make graph viewer issue less expensive queries 2015-04-01 11:40:38 +02:00
Jan Steemann 6dfb4d4b09 Merge branch 'devel' of https://github.com/arangodb/arangodb into cursor-refactoring
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	lib/HttpServer/HttpHandler.cpp
	lib/HttpServer/HttpServerJob.h
2015-03-31 15:13:31 +02:00
Frank Celler ffbc45d2e2 new HttpServer & HttpCommTask
Conflicts:
	Makefile.in
	arangod/Aql/RestAqlHandler.cpp
	arangod/Aql/grammar.cpp
	arangod/Cluster/RestShardHandler.cpp
	lib/GeneralServer/GeneralServer.h
	lib/GeneralServer/GeneralServerDispatcher.h
	lib/HttpServer/HttpServerJob.h
	lib/HttpServer/HttpsCommTask.h
	lib/SimpleHttpClient/SslClientConnection.cpp
2015-03-31 09:12:01 +02:00
Jan Steemann e672d791b5 refactored cursor API, added export API 2015-03-30 18:03:42 +02:00
Jan Steemann 80a99ab23e refactored cursor API 2015-03-30 14:58:51 +02:00
Jan Steemann 3ddf23d093 hand-moved changes from other branch 2015-03-30 12:30:45 +02:00
Michael Hackstein a4e4abe3cd Improved several graph AQL functions by moving the logic into the visitor, reducing the amount of necessary loops thereby 2015-03-30 11:11:05 +02:00
Jan Steemann 3057cf7a74 added edge index iterator
Conflicts:
	arangod/Aql/ExecutionBlock.h
2015-03-27 17:24:47 +01:00
Jan Steemann 50b531666c optimization for AQL CONCAT()
Conflicts:
	arangod/Aql/AqlValue.cpp
	arangod/Aql/AqlValue.h
	arangod/Aql/Ast.cpp
2015-03-27 17:18:27 +01:00
Willi Goesgens 0690b4943f - Replace the javascript implementation of makeDirectoryRecursive by our native implementation
- fix the native implementation so it doesn't try to create driveletters as directories.
2015-03-26 17:23:57 +01:00
Willi Goesgens 2b04526729 Relax timeout for cluster startup. 2015-03-26 13:45:01 +01:00
Willi Goesgens ca95acc246 Switch commandline argument handling to the new object structure. 2015-03-26 13:44:29 +01:00
Jan Steemann ac7d084671 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-03-26 12:23:25 +01:00
Jan Steemann 7eb28dc201 fixed cluster test 2015-03-26 12:23:14 +01:00
Alan Plum 8b77637dd7 Allow non-fq file paths. 2015-03-26 12:22:13 +01:00
Alan Plum fbd3a411f2 Make sure WAL is flushed so we get ShapedJson back. 2015-03-25 19:04:20 +01:00
Alan Plum b1822be3ad Fixed Aardvark PATCH configuration. 2015-03-25 17:38:50 +01:00
Alan Plum d6d6914b9e Added Foxx.Repository#exists. 2015-03-25 17:19:44 +01:00
Jan Steemann 7ec3a18e04 added internal.options() 2015-03-25 17:08:29 +01:00
Jan Steemann 9703f04621 fixed wrong return value 2015-03-25 13:03:49 +01:00
Alan Plum 85254434ee More linting. 2015-03-25 13:01:30 +01:00
Jan Steemann f49eae6dd5 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-25 12:43:44 +01:00
Jan Steemann 2f58e4ea61 small cleanup 2015-03-25 12:42:44 +01:00
Alan Plum c7f9679085 Gotcha: underscore's template method changed in new version. 2015-03-25 11:32:10 +01:00
Alan Plum 8266fb8252 Linting. 2015-03-25 10:35:18 +01:00
Alan Plum eb30d2aad0 Less magic. 2015-03-25 10:35:18 +01:00
Alan Plum 03ccf67269 Implemented Repository lifecycle events. See #1257. 2015-03-25 10:35:18 +01:00
Alan Plum 02c9beab0c Support chaining in Foxx.Model#set. 2015-03-25 10:35:18 +01:00
Alan Plum 0620369a05 Saner schema handling for Foxx models. Fixes #1284. 2015-03-25 10:35:18 +01:00
Alan Plum 33086816a7 Linting. 2015-03-25 10:34:36 +01:00
Jan Steemann 479a66c441 added generated file 2015-03-25 08:58:02 +01:00
Jan Steemann a26c7c7f28 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-25 08:57:33 +01:00
Alan Plum d1fea9c05e Removed unused import. 2015-03-24 23:36:28 +01:00
Alan Plum ff1a9b26e3 Made ShapedJson#_PRINT non-enumerable. Fixes #1289 root cause. 2015-03-24 23:32:30 +01:00
Alan Plum 9afb093e84 Replace bundled backbone extend with npm dep. 2015-03-24 22:58:45 +01:00
Alan Plum e287a1ec7b Updated deps. 2015-03-24 21:51:05 +01:00
Alan Plum 3802085415 Fixed tests. 2015-03-24 21:41:21 +01:00
Alan Plum 202fbdb018 Even more exhaustive tests. 2015-03-24 21:38:27 +01:00
Alan Plum 3a957292fc Make sure _PRINT is gone entirely. 2015-03-24 21:29:42 +01:00
Alan Plum e8834a350a Fixed #1289. 2015-03-24 21:06:28 +01:00
Alan Plum 5e9beaeb5b Linting. 2015-03-24 21:05:11 +01:00
Jan Steemann 59053df10a issue #1285: allow bind parameter names starting with underscores 2015-03-24 18:43:53 +01:00
Jan Steemann d774236379 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-24 18:29:37 +01:00
Jan Steemann 0ceff3f1b0 added cluster tests 2015-03-24 18:28:55 +01:00
Alan Plum 4daf2e6401 Removed deprecated toJSONSchema static method. 2015-03-24 17:42:16 +01:00
Jan Steemann 7318d6754f added join test for cluster 2015-03-24 16:26:09 +01:00
Jan Steemann 01745402f3 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-24 14:34:20 +01:00
Jan Steemann a3c0612798 added cluster tests 2015-03-24 14:34:09 +01:00
Alan Plum d1a37cdc17 Fixed failing tests. 2015-03-24 13:33:42 +01:00
Alan Plum 13c3cb9a5e Updated joi to 6.0.8. 2015-03-24 13:33:42 +01:00
Alan Plum e7a7ae2abd Prepped deprecation of assets in 2.7/2.8. 2015-03-24 13:33:01 +01:00
Alan Plum 271d3946ec Moved manifest setup/teardown into scripts property. 2015-03-24 13:18:57 +01:00
Alan Plum 51fe2655c9 More vigilant manifest validation. 2015-03-24 13:18:57 +01:00
Alan Plum 1953f043c8 Linting. 2015-03-24 13:18:57 +01:00
Alan Plum 0a2e213c7a Updated joi. 2015-03-24 13:18:57 +01:00
Alan Plum 3f492b35b2 Allow Foxx controllers to be a single file. 2015-03-24 13:18:57 +01:00
Alan Plum 079b8c554b Validate manifest using joi. 2015-03-24 13:15:53 +01:00
Alan Plum ae02f7c4df Re-use manifest schema. 2015-03-24 13:15:53 +01:00
Alan Plum 598457f6a3 More cleanup. 2015-03-24 13:15:53 +01:00
Alan Plum bc5dd49e30 Readability. 2015-03-24 13:15:53 +01:00
Alan Plum c397b0a54d Cleanup. 2015-03-24 13:15:53 +01:00
Alan Plum 34eb3884ee for-in -> forEach. 2015-03-24 13:15:52 +01:00
Alan Plum 840405b670 Allow Foxx apps to export a single file. 2015-03-24 13:15:52 +01:00
Alan Plum eb8f5395df Allow Foxx exports to use as expected. 2015-03-24 13:15:52 +01:00
Alan Plum 99ca1cb41f Allow manifest validation types to be arrays. 2015-03-24 13:15:52 +01:00
Jan Steemann 95defabf05 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-24 11:12:05 +01:00
Jan Steemann 16348cd10c added tests 2015-03-24 11:11:55 +01:00
Willi Goesgens 3b773c0c49 Fix cluster arangob tests 2015-03-24 10:48:28 +01:00
Jan Steemann 66e2273482 added documentation for UPSERT 2015-03-24 00:44:52 +01:00
Jan Steemann cbee2c6466 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-23 22:28:58 +01:00
Jan Steemann 7d5cc17d98 added tests 2015-03-23 22:28:26 +01:00
Willi Goesgens ac141a4e14 options.test is always there - need to check whether its defined. 2015-03-23 18:45:46 +01:00
Jan Steemann c62c26e088 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-23 15:31:41 +01:00
Jan Steemann e3bf1c709c upsert blocks 2015-03-23 15:31:07 +01:00
Willi Goesgens 7b438b3968 lintify 2015-03-23 14:27:11 +01:00
Willi Goesgens 0988508e33 Add ability to pass through args to arangob 2015-03-23 14:25:37 +01:00
Willi Goesgens d8d0196b85 Add tests for the environment handling. 2015-03-23 11:18:20 +01:00
Frank Celler 3c52dcde6d changed _api/query to C++
Conflicts:
	CHANGELOG
	Makefile.in
	README
	arangod/RestServer/ArangoServer.cpp
2015-03-23 10:51:14 +01:00
Willi Goesgens 0d593de325 Add filter of testcases based on the --test parameter. 2015-03-23 10:44:42 +01:00
Jan Steemann cace25bd55 added generated file 2015-03-23 08:22:14 +01:00
Jan Steemann 3b6dfc868e Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-20 23:23:13 +01:00
Jan Steemann d63f47e840 added possibility to kill JS traversals 2015-03-20 23:05:41 +01:00
Jan Steemann 8e48f98045 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
Conflicts:
	arangod/Aql/Collection.cpp
	arangod/Aql/ExecutionBlock.cpp
2015-03-20 21:54:39 +01:00
Jan Steemann d512b5fa35 issue #1282: Geo WITHIN_RECTANGLE for nested lat/lng 2015-03-20 19:27:30 +01:00
Jan Steemann 29ea9f40ec added tests for attribute names and values containing specifically dollar signs 2015-03-20 12:28:38 +01:00
Jan Steemann 8004a7be02 added derived file 2015-03-20 12:07:48 +01:00
Jan Steemann e33517adf9 fixed jslint warning 2015-03-20 12:07:36 +01:00
Jan Steemann 4a215ccd6a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-03-20 11:58:24 +01:00
Willi Goesgens 108fccdbf7 Add environment variable to V8 wrapping. 2015-03-20 11:55:32 +01:00
Jan Steemann a1c348e7c6 added more tests for out-of-memory situations 2015-03-20 11:52:55 +01:00
Jan Steemann 1298bd40a8 added tests for out-of-memory situations 2015-03-20 08:54:15 +01:00
Jan Steemann 50c4682655 added more tests 2015-03-19 18:21:00 +01:00
Jan Steemann cf845bbe5e added test 2015-03-19 16:27:48 +01:00
Jan Steemann 7dc3fc3d5c safely create collections and databases 2015-03-19 15:56:12 +01:00
Jan Steemann bc592612d7 fixed jslint warnings 2015-03-18 17:58:28 +01:00
Jan Steemann bdae982aa0 refuse to start the server when collection files or parameter.json files are not readable
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
2015-03-18 17:44:06 +01:00
Jan Steemann a062280783 added test for empty datafiles 2015-03-18 17:37:28 +01:00
Willi Goesgens a95a496920 Add (unix) implementation for chmod 2015-03-18 13:41:26 +01:00
Jan Steemann 8aa9ef1f9c added derived file 2015-03-17 18:29:03 +01:00
Jan Steemann f04f1ef4cb fixed inefficiencies in `remove` method of general-graph module
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2015-03-17 18:28:26 +01:00
Jan Steemann 73b9b1c217 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-03-17 18:24:06 +01:00
Jan Steemann 6d37c96099 fixed spelling 2015-03-17 18:23:42 +01:00
Michael Hackstein 6d389c7bca Fixed a bug where an app installed from zip file is deleted by foxx manager. 2015-03-17 17:02:17 +01:00
Jan Steemann 6b24da1036 in the middle of refactoring 2015-03-17 09:08:25 +01:00
Jan Steemann 35fdc9a9c0 attempt to fix test 2015-03-17 08:30:07 +01:00
Jan Steemann 34e101725f fixed assertion 2015-03-16 17:28:54 +01:00
Michael Hackstein e942f6252d Merge branch 'devel' of github.com:arangodb/arangodb into devel
Conflicts:
	js/apps/system/_admin/aardvark/APP/test/specs/views/documentViewSpec.js
2015-03-16 15:04:37 +01:00
Michael Hackstein 371702ceca Proved Document view and its tests. Adapted router along-side. This shall catch the bug that it is not possible to store valid json containing colons 2015-03-16 15:01:26 +01:00
Heiko Kernbach 02923a91ee fixed spec 2015-03-16 11:28:19 +01:00
Heiko Kernbach f16aa58852 fixed docs save bug in front-end 2015-03-16 11:18:51 +01:00
Michael Hackstein 3c7aaf204c Made the foxx manager install spec more robust and added a test app containing 'app' as sub folder 2015-03-16 11:13:25 +01:00
Jan Steemann f59dca83d4 fixed warning 2015-03-16 10:40:55 +01:00
Jan Steemann e214a4d472 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-03-16 10:38:20 +01:00
Jan Steemann a336ac2ff5 make Foxx queues database-specific 2015-03-16 10:38:10 +01:00
Michael Hackstein bd2dde17da Fixed unittest for foxx. It still compated a generated token with the name of the parameter 2015-03-16 10:37:35 +01:00
Michael Hackstein 4543668a07 Fixed installing of Apps containing an internal app folder 2015-03-16 10:27:32 +01:00
Jan Steemann ce7b75064a fixed test 2015-03-14 20:49:35 +01:00
Jan Steemann d91cc3e9b3 added more tests 2015-03-14 20:49:22 +01:00
Jan Steemann 940968bd96 when specifying the same dispatcher IP address multiple times, try to create non-overlapping port ranges 2015-03-13 18:26:50 +01:00
Michael Hackstein 0dc6be351c Fixed tests for non overwriting version of swagger documentation 2015-03-13 14:16:11 +01:00
Jan Steemann ce0a543d25 added flag for disabling query tracking `--database.disable-query-tracking`
Conflicts:
	arangod/RestServer/ArangoServer.cpp

Conflicts:
	Documentation/Books/Users/ConfigureArango/Arangod.mdpp
	arangod/RestServer/ArangoServer.cpp
2015-03-13 13:51:23 +01:00
Michael Hackstein 2b59c4aaf8 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-13 11:26:07 +01:00
Michael Hackstein 7f7ae079f7 Fixxed an issue with the generated swagger documentation. Where it was not possible to have two body parameters with the same name but different content. Only one of them was used in the Documentation the other one was overwritten. Fixes and Closes #1271. 2015-03-13 11:26:02 +01:00
Heiko Kernbach a392fc6b0e added new query related files to karma tests 2015-03-13 10:34:38 +01:00
Michael Hackstein e314a6097c Fixed link to download API documentatioN 2015-03-13 09:44:34 +01:00
Michael Hackstein dec8a59073 Removed unused code 2015-03-13 09:44:02 +01:00
Michael Hackstein c1f463cdbb Fixed the upgrade script to maintain configuration of Apps 2015-03-13 08:55:38 +01:00
Michael Hackstein 63ef6ba1aa Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-12 17:48:01 +01:00
Michael Hackstein c3b350054b Fixed configuration of Foxx apps. It was not fully working in foxx manager 2015-03-12 17:47:56 +01:00
Heiko Kernbach 8a1e30b9d0 included 44fb5a554f1bbbf985724dbea92ed382f61a06be 2015-03-12 17:32:31 +01:00
Michael Hackstein 2f5818f5c3 The old configuration of an app is now maintained while issuing upgrade. It is thrown away while issuing replace 2015-03-12 17:26:39 +01:00
Heiko Kernbach 449e3f1a18 added query management view, kill running queries and show slow queries 2015-03-12 16:42:20 +01:00
Jan Steemann 29611a511f issue #1241: added configure option `allowNull` for visitor 2015-03-12 16:28:52 +01:00
Michael Hackstein 6e893826dc Further tests for api query analysis 2015-03-12 16:05:46 +01:00
Jan Steemann f035ea1c3b kill AQL queries
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
2015-03-12 15:00:14 +01:00
Jan Steemann e67c82c8a4 added JavaScript APIs for query tracking 2015-03-12 13:02:14 +01:00
Jan Steemann b98c4c2d5b added documentation, fixed potential UTF-8 truncation 2015-03-12 13:02:13 +01:00
Jan Steemann 64d77cbe24 added query tracking feature 2015-03-12 13:02:13 +01:00
Michael Hackstein 08933b3c93 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-11 17:50:02 +01:00
Michael Hackstein 5be310fc21 It is now possible to install Apps that are invalid if they are not configured correctly. If they get broken by configuration they are still routed and will display an errorpage. They also display an errorpage until configured. 2015-03-11 17:49:42 +01:00
Alan Plum 5b277891a6 Fixed fixture. 2015-03-11 16:58:39 +01:00
Alan Plum 644a2dc415 Added fixtures for Foxx config errors. 2015-03-11 16:57:04 +01:00
Willi Goesgens 019a2923fa Argparse:
- implement correct toArgv conversion for extraargs and valgrindargs.
2015-03-11 15:05:06 +01:00
Willi Goesgens a9d9b56992 Argsparser:
- fix parsing of sub-option arrays
  - add possibibility to serialize to '--longopt=value' instead of '--longopt' 'value'
2015-03-11 15:04:01 +01:00
Willi Goesgens e092e9d8fb Add option to skip loganalysis; if run in trace mode, the logs can become huge. 2015-03-11 14:11:49 +01:00
Michael Hackstein 0a8e15749a Fixed scss-lint 2015-03-11 13:47:02 +01:00
Jan Steemann a185409de0 fixed warning 2015-03-11 12:55:47 +01:00
Jan Steemann c4f17bb244 issue #1265: arangod crashed with SIGSEGV 2015-03-11 12:19:34 +01:00
Jan Steemann 37bb6d6732 issue #1241: fixed passing `data` attribute into GRAPH_NEIGHBORS() function 2015-03-11 10:22:27 +01:00
Michael Hackstein 6ff88839e9 Removed unnecessary throw 2015-03-10 16:03:57 +01:00
Michael Hackstein 3a8fee211f The Foxx Comment preprocessor now trimes strings properly 2015-03-10 15:22:16 +01:00
Michael Hackstein a2e1e70d0f Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-10 15:04:12 +01:00
Michael Hackstein aafd1feb9f Activated comments in Foxx Test 2015-03-10 15:04:07 +01:00
Michael Hackstein a3950cf8ba Improved testing js in combination with Jasmine 2015-03-10 15:03:50 +01:00
Jan Steemann e368044036 fixed "line too long" 2015-03-10 14:44:31 +01:00
Jan Steemann 349683fd38 fixed JSDoc comments parsing 2015-03-10 14:38:04 +01:00
gschwab 7431ca0e86 fixed encoding bug 2015-03-10 14:08:15 +01:00
Michael Hackstein d0a43227fb Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-10 14:00:43 +01:00
Michael Hackstein ba266d4a0f Added a test for crazy comments in foxx apps. Deactivated right now due to inconsitencies in testing framework 2015-03-10 13:53:14 +01:00
Jan Steemann d73ee0fbfe fix comment parsing in Foxx controllers 2015-03-10 12:08:37 +01:00
Heiko Kernbach 96ec4f3d7d larger modals for graph viewer 2015-03-10 11:43:55 +01:00
Michael Hackstein 21815a299d Added sharedlib 2015-03-10 11:39:23 +01:00
Michael Hackstein bb9d8d18a1 Fixed broken App path in web interface 2015-03-10 11:32:16 +01:00
Michael Hackstein 2713df2aef Fixed frontend test 2015-03-10 10:40:03 +01:00
Michael Hackstein 82d58ddb19 Changed default document of Aardvark app 2015-03-10 10:38:27 +01:00