1
0
Fork 0
Commit Graph

1168 Commits

Author SHA1 Message Date
Lucas Dohmen 2a382abffa applicationContext, not appContext 2013-08-06 16:38:19 +02:00
Lucas Dohmen f0a2aeef4a Foxx: Source Code Transformer is done 2013-08-06 16:13:50 +02:00
Lucas Dohmen 0f6009a3ba Foxx: Tear apart Foxx.Application 2013-08-05 20:10:28 +02:00
Lucas Dohmen b374054740 Foxx: Format Middleware is now optional 2013-08-05 17:05:32 +02:00
Lucas Dohmen ac3cedda34 Foxx: Separating Templates entirely (Step 2) 2013-08-05 16:13:52 +02:00
Lucas Dohmen c9b48f13cd Foxx: Separating Template Middleware from Base, Step 1 2013-08-05 16:13:51 +02:00
Lucas Dohmen b19d3c69fb Foxx: BaseMiddleware Tests pulled out 2013-08-05 16:13:51 +02:00
Lucas Dohmen b3dd4d7b59 Foxx: Model tests pulled out 2013-08-05 13:41:02 +02:00
Lucas Dohmen 6cef711a7b Foxx: Repository tests pulled out 2013-08-05 13:33:06 +02:00
Jan Steemann 5f1bfcf9cd documentation for replication 2013-08-02 15:28:30 +02:00
Jan Steemann 1fc1bb108d added replication client tests 2013-08-02 11:45:55 +02:00
Jan Steemann e86fff18e2 added chunkSize for replication-applier 2013-08-02 11:03:54 +02:00
Jan Steemann 9b6b6e669d added `totalEvents` for logger 2013-08-02 10:11:13 +02:00
Jan Steemann d8690e5fa6 make collection revision id a real revision id 2013-08-02 09:37:46 +02:00
Jan Steemann a7c5350455 added server-id method 2013-08-01 18:27:42 +02:00
Jan Steemann e739089280 extended tests 2013-08-01 17:57:24 +02:00
Jan Steemann f1418ec667 updated tests and docs 2013-08-01 16:53:29 +02:00
Jan Steemann 949c194653 updated replication configuration 2013-08-01 15:50:30 +02:00
Jan Steemann c2611f567a bugfixed cap constraint 2013-08-01 13:17:38 +02:00
Jan Steemann 48fbdb1b6a cap constraint for replication logger 2013-07-31 16:56:56 +02:00
Jan Steemann 936fb6c6a6 better progress reports for replication applier 2013-07-31 10:01:56 +02:00
Jan Steemann 461001efd2 split of initial and continuous sync, currently not working 2013-07-30 14:13:49 +02:00
Jan Steemann 002ebd48bc removed all replication conditionals 2013-07-30 13:16:37 +02:00
Jan Steemann 6b5900e8e0 updated replication api 2013-07-30 09:54:39 +02:00
Frank Celler f978730b25 fixed tests 2013-07-29 10:53:59 +02:00
Frank Celler 4658c91518 fixed tests 2013-07-28 20:33:41 +02:00
Jan Steemann ec6792e11e added authentication 2013-07-28 16:02:21 +02:00
Jan Steemann 70e71e2cad fixed foxx test 2013-07-27 17:29:51 +02:00
Frank Celler ebce19f792 merged 2013-07-26 22:52:52 +02:00
Frank Celler f5016a2ce9 cleanup 2013-07-26 22:46:53 +02:00
Jan Steemann 44d6aecef1 options 2013-07-26 20:05:55 +02:00
Jan Steemann 94051a74c3 return error code from foxx-manager 2013-07-26 14:58:03 +02:00
Jan Steemann aa9209b888 fixed thumbnails 2013-07-26 14:46:33 +02:00
Jan Steemann 4dfdb13d4d improved tabular output 2013-07-26 13:03:59 +02:00
Jan Steemann b741209348 handle errors 2013-07-26 11:28:25 +02:00
Lucas Dohmen 8ec4887973 Foxx: No more nickname method – is set automatically
Happy hacking, @fceller, @mchacki and @jsteemann 😉
2013-07-25 22:27:10 +02:00
Lucas Dohmen 84a311fac6 Tiny renaming in test 2013-07-25 21:30:13 +02:00
Lucas Dohmen 42c06b765c Foxx: toJSON splitted into forDB and forClient 2013-07-25 21:28:42 +02:00
Frank Celler 62b61ab12a fixed tests 2013-07-25 18:48:31 +02:00
Frank Celler 709e09d04e added install command 2013-07-25 18:33:24 +02:00
Frank Celler 1b6dfad627 new name convention 2013-07-25 17:25:39 +02:00
Frank Celler 2a3ac8e32f Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-25 13:48:16 +02:00
Jan Steemann 3113fa30ee fixed jslint warnings 2013-07-25 11:38:07 +02:00
Jan Steemann 378e8313f3 added replication docs 2013-07-25 10:54:04 +02:00
Frank Celler 78809a5cc8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-25 10:05:17 +02:00
Jan Steemann 4f14062d10 replication tests 2013-07-24 15:22:45 +02:00
Jan Steemann 0adbe8410f log "rev" 2013-07-23 18:00:29 +02:00
Jan Steemann 5fe1844ee1 replication tests 2013-07-23 15:03:59 +02:00
Jan Steemann bf12b6ec5a fixed journalSize 2013-07-23 11:57:56 +02:00
Jan Steemann f49ae77bc5 include replication tests 2013-07-23 11:19:41 +02:00
Jan Steemann 6dfa6693c8 added test for first/last after reload 2013-07-23 08:59:31 +02:00
Frank Celler 97aa4f6597 cosmetics 2013-07-21 12:01:30 +02:00
Frank Celler 5aa74e9822 limit string on output 2013-07-21 10:17:51 +02:00
Jan Steemann 2a762ce1f7 replication logger tests 2013-07-19 17:22:06 +02:00
Jan Steemann 3ab117de67 added collection.first() and collection.last() 2013-07-19 14:21:46 +02:00
Jan Steemann 6d2daa05a3 test replication logger, initial commit 2013-07-19 11:28:17 +02:00
Jan Steemann e359dc29dd INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:

    RETURN mygroup:myfunc()

