Commit Graph

  • e3871182c5 rename bin to src/bin/api-test-server.rs Dietmar Maurer 2018-11-30 12:48:45 +0100
  • 73f29c34d7 improve command line parser Dietmar Maurer 2018-11-30 12:10:26 +0100
  • d42398666c improve error message Dietmar Maurer 2018-11-30 12:07:27 +0100
  • bfb1d69abc fix compiler warnings, add storage/config.rs Dietmar Maurer 2018-11-30 11:15:26 +0100
  • 9131286246 remove missleading comment Dietmar Maurer 2018-11-30 08:47:26 +0100
  • a27b905c28 use VecDeque instead of LinkedList Dietmar Maurer 2018-11-29 17:28:28 +0100
  • c6ed6cac12 SectionConfig::write - return raw string Dietmar Maurer 2018-11-29 16:47:40 +0100
  • ae3a512dd9 SectionConfig::write - verify data Dietmar Maurer 2018-11-29 13:18:15 +0100
  • aeb4c8217b schema: implement verify_json Dietmar Maurer 2018-11-29 13:06:43 +0100
  • 9c1b42d28e simplify var names Dietmar Maurer 2018-11-29 09:33:27 +0100
  • e189c93b8c section_config: add write - first try Dietmar Maurer 2018-11-28 14:09:35 +0100
  • 92fb0784d4 section_config: add new struct SectionConfigData Dietmar Maurer 2018-11-28 08:25:26 +0100
  • e3a2217050 avoid clone Dietmar Maurer 2018-11-27 14:10:16 +0100
  • ee7fc4335a SectionConfig::parse - return Value Dietmar Maurer 2018-11-27 12:54:40 +0100
  • 826698d56f SectionConfig: add schema for ID property Dietmar Maurer 2018-11-27 12:34:56 +0100
  • bdb631da88 section_config: improve parser Dietmar Maurer 2018-11-27 11:55:21 +0100
  • 1fa897cfed section_config: parse section content Dietmar Maurer 2018-11-27 09:01:36 +0100
  • 803b95a01d SectionConfigPlugin: add schema Dietmar Maurer 2018-11-27 08:41:25 +0100
  • b943ed8d2b section_config: further parser improvements Dietmar Maurer 2018-11-26 18:22:07 +0100
  • 0d97734e92 use is_empty() to check for empty string Dietmar Maurer 2018-11-26 18:02:29 +0100
  • dd193a61d0 section_config: improve parser Dietmar Maurer 2018-11-26 18:01:24 +0100
  • 07d3fa7289 add some inline documentation Dietmar Maurer 2018-11-24 17:52:43 +0100
  • 6656ba9d32 StringSchema: add method to check string length Dietmar Maurer 2018-11-24 12:37:05 +0100
  • ab672c124e ArraySchema: add method to check array length Dietmar Maurer 2018-11-24 12:33:44 +0100
  • ed04ce8093 parse_property_string: allow arrays Dietmar Maurer 2018-11-24 12:21:56 +0100
  • 84669dc18d rename test case Dietmar Maurer 2018-11-24 11:21:01 +0100
  • b436389d47 parse_property_string: first try Dietmar Maurer 2018-11-24 11:20:17 +0100
  • a23dd9bb42 add test for VerifyFn Dietmar Maurer 2018-11-24 08:30:23 +0100
  • 715f22fb4a remove outdated test code Dietmar Maurer 2018-11-24 08:15:08 +0100
  • 757d9b4769 ArraySchema: Add min_length and max_length Dietmar Maurer 2018-11-24 08:12:23 +0100
  • 3e1497fb75 remove description from ApiMethod Dietmar Maurer 2018-11-23 17:02:50 +0100
  • 768e01091a implement Into Arc<Schema> Dietmar Maurer 2018-11-23 13:18:41 +0100
  • 8a41cfdd55 implement ArraySchema Dietmar Maurer 2018-11-23 12:05:55 +0100
  • 7edeec7b06 remove parameter macro, implement ObjectSchema builder Dietmar Maurer 2018-11-23 11:34:15 +0100
  • 82df76fff0 start using builder pattern instead of macros Dietmar Maurer 2018-11-23 09:33:41 +0100
  • dc454ef096 implement schema registry Dietmar Maurer 2018-11-22 11:23:49 +0100
  • 00c908df85 use Arc pointer to properties Dietmar Maurer 2018-11-20 16:54:29 +0100
  • e471d69946 section_config.rs: add some test code Dietmar Maurer 2018-11-19 08:07:22 +0100
  • 222454221c add section_config.rs Dietmar Maurer 2018-11-19 06:47:39 +0100
  • 948c74f4ca move future test code into extra file Dietmar Maurer 2018-11-19 06:40:57 +0100
  • 0f52af5b23 implement simply test future for storage operations Dietmar Maurer 2018-11-18 15:01:19 +0100
  • be45ccd203 fix getopts when called without any argument Dietmar Maurer 2018-11-18 14:57:18 +0100
  • a19f223dea impl argument parameters Dietmar Maurer 2018-11-18 10:09:13 +0100
  • c78bcf07ad getopts: more tests Dietmar Maurer 2018-11-18 09:34:43 +0100
  • 62c40162ee improve getopt parser Dietmar Maurer 2018-11-18 08:55:21 +0100
  • a653882dd9 use ObjectSchema for parameters Dietmar Maurer 2018-11-18 08:46:26 +0100
  • 5d9f0eae6b another testcase for boolean argument parser Dietmar Maurer 2018-11-17 11:29:42 +0100
  • 2770fbf3c3 getopt parser fixes and cleanups Dietmar Maurer 2018-11-17 11:28:26 +0100
  • 7556cab45e getopts: allow "-option" and "--option" Dietmar Maurer 2018-11-17 10:02:35 +0100
  • 0c9ce2bbf0 getopts: improve error handling Dietmar Maurer 2018-11-17 09:57:26 +0100
  • ffff48fcfe cleanup variable names Dietmar Maurer 2018-11-16 16:47:23 +0100
  • 845901f41d implement getopt parser - first try Dietmar Maurer 2018-11-16 13:14:11 +0100
  • c548fa250a router: no need to use Fn (fn also works for static closures) Dietmar Maurer 2018-11-16 11:12:00 +0100
  • 5206d1d951 fix typo Dietmar Maurer 2018-11-16 09:16:37 +0100
  • e7ea17deb0 handle uri parameters correctly Dietmar Maurer 2018-11-16 09:15:33 +0100
  • 484eb9ac19 Router: allow to set match parameter name Dietmar Maurer 2018-11-16 08:29:23 +0100
  • 2ab1f7119c Router: implement missing builder methods Dietmar Maurer 2018-11-16 08:24:10 +0100
  • fc937099b3 remove stale macro Dietmar Maurer 2018-11-16 07:35:19 +0100
  • fe476ce884 allow closure handlers Dietmar Maurer 2018-11-15 17:47:59 +0100
  • cbbeff1a6d add missing file Dietmar Maurer 2018-11-15 17:07:55 +0100
  • f17db0abfd cleanup module names Dietmar Maurer 2018-11-15 17:07:10 +0100
  • c0262d7480 rename Jss to Schema Dietmar Maurer 2018-11-15 16:56:28 +0100
  • 426a48b04f fix parameter macro for empty object Dietmar Maurer 2018-11-15 16:48:36 +0100
  • 8a7005321b improve router Dietmar Maurer 2018-11-15 13:28:15 +0100
  • e63e99d646 rename MethodInfo to Router Dietmar Maurer 2018-11-15 11:46:13 +0100
  • 10be1d290a avoid macros Dietmar Maurer 2018-11-15 10:57:52 +0100
  • 4dcf43d266 rename ApiError into HttpError Dietmar Maurer 2018-11-15 10:42:01 +0100
  • 279ecfdfb4 remove unneeded lifetime annotations Dietmar Maurer 2018-11-15 10:25:59 +0100
  • f0b10921b8 reorder content Dietmar Maurer 2018-11-15 10:18:01 +0100
  • 16b48b81c5 move ApiConfig into extra file Dietmar Maurer 2018-11-15 10:14:08 +0100
  • 9bc17e8dcd move server code to api_server.rs, implement Service and NewService Dietmar Maurer 2018-11-15 08:18:48 +0100
  • 08bd8d476a remove more test code, cleanups Dietmar Maurer 2018-11-14 17:32:17 +0100
  • 98d82428b0 remove asnyc test code Dietmar Maurer 2018-11-14 14:31:04 +0100
  • 5599e2633c correctly use Arc pointer Dietmar Maurer 2018-11-14 14:28:54 +0100
  • 1a53be1443 factor out server code into api_server.rs Dietmar Maurer 2018-11-14 13:22:33 +0100
  • a9696f7beb use Arc for ApiServer Dietmar Maurer 2018-11-14 11:57:01 +0100
  • 2c10fd5cb1 simplify code Dietmar Maurer 2018-11-14 11:38:26 +0100
  • 324a5bd095 remove service implementation, use service_fn again Dietmar Maurer 2018-11-13 14:47:03 +0100
  • a974251ee6 improve error handling, use a Service Dietmar Maurer 2018-11-13 12:36:56 +0100
  • 035cce945e remove static directory cache Dietmar Maurer 2018-11-12 14:11:04 +0100
  • 198fab6f2a santtize paths in handle_request Dietmar Maurer 2018-11-12 13:19:53 +0100
  • a0efdca18b code cleanup Dietmar Maurer 2018-11-11 17:19:24 +0100
  • 78d0783b00 handle_static_file_download: optimize small files Dietmar Maurer 2018-11-11 17:10:42 +0100
  • 579fbe7dc8 implement static file download Dietmar Maurer 2018-11-11 15:54:05 +0100
  • cec9f02ebc limit allowed body size Dietmar Maurer 2018-11-11 13:24:14 +0100
  • 3cdec2a010 use header::CONTENT_TYPE Dietmar Maurer 2018-11-11 12:55:30 +0100
  • ef1f0e655a add code to create directory name cache Dietmar Maurer 2018-11-10 17:17:41 +0100
  • 3c1d7afc42 another way to read files using tokio_codec Dietmar Maurer 2018-11-10 15:12:45 +0100
  • 805aec1572 play around with async tasks Dietmar Maurer 2018-11-10 12:06:39 +0100
  • 6639c14bd9 use better http status codes Dietmar Maurer 2018-11-10 10:32:25 +0100
  • 260c1ee8c6 cleanup futures Dietmar Maurer 2018-11-10 10:00:48 +0100
  • c819ec8dde call api method and return result Dietmar Maurer 2018-11-09 13:48:57 +0100
  • b82472c0d2 use futures - first try Dietmar Maurer 2018-11-09 08:22:54 +0100
  • 4beaacb6f4 code cleanup Dietmar Maurer 2018-11-07 13:58:09 +0100
  • a908292008 implement string enum validation Dietmar Maurer 2018-11-07 13:25:47 +0100
  • 0a33b12851 try to reduce space usage in ApiStringFormat by using Box Dietmar Maurer 2018-11-07 13:01:14 +0100
  • abbf40fc2e define a separate enum ApiStringFormat Dietmar Maurer 2018-11-07 12:55:33 +0100
  • d46287e083 implement string regex matcher Dietmar Maurer 2018-11-07 12:35:52 +0100
  • 144f0f5eda remove unnecessary test Dietmar Maurer 2018-11-07 12:16:16 +0100
  • 7b5316ddfa improve error messages Dietmar Maurer 2018-11-07 12:14:52 +0100