summaryrefslogtreecommitdiff
path: root/cask/src
Commit message (Collapse)AuthorAgeFilesLines
* 0.3.60.3.6Li Haoyi2019-11-073-10/+7
|
* Flesh out `BatchActor.scala` into its own module, `cask.Actor`. Add the ↵Li Haoyi2019-11-033-11/+14
| | | | first unit test for an asynchronous logging actor
* bump Scala to 2.13.1Li Haoyi2019-10-101-1/+1
|
* Statically check the set of decorators applied to each endpoint methodLi Haoyi2019-10-092-13/+62
|
* Genericize `EndpointMetadata#decorators`Li Haoyi2019-10-091-1/+1
|
* Convert `Decorator#OuterReturned` into a type parameterLi Haoyi2019-10-097-26/+23
|
* Add test to verify `compress` decorator is properly passing through ↵Li Haoyi2019-10-092-5/+6
| | | | irrelevant results
* Allow `staticFiles` and `staticFiles` to specify headers to respond with ↵Li Haoyi2019-10-092-20/+17
| | | | (e.g. for caching and expiration)
* Allow `cask.decorators.compress` to skip results it doesn't care aboutLi Haoyi2019-10-093-2/+7
|
* Genericize `cask.Main#decorators` and `cask.Routes#decorators` to allow ↵Li Haoyi2019-10-093-6/+6
| | | | other non-http-response results
* upgrade to quill 3.4.10, re-enable database examplesLi Haoyi2019-10-091-1/+4
|
* Merge pull request #14 from lihaoyi-databricks/masterLi Haoyi2019-09-162-37/+26
|\ | | | | Provide a simple builtin websocket client in `cask.WsClient`
| * Provide a simple builtin websocket client in `cask.WsClient`Li Haoyi2019-09-163-38/+27
| | | | | | | | | | | | Harmonize the actor-based APIs of `cask.WsClient`/`cask.WsHandler`/`cask.WsActor`, letting them share the same set of `cask.Ws` events The default implementation of `cask.WsClient` on the JVM spawns one thread per connection, and doesn't really scale to large numbers of connections. For now we just continue using AsyncHttpClient in the load tests. Wrapping AsyncHttpClient in a nice API is TBD
* | 0.2.80.2.8Li Haoyi2019-09-162-2/+1
|/
* cross-build cask.util for Scala.jsLi Haoyi2019-09-162-58/+0
|
* 0.2.60.2.6Li Haoyi2019-09-161-0/+1
|
* Break up `Router.scala` into a `router/` folder with multiple filesLi Haoyi2019-09-1619-416/+426
|
* re-expose handleNotFound and handleEndpointError, update docsLi Haoyi2019-09-151-16/+20
|
* Move logic from `Main` class into companion object, to clean up user-facing ↵Li Haoyi2019-09-151-80/+92
| | | | API for inheritance
* Move `internal.BatchActor` to `util.BatchActor`Li Haoyi2019-09-153-5/+8
|
* Sketch out a standard `cask.Logger` interface and standardize dependency ↵Li Haoyi2019-09-156-15/+46
| | | | injection via case class implicits
* Break circular dependency by splitting `RouteEndpointMetadata` into its own fileLi Haoyi2019-09-155-84/+88
|
* Move recursive Decorator-processing logic into `Decorator.invoke`, document ↵Li Haoyi2019-09-153-40/+63
| | | | | | what it does Avoid reversing annotations list in Router.scala only to reverse the final results again when binding the arguments to `EntryPoint.invoke`
* First pass at providing a convenient API for handling websocketsLi Haoyi2019-09-144-3/+128
|
* Rename `BaseDecorator` -> `Decorator`, `Decorator` -> `RawDecorator`, ↵Li Haoyi2019-09-1410-51/+53
| | | | `BaseEndpoint` -> `Endpoint`, `Endpoint` -> `HttpEndpoint`
* Make `Input` a type param tooLi Haoyi2019-09-149-35/+26
|
* `InnerResponse` is now a type param instead of member, allowing better error ↵Li Haoyi2019-09-1410-28/+25
| | | | | | | | messages through `cask.internal.Conversion`: ``` Cannot return java.io.ByteArrayInputStream as a cask.model.Response[cask.endpoints.JsonData] ```
* `cask.Response` is now covariantLi Haoyi2019-09-144-19/+41
|
* .Li Haoyi2019-09-1410-70/+143
|
* 0.2.1: support for Scala 2.13.0. Some tests using Quill disabled until they ↵0.2.1Li Haoyi2019-06-157-11/+11
| | | | | | | | | | get on 2.13 as well Small typos There were pair of really inconsequential typos in the documentation. .
* Upgrade upickle -> 0.7.1Grant Gavares2018-11-211-4/+5
| | | | | | | Upgrade: * upickle -> 0.7.1 * quill-jdbc -> 2.6.0 * utest -> 0.6.6
* 0.1.7: micro-optimizations to remove trivially unnecessary bottlenecks0.1.7Li Haoyi2018-08-264-24/+73
|
* 0.1.60.1.6Li Haoyi2018-08-251-2/+11
|
* 0.1.50.1.5Li Haoyi2018-08-251-2/+4
|
* Swap out `WebsocketParam` for identical `QueryParamReader`Li Haoyi2018-08-181-26/+1
|
* Get rid of unneccessary `HttpDecorator`Li Haoyi2018-08-187-15/+21
|
* 0.1.10.1.1Li Haoyi2018-08-1815-142/+105
|
* tweak docsLi Haoyi2018-08-181-59/+45
|
* 0.1.00.1.0Li Haoyi2018-08-134-5/+37
|
* Tweak websocket tests, example and docsLi Haoyi2018-08-134-16/+14
|
* Basic websocket support worksLi Haoyi2018-08-1311-52/+153
|
* trim unnecessary dependenciesLi Haoyi2018-08-132-2/+33
|
* Add `Router.Result#map` to DRY up repetitive pattern matchesLi Haoyi2018-08-133-40/+38
|
* tweak docgenLi Haoyi2018-08-121-2/+8
|
* support for java <9Li Haoyi2018-08-123-3/+24
|
* add readme for main configurationLi Haoyi2018-08-121-46/+59
|
* Allow for optional query paramsLi Haoyi2018-08-091-0/+6
|
* Add `@cask.decorators.compress` utilityLi Haoyi2018-08-095-8/+50
| | | | Allow for decorators to be applied across `cask.Routes` or `cask.Main`
* Properly roll back transactions when endpoints fail in TodoMvcDbLi Haoyi2018-08-089-53/+82
|
* Refactor decorators into a more traditional delegation model, and use that ↵Li Haoyi2018-08-0810-79/+82
| | | | to implement endpoint-scoped transactions using Quill