The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.

    { mygroup:myfunc ? mygroup:myfunc }

The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.

Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann 5cf234b40d simplified query testing and query interface a bit 2013-07-18 02:15:22 +02:00
Jan Steemann 08b9f57166 stoppable replication applier 2013-07-17 10:58:10 +02:00
Jan Steemann b5e26235a7 replication configuration 2013-07-12 17:37:24 +02:00
Jan Steemann 98dd1c2522 moved replication parts into separate files 2013-07-11 14:44:09 +02:00
Jan Steemann 3cc4405c18 added collection.checksum() 2013-07-10 11:10:00 +02:00
Jan Steemann c6ff61b159 added new error code 2013-07-09 12:33:10 +02:00
Jan Steemann 054ed3ca3f apply collection data dumps 2013-07-05 11:41:37 +02:00
Jan Steemann 230f0ddcc3 added errors 2013-07-04 15:51:24 +02:00
Jan Steemann f5968a4646 handle a master's state response 2013-07-04 10:13:09 +02:00
Jan Steemann fa69af4206 added wait time for rotate test 2013-07-03 16:42:58 +02:00
Jan Steemann 44c9ca4e90 issue #565, plus a few usability fixxes for aal.search() 2013-07-03 14:06:57 +02:00
Jan Steemann 9d2a016c5b make jslint happy 2013-07-01 15:50:51 +02:00
Lucas Dohmen 7e7a90753a Fixing the build (this time: Really)
Sorry, seems like I shouldn't code today 😊
2013-06-28 19:38:30 +02:00
Lucas Dohmen ccf56dd702 Fix the build 2013-06-28 18:34:26 +02:00
Lucas Dohmen 79a6772667 Code Review: Common Graph Module 2013-06-28 18:14:23 +02:00
Jan Steemann 4ed7ac6376 improved error messages 2013-06-27 14:49:33 +02:00
Jan Steemann f7fcd6119d added tests for special collections 2013-06-26 17:46:43 +02:00
Jan Steemann af39f069f5 added more tests for hash index queries 2013-06-26 16:50:52 +02:00
Jan Steemann 27bf4bb546 more tests 2013-06-24 17:04:32 +02:00
Jan Steemann adfd051c92 added test for unloading 2013-06-24 13:55:51 +02:00
Jan Steemann 93f7122099 added missing count() method for server-side cursor 2013-06-24 13:50:03 +02:00
Jan Steemann 5a9a13da8f fixed test, updated docs 2013-06-24 10:58:07 +02:00
Jan Steemann 4c88adc054 potential fix for issue #554 2013-06-24 10:46:13 +02:00
Jan Steemann 4e7a09c33f added one more test 2013-06-22 03:07:00 +02:00
Jan Steemann 654ea77f25 extended cap constraints with size constraints 2013-06-22 02:44:48 +02:00
Jan Steemann 2d7edbef96 added db._exists() 2013-06-21 21:50:00 +02:00
Jan Steemann c74c80d5ff allow bind parameters in db._query() 2013-06-21 17:13:51 +02:00
Jan Steemann cae82f27e4 added `/_api/current-database` 2013-06-21 10:25:15 +02:00
Jan Steemann e232e50bf6 fixed client-side test 2013-06-20 19:34:41 +02:00
Jan Steemann f06012ac65 added tests for big documents 2013-06-20 19:14:47 +02:00
Jan Steemann 959bb653e2 fixed tests 2013-06-20 19:14:35 +02:00
Jan Steemann b1f243d296 fixed segfault for too big shapes, make shape collection filesize adaptive 2013-06-20 19:14:14 +02:00
Jan Steemann d9c0d588f9 added internal.adminDirectory 2013-06-20 15:47:48 +02:00
Lucas Dohmen f64c227b16 Graph Module: Even more in Graph Common 2013-06-19 17:09:19 +02:00
Lucas Dohmen 6a84d4726b Graph Module: Pulled Iterator into Common
Also adjusted it to be useful for the Server Side.
2013-06-19 17:09:19 +02:00
Lucas Dohmen 38327183e8 Graph Module: Edge almost entirely pulled into Common 2013-06-19 17:09:18 +02:00
Jan Steemann 74b3055747 added stub tests for functions 2013-06-19 16:51:50 +02:00
Jan Steemann 9dfb7483ff "doCompact" attribute for collections 2013-06-19 16:51:16 +02:00
Lucas Dohmen 294b31e839 Further Refactoring of GraphCommon 2013-06-14 10:13:17 +02:00
Lucas Dohmen c357fa1133 Pulled addVertex into Common + tiny style fixes 2013-06-14 10:13:17 +02:00
Lucas Dohmen a81a0f0728 Tiny Refactoring of GraphCommon 2013-06-14 10:11:19 +02:00
Lucas Dohmen 222db29812 More functionality for the tiny is.x library 2013-06-14 10:11:19 +02:00
Jan Steemann 74d2a00737 test internal.download() 2013-06-13 15:05:08 +02:00
Jan Steemann b1bc9b3285 adjust traversal docs and examples 2013-06-13 13:06:48 +02:00
Jan Steemann 9599a021b9 moved some graph traversal validation into the traversal module
- that simplifies some of the traversal-calling routines
- make returning error codes more consistent (specific 404 errors when
referring to unknown collections instead of simple 400 errors)
- optionally limit traversals to a certain number of iterations so they
  don't run endlessly in cyclic graphs
