aboutsummaryrefslogtreecommitdiffstats
path: root/packages.lisp
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-07-29 02:09:34 +0200
committerGravatar Tom Willemse2013-07-29 02:09:34 +0200
commit781befeb23bdbe90f1a8220da86d39ab6fd012fb (patch)
tree131c761e45481d592232b6c0bfef5a581edd8cb5 /packages.lisp
parent0b13436d1a0907f6b389b5a32f5b078aa12f11b0 (diff)
downloadscrumli-781befeb23bdbe90f1a8220da86d39ab6fd012fb.tar.gz
scrumli-781befeb23bdbe90f1a8220da86d39ab6fd012fb.zip
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.
Diffstat (limited to 'packages.lisp')
-rw-r--r--packages.lisp25
1 files changed, 25 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+
+(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)