summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 0.3.20.3.2Li Haoyi2019-10-111-0/+4
|
* bump Scala to 2.13.1Li Haoyi2019-10-103-3/+3
|
* 0.3.10.3.1Li Haoyi2019-10-091-0/+11
|
* Statically check the set of decorators applied to each endpoint methodLi Haoyi2019-10-094-14/+79
|
* Genericize `EndpointMetadata#decorators`Li Haoyi2019-10-091-1/+1
|
* Add example of setting static file headers, compressing static filesLi Haoyi2019-10-096-0/+88
|
* Convert `Decorator#OuterReturned` into a type parameterLi Haoyi2019-10-0913-34/+31
|
* Add test to verify `compress` decorator is properly passing through ↵Li Haoyi2019-10-097-6/+106
| | | | 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
* Merge branch 'master' of github.com:lihaoyi/caskLi Haoyi2019-10-091-1/+1
|\
| * Merge pull request #17 from lihaoyi/lihaoyi-patch-2Li Haoyi2019-09-251-1/+1
| |\ | | | | | | Bump uPickle version
| | * Bump uPickle versionlihaoyi-patch-2Li Haoyi2019-09-251-1/+1
| |/
* / upgrade to quill 3.4.10, re-enable database examplesLi Haoyi2019-10-099-80/+89
|/
* 0.3.00.3.0Li Haoyi2019-09-211-0/+4
|
* Merge pull request #15 from lihaoyi/lihaoyi-patch-1Li Haoyi2019-09-193-9/+18
|\ | | | | Tighten behavior of WebsocketClientImpl
| * Update WsClient.scalalihaoyi-patch-1Li Haoyi2019-09-191-0/+2
| |
| * Update WebsocketClientImpl.scalaLi Haoyi2019-09-191-1/+1
| |
| * Update WebsocketClientImpl.scalaLi Haoyi2019-09-191-1/+1
| |
| * Update WebsocketClientImpl.scalaLi Haoyi2019-09-191-1/+3
| |
| * Update WebsocketClientImpl.scalaLi Haoyi2019-09-191-1/+1
| |
| * Update WebsocketClientImpl.scalaLi Haoyi2019-09-191-3/+7
| |
| * Update WsClient.scalaLi Haoyi2019-09-191-2/+1
| |
| * Update WebsocketClientImpl.scalaLi Haoyi2019-09-191-2/+4
|/
* 0.2.90.2.9Li Haoyi2019-09-162-2/+6
|
* fix-testsLi Haoyi2019-09-162-43/+19
|
* Merge pull request #14 from lihaoyi-databricks/masterLi Haoyi2019-09-1615-125/+262
|\ | | | | Provide a simple builtin websocket client in `cask.WsClient`
| * Provide a simple builtin websocket client in `cask.WsClient`Li Haoyi2019-09-1616-128/+263
| | | | | | | | | | | | 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-1612-15/+126
|/
* 0.2.70.2.7Li Haoyi2019-09-162-2/+6
|
* fix artifact nameLi Haoyi2019-09-161-0/+1
|
* cross-build cask.util for Scala.jsLi Haoyi2019-09-163-12/+40
|
* 0.2.60.2.6Li Haoyi2019-09-164-3/+8
|
* tweak-readmeLi Haoyi2019-09-161-0/+25
|
* 0.2.50.2.5Li Haoyi2019-09-161-2/+2
|
* Break up `Router.scala` into a `router/` folder with multiple filesLi Haoyi2019-09-1619-416/+426
|
* 0.2.40.2.4Li Haoyi2019-09-161-2/+2
|
* re-expose handleNotFound and handleEndpointError, update docsLi Haoyi2019-09-153-27/+47
|
* 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-1529-42/+87
| | | | 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-154-41/+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-149-20/+306
|
* Merge pull request #13 from lihaoyi-databricks/wip0.2.3Li Haoyi2019-09-1462-218/+302
|\ | | | | Upstream some fixes
| * Rename `BaseDecorator` -> `Decorator`, `Decorator` -> `RawDecorator`, ↵Li Haoyi2019-09-1414-57/+59
| | | | | | | | `BaseEndpoint` -> `Endpoint`, `Endpoint` -> `HttpEndpoint`
| * Make `Input` a type param tooLi Haoyi2019-09-1410-38/+28
| |
| * `InnerResponse` is now a type param instead of member, allowing better error ↵Li Haoyi2019-09-1413-41/+34
| | | | | | | | | | | | | | | | 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-145-19/+44
| |