2013-06-12 17:04:47 +02:00
Jan Steemann 212117d3b4 graph traversal API tests 2013-06-12 15:25:35 +02:00
Jan Steemann 68c3b02ffb added a test for rotate() 2013-06-12 13:09:46 +02:00
Oreste Panaia 81f20c7ba0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-12 17:03:29 +08:00
Jan Steemann 005f9f6c6f add safety 2013-06-11 18:31:58 +02:00
Jan Steemann e8e10844f4 moved compaction tests 2013-06-11 10:41:40 +02:00
Jan Steemann 564523896a compaction tests 2013-06-11 10:10:58 +02:00
Oreste Panaia 35ab2e6f62 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-10 17:05:58 +08:00
Lucas Dohmen 567a548cff Tearing appart Graph#addEdge and fixing the build even harder 2013-06-07 14:56:08 +02:00
Jan Steemann f619c7f51e jslint 2013-06-07 14:48:39 +02:00
Jan Steemann fe26fa593e jslint 2013-06-07 14:20:50 +02:00
Lucas Dohmen 5aadaf1b99 Restructering Graph Module, fixing the build 2013-06-07 13:51:22 +02:00
Lucas Dohmen 8e27de26a7 Fix for #546 2013-06-07 10:19:37 +02:00
Oreste Panaia 8a95c1c2a8 update 2013-06-05 19:52:34 +08:00
Oreste Panaia 70bc62a5a5 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-21 17:47:22 +08:00
Oreste Panaia b764b4f71e extended errors for skiplist 2013-05-21 17:45:19 +08:00
Frank Celler b4794e6655 fixed issue #530: ReferenceError: ArangoError is not a constructor 2013-05-20 00:02:25 +02:00
Jan Steemann ed77c19e16 added derived file 2013-05-17 15:59:58 +02:00
Jan Steemann c2ff93e99d issue #531 (warning) 2013-05-17 14:58:22 +02:00
Jan Steemann 8790a69b8e jslint 2013-05-14 12:40:30 +02:00
Jan Steemann c51f70de05 removed hard-coded groups from statistics web interface
now all statistics are dynamic
removed redundant code in statistics web interface
2013-05-14 02:36:01 +02:00
Jan Steemann a646e26105 bumped version number 2013-05-13 09:08:09 +02:00
Jan Steemann 841d7d7355 English 2013-05-10 14:06:15 +02:00
Jan Steemann c0dbfb4136 issue #517 2013-05-08 20:58:55 +02:00
Jan Steemann eb8325ef34 fixed typo in error message 2013-05-08 11:10:34 +02:00
Jan Steemann ede177aa55 issue #507, issue #508 2013-05-06 09:40:28 +02:00
Frank Celler 2d5af26466 added safeJoin 2013-05-05 21:50:43 +02:00
Frank Celler 581c667a5a fixed jslint 2013-05-04 21:52:09 +02:00
Jan Steemann bfb35a4b3c issue #495 2013-05-03 11:38:10 +02:00
Jan Steemann eef611b1da fixed some compiler & jslint warnings 2013-05-03 11:09:45 +02:00
Jan Steemann ee7ab712d6 issue #495 2013-05-03 11:08:58 +02:00
Lucas Dohmen e14c8800cc Added Underscore as Module for now
We want it to work, so be it.
2013-04-30 09:27:17 +02:00
Oreste Panaia 115d87196c sync windows dev 2013-04-29 23:13:06 +08:00
Oreste Panaia c42c0bf565 sync dev for windows 2013-04-29 21:49:28 +08:00
Oreste Panaia 532c7eae8e windows dev update 2013-04-29 21:24:57 +08:00
Frank Celler 186694dc22 added safety check for packages which define main with .js 2013-04-23 22:42:11 +02:00
Frank Celler fb8d8799c3 moved document of console to JSModuleConsole, added packages and node 2013-04-23 18:39:25 +02:00
Oreste Panaia 1ddbd2e4d9 update 2013-04-23 19:02:46 +08:00
Oreste Panaia b83d90f021 skiplist transaction support 2013-04-23 18:56:26 +08:00
Frank Celler cbc2ab93ba fixed _shallowCopy, fixed creating of unknown attributes 2013-04-22 16:48:36 +02:00
Frank Celler d02d79ce1c added coffee-script 2013-04-21 22:57:19 +02:00
Frank Celler 7bfce45ece added more node modules 2013-04-21 22:00:54 +02:00
Frank Celler df03d38ee2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-21 21:46:00 +02:00
Frank Celler a75736a148 added Buffer from node 2013-04-21 21:45:39 +02:00
Frank Celler d2ea4e9bd2 added SlowBuffer from node 2013-04-21 21:32:32 +02:00
Jan Steemann c8f0236f7e added test for numeric attribute names 2013-04-19 12:02:39 +02:00
Jan Steemann b4d115fd4d commented 2013-04-17 14:26:44 +02:00
Frank Celler 79330daa90 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-17 10:47:35 +02:00
Frank Celler 68a7a55c6d fixed typo (plattform) 2013-04-17 10:46:53 +02:00
Jan Steemann 7d9777f8c5 extended API for user-defined AQL functions 2013-04-16 18:32:19 +02:00
Jan Steemann 15026e9a96 fixed examples 2013-04-16 16:16:28 +02:00
Jan Steemann b667e458fc fixed error messages 2013-04-16 11:55:17 +02:00
Jan Steemann c945dbd2cd updated transaction API 2013-04-15 11:54:36 +02:00
Jan Steemann e3d8db0b71 issue #474 2013-04-15 09:30:50 +02:00
Jan Steemann dee5adb9f5 added client side API for transactions 2013-04-12 23:18:48 +02:00
Jan Steemann 9b5849f650 updated documentation 2013-04-12 00:42:02 +02:00
Jan Steemann 229893c086 documentation for transactions 2013-04-12 00:03:05 +02:00
Jan Steemann 997c14e032 fixed jslint warnings 2013-04-11 20:24:09 +02:00
Jan Steemann b6925a7b7b transactions 2013-04-11 19:06:55 +02:00
Frank Celler f373615268 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/V8Server/v8-actions.cpp
2013-04-10 21:47:51 +02:00
Frank Celler 828b939053 fixed isolates, made ArangoError internal 2013-04-10 21:22:09 +02:00
Jan Steemann ffb2a0f545 added generated file 2013-04-10 08:51:55 +02:00
Frank Celler d7443f5caa default path needs the type 2013-04-08 16:23:57 +02:00
Frank Celler 738a4dde75 nicer printing of objects 2013-04-08 16:23:28 +02:00
Frank Celler b71f31bcbb fixed wrong error message 2013-04-06 23:43:25 +02:00
Frank Celler a0278476da Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	lib/Basics/StringUtils.cpp
2013-04-06 10:19:09 +02:00
Frank Celler 1d7ee507e2 added TRI_ERROR_ARANGO_DOCUMENT_KEY_MISSING 2013-04-06 10:18:29 +02:00
Jan Steemann 3a8783b26a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-04-05 15:35:23 +02:00
Jan Steemann edf513551f error handling 2013-04-05 15:35:08 +02:00
Frank Celler b50bc6dd24 added thumbnail 2013-04-05 14:48:15 +02:00
Frank Celler 71bf83be1b Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-05 13:25:04 +02:00
Frank Celler 0ea88d8ebf use different sandbox 2013-04-05 13:24:55 +02:00
Jan Steemann ed10d9b6aa AQL user functions 2013-04-05 12:50:44 +02:00
Jan Steemann 31f4edde25 added test case 2013-04-05 11:28:57 +02:00
Lucas Dohmen 8515b6df9c Foxx: Adjusted Tests to @fceller's changes 2013-04-05 10:01:58 +02:00
Frank Celler dcb65a92bf fixed error messages 2013-04-04 23:19:27 +02:00
Frank Celler 37e134ff50 new Foxx 2013-04-04 18:56:38 +02:00
Lucas Dohmen 33fd20ea51 Foxx: Introducing Repositories 2013-04-04 13:42:12 +02:00
Lucas Dohmen d4d2957d9a Foxx: Introducing Model 2013-04-04 11:17:22 +02:00
Jan Steemann 1417def879 disallow create/drop/rename operations inside transactions 2013-04-04 09:41:44 +02:00
Frank Celler a6be9ceaa3 added node assert module 2013-04-03 16:48:38 +02:00
Frank Celler 0ba6329a12 added trace 2013-04-03 16:32:04 +02:00
Frank Celler e68080a638 fixed wrong call to length 2013-04-03 16:31:53 +02:00
Lucas Dohmen 0b7b34d09b Foxx: Breaking API Changes 💣
* Removed the old concept of models entirely.
* Manifest Files
  * models has been removed
  * Uses lib now as base path for all requires
