lapis
lapis copied to clipboard
A web framework for Lua and OpenResty written in MoonScript
I assumed I would be able to have a `views/layout.moon` for example, and then within a sub-application, declare that as the layout with `layout: require "views.layout"`, but that doesn't work....
My main concern is that I got as part of an error message `contains: 1:pending, 2:reviewed, 3:rejected` when my enumeration contains a 0 item as well. The [relevant code](https://github.com/leafo/lapis/blob/master/lapis/db/base_model.moon#L13). Do...
I often run into issues that are due to incorrect types (such as #469 I just figured out), it would be useful if Lapis error messages contained type info so...
Hi! I have a table with multiple checkboxes, something like this: ``` ``` I use a form and a submit button to send it to the router, everything gets well,...
[From the documentation](http://leafo.net/lapis/reference/html_generation.html#html-widgets/rendering-a-widget-from-an-action), it says that you can specify a prefix for loading views...but this isn't working for me. Does it change how it works with a sub-application? From the...
I see that 1.5.0 includes "Add flow method to request object for invoking flows", but searching to flow using the search field does not bring anything up.
Is there a way to tell that an endpoint can only be invoked with a specific `Content-Type`, and if the `Content-Type` doesn't match it returns a `415 Unsupported Media Type`...
currently it takes quite a considerable effort to create work-arounds to support HTTP methods such as `PATCH`, which behavior shouldn't really differ from `POST` _(or any other method for that...
Unless I'm blind, I can't find a single thing about how to handle a form submission in Lapis Lua for instance, and no matter what I google I can't seem...
Hi, Any help (advice, tutorials, links) on configuring a lapis server in production mode on an Ubuntu system would be highly appreciated. **My specific problem** I maintain my server code...