1
0
Fork 0
Commit Graph

1150 Commits

Author SHA1 Message Date
Jan Steemann 6bbfb65f7c prevent usage of db._useDatabase() in HTTP requests 2013-09-12 11:13:47 +02:00
Jan Steemann 4a2626525c async dropping of databases 2013-09-12 11:00:11 +02:00
Jan Steemann 7d5e4f875f runtime configuration of endpoints, unfinished 2013-09-11 18:24:51 +02:00
Jan Steemann 3a6cabfe44 creating/dropping 2013-09-11 17:16:43 +02:00
Jan Steemann 1c4581c525 fixed batch handler 2013-09-11 13:58:39 +02:00
Jan Steemann 5bc1e5ecea dropping databases, unfinished 2013-09-11 12:47:27 +02:00
Jan Steemann 42441b208f refactoring of multiple databases, intermediate commit 2013-09-11 11:42:34 +02:00
Jan Steemann f65911de53 removed unused error code 2013-09-06 00:55:34 +02:00
Jan Steemann c6c4c70333 activated arangodump and arangorestore 2013-09-06 00:54:58 +02:00
Jan Steemann 441c518593 fixed broken file after merge 2013-09-05 15:07:22 +02:00
Jan Steemann 0eebc5b3f1 windows 2013-09-05 15:03:05 +02:00
Jan Steemann 76a3c24c0d windows 2013-09-05 14:59:28 +02:00
Jan Steemann 7c91155bac windows 2013-09-05 14:58:27 +02:00
Jan Steemann dfcf4a3800 don't generate pod2man 2013-09-05 14:23:20 +02:00
Frank Celler 055e172bdb Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.4
Conflicts:
	arangod/Replication/Syncer.cpp
	arangod/VocBase/index-garbage-collector.c
	build_posix.h
	html/admin/api-docs/traversal.json
	js/apps/aardvark/api-docs/collection.json
	js/apps/aardvark/api-docs/cursor.json
	js/apps/aardvark/api-docs/document.json
	js/apps/aardvark/api-docs/edge.json
	js/apps/aardvark/api-docs/edges.json
	js/apps/aardvark/api-docs/graph.json
	js/apps/aardvark/api-docs/index.json
	js/apps/aardvark/api-docs/replication.json
	js/apps/aardvark/api-docs/simple.json
	js/apps/aardvark/api-docs/system.json
2013-09-05 13:03:07 +02:00
Jan Steemann 369433f1e2 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangosh/Benchmark/BenchmarkThread.h
	lib/SimpleHttpClient/SimpleHttpClient.cpp
2013-09-05 12:34:45 +02:00
Jan Steemann 073745a5fe added --keep-alive option for arangob, improved output of arangob 2013-09-04 23:56:13 +02:00
Jan Steemann ca2f5feb4b fixed redirect URLs 2013-09-04 17:30:37 +02:00
Jan Steemann 435e949462 fixed redirections in web interface 2013-09-04 15:58:41 +02:00
Jan Steemann 05a88d3477 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-02 15:58:22 +02:00
Jan Steemann 356482831c fix ambiguity bug 2013-09-02 15:56:12 +02:00
Jan Steemann 42b8dfca49 added --server.database option for client tools 2013-09-02 13:02:53 +02:00
Jan Steemann a53c1e493b multiple database, becoming standard 2013-09-02 09:52:52 +02:00
Jan Steemann aa4aa7bf95 issue #582: ifdef'd unused feature 2013-09-01 12:13:11 +02:00
Jan Steemann 2c4ad55db1 don't call getenv in loop 2013-08-29 22:08:10 +02:00
Jan Steemann 2556b0714f fixed issues reported by VS 2012 2013-08-29 16:43:56 +02:00
Jan Steemann efcca7ab90 54 => 64 2013-08-29 13:53:20 +02:00
Jan Steemann 4e496b9dc5 migration from /_admin/html to /_admin/aardvark 2013-08-29 13:19:50 +02:00
Jan Steemann 0aca109a89 removed html/admin, / now redirects to /_admin/aardvark by default 2013-08-29 12:59:56 +02:00
Jan Steemann e72c6ab20c fixed a memleak in /_api/replication/dump 2013-08-29 11:46:33 +02:00
Jan Steemann 860ed964c3 simplify build.h 2013-08-28 22:20:06 +02:00
Jan Steemann 7cb6b7d922 simplified build.h stuff 2013-08-28 19:57:07 +02:00
Jan Steemann edc71e5424 support for deflate compression 2013-08-28 11:44:49 +02:00
Jan Steemann 405770620d indentation 2013-08-28 09:18:39 +02:00
Jan Steemann b94ee1042c cppcheck 2013-08-27 16:13:44 +02:00
Jan Steemann 08f09a6bc7 do not flush log messages after initialisation 2013-08-27 13:26:00 +02:00
Jan Steemann 0689d5cc5f removed dead files 2013-08-27 12:47:23 +02:00
Jan Steemann 3efd6f46af change signatures of static functions 2013-08-27 12:17:49 +02:00
Jan Steemann fb76008108 added TRI_WriteFile convenience function 2013-08-27 12:17:19 +02:00
Jan Steemann 7b422e6f4a added convenience functions 2013-08-26 19:38:12 +02:00
Frank Celler 09460a10a3 updated mruby to 2013-08-22
Conflicts:
	configure