* FoxxApplication is now called Application
* Changes to Application:
  * requiresLibs is now requires
  * requiresModels has been removed
2013-04-03 14:56:17 +02:00
Frank Celler 0c1e20cb1b fixed wrong import 2013-04-02 18:28:35 +02:00
Frank Celler 7e7eefe4f6 use function to set result 2013-04-02 18:25:54 +02:00
Frank Celler 711b5884d3 Merge branch 'devel' of github.com:triAGENS/ArangoDB into HEAD 2013-04-02 17:47:33 +02:00
Frank Celler 42b92c794f fixed error messages and tests 2013-04-02 17:46:19 +02:00
Frank Celler 3512fa6ff0 fixed error handling 2013-04-02 15:00:55 +02:00
Jan Steemann e2effff144 fixed doxygen errors 2013-04-02 09:34:06 +02:00
Frank Celler bae6e3666e fixed wrong name 2013-04-01 23:07:31 +02:00
Frank Celler 3921fd07c8 no strict for assign 2013-03-31 19:32:25 +02:00
Frank Celler 74166761a1 Merge branch 'feature/commonjs' of github.com:triAGENS/ArangoDB into devel 2013-03-31 12:50:18 +02:00
Frank Celler 7def1cf29f Merge remote-tracking branch 'origin/feature/commonjs' into devel
Conflicts:
	apps/aardvark/manifest.json
	apps/aardvark/manifestComplete.json
	etc/arangodb/arangod.conf.in
	etc/relative/arangod.conf
	html/admin/js/bootstrap/module-internal.js
	js/apps/aardvark/assets/collections/foxxCollection.js
	js/apps/aardvark/assets/index.html
	js/apps/aardvark/assets/lib/backbone.js
	js/apps/aardvark/assets/lib/jquery.js
	js/apps/aardvark/assets/lib/underscore.js
	js/apps/aardvark/assets/models/foxx.js
	js/apps/aardvark/assets/views/foxxListView.js
	js/apps/aardvark/assets/views/foxxView.js
	js/apps/aardvark/index.html
	js/apps/aardvark/manifest.json
	js/common/bootstrap/module-internal.js
