From 781befeb23bdbe90f1a8220da86d39ab6fd012fb Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 29 Jul 2013 02:09:34 +0200 Subject: Rewrite with ningle Replaces restas with ningle. Restas had 2 problem I could not overcome: 1) It would only let me return a status code or a response, not, for example, a 403 status code with some json. 2) It would not allow me to place it under a subdirectory. Both of these problems possibly (likely) have solutions with restas, but I already found out how to do these things with ningle. This rewrite is sloppy and messy. The code should be cleaned up soon. --- packages.lisp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages.lisp (limited to 'packages.lisp') diff --git a/packages.lisp b/packages.lisp new file mode 100644 index 0000000..bee456d --- /dev/null +++ b/packages.lisp @@ -0,0 +1,25 @@ +;; scrumli --- A simple scrum web application +;; Copyright (C) 2013 Tom Willemse + +;; scrumli is free software: you can redistribute it and/or modify +;; it under the terms of the GNU Affero General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; scrumli is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU Affero General Public License for more details. + +;; You should have received a copy of the GNU Affero General Public License +;; along with scrumli. If not, see . + +(defpackage #:scrumli + (:use :cl :ningle :drakma :clack.builder :clack.middleware.session + :clack.response :clack.request :clack.middleware.static + :postmodern :clack.middleware.postmodern :parenscript) + (:import-from :clack :clackup) + (:import-from :json :encode-json-to-string :decode-json) + (:export #:start-scrumli)) + +(in-package #:scrumli) -- cgit v1.2.3-54-g00ecf