1
0
Fork 0
Commit Graph

1008 Commits

Author SHA1 Message Date
Lucas Dohmen 53746deca7 Foxx: Models can have a Schema now 2013-09-18 12:53:45 +02:00
Lucas Dohmen 43988bb3ae Foxx Repository: Save, Replace, ReplaceById return the model
For convenience, this is quite useful in some cases
2013-09-17 14:37:50 +02:00
Lucas Dohmen fba6c94671 Foxx Repository: replaceById 2013-09-17 14:19:06 +02:00
Jan Steemann 9eba5d4f7a unify collection names 2013-09-17 13:16:29 +02:00
Jan Steemann a9a746b676 less tasks run when initialising a new database 2013-09-17 08:38:11 +02:00
Jan Steemann 0563ec380e fixed typo 2013-09-16 19:07:57 +02:00
Jan Steemann 25d7a3a0db issue #590 2013-09-16 19:02:10 +02:00
Jan Steemann 0318948d35 issue #590: check a manifest and print proper errors 2013-09-16 18:55:59 +02:00
Lucas Dohmen 172307182d Foxx Repository: Updated Documentation for the new methods 2013-09-16 17:34:57 +02:00
Lucas Dohmen 0b83a9a9b0 Repository: Replace 2013-09-16 17:25:40 +02:00
Lucas Dohmen d8a8b9bd4e Foxx Repository: firstExample 2013-09-16 16:28:49 +02:00
Lucas Dohmen 7d432a8911 Foxx Repository: byExample 2013-09-16 16:23:07 +02:00
Lucas Dohmen bbcd9a152a Foxx Repository: byId (Test: Ugly) 2013-09-16 15:08:57 +02:00
Jan Steemann d23a8f352f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-16 13:51:56 +02:00
Jan Steemann 0bdae05b96 changed reference counting for cursors 2013-09-16 13:51:33 +02:00
Lucas Dohmen 709821e196 Foxx Repository: removeByExample 2013-09-16 13:28:52 +02:00
Lucas Dohmen b0661f8dc7 Foxx Repository: removeById 2013-09-16 13:28:51 +02:00
Lucas Dohmen 983212cc9d Foxx Repository: Save 2013-09-16 13:28:51 +02:00
Jan Steemann 894180dc20 added test cases 2013-09-13 18:25:28 +02:00
Jan Steemann 64741f8a8d added test cases for endpoints 2013-09-13 14:07:30 +02:00
Jan Steemann a120a4dbe6 reverted name change for _graphs collection 2013-09-12 18:15:34 +02:00
Jan Steemann 6ff314de0e runtime addition and removal of endpoints 2013-09-12 18:07:39 +02:00
Jan Steemann 5bc1e5ecea dropping databases, unfinished 2013-09-11 12:47:27 +02:00
Jan Steemann 803bd32ebc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-11 11:42:54 +02:00
Jan Steemann 42441b208f refactoring of multiple databases, intermediate commit 2013-09-11 11:42:34 +02:00
Lucas Dohmen cabbaeafaf Foxx Repository: Changed API 2013-09-10 10:47:13 +02:00
Lucas Dohmen ad2013e5c4 Foxx: Model#set can now also set multiple attributes 2013-09-10 10:32:08 +02:00
Lucas Dohmen 3d88b57687 Foxx: Removed Repository#all 2013-09-09 14:21:06 +02:00
Lucas Dohmen 545e896e23 Foxx: Repository#save 2013-09-09 14:07:13 +02:00
Lucas Dohmen 768322e3b3 JSLint 2013-09-09 12:59:14 +02:00
Lucas Dohmen 7a7d972069 Foxx: Added the same for onlyIf and onlyIfAuthenticated 2013-09-09 12:20:28 +02:00
Lucas Dohmen 3e033be395 Crazy Refactoring 2013-09-09 12:13:47 +02:00
Lucas Dohmen 5cab0ab025 Foxx: Controller-wide errorResponse 2013-09-09 12:08:10 +02:00
Jan Steemann ac4ed728c0 renamed collection `_graphs` to `arangodb_graphs` 2013-09-09 11:07:10 +02:00
Lucas Dohmen ef6c905cc2 Foxx: Documentation Review 2013-09-09 09:47:23 +02:00
Jan Steemann d37b21375b attempt to fix travis build 2013-09-05 14:51:15 +02:00
Jan Steemann b9fbbc85ea Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-05 12:43:17 +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
Frank Celler bbab760a54 renamed foxx-manager to foxx/manager 2013-09-05 10:02:31 +02:00
Lucas Dohmen 4f283d39f4 Foxx: Controller#register 2013-09-04 18:06:52 +02:00
Jan Steemann 3a4532cd71 fixed jslint warnings 2013-09-04 16:07:48 +02:00
Jan Steemann b4efb78f7c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-04 15:58:49 +02:00
Jan Steemann 435e949462 fixed redirections in web interface 2013-09-04 15:58:41 +02:00
Lucas Dohmen 69286b5742 Foxx: Foxx Transformer is now Foxx Preprocessor 2013-09-04 15:08:15 +02:00
Lucas Dohmen f5bbae992c Names 2013-09-04 14:15:25 +02:00
Lucas Dohmen 9c86586014 Var Rage 2013-09-04 14:14:55 +02:00
Lucas Dohmen d946c0fe59 Whitespace Rage 2013-09-04 14:05:41 +02:00
Lucas Dohmen 87c9175db6 Authentication Module – Signs of a Struggle 2013-09-04 13:56:05 +02:00
Lucas Dohmen 610f0ee4cb Pushing stuff down 2013-09-04 13:43:17 +02:00
Lucas Dohmen 34cade4344 Foxx: Pulling some stuff out of the Foxx Controller 2013-09-04 13:32:42 +02:00
Jan Steemann 42660cbb5a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-04 13:04:30 +02:00
Jan Steemann 897412b4de initial dropping of databases 2013-09-04 13:04:13 +02:00
Lucas Dohmen d1f7d25aa8 Foxx: Some refinements for `.login` and `.logout` 2013-09-04 13:01:56 +02:00
Lucas Dohmen d9213af5ec Foxx: Manifest File apps -> controllers [BREAKING CHANGE]
Adjusted to the new vocabulary
2013-09-04 11:12:09 +02:00
Lucas Dohmen afef07b425 Foxx: Foxx.Application is now Foxx.Controller [BREAKING CHANGE]
The naming was confusing, because Foxx Application had two meanings.
Now we are using the terminology used in MVC frameworks.
2013-09-04 10:43:39 +02:00
Lucas Dohmen 95e409763d Foxx: Upgrade Alpha Routes. Fixes #589 2013-09-04 10:24:46 +02:00
Frank Celler 65705428f1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-09-03 21:35:49 +02:00
Frank Celler bde36da436 fixed collection prefix 2013-09-03 21:35:43 +02:00
Lucas Dohmen d33c3974fd Foxx: onlyIf simplified 2013-09-03 17:50:34 +02:00
Lucas Dohmen e0ff2d6266 Foxx: Documentation for the existing auth functionality 2013-09-03 16:18:10 +02:00
Lucas Dohmen f7899bed83 Foxx: Authentication – first version for feedback 2013-09-03 12:11:22 +02:00
Jan Steemann bae9f097fc added _dropDatabase() 2013-09-02 18:04:19 +02:00
Jan Steemann 618499c2b1 adjusted client tools and documentation 2013-09-02 14:07:38 +02:00
Jan Steemann 42b8dfca49 added --server.database option for client tools 2013-09-02 13:02:53 +02:00
Jan Steemann 41acd59698 added _createDatabase(), _listDatabases() 2013-09-02 10:55:41 +02:00
Jan Steemann 8ae67b32c8 increased wait time 2013-08-29 14:12:54 +02:00
Jan Steemann ac69f8d662 fixed jslint warnings 2013-08-29 13:20:55 +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 3aab2d73c3 add wait time 2013-08-29 11:38:10 +02:00
Jan Steemann a590ba625a introduced Foxx::UnauthorizedError
assign auto-priority for before/after handlers
removed third parameter for before
2013-08-29 11:25:41 +02:00
Jan Steemann eb2dee447c fixed test 2013-08-28 22:50:31 +02:00
Jan Steemann c85b3ade23 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-08-27 14:40:04 +02:00
Jan Steemann d30e407c4a only create new journal file when requested
make collection.rotate() publicly available
2013-08-27 14:39:28 +02:00
Lucas Dohmen 142405c070 An Ode to Doxygen 2013-08-27 14:16:54 +02:00
Lucas Dohmen 8418235769 Foxx: Delegation from Repository to Collection
This also fixes the Doxygen ****
2013-08-27 12:55:16 +02:00
Lucas Dohmen b23138dbae Foxx: Documentation Fixed, now let's implement this stuff 2013-08-27 12:55:16 +02:00
Lucas Dohmen bc1f68b2ff Foxx: First Step to fix Documentation 2013-08-27 12:55:16 +02:00
Jan Steemann c903229468 small refactoring 2013-08-27 12:45:57 +02:00
Jan Steemann 397a73d2f2 fixed tests 2013-08-27 12:19:42 +02:00
Jan Steemann 22c0f3873d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-08-27 09:03:23 +02:00
Jan Steemann e6d8687250 added AQL MINUS function 2013-08-26 22:25:30 +02:00
Jan Steemann 783ddfefc2 sort collection names in dfdb 2013-08-26 19:37:57 +02:00
Jan Steemann 4aea49e611 fix graph viewer in case one graph is broken 2013-08-21 14:49:49 +02:00
Jan Steemann d5a9fe3578 fixed some test fails 2013-08-19 19:46:22 +02:00
Jan Steemann 9f87ef5c17 fixed jslint warnings 2013-08-19 18:51:24 +02:00
Jan Steemann 9eb1752a7e use AQL LIMIT but still return the unlimited count value
Still needs documentation and tests
2013-08-19 18:41:00 +02:00
Thomas Richter 1f9931deba Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-08-19 15:09:18 +02:00
Jan Steemann 6dcdf5582e added test 2013-08-19 12:36:13 +02:00
Jan Steemann 5a99987673 issue #581: parameter binding for attributes 2013-08-19 12:29:59 +02:00
Thomas Richter 4d9fe423f4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-08-12 09:42:09 +02:00
Lucas Dohmen 57870f5037 Foxx: Preparing for model support
The `models` hash of a Foxx application is included in the output
for Swagger now.
2013-08-11 08:51:59 +02:00
Lucas Dohmen 503fa74b63 Foxx: Refinement of Query and Path Param methods 2013-08-11 08:51:59 +02:00
Lucas Dohmen 2924d49d60 Foxx: Don't log that an app was mounted in Devel Mode
Less noisy output.
2013-08-09 11:24:04 +02:00
Lucas Dohmen 92b99b8823 Foxx: Don't print `mounted dev app`
You can see which dev apps are mounted in aadvark (soon)
2013-08-09 11:04:20 +02:00
Lucas Dohmen 48858cbc84 Foxx: Repositories are easy now 2013-08-08 17:52:07 +02:00
Lucas Dohmen 94c971af9b Foxx: body and rawBody 2013-08-08 11:50:34 +02:00
Lucas Dohmen f0f95148e0 Foxx: Optional fourth parameter for errorHandler for ellaborate hackers 2013-08-08 11:28:09 +02:00
Lucas Dohmen bfb01c0986 Foxx: New Version of the errorResponse function 2013-08-08 11:28:09 +02:00
Frank Celler 487af3bc0d fixed (hacked) display of swagger for dev apps 2013-08-07 13:30:28 +02:00
Frank Celler 8ed7a0115b added transformation 2013-08-07 11:41:49 +02:00
Frank Celler ca15e530c0 fixed purge by id, added install from dir, setup 2013-08-06 19:49:06 +02:00
Lucas Dohmen 7eabb27254 Foxx: Use parsed comments as docs 2013-08-06 18:08:06 +02:00
Lucas Dohmen eeb8b60290 Foxx Manager: Provide the `comment` functionality on applicationContext 2013-08-06 16:40:41 +02:00
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 43dcf6c64b Foxx: Separated the idea of documentation and the concept of annotation
Also making Swagger Docs swappable by putting it into its own class.
2013-08-06 10:21:39 +02:00
Lucas Dohmen 0f6009a3ba Foxx: Tear apart Foxx.Application 2013-08-05 20:10:28 +02:00
Lucas Dohmen 366e258ec7 Foxx: JSLint 2013-08-05 17:05:32 +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 fc4b86507f Foxx: BaseMiddleware only used internal
If you really need it, you can require it directly
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
Lucas Dohmen e34683c57c Foxx: Split into multiple sub modules 2013-08-05 12:45:22 +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
Lucas Dohmen 44936466fe Foxx: Review of the User Manual 2013-08-01 15:21:15 -04:00
Jan Steemann a7c5350455 added server-id method 2013-08-01 18:27:42 +02:00
Jan Steemann f1418ec667 updated tests and docs 2013-08-01 16:53:29 +02:00
Jan Steemann 5ea6e7c8ad removed misleading error message 2013-07-31 09:04:19 +02:00
Jan Steemann 78601319fb updated replication API 2013-07-30 18:40:35 +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
Jan Steemann e368ab7a71 fix doxygen errors 2013-07-29 13:17:16 +02:00
Jan Steemann 8d1cdad76a added updateSession 2013-07-29 11:33:39 +02:00
Jan Steemann 762e072ee8 allow different collection names 2013-07-28 16:29:53 +02:00
Jan Steemann 43bec2baf0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-28 16:02:30 +02:00
Jan Steemann ec6792e11e added authentication 2013-07-28 16:02:21 +02:00
Frank Celler f2586c4150 updated Foxx documentation 2013-07-28 13:59:01 +02:00
Frank Celler 5ebd14418d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-27 19:59:35 +02:00
Frank Celler e6acd403ac updated documentation 2013-07-27 19:59:28 +02:00
Jan Steemann 605f693df6 user management, not yet ready 2013-07-27 18:18:23 +02:00
Jan Steemann 9a5a1b02c1 fixed server crash when using firstExample/byExample in a transaction 2013-07-27 17:25:57 +02:00
Thomas Richter 5e7659ad65 merge 2013-07-27 15:14:51 +02:00
Frank Celler 8ee008f35e fixed actions for common prefix 2013-07-27 14:56:48 +02:00
Thomas Richter a564d1decd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-27 14:49:53 +02:00
Thomas Richter 56ec155df4 some remarks 2013-07-27 14:49:42 +02:00
Frank Celler f3e7b10e3a fixed overwrite of routes with same path 2013-07-27 14:26:30 +02:00
Frank Celler ae7bf284ef fixed overwrite of routes with same path 2013-07-27 14:22:37 +02:00
Frank Celler f2fde8a7d9 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-27 14:21:05 +02:00
Jan Steemann 834e37cbc9 fixed before/after 2013-07-27 14:20:26 +02:00
Frank Celler 79c9c51b88 fixed overwrite of routes with same path 2013-07-27 14:19:34 +02:00
Jan Steemann 2a30b068bf simplified options 2013-07-27 13:43:22 +02:00
Jan Steemann 9602d2ee3d make jslint happy 2013-07-27 00:29:26 +02:00