2013-03-31 12:46:16 +02:00
Frank Celler 07bd4b2585 new module/package mechanism 2013-03-31 12:25:12 +02:00
Frank Celler 7031210a53 fixed browser 2013-03-31 00:10:48 +01:00
Frank Celler 1467b78676 cleanup of internal, fs, console 2013-03-31 00:10:48 +01:00
Frank Celler b224a399ae nice function printing 2013-03-31 00:10:47 +01:00
Jan Steemann a4bab2b264 framed 2013-03-29 02:01:34 +01:00
Jan Steemann 0807016cf5 printTable 2013-03-29 01:53:16 +01:00
Jan Steemann 82cbde7886 printTable() 2013-03-29 01:31:23 +01:00
Frank Celler af7a1a2253 fixed wrong id 2013-03-28 23:04:41 +01:00
Frank Celler 3928975435 moved apps to js
Conflicts:
	Makefile.in
2013-03-28 23:04:25 +01:00
Frank Celler dfe3c22519 fixed wrong id 2013-03-28 22:46:14 +01:00
Frank Celler ee2b40208c moved apps to js 2013-03-28 22:41:42 +01:00
Frank Celler 2ed6b0145f changed app-path and dev-app-path to be just one directory 2013-03-28 21:48:52 +01:00
Jan Steemann 03fcdf1aa0 fixed firstExample with _id & _key attributes 2013-03-28 16:22:29 +01:00
Lucas Dohmen f1b5f20fab Foxx: Also using ArangoDB Mimetype Lookup for the other way around 2013-03-28 14:01:04 +01:00
Lucas Dohmen 1daf7a8367 Foxx: Check the format of nicknames 2013-03-28 14:01:04 +01:00
Jan Steemann b04c33f1ec generate reverse map of mimetypes 2013-03-28 13:48:57 +01:00
Lucas Dohmen 8261a46577 Added a Mimetype 2013-03-28 13:25:30 +01:00
Frank Celler e3990f19ab added reload in dev mode 2013-03-27 16:42:32 +01:00
Lucas Dohmen 1aecbd3f84 Foxx: Nope, this should not be in the routing info
Don't ask me why I put it there.
2013-03-27 15:40:41 +01:00
Frank Celler 3ea5fbe121 added dev 2013-03-27 15:28:43 +01:00
Frank Celler 7a6cdcf9b1 changing to app-id 2013-03-27 15:05:08 +01:00
Frank Celler db54d5453c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-27 13:57:33 +01:00
Lucas Dohmen eaf2559b25 Adjustments to Frank's changes 2013-03-27 13:55:39 +01:00
Frank Celler 96a14b0b6d changed to appId 2013-03-27 13:43:04 +01:00
Lucas Dohmen ee0278dcad Foxx: Adjusted to the format of Swagger's parameters 2013-03-27 13:19:42 +01:00
Lucas Dohmen fb4a223cb0 Foxx: Introducing errorResponse 2013-03-27 13:19:41 +01:00
Lucas Dohmen 30f23c22e6 Foxx: Automatically add the httpMethod to the documentation 2013-03-27 13:19:41 +01:00
Lucas Dohmen 1494286143 Foxx: Introducing nickname, summary, notes 2013-03-27 13:19:41 +01:00
Lucas Dohmen 1466429e88 Foxx: Introducing queryParam 2013-03-27 13:19:41 +01:00
Lucas Dohmen 847783a151 Foxx: Bugfixes 2013-03-27 13:19:41 +01:00
Frank Celler d8159a990e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-27 11:32:52 +01:00
Frank Celler be971602f2 added install and uninstall of FOXX apps 2013-03-27 11:32:39 +01:00
Jan Steemann 7a70cb3ed3 use property 2013-03-27 10:43:58 +01:00
Jan Steemann 59b6ef99ae finalised mimetypes 2013-03-27 10:38:34 +01:00
Jan Steemann 3fd4fd984b mimetypes w/ charsets 2013-03-27 10:31:30 +01:00
Jan Steemann 909c316e22 added mimetype generation file 2013-03-27 10:11:56 +01:00
Frank Celler 214c9d8386 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-26 17:47:40 +01:00
Frank Celler 111a0ed54a write mounts into _aal 2013-03-26 17:47:32 +01:00
Lucas Dohmen 2f3894f715 Foxx: Introducing pathParam 2013-03-26 17:17:53 +01:00
Lucas Dohmen f59084a433 Foxx: Introducing the new `constrain` concept 2013-03-26 17:17:53 +01:00
Lucas Dohmen 8940df0480 Removing Old Constraints 2013-03-26 17:17:53 +01:00
Jan Steemann 3bb251000c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	lib/V8/v8-utils.cpp
2013-03-26 14:13:41 +01:00
Jan Steemann 1492118545 added test cases for "fs" module 2013-03-26 14:09:20 +01:00
Frank Celler a8d9a14e7d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-26 13:58:20 +01:00
Frank Celler 557184631d more fox-manager, added files section 2013-03-26 13:58:00 +01:00
Lucas Dohmen 517b530684 Foxx: Default '/' to index.html 2013-03-26 11:27:22 +01:00
Lucas Dohmen e0bf7018fc Foxx: Add the `del` alias for `delete`
Aliasing in JavaScript is a sickness.
2013-03-26 11:27:21 +01:00
Frank Celler 0f6e48a38b Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/server/modules/org/arangodb/foxx.js
2013-03-26 10:01:39 +01:00
Jan Steemann f3bffb2553 fixed test that failed on the client 2013-03-25 17:29:29 +01:00
Jan Steemann 0e6c21e4e7 removed NEW_BORN collection status in server 2013-03-25 15:51:42 +01:00
Frank Celler 877066392e foxx manager cleanup 2013-03-25 14:10:10 +01:00
Frank Celler 332b0495ca Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-25 10:22:44 +01:00
Frank Celler a8557091b8 new foxx loader 2013-03-25 10:22:35 +01:00
Lucas Dohmen 74e23f8670 Foxx: Starting with the Foxx User Documentation 2013-03-25 09:50:54 +01:00
Jan Steemann 9cbd8e4707 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-24 18:13:26 +01:00
Jan Steemann 124d7cb29f fixed file uploads 2013-03-24 18:13:13 +01:00
Frank Celler eaa21cdfd1 fixed context 2013-03-24 17:53:53 +01:00
Frank Celler 0a488cd84b Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-24 15:03:16 +01:00
Frank Celler e3de563668 requiresLibs and requiresModels 2013-03-24 15:03:01 +01:00
Jan Steemann e37043c47c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-24 14:32:25 +01:00
Jan Steemann 071144ecc0 temporary file functons 2013-03-24 14:32:09 +01:00
Lucas Dohmen 8871849300 Fuxx: Adjusted Expectation 2013-03-24 13:33:01 +01:00
Lucas Dohmen 44a97317ba Fuxx: We now always need an urlPrefix 2013-03-24 13:27:31 +01:00
Lucas Dohmen 9c9739af80 Foxx: Fixed the JSLint errors caused by @fceller 2013-03-24 13:15:55 +01:00
Lucas Dohmen 4bded1da55 Foxx: Fix for the Frank 2013-03-24 13:13:57 +01:00
Lucas Dohmen d6498a2b8d Foxx: Yes! Foxx is back on track. Like a sir. 2013-03-24 12:57:53 +01:00
Lucas Dohmen 3948e2a0d6 Foxx: Before and After work again 2013-03-24 12:57:53 +01:00
Lucas Dohmen fd45c765a7 Foxx: BaseMiddleware is now tested again
This is such a relief ☺️
2013-03-24 12:57:53 +01:00
Lucas Dohmen 53a7d0eda6 Foxx: Tiny Commits as a Service 2013-03-24 12:57:53 +01:00
Frank Celler 34477c290e added installApp 2013-03-24 12:35:43 +01:00
Jan Steemann f58e1a4b9a sendFile 2013-03-24 11:44:29 +01:00
Frank Celler c6444f0510 fixed name and version 2013-03-24 10:58:42 +01:00
Frank Celler 6263d7e11c added cyclic check 2013-03-24 10:58:12 +01:00
Frank Celler bc0d1180fb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/client/modules/org/arangodb/foxx.js
	js/common/bootstrap/module-internal.js
