1
0
Fork 0
Commit Graph

6355 Commits

Author SHA1 Message Date
Willi Goesgens e29668c514 SortIndex: start implementing unittests for the different usecases. 2014-09-01 18:48:32 +02:00
Willi Goesgens dbb4ef6e41 add tests to revalidate IndexRangeNodes superseeding sorts
TODO: two cases aren't found by the 'use-index-range' as we would expect
2014-09-01 13:35:49 +02:00
Jan Steemann a02b962e3e added optimizer test 2014-09-01 12:14:15 +02:00
Jan Steemann 7851e5e54c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-01 11:05:41 +02:00
Jan Steemann 0b3e1557d5 fixed creating database w/ users in cluster 2014-09-01 11:05:18 +02:00
Jan Steemann 574b3f3d18 added ArangoShell tutorial 2014-08-30 19:46:20 +02:00
Jan Steemann 7d500b7234 speed up instanciation of v8 ShapedJson objects
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document

Conflicts:
	arangod/Utils/CollectionNameResolver.h
	arangod/V8Server/v8-vocbase.cpp
2014-08-30 01:47:58 +02:00
Jan Steemann c90777738d speed up instanciation of v8 ShapedJson objects
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
2014-08-30 01:32:20 +02:00
Max Neunhoeffer 8549e97e6c Adjust test to new non-sparse skiplists. 2014-08-30 00:33:15 +02:00
Jan Steemann 8a96f907b0 refactored function argument conversion 2014-08-29 10:59:24 +02:00
Jan Steemann 0eac5dcf47 fixed tests 2014-08-29 09:33:09 +02:00
Jan Steemann a32fac3747 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-29 09:20:36 +02:00
Jan Steemann 6cd4372299 fixed several tests 2014-08-28 22:33:50 +02:00
Jan Steemann b54e791f8f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-28 22:23:25 +02:00
Jan Steemann d72354da66 issue #1003: added feature to use backslash escaping for CSV data in arangoimp 2014-08-28 21:03:58 +02:00
Jan Steemann 2a104b8bcb fixed several AQL tests 2014-08-28 16:19:05 +02:00
Jan Steemann 694d64da3c do not optimize away non-deterministic functions 2014-08-28 15:34:06 +02:00
Jan Steemann a014b44ba4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/Transaction.h
2014-08-28 11:06:14 +02:00
Jan Steemann 81c095105b issue #1003 2014-08-28 10:32:32 +02:00
Jan Steemann 3b9636c52b issue #1004 2014-08-28 08:55:02 +02:00
Jan Steemann cd1d0c45f8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-query.cpp
2014-08-27 19:25:37 +02:00
Jan Steemann b558899367 added derived files 2014-08-27 18:57:26 +02:00
Jan Steemann cda10393f5 some traversal speedups 2014-08-27 18:56:51 +02:00
Jan Steemann 6721dd787c fix typo in manual 2014-08-27 12:26:24 +02:00
Jan Steemann 794b909e8b issue #999: clear old result when submitting new query 2014-08-27 11:14:46 +02:00
Jan Steemann 4568c094c9 issue #1000: AQL Editor: Autofocus textarea 2014-08-27 10:58:01 +02:00
Alan Plum 9489a3cd50 Implemented session.getExpiry, session.hasExpired. 2014-08-27 10:29:44 +02:00
Heiko Kernbach 7c035ad49a document export bugfix, added filters to doc export function 2014-08-26 16:45:56 +02:00
Heiko Kernbach 0f215c7f71 css changes 2014-08-26 16:13:14 +02:00
Alan Plum b977c3e605 Fixed destroySession docs. 2014-08-26 11:45:18 +02:00
Alan Plum 601c99c6e5 Linting. 2014-08-25 20:01:18 +02:00
Alan Plum 898fad4980 Added support for JWT alg: 'none'. 2014-08-25 18:35:23 +02:00
Alan Plum d37b13ee0f Implemented crypto.jwtEncode/jwtDecode (HS256 only). 2014-08-25 18:25:48 +02:00
Lucas Dohmen 8578042b73 Fixed the success callback for Queues
When an option was missing, the resulting String would have `, ,`
in the String to be evaluated which would result in a syntax error
2014-08-25 17:36:50 +02:00
Alan Plum 7f120194f4 Added "preprocess" to job type definitions. 2014-08-25 15:29:07 +02:00
Alan Plum de9a1c6efc Replaced sessions collection upgrade task. 2014-08-25 10:17:31 +02:00
Jan Steemann a70a9613f6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Jan Steemann 1b3c8b88cf jslint 2014-08-22 17:58:19 +02:00
Michael Hackstein 65a111cd38 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-22 17:02:49 +02:00
Michael Hackstein 8232035989 Improved graph traversals by an order of magnitute 2014-08-22 17:01:02 +02:00
Heiko Kernbach 1218d3b35b added export feature for documents and for query results 2014-08-22 16:54:53 +02:00
Heiko Kernbach 1ad3f36d90 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-22 15:06:17 +02:00
Heiko Kernbach 9fb9aa2cf1 added possibility to move selected documents to another collection 2014-08-22 15:06:07 +02:00
Alan Plum 83f47db07f Pass worker result to success/failure handler instead of discarding it. 2014-08-22 13:16:45 +02:00
Heiko Kernbach 2472622b7c docs view bugfix 2014-08-22 11:40:31 +02:00
Heiko Kernbach ba072055ce Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-22 11:39:58 +02:00
Heiko Kernbach 2e6d4562d0 style changes + dashboard now async ajax calls 2014-08-22 11:39:51 +02:00
Alan Plum 172e1b936d Added more Foxx app unit tests. 2014-08-22 10:59:24 +02:00
Heiko Kernbach cc58900515 scss style change for progress view 2014-08-21 17:18:13 +02:00
Heiko Kernbach e4e4d1f9c0 fixed wrong event binding to whole table rows instead of tbody only 2014-08-21 16:47:20 +02:00
Heiko Kernbach f57bea8608 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-21 16:43:25 +02:00
Heiko Kernbach d17402f873 changed behaviour of sorting documents - front-end 2014-08-21 16:43:17 +02:00
Alan Plum 38cfd52c0f Removed redundant potato. 2014-08-21 16:42:14 +02:00
Alan Plum c8d1f5f93b Added tests for users app setup and error types. 2014-08-21 16:41:07 +02:00
Alan Plum c42628f0c5 Prettier stacks for users app errors. 2014-08-21 16:39:50 +02:00
Alan Plum 19062d9d57 Added tests for simple-auth app. 2014-08-21 15:32:10 +02:00
Thomas Schmidts 573fd51a5e Changed the links to the documentation 2014-08-21 15:07:01 +02:00
Heiko Kernbach 5a58c53585 docs view page size input bugfix 2014-08-21 14:35:55 +02:00
Heiko Kernbach 8aafb99c5f added sort-bey feature for filtering documents of a collection 2014-08-21 14:19:57 +02:00
Heiko Kernbach 750c87ed38 css changes for dropdown class 2014-08-21 14:19:19 +02:00
Heiko Kernbach aa57a43502 changed ace editor style 2014-08-21 12:25:12 +02:00
Heiko Kernbach d3b0dccb9d graph sorting menu stays open if view has to be rerendered 2014-08-21 12:16:50 +02:00
Heiko Kernbach 5f1a29bf71 added missing event to change the style of the toggle button 2014-08-21 12:11:30 +02:00
Heiko Kernbach 398b7fa5c1 sorting stays open if value changed 2014-08-21 11:52:41 +02:00
Jan Steemann 317c7870f0 fix tests with Valgrind 2014-08-21 11:52:05 +02:00
Heiko Kernbach 970626c333 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-21 11:15:10 +02:00
Heiko Kernbach aedebfda20 fixed issue #991 - database search view broken 2014-08-21 11:15:00 +02:00
Alan Plum ea4f769c5f Fixed user storage not reloading internal users db. 2014-08-21 11:06:35 +02:00
Heiko Kernbach a598c421ba added sorting for users view 2014-08-21 10:57:35 +02:00
Heiko Kernbach 5ecabb9001 prep for foxx sorting 2014-08-20 19:52:02 +02:00
Heiko Kernbach 8bd979e3e5 addad desc sorting for graphs view 2014-08-20 19:18:47 +02:00
Heiko Kernbach f352ca610a added desc sorting for databases 2014-08-20 18:53:36 +02:00
Willi Goesgens d295bacb51 Json: add HTTP-Entrypoint into Javascript deserialisation. 2014-08-20 17:08:06 +02:00
Alan Plum 30ee27d1c0 Fixed Foxx params with alternatives breaking API docs. 2014-08-20 17:01:33 +02:00
Heiko Kernbach 5ec16122c1 font size now 16px in code editor 2014-08-20 15:56:42 +02:00
Heiko Kernbach 81a6e558eb fixed document editor code view font 2014-08-20 15:49:05 +02:00
Alan Plum c62715e460 Merge pull request #920 from triAGENS/foxx-app-sessions
Replace Foxx authentication with Foxx app-based (modular) authentication.
2014-08-20 15:19:01 +02:00
Alan Plum 501735c78b Keep legacy users API backwards-compatible. 2014-08-20 14:19:08 +02:00
Heiko Kernbach 132e758c66 documentsview bugfix 2014-08-20 13:54:48 +02:00
Heiko Kernbach 21e4554128 changed styling of documents view 2014-08-20 13:39:42 +02:00
Heiko Kernbach f21ad2b471 docs view css, added pagesize option for documents 2014-08-20 13:24:57 +02:00
Heiko Kernbach bdbdaaf0bf removed some local storage functions 2014-08-20 11:29:18 +02:00
Heiko Kernbach ddb6155870 fixed a modal view bug 2014-08-20 11:28:31 +02:00
Alan Plum 9da4255c16 Fixed shell-users tests. 2014-08-20 11:27:27 +02:00
Alan Plum e0e003d060 Migrated session/user routes and models to joi. 2014-08-20 11:16:06 +02:00
Alan Plum e73ab38720 Code style. 2014-08-20 11:14:31 +02:00
Alan Plum 00a0b4513a Aardvark: allow (un-)mounting non-internal system apps, prohibit mounting reserved paths. 2014-08-20 11:13:27 +02:00
Alan Plum 369485b129 Replaced backticks with splats to follow doc styleguide. 2014-08-20 11:10:50 +02:00
Alan Plum fefe0d0e6d Replaced org/arangodb/users internals with users app compatible format. 2014-08-20 11:10:50 +02:00
Alan Plum 288c6d8d31 Allow specifying "_" as collection prefix. 2014-08-20 10:57:48 +02:00
Alan Plum 6a89d78929 Removed oauth2 app from system apps. 2014-08-20 10:57:48 +02:00
Alan Plum 3b00e307ea Formatting. Fixed inline docs in controller. 2014-08-20 10:57:47 +02:00
Alan Plum 3be0e11110 Simplified is-mounted-as-system-app check. 2014-08-20 10:57:47 +02:00
Alan Plum cb3842b149 System apps now mount at _system instead of system. 2014-08-20 10:57:47 +02:00
Alan Plum 38297b88cc Fixed sessions app relying on exports from static mount path. 2014-08-20 10:57:47 +02:00
Alan Plum 7bfb6d5d3f Fixed activateSessions default app path. 2014-08-20 10:57:46 +02:00
Alan Plum a85bc09de4 Only prohibit unmounting system apps mounted at system paths. 2014-08-20 10:57:46 +02:00
Alan Plum af2b1c1ff6 Added bundled apps as system apps. 2014-08-20 10:57:46 +02:00
Alan Plum 0d653ca67a Implemented activateSessions. 2014-08-20 10:57:06 +02:00
Heiko Kernbach 727d8a3f17 fixed a document filter state bug 2014-08-20 10:52:18 +02:00
Heiko Kernbach ed1942c8d0 improved way of importing and exporting aql queries 2014-08-19 17:08:27 +02:00
Heiko Kernbach 777decd050 scss-lint changes 2014-08-19 15:44:25 +02:00
Heiko Kernbach 4b7309892d scss-lint changes 2014-08-19 15:44:03 +02:00
Heiko Kernbach 7c70351a7d added support for multiple document deletion, fixed a a bug when wrong count of documents was returned 2014-08-19 15:37:49 +02:00
Heiko Kernbach 029d9d7c18 added filter state for documents filter 2014-08-19 13:23:52 +02:00
Heiko Kernbach 9e88c0b58c fixed jslint 2014-08-19 13:22:56 +02:00
Heiko Kernbach 9622061c16 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-19 10:57:24 +02:00
Heiko Kernbach 03bc501706 move to async calls for fetching documents and operating aql queries 2014-08-19 10:57:15 +02:00
Heiko Kernbach 8df1e9e5e1 fixed a wrong notification initialization bug 2014-08-19 10:56:17 +02:00
Heiko Kernbach e894e50ce3 fixed visual bug at notification menu 2014-08-19 10:55:52 +02:00
Frank Celler 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +02:00
Heiko Kernbach e4a406def4 removed ajaxStart function 2014-08-18 17:17:24 +02:00
Heiko Kernbach d5a1266163 added progess indicator view 2014-08-18 17:10:03 +02:00
Heiko Kernbach 42b6b8eab5 merge 2014-08-18 15:08:13 +02:00
Heiko Kernbach 5209a761db changed the way of downloading user queries 2014-08-18 15:07:58 +02:00
Frank Celler 986bf7d0e8 added dispatcherThreads 2014-08-18 12:08:33 +02:00
Jan Steemann f8cf5dc26d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-08-15 18:47:18 +02:00
Alan Plum a97417408a Applied performance optimization for queues. 2014-08-15 17:43:49 +02:00
Jan Steemann 828fd9cc76 set waitForSync to false for system collections 2014-08-15 17:37:44 +02:00
Jan Steemann 2a2c76770c need to ALWAYS create a new environment. Otherwise results are somewhat non-deterministic 2014-08-15 17:35:46 +02:00
Alan Plum 98d475c103 Fixed deleting queues/jobs. 2014-08-15 15:47:42 +02:00
Heiko Kernbach c5c1c08098 fixed wrong font rendering, safari browser 2014-08-15 13:46:49 +02:00
Heiko Kernbach dd226830c2 design changes modal validation, brighter checking of values 2014-08-14 17:57:37 +02:00
Heiko Kernbach adfdec9cb8 changed style of validation in modal views 2014-08-14 17:19:16 +02:00
Heiko Kernbach 6070acb954 validation now on focusout instead of keyup event 2014-08-14 16:59:50 +02:00
Heiko Kernbach c62b81f547 enabled pretty printing in js shell by default 2014-08-14 14:53:33 +02:00
Heiko Kernbach ce0acb013c merge 2014-08-14 14:04:21 +02:00
Heiko Kernbach 4979513dc8 added validation rules for modal views 2014-08-14 14:03:15 +02:00
Frank Celler c32e2776e6 Merge pull request #962 from triAGENS/foxx-queue
[WIP] Foxx queues
2014-08-14 10:41:19 +02:00
Jan Steemann 30b32f1f90 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.h
	arangod/V8Server/v8-vocbase.cpp
	js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Jan Steemann ab080d8b73 added derived files 2014-08-13 16:02:19 +02:00
