Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 0.3.60.3.6 | Li Haoyi | 2019-11-07 | 3 | -10/+7 |
| | |||||
* | Flesh out `BatchActor.scala` into its own module, `cask.Actor`. Add the ↵ | Li Haoyi | 2019-11-03 | 3 | -11/+14 |
| | | | | first unit test for an asynchronous logging actor | ||||
* | bump Scala to 2.13.1 | Li Haoyi | 2019-10-10 | 1 | -1/+1 |
| | |||||
* | Statically check the set of decorators applied to each endpoint method | Li Haoyi | 2019-10-09 | 2 | -13/+62 |
| | |||||
* | Genericize `EndpointMetadata#decorators` | Li Haoyi | 2019-10-09 | 1 | -1/+1 |
| | |||||
* | Convert `Decorator#OuterReturned` into a type parameter | Li Haoyi | 2019-10-09 | 7 | -26/+23 |
| | |||||
* | Add test to verify `compress` decorator is properly passing through ↵ | Li Haoyi | 2019-10-09 | 2 | -5/+6 |
| | | | | irrelevant results | ||||
* | Allow `staticFiles` and `staticFiles` to specify headers to respond with ↵ | Li Haoyi | 2019-10-09 | 2 | -20/+17 |
| | | | | (e.g. for caching and expiration) | ||||
* | Allow `cask.decorators.compress` to skip results it doesn't care about | Li Haoyi | 2019-10-09 | 3 | -2/+7 |
| | |||||
* | Genericize `cask.Main#decorators` and `cask.Routes#decorators` to allow ↵ | Li Haoyi | 2019-10-09 | 3 | -6/+6 |
| | | | | other non-http-response results | ||||
* | upgrade to quill 3.4.10, re-enable database examples | Li Haoyi | 2019-10-09 | 1 | -1/+4 |
| | |||||
* | Merge pull request #14 from lihaoyi-databricks/master | Li Haoyi | 2019-09-16 | 2 | -37/+26 |
|\ | | | | | Provide a simple builtin websocket client in `cask.WsClient` | ||||
| * | Provide a simple builtin websocket client in `cask.WsClient` | Li Haoyi | 2019-09-16 | 3 | -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.8 | Li Haoyi | 2019-09-16 | 2 | -2/+1 |
|/ | |||||
* | cross-build cask.util for Scala.js | Li Haoyi | 2019-09-16 | 2 | -58/+0 |
| | |||||
* | 0.2.60.2.6 | Li Haoyi | 2019-09-16 | 1 | -0/+1 |
| | |||||
* | Break up `Router.scala` into a `router/` folder with multiple files | Li Haoyi | 2019-09-16 | 19 | -416/+426 |
| | |||||
* | re-expose handleNotFound and handleEndpointError, update docs | Li Haoyi | 2019-09-15 | 1 | -16/+20 |
| | |||||
* | Move logic from `Main` class into companion object, to clean up user-facing ↵ | Li Haoyi | 2019-09-15 | 1 | -80/+92 |
| | | | | API for inheritance | ||||
* | Move `internal.BatchActor` to `util.BatchActor` | Li Haoyi | 2019-09-15 | 3 | -5/+8 |
| | |||||
* | Sketch out a standard `cask.Logger` interface and standardize dependency ↵ | Li Haoyi | 2019-09-15 | 6 | -15/+46 |
| | | | | injection via case class implicits | ||||
* | Break circular dependency by splitting `RouteEndpointMetadata` into its own file | Li Haoyi | 2019-09-15 | 5 | -84/+88 |
| | |||||
* | Move recursive Decorator-processing logic into `Decorator.invoke`, document ↵ | Li Haoyi | 2019-09-15 | 3 | -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 websockets | Li Haoyi | 2019-09-14 | 4 | -3/+128 |
| | |||||
* | Rename `BaseDecorator` -> `Decorator`, `Decorator` -> `RawDecorator`, ↵ | Li Haoyi | 2019-09-14 | 10 | -51/+53 |
| | | | | `BaseEndpoint` -> `Endpoint`, `Endpoint` -> `HttpEndpoint` | ||||
* | Make `Input` a type param too | Li Haoyi | 2019-09-14 | 9 | -35/+26 |
| | |||||
* | `InnerResponse` is now a type param instead of member, allowing better error ↵ | Li Haoyi | 2019-09-14 | 10 | -28/+25 |
| | | | | | | | | messages through `cask.internal.Conversion`: ``` Cannot return java.io.ByteArrayInputStream as a cask.model.Response[cask.endpoints.JsonData] ``` | ||||
* | `cask.Response` is now covariant | Li Haoyi | 2019-09-14 | 4 | -19/+41 |
| | |||||
* | . | Li Haoyi | 2019-09-14 | 10 | -70/+143 |
| | |||||
* | 0.2.1: support for Scala 2.13.0. Some tests using Quill disabled until they ↵0.2.1 | Li Haoyi | 2019-06-15 | 7 | -11/+11 |
| | | | | | | | | | | get on 2.13 as well Small typos There were pair of really inconsequential typos in the documentation. . | ||||
* | Upgrade upickle -> 0.7.1 | Grant Gavares | 2018-11-21 | 1 | -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.7 | Li Haoyi | 2018-08-26 | 4 | -24/+73 |
| | |||||
* | 0.1.60.1.6 | Li Haoyi | 2018-08-25 | 1 | -2/+11 |
| | |||||
* | 0.1.50.1.5 | Li Haoyi | 2018-08-25 | 1 | -2/+4 |
| | |||||
* | Swap out `WebsocketParam` for identical `QueryParamReader` | Li Haoyi | 2018-08-18 | 1 | -26/+1 |
| | |||||
* | Get rid of unneccessary `HttpDecorator` | Li Haoyi | 2018-08-18 | 7 | -15/+21 |
| | |||||
* | 0.1.10.1.1 | Li Haoyi | 2018-08-18 | 15 | -142/+105 |
| | |||||
* | tweak docs | Li Haoyi | 2018-08-18 | 1 | -59/+45 |
| | |||||
* | 0.1.00.1.0 | Li Haoyi | 2018-08-13 | 4 | -5/+37 |
| | |||||
* | Tweak websocket tests, example and docs | Li Haoyi | 2018-08-13 | 4 | -16/+14 |
| | |||||
* | Basic websocket support works | Li Haoyi | 2018-08-13 | 11 | -52/+153 |
| | |||||
* | trim unnecessary dependencies | Li Haoyi | 2018-08-13 | 2 | -2/+33 |
| | |||||
* | Add `Router.Result#map` to DRY up repetitive pattern matches | Li Haoyi | 2018-08-13 | 3 | -40/+38 |
| | |||||
* | tweak docgen | Li Haoyi | 2018-08-12 | 1 | -2/+8 |
| | |||||
* | support for java <9 | Li Haoyi | 2018-08-12 | 3 | -3/+24 |
| | |||||
* | add readme for main configuration | Li Haoyi | 2018-08-12 | 1 | -46/+59 |
| | |||||
* | Allow for optional query params | Li Haoyi | 2018-08-09 | 1 | -0/+6 |
| | |||||
* | Add `@cask.decorators.compress` utility | Li Haoyi | 2018-08-09 | 5 | -8/+50 |
| | | | | Allow for decorators to be applied across `cask.Routes` or `cask.Main` | ||||
* | Properly roll back transactions when endpoints fail in TodoMvcDb | Li Haoyi | 2018-08-08 | 9 | -53/+82 |
| | |||||
* | Refactor decorators into a more traditional delegation model, and use that ↵ | Li Haoyi | 2018-08-08 | 10 | -79/+82 |
| | | | | to implement endpoint-scoped transactions using Quill |