2013-03-24 10:45:26 +01:00
Jan Steemann 2c279d9c4f fixed jslint errors 2013-03-24 01:14:58 +01:00
Jan Steemann 37f364e70e added internal.download() 2013-03-24 01:04:26 +01:00
Frank Celler 4ccee5fe61 Merge remote-tracking branch 'origin/devel' into devel
Conflicts:
	js/common/modules/org/arangodb/foxx.js
2013-03-23 23:48:48 +01:00
Frank Celler 88f43e6e8f added app path 2013-03-23 23:47:18 +01:00
Jan Steemann d3171179e4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-23 22:33:14 +01:00
Jan Steemann 91fbb454f3 added zipFile() 2013-03-23 22:32:59 +01:00
Lucas Dohmen 4f43bed2f6 Foxx, special @fceller edition 2013-03-23 22:01:13 +01:00
Frank Celler 8b0c0c7662 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/common/bootstrap/module-internal.js
2013-03-23 21:58:44 +01:00
Frank Celler 44806229f7 fixed jslint errors 2013-03-23 21:57:33 +01:00
Jan Steemann d97954e466 unzip 2013-03-23 20:52:33 +01:00
Lucas Dohmen 9971a4bfb5 Ohhhhh. 2013-03-23 18:49:02 +01:00
Lucas Dohmen 5e0da254f3 Oh man... Strings. 2013-03-23 18:34:59 +01:00
Lucas Dohmen af07fdf6ad Fix? 2013-03-23 18:11:24 +01:00
Lucas Dohmen 5427faf930 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-23 18:05:55 +01:00
Lucas Dohmen 6f15daf6b9 Fixing the tests by commenting them 2013-03-23 18:05:44 +01:00
Frank Celler 8012a23744 added foxx api 2013-03-23 17:09:26 +01:00
Lucas Dohmen 0f2cfa75c6 Reality. 2013-03-23 16:53:46 +01:00
Frank Celler 55da3b7de2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-23 16:42:59 +01:00
Frank Celler 4059f31170 return error message 2013-03-23 16:42:52 +01:00
Lucas Dohmen 0dd44d82aa Foxx: Added the params function 2013-03-23 16:01:21 +01:00
Jan Steemann 0d2fdcae58 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	js/common/bootstrap/module-fs.js
2013-03-23 14:36:45 +01:00
Jan Steemann 6cd509c8e5 added fs.isFile() 2013-03-23 14:27:10 +01:00
Lucas Dohmen 55ab432c4b Foxx: Request Body 2013-03-23 14:09:59 +01:00
Lucas Dohmen abb2ed0476 Always use strict. 2013-03-23 14:09:59 +01:00
Frank Celler 07b087b8ef Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/common/modules/org/arangodb/foxx.js
	js/common/modules/org/arangodb/fuxx.js
	js/server/modules/org/arangodb/fuxx.js