Alan Plum da36a1d42e Added support for job type schemas. 2014-08-13 15:37:44 +02:00
Alan Plum 4f5caa805e Fixed undefined CLUSTER_COORDINATOR. 2014-08-12 19:32:26 +02:00
Jan Steemann 52911293f7 added special compare function to take into account floating point differences 2014-08-12 19:14:13 +02:00
Frank Celler 9350b5a975 start the queue manager once during boot 2014-08-12 19:02:46 +02:00
Alan Plum 1913a7b231 Extracted worker, manager modules from queue. Implemented backOff, delayUntil, success/failure callbacks, push(maxFailures). 2014-08-12 19:02:46 +02:00
Alan Plum fce8ab70f2 Renamed queues.destroy => queues.delete. 2014-08-12 19:02:46 +02:00
Alan Plum f5ad50d930 Return number of pending jobs in queue on push. 2014-08-12 19:02:45 +02:00
Alan Plum 88d684e1d6 Allow creating queues with default number of workers, don't update queue if maxWorkers is not set. 2014-08-12 19:02:45 +02:00
Alan Plum f4f201872c Cache queue objects. 2014-08-12 19:02:45 +02:00
Alan Plum 19578891fb More consistent naming. 2014-08-12 19:02:45 +02:00
Alan Plum aaefbfb79f Removed unused variable. 2014-08-12 19:02:45 +02:00
Alan Plum cc6a141d66 Linting. 💥 2014-08-12 19:02:45 +02:00
Alan Plum 191b3fc88a Implemented worker/manager internals. 2014-08-12 19:02:44 +02:00
Alan Plum 2093c28359 Fixed Foxx.queues. 2014-08-12 19:02:44 +02:00
Alan Plum 123127e57d Exposed Foxx.queues._manager.run. 2014-08-12 19:02:44 +02:00
Alan Plum 698fd3d8ec Revised implementation of Foxx queues. 2014-08-12 19:02:44 +02:00
Alan Plum 76c7920457 Basic implementation. 2014-08-12 19:02:44 +02:00
Jan Steemann 413ce6c50c test fixes 2014-08-12 18:53:49 +02:00
Heiko Kernbach 462bc6112c Merge 2014-08-12 18:06:36 +02:00