2013-08-22 21:03:04 +02:00
Frank Celler 5e1e2fc30c updated mruby to 2013-08-22 2013-08-22 20:58:19 +02:00
Jan Steemann 156f3b0d9e added upgrade notes 2013-08-22 15:21:21 +02:00
Jan Steemann 9b8b030a8a added several tests for authentication 2013-08-22 11:18:11 +02:00
Jan Steemann 38abd5bf9e issue #576 2013-08-21 14:02:09 +02:00
Jan Steemann b2575376bc issue #582: ifdef'd unused feature 2013-08-21 12:56:04 +02:00
Jan Steemann 3871fb7af3 improved error messages 2013-08-20 11:48:08 +02:00
Jan Steemann 1a6f3c2981 added new error codes 2013-08-20 11:12:08 +02:00
Jan Steemann 5056512a37 mimetypes for fonts 2013-08-20 10:03:38 +02:00
Jan Steemann 01bc494493 merged single commits by @guidoreina 2013-08-19 10:02:37 +02:00
Guido Reina 011117edee In the function: TRI_LocateBinaryPath(), "binaryPath" was duplicated from "dir" and then "dir" freed. Better just to assign to "binaryPath" the result of TRI_Dirname(). 2013-08-16 06:55:43 +02:00
Guido Reina 72c8847324 In the function: RemoveAllLockedFiles(void), if we call TRI_RemoveVectorString() and TRI_RemoveVector() the next elements in the vector will be memmoved to the left. The next iteration of the loop will check the element at position 1 (but we are skipping the new element at position 0), so these calls have been removed.
The other alternative would be to have a loop: while (FileNames._length > 0) and take always the element at position 0. But this has the disadvantage that we are performing memmove() when later the vectors will be freed anyway.
2013-08-15 18:36:41 +02:00
Guido Reina 5da5715fa9 Merge branch 'experiment' of https://github.com/guidoreina/ArangoDB into experiment 2013-08-13 20:07:17 +02:00
Guido Reina a371aac4af In the function TRI_StringInt8InPlace, when attr == INT8_MIN, it was copying only 4 bytes instead of 5 and it was returning 3 instead of 4. 2013-08-13 20:02:25 +02:00
Jan Steemann bfc6648588 added server startup options `--server.disable-replication-logger` and `--server.disable-replication-applier` 2013-08-02 16:17:51 +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 949c194653 updated replication configuration 2013-08-01 15:50:30 +02:00
Jan Steemann 48fbdb1b6a cap constraint for replication logger 2013-07-31 16:56:56 +02:00
Jan Steemann 05a7f79941 re-configuration of logger, cap constraint 2013-07-31 14:39:33 +02:00
Jan Steemann 936fb6c6a6 better progress reports for replication applier 2013-07-31 10:01:56 +02:00
Jan Steemann 78601319fb updated replication API 2013-07-30 18:40:35 +02:00
Jan Steemann 002ebd48bc removed all replication conditionals 2013-07-30 13:16:37 +02:00
Jan Steemann ec6792e11e added authentication 2013-07-28 16:02:21 +02:00
Jan Steemann 097e8ad865 cppcheck 2013-07-28 10:47:44 +02:00
Frank Celler e6acd403ac updated documentation 2013-07-27 19:59:28 +02:00
Jan Steemann 384438ec7f removed unused elements 2013-07-27 00:57:02 +02:00
Jan Steemann cc5ae9d1bc added purge() 2013-07-26 23:57:00 +02:00
Frank Celler d4ead84f15 better error output 2013-07-26 14:42:31 +02:00
Oreste Panaia 84989a8c6f windows vs 2012 prepartion 2013-07-25 15:49:57 +08:00
Jan Steemann f193015b5f fixed assertion 2013-07-23 10:01:20 +02:00
Jan Steemann c4f82088dd replication tests 2013-07-22 18:12:56 +02:00
Jan Steemann cf05339813 forgot to commit 2013-07-19 11:04:17 +02:00
Jan Steemann 2552d3f389 fixed compiler warnings 2013-07-19 10:54:52 +02:00
Jan Steemann 08b9f57166 stoppable replication applier 2013-07-17 10:58:10 +02:00
Oreste Panaia 2d4a26e29d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-16 16:17:40 +08:00
Jan Steemann cdbcf71411 removed superfluous space 2013-07-15 17:48:44 +02:00
Oreste Panaia b4acec0fe6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-15 22:54:38 +08:00
Jan Steemann b5e26235a7 replication configuration 2013-07-12 17:37:24 +02:00
Oreste Panaia b8163e79c4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-12 22:40:37 +08:00
Jan Steemann 59682528e0 fixed comment 2013-07-11 17:51:15 +02:00
Jan Steemann 98dd1c2522 moved replication parts into separate files 2013-07-11 14:44:09 +02:00
Jan Steemann 80362ec82f fixed issues reported by cppcheck 2013-07-11 10:02:27 +02:00
Jan Steemann fd2a83123c renamed method 2013-07-11 09:23:13 +02:00
Jan Steemann 3f718ef0fa fixed some issues in replication 2013-07-10 18:08:18 +02:00
Jan Steemann ca6b184286 added TRI_JSON_STRING_REFERENCE 2013-07-10 17:00:29 +02:00
Jan Steemann 7ef7ad297f added TRI_StealStringBuffer() 2013-07-10 12:02:42 +02:00
Jan Steemann 3cc4405c18 added collection.checksum() 2013-07-10 11:10:00 +02:00
Jan Steemann 4749f2b7c0 changed replication log format 2013-07-09 16:41:07 +02:00
Jan Steemann c6ff61b159 added new error code 2013-07-09 12:33:10 +02:00
Jan Steemann 4c952ad927 added unit tests 2013-07-09 12:32:47 +02:00
Jan Steemann 48d851bb7b log dump 2013-07-08 16:33:47 +02:00
Oreste Panaia 752a60025c merge conflicts 2013-07-08 16:47:39 +08:00
Oreste Panaia a7661542a2 windows 2012 fixes 2013-07-08 16:44:32 +08:00
Jan Steemann 42fecbdf1a changed log format 2013-07-05 13:30:12 +02:00
Jan Steemann 054ed3ca3f apply collection data dumps 2013-07-05 11:41:37 +02:00
Jan Steemann a33dcede42 data synchronisation 2013-07-04 17:56:54 +02:00
Jan Steemann b178d095c2 static functions for JSON handling 2013-07-04 15:51:31 +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 44c9ca4e90 issue #565, plus a few usability fixxes for aal.search() 2013-07-03 14:06:57 +02:00
Jan Steemann e34566aa68 messed it up and fixed it 2013-07-03 13:06:20 +02:00
Jan Steemann cf04fcfc44 memory size restrictions 2013-07-03 13:01:01 +02:00
Jan Steemann c5cbfdb3e6 indentation 2013-07-03 12:40:12 +02:00
Jan Steemann 74489d9f93 OOM handling 2013-07-02 17:33:31 +02:00
Jan Steemann a35de51042 handle OOM 2013-07-02 17:19:03 +02:00
Jan Steemann d2b12968e0 avoid usage of NULL pointer 2013-07-02 17:09:44 +02:00
Jan Steemann 00b5970bfc check for NULL values 2013-07-02 17:08:27 +02:00
Jan Steemann d2eae10fb2 check for invalid values 2013-07-02 17:08:10 +02:00
Jan Steemann d7561e70e1 added logging options 2013-07-02 12:16:13 +02:00
Jan Steemann 659520875b preparation for better request logging 2013-07-01 15:31:56 +02:00
Jan Steemann b318c9cec6 updated list of HTTP status codes 2013-07-01 14:32:14 +02:00
Jan Steemann 7543ad0283 removed redundant declaration of HTTP status codes 2013-07-01 12:11:02 +02:00
Jan Steemann 2e063df6c1 fixed some zone debugging output 2013-06-29 00:10:41 +02:00
Jan Steemann 64f01e9a7b prevent logging deadlock 2013-06-28 19:14:33 +02:00
Jan Steemann b13e13fec2 check oom 2013-06-28 19:06:25 +02:00
Jan Steemann 1f68cb50a0 replaced LOG_ERROR with fprintf to not run into logging deadlock 2013-06-28 19:04:56 +02:00
Jan Steemann 0a98279259 replaced LOGGER_ with LOG_ (better control over memory allocation) 2013-06-28 19:04:32 +02:00
Jan Steemann dcc3de5d81 fixed type declaration (fixes compiler warning) 2013-06-28 15:47:40 +02:00
Jan Steemann 5ba876978b removed unused private variable (fixes compiler warning) 2013-06-28 15:44:59 +02:00
Jan Steemann 14422986e0 added option --server.authenticate-system-only 2013-06-26 23:23:37 +02:00
Jan Steemann 6e9c3e8e2c replication logging 2013-06-26 12:04:55 +02:00
Jan Steemann b0acfba634 less faults when server cannot start 2013-06-25 09:56:09 +02:00
Jan Steemann 703edda54e typos 2013-06-24 20:55:31 +02:00
Jan Steemann 191d389e8c a few mallocs less 2013-06-24 20:55:12 +02:00
Jan Steemann 315848c93c typo 2013-06-24 20:52:43 +02:00
Jan Steemann 0f7c632f0f less strlen 2013-06-24 17:31:37 +02:00
Jan Steemann 2d7edbef96 added db._exists() 2013-06-21 21:50:00 +02:00
Jan Steemann 8063ade2be fixed issues reported by cppcheck 2013-06-21 19:40:57 +02:00
Jan Steemann ee2de60670 less syscalls in logging, do not use file-logging in tests
file-based logging creates a problem with Valgrind 3.8.1 for `make unittests-http-server VALGRIND=valgrind` on OpenSuse 64 bits, -O2
2013-06-21 16:05:58 +02:00
Jan Steemann 2f8d8caf20 fixed a memleak in internal.download() 2013-06-21 10:58:36 +02:00
Jan Steemann 1691cf4036 fixed issues reported by Valgrind 2013-06-21 10:26:48 +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
Jan Steemann f6f31667a5 issue #551 2013-06-20 14:57:43 +02:00
Jan Steemann ca9187854a added (unconditional) caching for PathHandler 2013-06-20 14:36:39 +02:00
Jan Steemann 9dfb7483ff "doCompact" attribute for collections 2013-06-19 16:51:16 +02:00
Jan Steemann 74d2a00737 test internal.download() 2013-06-13 15:05:08 +02:00
Jan Steemann a76c9e0142 post body in internal.download() 2013-06-13 12:53:37 +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
Oreste Panaia 81f20c7ba0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-12 17:03:29 +08:00
a-brandt 5c27f36b95 bugfix non-virtual destructor 2013-06-12 09:12:58 +02:00
a-brandt d9fc2a6c60 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/primary-collection.c
2013-06-11 11:17:41 +02:00
Oreste Panaia 35ab2e6f62 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-10 17:05:58 +08:00
Oreste Panaia 8e10a5e173 windows updates 2013-06-10 17:05:33 +08:00
Jan Steemann f5326828c6 added flag to force writing of body even in case of HTTP errors for internal.download() 2013-06-07 13:38:13 +02:00
Jan Steemann c06d0d5ac3 type cast 2013-06-07 13:38:07 +02:00
Jan Steemann d31573a8b4 fixed a few type issues, updated TODOs 2013-06-07 11:31:42 +02:00
a-brandt 793dc6077d Merge branch 'devel' into multiple_databases 2013-06-05 17:29:34 +02:00
Oreste Panaia 2afd8a742c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-05 19:53:25 +08:00