2013-03-23 14:06:52 +01:00
Frank Celler 8a54df7419 added .arangosh.rc, added /_admin/execute 2013-03-23 14:04:08 +01:00
Lucas Dohmen 61ac216571 Low and behold, there is Foxx#start 2013-03-23 13:25:20 +01:00
Lucas Dohmen 5b2595fa56 Merge branch 'fuxx_vendor' into devel
Conflicts:
	UnitTests/Makefile.unittests
2013-03-23 12:41:25 +01:00
Frank Celler a8d5a06f57 added resetEngine 2013-03-22 18:09:01 +01:00
Frank Celler 38a5cf6a2d added development-mode 2013-03-22 17:33:25 +01:00
Frank Celler f5ef270d50 Merge branch 'devel' of github.com:triAGENS/ArangoDB into feature/v8cleanup 2013-03-22 14:47:29 +01:00
Frank Celler 12f0c901e5 Merge branch 'devel' of github.com:triAGENS/ArangoDB into feature/v8cleanup
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	arangosh/V8Client/arangosh.cpp
2013-03-22 14:47:17 +01:00
Lucas Dohmen ef8e467420 Foxx: Code Style 2013-03-21 12:36:28 +01:00
Lucas Dohmen 52258ebbfa Renamed Fuxx to Foxx
Frank, Fuxx, Foxx. Call it however you want.
I will now refer to it as F*.
2013-03-21 11:49:45 +01:00
Lucas Dohmen 2dae5f1d7a I guess nobody has seen that 😊 2013-03-21 09:48:49 +01:00
Lucas Dohmen db93a6677f Merge branch 'codename_frank' into devel 2013-03-21 09:43:17 +01:00
Lucas Dohmen 42147e5876 Fuxx: Renamed Frank to FuxxApplication
And reviewed the entire documentation.
Bye Frank.
2013-03-21 09:41:55 +01:00
Lucas Dohmen 6d0adcbd39 Fuxx: Adjusted the JSLint statement
There were 50% too many globals.
Dude.
You know...
What if everyone did that?
2013-03-21 09:41:55 +01:00
Lucas Dohmen 9524db93b9 Fuxx: Added `accepts` to app 2013-03-21 09:41:54 +01:00
Lucas Dohmen d71b459d58 Fuxx: Added support for default in FormatMiddleware 2013-03-21 09:41:54 +01:00
Lucas Dohmen 51f75fbb08 Fuxx: First version of the FormatMiddleware 2013-03-21 09:41:54 +01:00
Lucas Dohmen 58155fe84b Frank: Introducing View Helpers 2013-03-21 09:41:42 +01:00
Lucas Dohmen 03c278ce0f Frank: Add Before and After Hooks
I think this will be quite useful.
For logging for example.
Or dancing in the rain.
(Does anybody read this?)
2013-03-21 09:41:42 +01:00
Lucas Dohmen 28c24b1d0c Frank: Add the middleware to the routing info 2013-03-21 09:41:42 +01:00
Lucas Dohmen c926955541 Frank: Some clarifications about Request and Response. 2013-03-21 09:41:42 +01:00
Lucas Dohmen 915b9e9f8d Frank: Documenting Frank like I'm a Pythonista
Run Docco on it, and you will see a beautiful
documentation.
2013-03-21 09:41:34 +01:00
Lucas Dohmen 87c5638e41 Frank: Adjusting to the correct syntax for Function Actions 2013-03-21 09:41:34 +01:00
Lucas Dohmen 7c4ca742e2 Frank is no longer sloppy and doesn't like plusplus
* He's classy. Classy doesn't go with sloppy.
* No plusplus in here
2013-03-21 09:40:59 +01:00
Jan Steemann 4799f3309d fixed ArangoStatement.explain() with bind variables 2013-03-20 16:52:25 +01:00
Jan Steemann 40199d64b7 fixed handling of empty and reserved attribute names in documents
specifying an empty attribute name in a document may have led to segmentation faults
when the document was unpacked later.
2013-03-20 11:48:33 +01:00
Jan Steemann 8155718a4c new web interface 2013-03-19 10:33:23 +01:00
Jan Steemann 7917bc3462 increase wait time 2013-03-14 11:54:53 +01:00
Frank Celler 59184b39bd added update disclaimer for JS files 2013-03-13 17:30:14 +01:00
Frank Celler b83355a561 added test case for skip-list index 2013-03-12 13:40:13 +01:00
Frank Celler c915bfa5ff cleanup of indexes, fix for compaction (hash, cap, geo)
Conflicts:
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	arangod/VocBase/synchroniser.c
	arangod/VocBase/vocbase.c
