├── script ├── .gitignore ├── build ├── test ├── startdb ├── server ├── setup ├── update ├── bootstrap └── deploy ├── config ├── robots.txt ├── test-settings.yml ├── favicon.ico ├── routes ├── models ├── settings.yml └── keter.yml ├── Setup.hs ├── test ├── Spec.hs ├── Handler │ └── CommonSpec.hs └── TestImport.hs ├── .halcyon └── sandbox-extra-apps ├── templates ├── default-layout.hamlet ├── sign_in.hamlet ├── _repository.hamlet ├── repository.hamlet ├── milestone.hamlet ├── repositories.hamlet ├── issue.hamlet └── default-layout-wrapper.hamlet ├── app ├── main.hs ├── devel.hs └── DevelMain.hs ├── static └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.svg ├── Import.hs ├── .dir-locals.el ├── .gitignore ├── .ghci ├── app.json ├── Import └── NoFoundation.hs ├── Model.hs ├── Handler ├── Common.hs ├── Repo.hs ├── Milestone.hs ├── Home.hs └── Issue.hs ├── Settings └── StaticFiles.hs ├── .travis.yml ├── LICENSE.md ├── README.md ├── Settings.hs ├── ScrumBut.cabal ├── Foundation.hs ├── cabal.config ├── Application.hs └── GitHub.hs /script/.gitignore: -------------------------------------------------------------------------------- 1 | credentials 2 | -------------------------------------------------------------------------------- /config/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /test/Spec.hs: -------------------------------------------------------------------------------- 1 | {-# OPTIONS_GHC -F -pgmF hspec-discover #-} 2 | -------------------------------------------------------------------------------- /config/test-settings.yml: -------------------------------------------------------------------------------- 1 | database: 2 | database: ScrumBut_test 3 | -------------------------------------------------------------------------------- /.halcyon/sandbox-extra-apps: -------------------------------------------------------------------------------- 1 | alex-3.1.4 2 | happy-1.19.5 3 | yesod-bin-1.4.3.6 4 | -------------------------------------------------------------------------------- /config/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jspahrsummers/ScrumBut/HEAD/config/favicon.ico -------------------------------------------------------------------------------- /script/build: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Builds the project. 4 | 5 | set -e 6 | 7 | yesod build 8 | -------------------------------------------------------------------------------- /templates/default-layout.hamlet: -------------------------------------------------------------------------------- 1 | $maybe msg <- mmsg 2 |
#{msg} 3 | ^{widget} 4 | -------------------------------------------------------------------------------- /app/main.hs: -------------------------------------------------------------------------------- 1 | import Prelude (IO) 2 | import Application (appMain) 3 | 4 | main :: IO () 5 | main = appMain 6 | -------------------------------------------------------------------------------- /script/test: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Builds and runs the project's test suite. 4 | 5 | set -e 6 | 7 | yesod test 8 | -------------------------------------------------------------------------------- /templates/sign_in.hamlet: -------------------------------------------------------------------------------- 1 |

ScrumBut 2 | 3 |

4 | Please 5 | sign in 6 | to continue. 7 | -------------------------------------------------------------------------------- /static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jspahrsummers/ScrumBut/HEAD/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jspahrsummers/ScrumBut/HEAD/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jspahrsummers/ScrumBut/HEAD/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Import.hs: -------------------------------------------------------------------------------- 1 | module Import 2 | ( module Import 3 | ) where 4 | 5 | import Foundation as Import 6 | import Import.NoFoundation as Import 7 | -------------------------------------------------------------------------------- /app/devel.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PackageImports #-} 2 | import "ScrumBut" Application (develMain) 3 | import Prelude (IO) 4 | 5 | main :: IO () 6 | main = develMain 7 | -------------------------------------------------------------------------------- /templates/_repository.hamlet: -------------------------------------------------------------------------------- 1 |

  • 2 | 3 | #{GH.repoNWO repo} 4 | #{GH.repoDescription repo} 5 | -------------------------------------------------------------------------------- /.dir-locals.el: -------------------------------------------------------------------------------- 1 | ((haskell-mode . ((haskell-indent-spaces . 4) 2 | (haskell-process-use-ghci . t))) 3 | (hamlet-mode . ((hamlet/basic-offset . 4) 4 | (haskell-process-use-ghci . t)))) 5 | -------------------------------------------------------------------------------- /script/startdb: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Starts up a local database server, if not already running. 4 | 5 | export PGDATA=/usr/local/var/postgres 6 | pg_ctl status >/dev/null || pg_ctl -l /usr/local/var/postgres/server.log start 7 | -------------------------------------------------------------------------------- /script/server: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Starts up a development server on the local machine. 4 | 5 | set -e 6 | export SCRIPT_DIR=$(dirname "$0") 7 | 8 | . "$SCRIPT_DIR/startdb" 9 | . "$SCRIPT_DIR/credentials" 10 | 11 | yesod devel 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist* 2 | static/tmp/ 3 | static/combined/ 4 | config/client_session_key.aes 5 | *.hi 6 | *.o 7 | *.sqlite3 8 | .hsenv* 9 | cabal-dev/ 10 | yesod-devel/ 11 | .cabal-sandbox 12 | cabal.sandbox.config 13 | .DS_Store 14 | *.swp 15 | -------------------------------------------------------------------------------- /.ghci: -------------------------------------------------------------------------------- 1 | :set -i.:config:dist/build/autogen 2 | :set -DDEVELOPMENT 3 | :set -XCPP -XTemplateHaskell -XQuasiQuotes -XTypeFamilies -XFlexibleContexts -XGADTs -XOverloadedStrings -XMultiParamTypeClasses -XGeneralizedNewtypeDeriving -XEmptyDataDecls -XDeriveDataTypeable 4 | -------------------------------------------------------------------------------- /templates/repository.hamlet: -------------------------------------------------------------------------------- 1 |

    #{GH.repoNWO repo} 2 | 3 |