2013-03-11 09:49:58 +01:00
Jan Steemann 1a7e6b2d5b colorize! 2013-03-08 18:36:11 +01:00
Jan Steemann 0206076fda stringifying collections should honor colors 2013-03-08 17:38:20 +01:00
Jan Steemann e6c28d50b3 cleanup: removed TRI_HAVE_ICU and internal.HAVE_ICU (always true) 2013-03-08 16:09:47 +01:00
Jan Steemann 0769f311e7 issue #444: make colors portable 2013-03-08 15:25:18 +01:00
Jan Steemann 69fc6e1662 added test case 2013-03-08 14:38:08 +01:00
Jan Steemann 0a883f4076 merged some changes from trx branch into devel 2013-03-08 14:22:25 +01:00
Jan Steemann 5631314bc7 issue #212: added auto-increment support for collections
the feature can be used by creating a collection with the extra `keyOptions`
attribute as follows:

    db._create("mycollection", { keyOptions: { type: "autoincrement", offset: 1, increment: 10, allowUserKeys: true } });

The `type` attribute will make sure the keys will be auto-generated if no `_key` attribute is specified for a document.
The `allowUserKeys` attribute determines whether users might still supply own `_key` values with documents or if this
is considered an error.
The `increment` value determines the actual increment value, whereas the `offset` value can be used to seed to value
sequence with a specific starting value. This will be useful later in a multi-master setup, when multiple servers can use
different auto-increment seed values and thus generate non-conflicting auto-increment values.

The default values currently are:

- `allowUserKeys`: `true`
- `offset`: `0`
- `increment`: `1`

The only other available key generator type currently is `traditional`. The `traditional` key generator
will auto-generate keys in a fashion as ArangoDB always did (some increasing integer value, with a more or less unpredictable
increment value).

Note that for the `traditional` key generator there is no the option to disallow user-supplied keys and give the
server the sole responsibility for key generation.
2013-03-08 11:54:03 +01:00
Jan Steemann b307e4cd6d completed auto-increment key generator 2013-03-08 10:51:50 +01:00
Jan Steemann b83952c94e added test cases 2013-03-08 10:24:53 +01:00
Jan Steemann 0879cf8d15 added auto-increment key generator (not yet ready) 2013-03-07 18:17:35 +01:00
Jan Steemann e2c0d9544a fixed jslint errors 2013-03-07 17:35:12 +01:00
Jan Steemann a4708f806b issue #441 2013-03-07 17:34:16 +01:00
Jan Steemann d93c0693d0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-06 14:33:40 +01:00
Jan Steemann bdf906ef89 fixed a memleak for barriers 2013-03-06 14:33:23 +01:00
a-brandt 18c05bdac6 added session errors 2013-03-06 14:05:42 +01:00
Frank Celler 7abef532f4 fixed package module loading and directory.lib entry 2013-03-05 17:23:19 +01:00
Lucas Dohmen 7861fc873a Codename: Frank.
Like Swordfish, but more classy.
2013-03-05 16:16:34 +01:00
a-brandt e41847c336 moved random generators and nonce functions to internal and crypto module 2013-03-04 16:18:00 +01:00
Jan Steemann dca899101f fixed version number assertion 2013-03-04 09:06:08 +01:00
Frank Celler 60037971dc rewrote statistics 2013-03-03 22:39:41 +01:00
Frank Celler 1834f288ca Merge branch 'feature/npm-modules' into devel 2013-02-27 14:40:22 +01:00
Frank Celler eb8eafa4ef fixed global modules in packages 2013-02-27 14:39:07 +01:00
Frank Celler a79279445a Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-26 18:20:27 +01:00
Frank Celler c9226054fc added tests, fixed unloadAll 2013-02-26 18:12:28 +01:00
Frank Celler 85d2e87154 added new package option 2013-02-25 18:15:32 +01:00
Jan Steemann bed09cbbe2 fixed deleting indexes by numeric id 2013-02-25 13:52:50 +01:00